/* ============================================================
   DESKTOP LAYOUT STYLES
   WeAreOnTheWeb — desktop.css
   ============================================================ */

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  transition: background .4s ease, box-shadow .4s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07), 0 2px 12px rgba(0,0,0,.05);
}
.navbar.scrolled .nav-logo     { color: var(--navy); }
.navbar.scrolled .nav-logo span { color: var(--accent); }
.navbar.scrolled .nav-links a  { color: var(--gray-600); }
.navbar.scrolled .nav-links a:hover { color: var(--accent); background: rgba(79,70,229,.06); }
.navbar.scrolled .nav-email    { color: var(--accent); border-color: rgba(79,70,229,.3); background: transparent; }
.navbar.scrolled .nav-email:hover { background: rgba(79,70,229,.06); }
.navbar.scrolled .hamburger span { background: var(--navy); }

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 800;
  color: #fff; letter-spacing: -.02em;
  transition: color .3s; flex-shrink: 0;
}
.nav-logo span { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 14px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.82); border-radius: 100px;
  transition: all .22s var(--ease);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-cta { display: flex; align-items: center; gap: 9px; }
.nav-email {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.82); border: 1.5px solid rgba(255,255,255,.28);
  transition: all .22s var(--ease); background: transparent;
}
.nav-email:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.nav-cta .btn { padding: 9px 20px; font-size: 13px; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 7px; border-radius: 8px;
  background: transparent; border: none; z-index: 1002;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span {
  display: block; width: 21px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .28s var(--ease); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.open span              { background: var(--navy) !important; }

/* ── MOBILE MENU (overlay) ── */
.mobile-menu {
  position: fixed; inset: 0; background: #fff;
  z-index: 1001;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 28px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mobile-nav-links a {
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--navy); padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color .2s, padding-left .2s;
}
.mobile-nav-links a:hover { color: var(--accent); padding-left: 8px; }
.mobile-cta { margin-top: 32px; }
.mobile-cta .btn { width: 100%; justify-content: center; padding: 15px; font-size: 15px; border-radius: 14px; }
.mobile-footer-info { margin-top: 20px; font-size: 13px; color: var(--text-light); line-height: 1.6; }
.mobile-footer-info a { color: var(--accent); font-weight: 500; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 660px; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(8,9,13,.80) 0%, rgba(15,23,42,.62) 55%, rgba(79,70,229,.14) 100%);
}
.slide-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  /* Use flex-start + padding-top so tall content flows DOWN, not clipped below */
  align-items: flex-start;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 120px));
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-text {
  max-width: 680px;
  opacity: 0; transform: translateY(28px);
  transition: opacity .85s ease .25s, transform .85s ease .25s;
}
.slide.active .hero-text { opacity: 1; transform: translateY(0); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.95); font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.hero-badge i { color: #fbbf24; }

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800; color: #fff;
  line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px;
}
.hero-headline em { font-style: normal; color: var(--accent-2); }

.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(255,255,255,.72);
  line-height: 1.65; max-width: 480px; margin-bottom: 28px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 14.5px; padding: 13px 26px; }

.slide-dots {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%); z-index: 10; display: flex; gap: 9px;
}
.dot {
  width: 8px; height: 8px; border-radius: 100px;
  background: rgba(255,255,255,.33); border: none;
  cursor: pointer; transition: all .3s; padding: 0;
}
.dot.active { width: 28px; background: #fff; }

.slide-arrows {
  position: absolute; bottom: 28px; right: 24px;
  z-index: 10; display: flex; gap: 10px;
}
.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.11); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.arrow-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }

.scroll-hint {
  position: absolute; bottom: 42px; left: 24px; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.45); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.scroll-line { width: 36px; height: 1px; background: rgba(255,255,255,.3); }

/* ── WHAT WE DO ── */
.what-we-do { background: var(--off-white); }
.features-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.feature-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 30px 26px; border: 1px solid var(--gray-200);
  transition: all .28s var(--ease); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transition: transform .3s ease; transform-origin: left;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 50px; height: 50px; border-radius: var(--radius);
  background: linear-gradient(135deg,rgba(79,70,229,.1),rgba(129,140,248,.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 21px; color: var(--accent);
}
.feature-card h3 {
  font-family: 'Syne', sans-serif; font-size: 15.5px; font-weight: 700;
  color: var(--navy); margin-bottom: 9px; letter-spacing: -.01em;
}
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ── STATS ── */
.stats-section { background: var(--navy); position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute;
  top: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,.18) 0%, transparent 65%);
  pointer-events: none;
}
.stats-section::after {
  content: ''; position: absolute;
  bottom: -80px; left: -80px; width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(129,140,248,.1) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; z-index: 1;
}
.stat-item { text-align: center; padding: 62px 20px; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute;
  top: 50%; right: 0; transform: translateY(-50%);
  width: 1px; height: 56px; background: rgba(255,255,255,.1);
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 800; color: #fff; line-height: 1;
  margin-bottom: 10px; letter-spacing: -.03em;
}
.stat-number .sup { color: var(--accent-2); font-size: .65em; }
.stat-label {
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--gray-400);
}

/* ── WHY CHOOSE US ── */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  padding: 34px 28px; border-radius: var(--radius-lg);
  background: var(--gray-50); border: 1px solid var(--gray-100);
  transition: all .28s var(--ease); text-align: center;
}
.service-card:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.service-icon-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-size: 24px; color: var(--accent);
  transition: all .28s var(--ease);
}
.service-card:hover .service-icon-wrap { background: var(--accent); color: #fff; transform: rotate(8deg) scale(1.08); }
.service-card h4 {
  font-family: 'Syne', sans-serif; font-size: 16.5px; font-weight: 700;
  color: var(--navy); margin-bottom: 11px; letter-spacing: -.01em;
}
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; margin: 0; }

/* ── PRICING ── */
.pricing-section { background: var(--off-white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 64px 0; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800; color: #fff; line-height: 1.2;
  letter-spacing: -.025em; margin-bottom: 10px;
}
.cta-text p { font-size: 16px; color: rgba(255,255,255,.72); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-actions .btn { padding: 14px 28px; font-size: 15px; }

/* ── FOOTER ── */
.footer { background: var(--black); }
.footer-top { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-logo-text {
  font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 800;
  color: #fff; letter-spacing: -.02em; margin-bottom: 14px;
}
.footer-logo-text span { color: var(--accent-2); }
.footer-desc { font-size: 14px; line-height: 1.72; color: var(--gray-500); max-width: 300px; margin-bottom: 26px; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.footer-contact-row i { color: var(--accent-2); width: 16px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-row a { color: var(--gray-400); transition: color .2s; }
.footer-contact-row a:hover { color: var(--accent-2); }
.footer-col-title {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 14px; color: var(--gray-500); transition: color .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: 0; transition: opacity .2s; flex-shrink: 0;
}
.footer-links a:hover { color: var(--accent-2); }
.footer-links a:hover::before { opacity: 1; }
.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-copy { font-size: 13px; color: var(--gray-600); }
.footer-socials { display: flex; gap: 9px; }
.social-a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--gray-500);
  transition: all .24s var(--ease);
}
.social-a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* ── Mobile bottom nav — hidden on desktop ── */
.mobile-bottom-nav { display: none; }

/* ── TABLET ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid    { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}
