/* ==========================================================================
   Fikitech marketing CSS — covers all marketing pages (homepage, product,
   AFD platform, legal, contact). Self-contained. Loaded only on the
   marketing layout, does NOT interact with legacy Bootstrap or admin CSS.
   ========================================================================== */

/* ----- ROOT VARS + RESET ----- */
:root {
  --navy-deep: #060816;
  --navy: #0e2b3d;
  --blue: #3d8ec7;
  --teal: #2dd4bf;
  --cyan: #06b6d4;
  --magenta: #ec4899;
  --orange: #f97316;
  --ink: #0a0a0a;
  --ink-light: #f5f5f7;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --blue-ink: #2b6f9f;   /* blue for small text on light backgrounds (4.5:1+) */
  --grad: linear-gradient(120deg, #2dd4bf 0%, #3b82f6 35%, #ec4899 70%, #f97316 100%);
  /* Darker twin of --grad: gradient text and icon tiles on LIGHT backgrounds (3:1+ for large text) */
  --grad-ink: linear-gradient(120deg, #0d9488 0%, #2563eb 40%, #db2777 75%, #ea580c 100%);
  --on-grad: #060816;    /* text on the bright --grad (white fails contrast on teal/orange) */
}

/* Reset html + body themselves (the .marketing * below only resets descendants) */
html:has(body.marketing), body.marketing { margin: 0; padding: 0; }
/* Smooth anchor-scroll only on marketing pages (don't affect admin) */
html:has(body.marketing) { scroll-behavior: smooth; }
/* Don't bury anchor targets under the top — give a 24px breathing buffer */
.marketing section[id], .marketing div[id], .marketing .subapp[id] { scroll-margin-top: 24px; }
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  html:has(body.marketing) { scroll-behavior: auto; }
}
.marketing, .marketing * { box-sizing: border-box; margin: 0; padding: 0; }
.marketing { background: #fff; color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
.marketing--dark { background: var(--navy-deep); color: #f4f4f5; min-height: 100vh; }
.marketing a { color: inherit; text-decoration: none; }
.marketing .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.marketing .display { font-family: 'Space Grotesk', system-ui, sans-serif; }
.marketing .mono { font-family: 'JetBrains Mono', monospace; }

/* ----- ANIMATIONS ----- */
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 8px var(--teal); opacity: 1; } 50% { box-shadow: 0 0 16px var(--teal), 0 0 28px rgba(45,212,191,0.5); opacity: .85; } }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
@keyframes float3 { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
@keyframes drift1 { 0% { transform: translate(0,0) scale(1); opacity: .55; } 100% { transform: translate(80px, 50px) scale(1.15); opacity: .7; } }
@keyframes drift2 { 0% { transform: translate(0,0) scale(1); opacity: .55; } 100% { transform: translate(-60px, 80px) scale(1.1); opacity: .7; } }
@keyframes drift3 { 0% { transform: translate(-40px,0) scale(0.95); opacity: .4; } 100% { transform: translate(60px, -40px) scale(1.2); opacity: .55; } }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marketing .anim-up { opacity: 0; transform: translateY(20px); animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards; }
.marketing .anim-up.d1 { animation-delay: .05s; }
.marketing .anim-up.d2 { animation-delay: .2s; }
.marketing .anim-up.d3 { animation-delay: .35s; }
.marketing .anim-up.d4 { animation-delay: .5s; }
.marketing .anim-up.d5 { animation-delay: .65s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marketing *, .marketing *::before, .marketing *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marketing .anim-up { opacity: 1; transform: none; }
}

/* ----- BUTTONS ----- */
.marketing .btn { padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: transform .15s, box-shadow .15s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; font-family: inherit; }
.marketing .btn-primary { background: var(--grad); color: var(--on-grad); box-shadow: 0 8px 30px rgba(236,72,153,0.35); position: relative; overflow: hidden; }
.marketing .btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.3), transparent); transition: left .6s; }
.marketing .btn-primary:hover::after { left: 130%; }
.marketing .btn-primary:hover { transform: translateY(-2px); }
.marketing .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); backdrop-filter: blur(8px); }
.marketing .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.marketing .btn-ghost--light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.marketing .btn-ghost--light:hover { border-color: var(--ink); }

/* ----- NAV ----- */
.marketing nav.top { position: relative; z-index: 5; padding: 22px 0; }
.marketing nav.top .inner { display: flex; align-items: center; justify-content: space-between; }

/* Brand logo with a pulsing gradient halo. The ::before sits behind the logo
   as a soft, slowly-breathing radial glow tinted with the brand gradient.
   On hover the glow intensifies and the logo lifts slightly. */
