/* ---------- Sticky header (solid blur, always on — over hero and scrolled) ---------- */
.landing-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(11,31,58,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background .3s ease, box-shadow .3s ease;
  padding: 6px 0;
}
.landing-header.scrolled{
  background: rgba(11,31,58,0.90);
  box-shadow: 0 2px 18px rgba(0,0,0,0.18);
}
.landing-header .bar{ display:flex; align-items:center; justify-content:space-between; height:62px; }
.landing-header .brand{ display:flex; align-items:center; }
.landing-tabs{ display:flex; align-items:center; }
.landing-tabs a{
  position:relative; color:#E7EAF1; font-size:.87rem; font-weight:500;
  padding: 10px 22px; border-right: 1px solid rgba(255,255,255,0.18);
}
.landing-tabs a:last-child{ border-right:none; }
.landing-tabs a::after{
  content:''; position:absolute; left:22px; right:22px; bottom:6px; height:2px;
  background: var(--gold); transform: scaleX(0); transform-origin:left; transition: transform .25s ease;
}
.landing-tabs a:hover{ color:#fff; }
.landing-tabs a:hover::after{ transform: scaleX(1); }
.landing-tabs a.btn-gold{ border-right:none; padding: 9px 18px; border-radius:8px; margin-left:10px; }
.landing-tabs a.btn-gold::after{ display:none; }
.landing-tabs a.active::after{ transform: scaleX(1); }
.landing-tabs a.active{ color:#fff; }
.landing-nav-toggle{ display:none; }
@media (max-width: 860px){
  .landing-tabs{ display:none; }
  .landing-tabs.mobile-open{
    display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background: rgba(11,31,58,0.97); backdrop-filter: blur(10px); padding: 8px 0;
  }
  .landing-tabs.mobile-open a{ border-right:none; border-bottom:1px solid rgba(255,255,255,0.1); padding: 14px 24px; }
  .landing-tabs.mobile-open a::after{ display:none; }
  .landing-nav-toggle{ display:block; color:#fff; background:none; border:none; font-size:1.4rem; cursor:pointer; }
}

/* ---------- Hero (single, centered) ---------- */
.hero{ position:relative; min-height: 680px; display:flex; align-items:flex-end; justify-content:flex-start; overflow:hidden; color:#fff; }
.hero-slide{
  position:absolute; inset:0; opacity:0; transition: opacity .9s ease;
  background-size: cover; background-position:center;
}
.hero-slide.active{ opacity:1; }
.hero-slide::after{ content:''; position:absolute; inset:0; background: linear-gradient(100deg, rgba(11,31,58,.80) 10%, rgba(11,31,58,.55) 45%, rgba(11,31,58,.55) 75%); z-index:1; }
.hero-slide video.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Replace this URL / video file any time with your own:
   the photo shows until assets/video/hero-bg.mp4 loads, so nothing breaks if it's missing. */
.hero-slide.slide-personal{ background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?q=80&w=1600&auto=format&fit=crop'); }

.hero-content{ position:relative; z-index:2; padding: 90px 0 64px; width:100%; }
.hero-content .inner{ max-width: 640px; margin: 0; text-align:left; display:flex; flex-direction:column; align-items:flex-start; }
.hero-content .eyebrow{ text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; color: #CFE7DA; font-weight:600; margin-bottom:14px; }
.hero-content h1{ color:#fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width:640px; line-height:1.15; margin-bottom:16px; }
.hero-content p{ max-width: 520px; color:#DCE3EE; font-size:1.05rem; line-height:1.6; margin-bottom: 28px; }
.hero-actions{ display:flex; gap:14px; margin-bottom: 40px; flex-wrap:wrap; justify-content:flex-start; }

/* Entrance animation for hero pane content */
@keyframes heroRise{
  from{ opacity:0; transform: translateY(22px); }
  to{ opacity:1; transform: translateY(0); }
}
.hero-pane{ opacity:0; }
.hero-pane.active{ opacity:1; }
.hero-pane.active .eyebrow,
.hero-pane.active h1,
.hero-pane.active p,
.hero-pane.active .hero-actions{
  opacity:0;
  animation: heroRise .7s cubic-bezier(.22,.68,.32,1) forwards;
}
.hero-pane.active .eyebrow{ animation-delay: .05s; }
.hero-pane.active h1{ animation-delay: .15s; }
.hero-pane.active p{ animation-delay: .28s; }
.hero-pane.active .hero-actions{ animation-delay: .40s; }
@media (prefers-reduced-motion: reduce){
  .hero-pane.active .eyebrow, .hero-pane.active h1, .hero-pane.active p, .hero-pane.active .hero-actions{
    animation: none; opacity:1; transform:none;
  }
}

/* ---------- Features (alternating, with JPG photos) ---------- */
.features{ padding: 90px 0; }
.feature-row{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; margin-bottom: 96px; }
.feature-row:last-child{ margin-bottom:0; }
.feature-row.reverse .feature-media{ order:2; }
.feature-row.reverse .feature-copy{ order:1; }
.feature-media{ position:relative; }
.feature-media .art{ border-radius: 18px; aspect-ratio: 4/3; overflow:hidden; box-shadow: var(--shadow); }
.feature-media .art img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s ease; }
.feature-media .art:hover img{ transform: scale(1.04); }
.feature-copy .eyebrow{ color: var(--emerald-dark); font-weight:700; text-transform:uppercase; font-size:.78rem; letter-spacing:.08em; margin-bottom:10px; }
.feature-copy h2{ font-size: 1.9rem; margin-bottom:14px; }
.feature-copy p{ color: var(--text-muted); line-height:1.7; margin-bottom: 18px; font-size:1rem; }
.feature-copy ul{ list-style:none; padding:0; margin:0 0 22px; }
.feature-copy li{ padding-left:26px; position:relative; margin-bottom:10px; color: var(--text); font-size:.94rem; }
.feature-copy li::before{ content:'✓'; position:absolute; left:0; color: var(--emerald); font-weight:700; }
@media (max-width: 820px){
  .feature-row, .feature-row.reverse{ grid-template-columns:1fr; gap:28px; }
  .feature-row.reverse .feature-media, .feature-row.reverse .feature-copy{ order:initial; }
}

/* ---------- Wide video band ---------- */
.stat-band{ position:relative; background: var(--ink); color:#fff; padding: 140px 0; min-height: 560px; display:flex; align-items:center; overflow:hidden; }
.stat-band .band-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position: 68% center; z-index:0; }
.stat-band .band-overlay{ position:absolute; inset:0; background: linear-gradient(100deg, rgba(11,31,58,.92) 20%, rgba(11,31,58,.72) 60%, rgba(11,31,58,.85)); z-index:1; }
.stat-band .container{ position:relative; z-index:2; width:100%; }
.stat-band .band-head{ max-width: 600px; margin-bottom: 40px; }
.stat-band .band-head .eyebrow{ color: var(--gold); text-transform:uppercase; letter-spacing:.1em; font-size:.78rem; font-weight:700; margin-bottom:12px; }
.stat-band .band-head h2{ color:#fff; font-size:2rem; }
.stat-band .band-head p{ color:#B9C1D1; margin-bottom:22px; }
.band-stats{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.band-stats .stat .value{ font-family: var(--font-display); font-size: 2.4rem; color:#fff; }
.band-stats .stat .label{ color:#98A4BC; font-size:.85rem; margin-top:6px; }
@media (max-width: 780px){ .band-stats{ grid-template-columns: repeat(2,1fr); } }

/* ---------- Testimonials (with hover lift) ---------- */
.testimonials{ padding: 90px 0; background: var(--bg); }
.testimonials .section-head{ text-align:center; max-width:560px; margin: 0 auto 48px; }
.testimonials .section-head .eyebrow{ color: var(--emerald-dark); text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; font-weight:700; margin-bottom:10px; }
.testi-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card{ background:#fff; border:1px solid var(--border); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.testi-card:hover{ transform: translateY(-6px); box-shadow: 0 16px 40px rgba(11,31,58,0.14); border-color: var(--emerald); }
.testi-card .quote{ font-family: var(--font-display); font-size:1.05rem; line-height:1.6; color: var(--ink); margin-bottom: 20px; }
.testi-card .person{ display:flex; align-items:center; gap:12px; }
.testi-card .avatar{ width:40px; height:40px; border-radius:50%; background: linear-gradient(135deg, var(--emerald), var(--gold)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:.85rem; transition: transform .25s ease; }
.testi-card:hover .avatar{ transform: scale(1.08); }
.testi-card .name{ font-weight:600; font-size:.9rem; color: var(--ink); }
.testi-card .role{ font-size:.78rem; color: var(--text-muted); }
@media (max-width: 820px){ .testi-grid{ grid-template-columns:1fr; } }

/* ---------- Final CTA ---------- */
.cta-band{ padding: 70px 0; text-align:center; }
.cta-band h2{ font-size:1.8rem; margin-bottom:14px; }
.cta-band p{ color: var(--text-muted); max-width:480px; margin:0 auto 26px; }

/* ---------- Inner marketing pages: page hero banner ---------- */
.page-hero{
  position:relative; min-height: 320px; display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff; overflow:hidden; background-size:cover; background-position:center;
  padding-top: 70px;
}
.page-hero::after{ content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,31,58,.80), rgba(11,31,58,.72)); }
.page-hero .container{ position:relative; z-index:2; }
.page-hero .eyebrow{ text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; color:#CFE7DA; font-weight:600; margin-bottom:12px; }
.page-hero h1{ color:#fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom:12px; }
.page-hero p{ color:#DCE3EE; max-width:520px; margin:0 auto; font-size:1rem; line-height:1.6; }

/* ---------- Image gallery with hover reveal ---------- */
.gallery-section{ padding: 70px 0; }
.gallery-section .section-head{ text-align:center; max-width:600px; margin:0 auto 44px; }
.gallery-section .section-head .eyebrow{ color: var(--emerald-dark); text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; font-weight:700; margin-bottom:10px; }
.gallery-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.gallery-item{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); cursor:default; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s ease; }
.gallery-item .overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:22px;
  background: linear-gradient(180deg, rgba(11,31,58,0) 40%, rgba(11,31,58,.90) 100%);
  opacity:0; transition: opacity .3s ease;
}
.gallery-item .overlay h3{ color:#fff; font-size:1.1rem; margin-bottom:4px; }
.gallery-item .overlay p{ color:#D7DCE6; font-size:.85rem; margin:0; transform: translateY(8px); transition: transform .3s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item:hover .overlay{ opacity:1; }
.gallery-item:hover .overlay p{ transform: translateY(0); }
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .gallery-grid{ grid-template-columns: 1fr; } }

/* ---------- Separate text content section (below galleries) ---------- */
.content-section{ padding: 70px 0; background: var(--bg); }
.content-section .section-head{ text-align:center; max-width:640px; margin:0 auto 44px; }
.content-section .section-head .eyebrow{ color: var(--emerald-dark); text-transform:uppercase; letter-spacing:.08em; font-size:.78rem; font-weight:700; margin-bottom:10px; }
.content-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.content-block h3{ font-size:1.15rem; margin-bottom:10px; }
.content-block p{ color: var(--text-muted); line-height:1.7; font-size:.94rem; }
@media (max-width: 820px){ .content-grid{ grid-template-columns: 1fr; } }

/* ---------- Reviews page: rating stars + reviewer photo ---------- */
.review-card{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:26px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.review-card:hover{ transform: translateY(-6px); box-shadow: 0 16px 40px rgba(11,31,58,0.14); border-color: var(--emerald); }
.review-card .stars{ color: var(--gold); font-size:.9rem; margin-bottom:12px; letter-spacing:2px; }
.review-card .quote{ font-family: var(--font-display); font-size:1rem; line-height:1.65; color: var(--ink); margin-bottom:18px; }
.review-card .person{ display:flex; align-items:center; gap:12px; }
.review-card .avatar-photo{ width:44px; height:44px; border-radius:50%; object-fit:cover; transition: transform .25s ease; }
.review-card .avatar{ width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg, var(--emerald), var(--gold)); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:.85rem; transition: transform .25s ease; }
.review-card:hover .avatar{ transform: scale(1.08); }
.review-card:hover .avatar-photo{ transform: scale(1.08); }
.review-card .name{ font-weight:600; font-size:.9rem; color: var(--ink); }
.review-card .role{ font-size:.78rem; color: var(--text-muted); }
.reviews-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
@media (max-width: 900px){ .reviews-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .reviews-grid{ grid-template-columns: 1fr; } }

/* ---------- "What we offer" cards (after hero) ---------- */
.offer-section{ padding: 80px 0 60px; }
.offer-head{ text-align:center; max-width:600px; margin:0 auto 44px; }
.offer-head h2{ font-size:2rem; margin-bottom:12px; }
.offer-head p{ color: var(--text-muted); font-size:1rem; line-height:1.6; }
.offer-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:2px; background: var(--border); }
.offer-card{ background:#F1F3F5; padding:34px 30px; display:flex; flex-direction:column; }
.offer-card .icon{ width:34px; height:34px; margin-bottom:18px; color: var(--emerald); }
.offer-card .icon svg{ width:100%; height:100%; }
.offer-card h3{ color: var(--emerald-dark); font-size:1.25rem; margin-bottom:12px; }
.offer-card p{ color: var(--text-muted); font-size:.92rem; line-height:1.65; margin-bottom:22px; flex-grow:1; }
.offer-card .actions{ display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.offer-btn{
  display:inline-flex; align-items:center; gap:8px; font-size:.86rem; font-weight:600;
  padding:10px 16px; border-radius:8px; text-decoration:none; transition: background .15s ease, border-color .15s ease;
}
.offer-btn-primary{ background: var(--emerald); color:#fff; }
.offer-btn-primary:hover{ background: var(--emerald-dark); }
.offer-btn-outline{ background:#fff; color: var(--ink); border:1.5px solid var(--border); }
.offer-btn-outline:hover{ border-color: var(--ink); }
@media (max-width: 860px){ .offer-grid{ grid-template-columns: 1fr; } }

/* ---------- Developer Studio ---------- */
.dev-studio{ padding: 90px 0 100px; text-align:center; }
.dev-studio-head h2{ font-size: 2.2rem; color: var(--emerald-dark); margin-bottom:10px; }
.dev-studio-sub{ color: var(--text-muted); font-size:1.05rem; margin-bottom: 48px; }
.dev-studio-mockups{ position:relative; max-width:760px; margin: 0 auto 48px; height: 320px; }
.mockup{
  position:absolute; background: #14161C; border-radius:12px; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08); text-align:left; overflow:hidden;
}
.mockup-code{
  width: 62%; left:0; top:38px; padding: 18px 20px; font-family: var(--font-mono); font-size:.72rem; line-height:1.7; color:#B9C1D1;
}
.mockup-titlebar{ display:flex; gap:6px; margin-bottom:12px; }
.mockup-titlebar span{ width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,0.15); }
.mockup-code pre{ margin:0; white-space:pre-wrap; word-break:break-word; }
.tok-key{ color:#8FD3C7; }
.tok-str{ color:#E8B978; }
.tok-num{ color:#7FB4E8; }
.mockup-dashboard{ width: 58%; right:0; top:0; padding: 20px 22px; color:#fff; }
.mockup-dash-title{ font-size:.78rem; color:#B9C1D1; margin-bottom:16px; }
.mockup-dash-label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color:#7C8AA3; margin-bottom:10px; }
.mockup-dash-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.mockup-dash-sublabel{ font-size:.68rem; color:#7C8AA3; }
.mockup-dash-amount{ font-size:1.3rem; font-weight:700; color: var(--gold); }
.mockup-ring{
  width:76px; height:76px; border-radius:50%; flex-shrink:0;
  background: conic-gradient(var(--emerald) 0% 65%, rgba(255,255,255,0.1) 65% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
}
.mockup-dash-stats{ display:grid; grid-template-columns: repeat(3,1fr); gap:10px; border-top:1px solid rgba(255,255,255,0.08); padding-top:16px; margin-bottom:16px; }
.mockup-stat-value{ font-size:.82rem; font-weight:700; color:#fff; }
.mockup-stat-label{ font-size:.64rem; color:#7C8AA3; margin-top:2px; }
.mockup-dash-footer{ display:flex; justify-content:space-between; font-size:.7rem; color:#7C8AA3; border-top:1px solid rgba(255,255,255,0.08); padding-top:12px; }
.dev-studio-desc{ max-width:620px; margin: 0 auto 32px; color: var(--text-muted); font-size:1rem; line-height:1.7; }
@media (max-width: 720px){
  .dev-studio-mockups{ height: 420px; }
  .mockup-code, .mockup-dashboard{ width: 92%; left:4%; right:auto; }
  .mockup-code{ top:0; }
  .mockup-dashboard{ top: 200px; }
}