.marketing nav.top .brand { position: relative; display: inline-flex; align-items: center; transition: transform .25s; padding: 4px 8px; }
.marketing nav.top .brand::before {
    content: '';
    position: absolute;
    inset: -12px -20px;
    border-radius: 999px;
  /*  background: radial-gradient(ellipse at center, rgba(45,212,191,0.45) 0%, rgba(236,72,153,0.3) 45%, rgba(249,115,22,0.15) 70%, transparent 85%); */
    filter: blur(16px);
    z-index: -1;
    opacity: 0.5;
    animation: brand-breathe 4s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes brand-breathe {
    0% { opacity: 0.4; transform: scale(0.95); }
    100% { opacity: 0.75; transform: scale(1.05); }
}
.marketing nav.top .brand:hover { transform: scale(1.04); }
.marketing nav.top .brand:hover::before { opacity: 0.9; }
.marketing nav.top .brand img {
    height: 64px;
    width: auto;
    display: block;
  /*  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)) drop-shadow(0 0 16px rgba(45,212,191,0.35)); */
    position: relative;
    z-index: 1;
}
@media (max-width: 600px) {
    .marketing nav.top .brand img { height: 52px; }
    .marketing nav.top .brand::before { inset: -8px -14px; }
}
@media (prefers-reduced-motion: reduce) {
    .marketing nav.top .brand::before { animation: none; opacity: 0.55; }
}
.marketing nav.top ul { display: flex; gap: 32px; list-style: none; font-size: 14px; color: rgba(255,255,255,0.75); }
.marketing nav.top ul a { transition: color .15s; }
.marketing nav.top ul a:hover { color: #fff; }
.marketing nav.top ul a.active { color: #fff; font-weight: 600; }
.marketing nav.top .cta { background: var(--grad); color: var(--on-grad); padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 24px rgba(236,72,153,0.4); }

/* ----- BREADCRUMB ----- */
.marketing .breadcrumb { position: relative; z-index: 4; padding: 32px 0 8px; }
.marketing .breadcrumb-inner { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }
.marketing .breadcrumb-inner a { transition: color .15s; }
.marketing .breadcrumb-inner a:hover { color: #fff; }
.marketing .breadcrumb-inner .sep { opacity: 0.4; }
.marketing .breadcrumb-inner .current { color: rgba(255,255,255,0.85); }

/* ----- DARK HERO WRAPPER + AURORA ----- */
.marketing .hero-wrap { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; padding-bottom: 120px; }
.marketing .hero-wrap--compact { padding-bottom: 60px; }
.marketing .aurora { position: absolute; inset: 0; opacity: 0.55; filter: blur(60px); pointer-events: none; }
.marketing .aurora::before, .marketing .aurora::after { content: ''; position: absolute; border-radius: 50%; }
.marketing .aurora::before { width: 600px; height: 600px; background: radial-gradient(circle, var(--teal), transparent 70%); top: -150px; left: -100px; animation: drift1 18s ease-in-out infinite alternate; }
.marketing .aurora::after { width: 700px; height: 700px; background: radial-gradient(circle, var(--magenta), transparent 70%); top: -50px; right: -200px; animation: drift2 22s ease-in-out infinite alternate; }
.marketing .aurora-3 { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, var(--orange), transparent 70%); border-radius: 50%; bottom: -100px; left: 40%; filter: blur(60px); opacity: 0.4; animation: drift3 26s ease-in-out infinite alternate; pointer-events: none; }

/* ----- HOMEPAGE HERO ----- */
.marketing .hero-content { position: relative; z-index: 4; padding: 100px 0 60px; max-width: 900px; }
.marketing .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 28px; backdrop-filter: blur(8px); }
.marketing .hero-eyebrow .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }
.marketing h1.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: 84px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 24px; }
.marketing h1.hero-title .grad-text { background: var(--grad); -webkit-background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 5s linear infinite; }
.marketing p.hero-sub { font-size: 20px; color: rgba(255,255,255,0.75); max-width: 620px; margin-bottom: 36px; line-height: 1.5; }
.marketing .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ----- HERO STATS ----- */
.marketing .stats { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 80px; }
.marketing .stat { padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; backdrop-filter: blur(8px); }
.marketing .stat .num { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; letter-spacing: -0.02em; }
.marketing .stat .lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ----- LIGHT SECTIONS ----- */
.marketing section.light { padding: 120px 0; }
.marketing .section-head { max-width: 720px; margin-bottom: 64px; }
.marketing .section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; max-width: none; }
.marketing .section-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-ink); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.marketing .section-eyebrow--grad::before { content: ''; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.marketing h2.section-title { font-family: 'Space Grotesk', sans-serif; font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; color: var(--navy-deep); }
.marketing h2.section-title .grad-text { background: var(--grad-ink); -webkit-background-clip: text; color: transparent; }
.marketing p.section-lede { font-size: 18px; color: var(--muted); line-height: 1.55; max-width: 640px; }

/* ----- HOMEPAGE PROJECTS — featured + grid ----- */
.marketing .featured-project { position: relative; background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); color: #fff; border-radius: 28px; overflow: hidden; margin-bottom: 24px; transition: transform .3s, box-shadow .3s; cursor: pointer; display: block; text-decoration: none; }
.marketing .featured-project, .marketing .featured-project h3, .marketing .featured-project p, .marketing .featured-project span { color: #fff; }
/* Gradient border on hover — mask-composite trick (no outer padding ring this time so no seam). */
.marketing .featured-project::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px; /* border thickness */
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    z-index: 2;
}
.marketing .featured-project:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -15px rgba(45,212,191,0.25); }
.marketing .featured-project:hover::before { opacity: 1; }
.marketing .featured-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 420px; overflow: hidden; position: relative; }
.marketing .featured-inner::before { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(45,212,191,0.3), transparent 70%); border-radius: 50%; top: -150px; right: -100px; filter: blur(50px); pointer-events: none; }
.marketing .featured-inner::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(236,72,153,0.3), transparent 70%); border-radius: 50%; bottom: -150px; left: 30%; filter: blur(50px); pointer-events: none; }
.marketing .featured-info { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 1; }
.marketing .featured-info .grad-line { height: 4px; width: 60px; background: var(--grad); border-radius: 2px; margin-bottom: 24px; }
.marketing .featured-info .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 12px; }
.marketing .featured-info .tag .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }
.marketing .featured-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
.marketing .featured-info p { color: rgba(255,255,255,0.75); font-size: 16px; line-height: 1.55; max-width: 440px; margin-bottom: 24px; }
.marketing .featured-stats { display: flex; gap: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; flex-wrap: wrap; }
.marketing .featured-stats .s-num { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.marketing .featured-stats .s-lbl { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.marketing .featured-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; align-self: flex-start; padding: 12px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; transition: all .2s; background: rgba(255,255,255,0.04); }
.marketing .featured-cta:hover { background: var(--grad); color: var(--on-grad); border-color: transparent; transform: translateX(4px); }
.marketing .featured-visual { position: relative; padding: 48px 48px 48px 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.marketing .browser-frame { width: 100%; aspect-ratio: 4/3; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; backdrop-filter: blur(8px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.marketing .browser-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.marketing .browser-top .bd { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.marketing .browser-top .url { margin-left: auto; margin-right: auto; font-size: 11px; color: rgba(255,255,255,0.4); font-family: 'Space Grotesk', monospace; }
.marketing .browser-body { padding: 40px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100% - 41px); }
.marketing .browser-body img { max-width: 70%; max-height: 60%; object-fit: contain; filter: drop-shadow(0 12px 30px rgba(45,212,191,0.4)); animation: float 6s ease-in-out infinite; }
.marketing .browser-body .live-badge { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.25); border-radius: 999px; font-size: 12px; color: var(--teal); font-weight: 600; }
.marketing .browser-body .live-badge .ldot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }

.marketing .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.marketing .project-grid.project-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
.marketing .project { position: relative; border-radius: 20px; padding: 32px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; display: flex; flex-direction: column; }
.marketing .project::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.marketing .project:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(6,8,22,0.12); border-color: transparent; }
.marketing .project:hover::before { transform: scaleX(1); }
.marketing .project-logo { width: 56px; height: 56px; border-radius: 14px; background: #f5f5f7; padding: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: transform .3s; }
.marketing .project:hover .project-logo { transform: scale(1.05) rotate(-2deg); }
.marketing .project-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.marketing .project-logo.monogram { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em; padding: 0; }
.marketing .monogram-suvari { background: linear-gradient(135deg, #060816, #3d8ec7); }
.marketing .monogram-ms { background: linear-gradient(135deg, #0e2b3d, #3d8ec7); }
.marketing .project-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-ink); margin-bottom: 8px; }
.marketing .project h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; color: var(--ink); }
.marketing .project p { color: var(--muted); margin-bottom: 24px; font-size: 14px; line-height: 1.55; flex: 1; }
.marketing .project-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.marketing .project-meta { font-size: 12px; color: var(--muted); }
.marketing .project-arrow { font-size: 18px; color: var(--ink); transition: transform .25s; }
.marketing .project:hover .project-arrow { transform: translateX(6px); color: var(--blue-ink); }

/* ----- WHY ----- */
.marketing section.why { padding: 120px 0; background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marketing .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.marketing .value { background: #fff; padding: 36px; border-radius: 20px; border: 1px solid var(--line); }
.marketing .value-icon { width: 52px; height: 52px; background: var(--grad-ink); border-radius: 14px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; font-weight: 600; }
.marketing .value h4 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.marketing .value p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ----- TECH MARQUEE ----- */
.marketing section.tech { padding: 56px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.marketing section.tech::before, .marketing section.tech::after { content: ''; position: absolute; top: 0; bottom: 0; width: 180px; z-index: 2; pointer-events: none; }
.marketing section.tech::before { left: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%); }
.marketing section.tech::after { right: 0; background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%); }
.marketing .marquee { display: flex; gap: 64px; width: max-content; animation: marquee-scroll 50s linear infinite; align-items: center; }
.marketing .marquee:hover { animation-play-state: paused; }
.marketing .marquee-item { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; opacity: 0.7; transition: opacity .2s; }
.marketing .marquee-item:hover { opacity: 1; }
.marketing .marquee-item img { width: 36px; height: 36px; object-fit: contain; display: block; }
.marketing .marquee-item .t-name { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }

/* ----- CONTACT CARD section ----- */
.marketing section.contact { padding: 120px 0; }
.marketing .contact-card { position: relative; background: var(--navy-deep); color: #fff; border-radius: 32px; padding: 80px 56px; overflow: hidden; }
.marketing .contact-card .aurora-c { position: absolute; inset: 0; opacity: 0.4; filter: blur(60px); pointer-events: none; }
.marketing .contact-card .aurora-c::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, var(--teal), transparent 70%); border-radius: 50%; top: -200px; left: -100px; }
.marketing .contact-card .aurora-c::after { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, var(--magenta), transparent 70%); border-radius: 50%; bottom: -200px; right: -100px; }
.marketing .contact-card .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.marketing .contact-card .text h2 { font-family: 'Space Grotesk', sans-serif; font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 12px; }
.marketing .contact-card .text h2 .grad-text { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.marketing .contact-card .text p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 480px; }
.marketing .contact-card .actions { display: flex; flex-direction: column; gap: 12px; }

/* ----- FOOTER (full) ----- */
.marketing footer.full { background: var(--navy-deep); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.marketing footer.full::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad); opacity: 0.4; }
.marketing footer.full::after { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(45,212,191,0.08), transparent 70%); border-radius: 50%; top: -300px; left: -200px; filter: blur(60px); pointer-events: none; }
.marketing footer.full .footer-top { padding: 72px 0 56px; position: relative; z-index: 1; }
.marketing footer.full .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.marketing footer.full .footer-grid.footer-grid--3col { grid-template-columns: 2fr 1fr 1fr; }
.marketing footer.full .footer-brand img { height: 48px; width: auto; display: block; margin-bottom: 24px; filter: drop-shadow(0 4px 20px rgba(45,212,191,0.25)); }
.marketing footer.full .footer-tag { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.6); max-width: 320px; margin-bottom: 28px; }
.marketing footer.full .footer-social { display: flex; gap: 10px; }
.marketing footer.full .footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.7); transition: all .2s; }
.marketing footer.full .footer-social a:hover { background: var(--grad); border-color: transparent; color: var(--on-grad); transform: translateY(-2px); }
.marketing footer.full .footer-col h5 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.marketing footer.full .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.marketing footer.full .footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color .15s; display: inline-flex; align-items: center; gap: 6px; }
.marketing footer.full .footer-col ul a:hover { color: #fff; }
.marketing footer.full .footer-col ul a .live { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 6px var(--teal); }
.marketing footer.full .footer-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--grad); color: var(--on-grad); border-radius: 8px; font-size: 13px; font-weight: 600; margin-top: 8px; }
.marketing footer.full .footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 1; }
.marketing footer.full .footer-bottom .inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.marketing footer.full .footer-bottom .copy { font-size: 13px; color: rgba(255,255,255,0.5); }
.marketing footer.full .footer-bottom .legal { display: flex; gap: 24px; }
.marketing footer.full .footer-bottom .legal a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color .15s; }
.marketing footer.full .footer-bottom .legal a:hover { color: #fff; }
.marketing footer.full .footer-bottom .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); }
.marketing footer.full .footer-bottom .status .dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; animation: pulse 2s ease-in-out infinite; }

/* ----- FOOTER (simple — for contact-style focused pages) ----- */
.marketing footer.simple { padding: 36px 0 32px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; color: rgba(255,255,255,0.5); }
.marketing footer.simple .inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.marketing footer.simple .inner a:hover { color: #fff; }
.marketing footer.simple .legal { display: flex; gap: 24px; }

/* ==========================================================================
   PRODUCT DETAIL PAGE (Atlantis Rewards template)
   ========================================================================== */
.marketing .product-hero { position: relative; z-index: 4; padding: 60px 0 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
.marketing .product-hero--platform { grid-template-columns: 1fr 1.2fr; gap: 60px; }
.marketing .product-logo-tag { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 8px 14px 8px 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; backdrop-filter: blur(8px); }
.marketing .product-logo-tag img { width: 32px; height: 32px; border-radius: 8px; background: #fff; padding: 4px; object-fit: contain; }
.marketing .product-logo-tag .meta { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }
.marketing .product-logo-tag .live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; background: rgba(45,212,191,0.12); border: 1px solid rgba(45,212,191,0.25); border-radius: 999px; font-size: 11px; color: var(--teal); font-weight: 600; margin-left: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.marketing .product-logo-tag .live .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }
.marketing h1.product-title { font-family: 'Space Grotesk', sans-serif; font-size: 76px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 22px; }
.marketing h1.product-title--platform { font-size: 68px; }
.marketing h1.product-title .grad-text { background: var(--grad); -webkit-background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 5s linear infinite; font-style: italic; }
.marketing p.product-sub { font-size: 19px; color: rgba(255,255,255,0.75); max-width: 540px; margin-bottom: 36px; line-height: 1.55; }

/* Phone mockup (single phone, used on Rewards) */
.marketing .product-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.marketing .phone-frame { position: relative; width: 280px; aspect-ratio: 9/19; background: linear-gradient(145deg, #18181b, #27272a); border-radius: 40px; padding: 14px; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05); animation: float 6s ease-in-out infinite; }
.marketing .phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #0e2b3d, #060816); border-radius: 28px; overflow: hidden; position: relative; }
.marketing .phone-screen::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 24px; background: #000; border-radius: 0 0 14px 14px; z-index: 2; }
.marketing .phone-screen-inner { padding: 50px 24px 24px; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.marketing .phone-logo { display: flex; flex-direction: column; align-items: center; padding: 24px 0; }
.marketing .phone-logo img { width: 150px; height: auto; max-height: 60px; object-fit: contain; }
.marketing .phone-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; }
.marketing .phone-card .lbl { font-size: 9px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.marketing .phone-card .val { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.marketing .phone-card .sub { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.marketing .phone-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.marketing .phone-btn { background: var(--grad); color: var(--on-grad); border: none; padding: 10px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.marketing .phone-btn.ghost { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.marketing .phone-glow { position: absolute; inset: -40px; background: var(--grad); opacity: 0.15; filter: blur(60px); border-radius: 50%; z-index: -1; }

/* Phone-fan (3 mockups, used on AFD platform) */
.marketing .phone-fan { position: relative; display: flex; align-items: center; justify-content: center; min-height: 540px; }
.marketing .mini-phone { position: absolute; width: 200px; aspect-ratio: 9/19; background: linear-gradient(145deg, #18181b, #27272a); border-radius: 32px; padding: 10px; box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05); }
.marketing .mini-phone .screen { width: 100%; height: 100%; background: linear-gradient(180deg, #0e2b3d, #060816); border-radius: 24px; padding: 32px 16px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; position: relative; overflow: hidden; }
.marketing .mini-phone .screen::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; background: #000; border-radius: 0 0 10px 10px; }
.marketing .mini-phone .screen img { width: 70%; height: auto; max-height: 90px; object-fit: contain; }
.marketing .mini-phone .screen .label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; color: rgba(255,255,255,0.7); text-align: center; padding: 6px 10px; background: rgba(255,255,255,0.06); border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); font-weight: 600; }
.marketing .mini-phone .screen .bar { width: 60%; height: 4px; background: var(--grad); border-radius: 2px; opacity: 0.7; }
.marketing .phone-fan .phone-left { transform: translateX(-160px) rotate(-6deg); animation: float2 6s ease-in-out infinite; z-index: 1; }
.marketing .phone-fan .phone-center { transform: translateY(-20px); animation: float 6s ease-in-out infinite; z-index: 3; box-shadow: 0 40px 80px -15px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08); }
.marketing .phone-fan .phone-right { transform: translateX(160px) rotate(6deg); animation: float3 6s ease-in-out infinite 0.5s; z-index: 1; }

/* Stats band (under product hero) */
.marketing .stats-band { position: relative; z-index: 4; }
.marketing .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.marketing .stat-item .num { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; letter-spacing: -0.02em; }
.marketing .stat-item .lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* Overview grid */
.marketing .overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.marketing .overview-body p { font-size: 16px; line-height: 1.65; color: #374151; margin-bottom: 18px; }
.marketing .overview-body p strong { color: var(--navy-deep); font-weight: 600; }
.marketing .overview-meta { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.marketing .overview-meta h5 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; }
.marketing .meta-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14px; gap: 12px; }
.marketing .meta-row:last-child { border-bottom: none; }
.marketing .meta-row .k { color: var(--muted); flex-shrink: 0; }
.marketing .meta-row .v { color: var(--navy-deep); font-weight: 600; text-align: right; }

/* How it works steps */
.marketing section.steps { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 100px 0; }
.marketing .steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.marketing .step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; position: relative; transition: transform .25s, box-shadow .25s; }
.marketing .step:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -8px rgba(6,8,22,0.08); }
.marketing .step-num { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; background: var(--grad-ink); -webkit-background-clip: text; color: transparent; line-height: 1; margin-bottom: 18px; }
.marketing .step h4 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.marketing .step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Features grid */
.marketing .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.marketing .feature { padding: 28px; border: 1px solid var(--line); border-radius: 20px; transition: all .25s; }
.marketing .feature:hover { border-color: transparent; box-shadow: 0 16px 40px -10px rgba(6,8,22,0.1); }
.marketing .feature-icon { width: 44px; height: 44px; background: var(--grad-ink); border-radius: 12px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.marketing .feature h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.marketing .feature p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Tech chips */
.marketing section.tech-chips { padding: 80px 0; border-top: 1px solid var(--line); }
.marketing .tech-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.marketing .tech-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .2s; }
.marketing .tech-chip:hover { background: #fff; border-color: var(--blue); transform: translateY(-2px); }
.marketing .tech-chip img { width: 18px; height: 18px; object-fit: contain; }

/* Gallery */
.marketing section.gallery { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marketing .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.marketing .gallery-item { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-radius: 20px; padding: 32px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: transform .3s; cursor: pointer; }
.marketing .gallery-item:hover { transform: scale(1.02); }
.marketing .gallery-item::before { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(45,212,191,0.3), transparent 70%); border-radius: 50%; top: -100px; right: -100px; filter: blur(40px); }
.marketing .gallery-item:nth-child(2)::before { background: radial-gradient(circle, rgba(236,72,153,0.3), transparent 70%); }
.marketing .gallery-item:nth-child(3)::before { background: radial-gradient(circle, rgba(249,115,22,0.3), transparent 70%); }
.marketing .gallery-item img { width: 75%; height: auto; max-height: 70%; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4)); }
.marketing .gallery-cap { position: absolute; bottom: 20px; left: 24px; color: #fff; font-size: 13px; font-weight: 600; z-index: 2; }
.marketing .gallery-cap .sub { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 400; margin-top: 2px; }

/* Outcomes */
.marketing section.outcomes { padding: 100px 0; }
.marketing section.outcomes.shaded { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marketing .outcome-card { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; border-radius: 28px; padding: 60px; position: relative; overflow: hidden; }
.marketing .outcome-card::before, .marketing .outcome-card::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); }
.marketing .outcome-card::before { width: 500px; height: 500px; background: radial-gradient(circle, rgba(45,212,191,0.25), transparent 70%); top: -200px; left: -100px; }
.marketing .outcome-card::after { width: 500px; height: 500px; background: radial-gradient(circle, rgba(236,72,153,0.25), transparent 70%); bottom: -200px; right: -100px; }
.marketing .outcome-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.marketing .outcome-quote { font-family: 'Space Grotesk', sans-serif; font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 28px; }
.marketing .outcome-quote .grad-text { background: var(--grad-ink); -webkit-background-clip: text; color: transparent; font-style: italic; }
.marketing .outcome-attribution { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.7); }
.marketing .outcome-attribution .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-ink); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #fff; }
.marketing .outcome-attribution strong { color: #fff; font-weight: 600; display: block; }
.marketing .outcome-numbers { display: grid; gap: 20px; }
.marketing .outcome-num { padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; backdrop-filter: blur(8px); }
.marketing .outcome-num .v { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; background: var(--grad-ink); -webkit-background-clip: text; color: transparent; letter-spacing: -0.02em; }
.marketing .outcome-num .l { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* Related projects */
.marketing section.related { padding: 100px 0; border-top: 1px solid var(--line); background: #fff; }
.marketing .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.marketing .related-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; transition: all .25s; cursor: pointer; position: relative; overflow: hidden; display: block; }
.marketing .related-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.marketing .related-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 40px -10px rgba(6,8,22,0.12); }
.marketing .related-card:hover::before { transform: scaleX(1); }
.marketing .related-card .rlogo { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-2); padding: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.marketing .related-card .rlogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.marketing .related-card .rlogo.monogram { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; font-size: 16px; padding: 0; }
.marketing .related-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.015em; }
.marketing .related-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.marketing .related-card .rarrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue-ink); margin-top: 14px; }

/* ==========================================================================
   AFD PLATFORM PAGE — sub-app grid + architecture diagram
   ========================================================================== */
.marketing section.platform { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 100px 0; }
.marketing .platform-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.marketing .platform-intro p { font-size: 16px; color: var(--muted); line-height: 1.65; }
.marketing .subapps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.marketing .subapp { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; position: relative; overflow: hidden; display: block; }
.marketing .subapp::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.marketing .subapp:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(6,8,22,0.12); border-color: transparent; }
.marketing .subapp:hover::before { transform: scaleX(1); }
.marketing .subapp-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.marketing .subapp-logo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; background: var(--bg-2); padding: 12px; display: flex; align-items: center; justify-content: center; }
.marketing .subapp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.marketing .subapp-titleblock h3 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--navy-deep); }
.marketing .subapp-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-ink); }
.marketing .subapp-desc { font-size: 15px; color: #374151; line-height: 1.6; margin-bottom: 20px; }
.marketing .subapp-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.marketing .subapp-features li { font-size: 14px; color: var(--muted); padding-left: 22px; position: relative; }
.marketing .subapp-features li::before { content: '→'; position: absolute; left: 0; color: var(--blue-ink); font-weight: 600; }
.marketing .subapp-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.marketing .subapp-meta .left { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.marketing .subapp-meta .right { color: var(--blue-ink); font-weight: 600; }

.marketing .arch-block { margin-top: 80px; padding: 48px; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); border-radius: 28px; color: #fff; position: relative; overflow: hidden; }
.marketing .arch-block::before, .marketing .arch-block::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.3; }
.marketing .arch-block::before { width: 400px; height: 400px; background: radial-gradient(circle, var(--teal), transparent 70%); top: -150px; left: -100px; }
.marketing .arch-block::after { width: 400px; height: 400px; background: radial-gradient(circle, var(--magenta), transparent 70%); bottom: -150px; right: -100px; }
.marketing .arch-inner { position: relative; z-index: 1; }
.marketing .arch-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.marketing .arch-head h3 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; max-width: 540px; }
.marketing .arch-head .label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; }
.marketing .arch-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.marketing .arch-app { padding: 18px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; text-align: center; backdrop-filter: blur(8px); }
.marketing .arch-app .name { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: #fff; }
.marketing .arch-app .role { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.marketing .arch-pipe { display: flex; align-items: center; justify-content: center; padding: 14px 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; }
.marketing .arch-pipe::before, .marketing .arch-pipe::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); margin: 0 16px; }
.marketing .arch-core { padding: 28px; background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.25); border-radius: 16px; text-align: center; backdrop-filter: blur(8px); }
.marketing .arch-core .name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; letter-spacing: -0.015em; margin-bottom: 6px; }
.marketing .arch-core .role { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ==========================================================================
   LEGAL PAGE
   ========================================================================== */
.marketing .legal-hero { position: relative; z-index: 4; padding: 40px 0 20px; }
.marketing .legal-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 14px; }
.marketing h1.legal-title { font-family: 'Space Grotesk', sans-serif; font-size: 68px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 16px; }
.marketing .legal-meta { display: flex; gap: 24px; font-size: 14px; color: rgba(255,255,255,0.65); flex-wrap: wrap; }
.marketing .legal-meta strong { color: #fff; font-weight: 600; }
.marketing .body-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; padding: 80px 0 120px; align-items: start; }
.marketing .toc { position: sticky; top: 32px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; }
.marketing .toc h5 { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 18px; }
.marketing .toc ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.marketing .toc a { display: block; padding: 8px 12px; font-size: 14px; color: var(--muted); border-radius: 8px; transition: all .15s; }
.marketing .toc a:hover { background: #fff; color: var(--ink); }
.marketing .toc a.active { background: #fff; color: var(--ink); font-weight: 600; border: 1px solid var(--line); }
.marketing article.legal { max-width: 760px; }
.marketing article.legal h2 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; letter-spacing: -0.025em; margin: 56px 0 20px; color: var(--navy-deep); scroll-margin-top: 32px; }
.marketing article.legal h2:first-child { margin-top: 0; }
.marketing article.legal h2 .num { font-size: 14px; font-weight: 600; color: var(--blue); font-family: 'Inter', sans-serif; vertical-align: top; margin-right: 12px; padding-top: 8px; display: inline-block; letter-spacing: 0.08em; }
.marketing article.legal h3 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; margin: 32px 0 12px; }
.marketing article.legal p { font-size: 16px; color: #374151; margin-bottom: 16px; line-height: 1.65; }
.marketing article.legal ul, .marketing article.legal ol { padding-left: 24px; margin-bottom: 16px; }
.marketing article.legal li { font-size: 16px; color: #374151; margin-bottom: 8px; line-height: 1.65; }
.marketing article.legal li::marker { color: var(--blue); }
.marketing article.legal strong { color: var(--navy-deep); font-weight: 600; }
.marketing article.legal a { color: var(--blue); }
.marketing article.legal a:hover { text-decoration: underline; }
.marketing article.legal .callout { background: var(--bg-2); border-left: 4px solid var(--blue); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 24px 0; font-size: 15px; color: #374151; }
.marketing article.legal .callout strong { color: var(--blue); }
.marketing .legal-divider { height: 1px; background: var(--line); margin: 48px 0; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.marketing--dark::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(700px circle at 20% 10%, rgba(45,212,191,0.2), transparent 50%),
    radial-gradient(700px circle at 80% 30%, rgba(236,72,153,0.22), transparent 50%),
    radial-gradient(700px circle at 50% 90%, rgba(249,115,22,0.16), transparent 55%);
  filter: blur(20px);
}
.marketing--dark > * { position: relative; z-index: 1; }

.marketing .contact-head { padding: 60px 0 24px; max-width: 720px; }
.marketing .contact-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 24px; backdrop-filter: blur(8px); }
.marketing .contact-head .eyebrow .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }
.marketing h1.contact-title { font-family: 'Space Grotesk', sans-serif; font-size: 76px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 18px; }
.marketing h1.contact-title .grad-text { background: var(--grad); -webkit-background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 5s linear infinite; font-style: italic; }
.marketing p.contact-sub { font-size: 19px; color: rgba(255,255,255,0.7); line-height: 1.55; max-width: 600px; }

.marketing .contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 56px 0 100px; align-items: start; }
.marketing .form-card { padding: 4px; background: var(--grad); border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.marketing .form-inner { background: rgba(14,43,61,0.85); border-radius: 24px; padding: 48px; backdrop-filter: blur(20px); }
.marketing .form-row { margin-bottom: 24px; }
.marketing .form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.marketing .form-row.two-col > div { margin-bottom: 24px; }
.marketing .form-inner label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.marketing .form-inner label .req { color: var(--magenta); }
.marketing .form-inner input[type="text"], .marketing .form-inner input[type="email"], .marketing .form-inner textarea, .marketing .form-inner select {
  width: 100%; padding: 14px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; transition: all .2s;
}
.marketing .form-inner textarea { resize: vertical; min-height: 120px; }
.marketing .form-inner select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23a1a1aa' d='M4 6l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.marketing .form-inner input:focus, .marketing .form-inner textarea:focus, .marketing .form-inner select:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,0.06); }
.marketing .form-inner input::placeholder, .marketing .form-inner textarea::placeholder { color: rgba(255,255,255,0.35); }

.marketing .chips-group { display: flex; flex-wrap: wrap; gap: 8px; }
.marketing .chip-input { position: relative; }
.marketing .chip-input input { position: absolute; opacity: 0; pointer-events: none; }
.marketing .chip-input label { display: inline-flex; align-items: center; padding: 8px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 0; cursor: pointer; transition: all .15s; }
.marketing .chip-input input:checked + label { background: var(--grad-ink); color: #fff; border-color: transparent; }
.marketing .chip-input label:hover { color: #fff; border-color: rgba(255,255,255,0.25); }

.marketing .form-foot { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.marketing .form-foot .privacy-note { font-size: 12px; color: rgba(255,255,255,0.5); max-width: 320px; }
.marketing .form-foot .privacy-note a { color: var(--teal); }
.marketing .btn-submit { background: var(--grad); color: var(--on-grad); padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 8px 30px rgba(236,72,153,0.4); position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s; font-family: inherit; }
.marketing .btn-submit:hover { transform: translateY(-2px); }
.marketing .btn-submit::after { content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.3), transparent); transition: left .6s; }
.marketing .btn-submit:hover::after { left: 130%; }

.marketing .info-panel { display: flex; flex-direction: column; gap: 16px; }
.marketing .info-card { padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; backdrop-filter: blur(12px); }
.marketing .info-card .icon { width: 44px; height: 44px; background: var(--grad-ink); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; font-size: 18px; }
.marketing .info-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 6px; }
.marketing .info-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.55; }
.marketing .info-card a { color: var(--teal); font-weight: 500; }
.marketing .info-card a:hover { color: #fff; }
.marketing .info-pills { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; }
.marketing .info-pills h4 { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.marketing .info-pill { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); font-size: 14px; }
.marketing .info-pill:last-child { border-bottom: none; }
.marketing .info-pill .k { color: rgba(255,255,255,0.55); }
.marketing .info-pill .v { color: #fff; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.marketing .info-pill .v.live { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-family: inherit; font-weight: 500; }
.marketing .info-pill .v.live .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 8px var(--teal); animation: pulse 2s ease-in-out infinite; }

/* ----- BACK-TO-TOP floating button (all marketing pages) ----- */
.marketing .back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad-ink);
    border: none;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 50;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s, box-shadow .3s;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(236,72,153,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    font-family: 'Space Grotesk', sans-serif;
    padding: 0;
}
.marketing .back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.marketing .back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(236,72,153,0.5), 0 0 0 1px rgba(255,255,255,0.15);
}
.marketing .back-to-top:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 4px;
}
@media (max-width: 600px) {
    .marketing .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 18px; }
}

/* ----- CONTACT FORM: success / error banners + per-field errors ----- */
.marketing .form-banner { padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; font-size: 14px; line-height: 1.5; display: flex; align-items: flex-start; gap: 12px; }
.marketing .form-banner.success { background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.3); color: var(--teal); }
.marketing .form-banner.error { background: rgba(236,72,153,0.08); border: 1px solid rgba(236,72,153,0.25); color: #fca5d4; }
.marketing .form-banner .icon { font-size: 18px; line-height: 1; flex-shrink: 0; padding-top: 2px; }
.marketing .form-banner strong { display: block; color: #fff; margin-bottom: 4px; font-weight: 600; }
.marketing .field-error { font-size: 12px; color: #fca5d4; margin-top: 6px; }
.marketing .form-inner input.has-error, .marketing .form-inner textarea.has-error, .marketing .form-inner select.has-error { border-color: rgba(236,72,153,0.5); }
/* honeypot — hidden from humans, attractive to bots */
.marketing .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ==========================================================================
   RESPONSIVE — light pass for tablets/mobile (full mobile polish in later phase)
   ========================================================================== */
@media (max-width: 960px) {
  .marketing nav.top ul { display: none; }
  .marketing h1.hero-title { font-size: 56px; }
  .marketing h1.product-title { font-size: 48px; }
  .marketing h1.legal-title, .marketing h1.contact-title { font-size: 48px; }
  .marketing h2.section-title { font-size: 36px; }
  .marketing .featured-inner, .marketing .product-hero, .marketing .overview-grid, .marketing .contact-grid, .marketing .platform-intro, .marketing .outcome-inner, .marketing .contact-card .inner { grid-template-columns: 1fr; gap: 40px; }
  .marketing .stats, .marketing .stats-grid, .marketing .why-grid, .marketing .feature-grid, .marketing .related-grid, .marketing .steps-grid, .marketing .arch-diagram, .marketing .subapps-grid, .marketing .gallery-grid, .marketing .tech-grid, .marketing .project-grid, .marketing .project-grid.project-grid-2x2 { grid-template-columns: repeat(2, 1fr); }
  .marketing .body-grid { grid-template-columns: 1fr; }
  .marketing .toc { position: static; }
  .marketing .footer-grid { grid-template-columns: 1fr 1fr; }
  .marketing .featured-visual { padding: 24px; }
  .marketing .form-row.two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .marketing .container { padding: 0 20px; }
  .marketing h1.hero-title { font-size: 44px; }
  .marketing h1.product-title, .marketing h1.legal-title, .marketing h1.contact-title { font-size: 36px; }
  .marketing h2.section-title { font-size: 28px; }
  .marketing .stats, .marketing .stats-grid, .marketing .why-grid, .marketing .feature-grid, .marketing .related-grid, .marketing .steps-grid, .marketing .arch-diagram, .marketing .subapps-grid, .marketing .gallery-grid, .marketing .project-grid, .marketing .project-grid.project-grid-2x2, .marketing .footer-grid { grid-template-columns: 1fr; }
}

/* contact: confirmation shown in place of the form after a successful send */
.marketing .sent-panel { text-align: center; padding: 56px 32px; background: rgba(14,43,61,0.85); border-radius: 24px; backdrop-filter: blur(20px); }
.marketing .sent-panel .sent-check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; background: linear-gradient(135deg, #2dd4bf, #06b6d4); box-shadow: 0 10px 40px rgba(45,212,191,0.35); }
.marketing .sent-panel h2 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; letter-spacing: -0.015em; }
.marketing .sent-panel p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.6; max-width: 440px; margin: 0 auto 12px; }
.marketing .sent-panel p strong { color: #fff; }
.marketing .sent-panel .sent-note { font-size: 13px; color: rgba(255,255,255,0.5); }
.marketing .sent-panel .sent-note a { color: inherit; text-decoration: underline; }
.marketing .sent-panel .sent-again { display: inline-block; margin-top: 20px; padding: 12px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.marketing .sent-panel .sent-again:hover { background: rgba(255,255,255,0.08); }

/* ==========================================================================
   DESIGN PASS — nav toggle, hero stack, logo tiles, icons, about list
   ========================================================================== */

/* Mobile nav toggle (hidden on desktop) */
.marketing nav.top .nav-toggle { display: none; width: 42px; height: 42px; margin-left: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.marketing nav.top .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.marketing nav.top.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.marketing nav.top.open .nav-toggle span:nth-child(2) { opacity: 0; }
.marketing nav.top.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero: copy left, "layers we build" card right */
.marketing .hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: center; }
.marketing .hero-grid .hero-content { max-width: none; }
.marketing .hero-grid h1.hero-title { font-size: 68px; }
.marketing .hero-stack { position: relative; z-index: 4; padding: 28px; border-radius: 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); }
.marketing .hero-stack .stack-head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.marketing .hero-stack .stack-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.marketing .stack-list { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.marketing .stack-list::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(180deg, #2dd4bf, #ec4899 60%, #f97316); opacity: 0.45; }
.marketing .stack-list li { position: relative; display: flex; align-items: center; gap: 16px; }
.marketing .stack-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--grad-ink); box-shadow: 0 6px 20px rgba(236,72,153,0.25); }
.marketing .stack-list strong { display: block; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; }
.marketing .stack-list small { display: block; color: rgba(255,255,255,0.55); font-size: 13px; margin-top: 2px; }

/* Logo tiles: size to the logo instead of forcing a 56px square */
.marketing .project-logo:not(.monogram) { width: fit-content; min-width: 56px; padding: 8px 14px; align-self: flex-start; }
.marketing .project-logo:not(.monogram) img { height: 40px; width: auto; max-width: 140px; }
.marketing .related-card .rlogo:not(.monogram) { width: fit-content; min-width: 48px; padding: 8px 12px; }
.marketing .related-card .rlogo.rlogo-dark { background: #0a0e1e; }
.marketing .related-card .rlogo:not(.monogram) img { height: 28px; width: auto; max-width: 100px; }

/* SVG icons inside the gradient tiles */
.marketing .feature-icon .ico, .marketing .about-ico .ico { display: block; }
.marketing .feature-icon .ico { width: 22px; height: 22px; }

/* About: intro left, numbered list right (breaks the card-grid rhythm) */
.marketing .about-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.marketing .about-intro { position: sticky; top: 40px; }
.marketing .about-intro .section-head { margin-bottom: 0; }
.marketing .about-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.marketing .about-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 48px; gap: 20px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.marketing .about-num { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--muted); padding-top: 4px; }
.marketing .about-body h4 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.marketing .about-body p { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 460px; }
.marketing .about-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-ink); color: #fff; display: flex; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .marketing nav.top .nav-toggle { display: inline-flex; }
  .marketing nav.top .cta { margin-left: auto; padding: 9px 14px; font-size: 13px; }
  .marketing nav.top.open ul { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; padding: 22px 24px; border-radius: 18px; background: rgba(8,12,28,0.96); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(16px); font-size: 16px; z-index: 10; }
  .marketing .hero-grid { grid-template-columns: 1fr; }
  .marketing .hero-grid h1.hero-title { font-size: 56px; }
  .marketing .hero-stack { display: none; }
  .marketing .about-split { grid-template-columns: 1fr; gap: 32px; }
  .marketing .about-intro { position: static; }
}
@media (max-width: 600px) {
  .marketing .hero-grid h1.hero-title { font-size: 44px; }
  .marketing .about-row { grid-template-columns: 36px minmax(0, 1fr); }
  .marketing .about-ico { display: none; }
}

@media (max-width: 600px) {
  .marketing nav.top .inner { gap: 8px; }
  .marketing nav.top .brand { padding: 4px 4px; min-width: 0; }
  .marketing nav.top .brand img { height: 38px; }
  .marketing nav.top .cta { white-space: nowrap; padding: 8px 12px; font-size: 12.5px; }
  .marketing nav.top .nav-toggle { margin-left: 0; flex-shrink: 0; width: 38px; height: 38px; }
}

/* Cards with nowhere to go yet (no detail page / external site): static, no hover lift */
.marketing .project.project--static { cursor: default; }
.marketing .project.project--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.marketing .project.project--static:hover::before { transform: scaleX(0); }
.marketing .project.project--static:hover .project-logo { transform: none; }

/* AFD sub-app tiles: icon crops + an SVG for the admin panels */
.marketing .subapp-logo--icon { color: #2fb344; }
.marketing .subapp-logo--icon .ico { width: 30px; height: 30px; }

/* Footer on tablet/mobile: the base rule has higher specificity than the generic responsive one,
   so the 4-column grid was never collapsing and pushed Services / Contact off-screen. */
@media (max-width: 960px) {
  .marketing footer.full .footer-grid, .marketing footer.full .footer-grid.footer-grid--3col { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .marketing footer.full .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .marketing footer.full .footer-bottom .inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   CONTACT / DARK PAGES — calmer color
   One accent per view: the title word and the submit button carry the gradient;
   everything else (glows, card border, icon tile, chips, nav CTA) goes quiet.
   ========================================================================== */
.marketing--dark::before {
  background:
    radial-gradient(800px circle at 18% 8%, rgba(45,212,191,0.12), transparent 55%),
    radial-gradient(700px circle at 85% 25%, rgba(59,130,246,0.08), transparent 55%);
}
.marketing .form-card { padding: 0; background: rgba(255,255,255,0.1); border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); }
.marketing .form-card .form-inner, .marketing .form-card .sent-panel { border-radius: 23px; margin: 1px; background: rgba(10,20,36,0.96); }
.marketing h1.contact-title .grad-text { animation: none; }
.marketing .info-card .icon { background: rgba(45,212,191,0.12); color: var(--teal); border: 1px solid rgba(45,212,191,0.25); }
.marketing .chip-input input:checked + label { background: rgba(45,212,191,0.16); color: #fff; border-color: rgba(45,212,191,0.6); }
.marketing--dark nav.top .cta { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); box-shadow: none; }
.marketing--dark nav.top .cta:hover { background: rgba(255,255,255,0.08); }

/* Italic gradient words were clipped on the right edge by background-clip:text */
.marketing h1.contact-title .grad-text, .marketing h1.product-title .grad-text { padding-right: 0.12em; }

/* ==========================================================================
   BUTTONS — calm
   Primary buttons are solid white on dark surfaces (every primary sits on a dark
   hero / dark card / dark footer). No gradient, no colored glow. The gradient
   stays for text accents and icon tiles only.
   ========================================================================== */
.marketing .btn-primary, .marketing nav.top .cta, .marketing .btn-submit,
.marketing footer.full .footer-cta, .marketing .phone-btn:not(.ghost) {
  background: #fff; color: var(--navy-deep); box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.marketing .btn-primary:hover, .marketing nav.top .cta:hover, .marketing .btn-submit:hover,
.marketing footer.full .footer-cta:hover { background: #e8eaf0; transform: translateY(-1px); }
.marketing .btn-primary::after, .marketing .btn-submit::after { display: none; }
.marketing--dark nav.top .cta { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); box-shadow: none; }
.marketing--dark nav.top .cta:hover { background: rgba(255,255,255,0.08); }
.marketing .featured-cta:hover { background: #fff; color: var(--navy-deep); border-color: transparent; }
.marketing footer.full .footer-social a:hover { background: #fff; color: var(--navy-deep); }
.marketing .back-to-top { background: #fff; color: var(--navy-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.06); }
.marketing .back-to-top:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.34), 0 0 0 1px rgba(0,0,0,0.08); }
.marketing .phone-btn.ghost { color: #fff; }
