/* NolaByte Design System — v2 (Manrope + Blue) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #0066FF;
  --primary-dark: #0052CC;
  --primary-soft: rgba(0,102,255,0.09);
  --secondary:    #5B75BA;
  --tertiary:     #CC4204;
  --bg:           #F8FAFC;
  --bg-2:         #F1F5F9;
  --bg-card:      #FFFFFF;
  --ink:          #0B1220;
  --ink-2:        #1E293B;
  --muted:        #64748B;
  --border:       #E2E8F0;
  --radius:       10px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 22px 56px; border-bottom: 1px solid var(--border); background: rgba(248,250,252,0.88); backdrop-filter: blur(14px); transition: padding 0.3s; }
.nav-logo { font-size: 21px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; padding: 11px 22px; border-radius: var(--radius); transition: background 0.2s, transform 0.2s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* HERO (homepage) */
#home { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 130px 56px 80px; gap: 64px; position: relative; overflow: hidden; }
#home::before { content: ''; position: absolute; top: -300px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,102,255,0.12), transparent 70%); pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--primary); }
h1.hero-heading { font-size: clamp(48px, 6vw, 80px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 28px; }
h1.hero-heading em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: 18px; color: var(--muted); font-weight: 400; max-width: 480px; line-height: 1.65; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; position: relative; }
.btn-primary { background: var(--primary); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 14px 28px; border-radius: var(--radius); transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--primary); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.hero-right { display: flex; flex-direction: column; gap: 14px; position: relative; }
.proof-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 26px; display: flex; align-items: center; gap: 18px; box-shadow: 0 4px 16px rgba(11,18,32,0.04); animation: fadeUp 0.5s ease both; }
.proof-card:nth-child(2) { margin-left: 24px; animation-delay: 0.12s; }
.proof-card:nth-child(3) { margin-left: 48px; animation-delay: 0.24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.proof-icon { width: 44px; height: 44px; background: var(--primary-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.proof-label { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; font-weight: 600; }
.proof-value { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }

/* SECTIONS */
section { padding: 96px 56px; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--primary); }
.section-heading { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); margin-bottom: 18px; }
.section-heading em { font-style: normal; color: var(--primary); }
.section-sub { color: var(--muted); font-size: 16px; max-width: 520px; line-height: 1.65; }

/* SERVICES */
#services { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.svc { background: var(--bg-card); padding: 36px 32px; position: relative; transition: background 0.25s; }
.svc::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s ease; }
.svc:hover { background: var(--bg); }
.svc:hover::after { transform: scaleY(1); }
.svc-num { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 22px; background: var(--primary-soft); padding: 4px 10px; border-radius: 6px; display: inline-block; }
.svc-icon { color: var(--primary); margin-bottom: 18px; }
.svc-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* WORK */
#work { background: var(--bg); }
.work-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 40px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.proj:hover { box-shadow: 0 20px 40px -16px rgba(11,18,32,0.18); transform: translateY(-3px); }
.proj-img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; max-height: 220px; }
.proj-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.proj-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.proj-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.proj-desc { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }

/* ABOUT */
#about { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-body { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.pillars { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-line { width: 3px; margin-top: 6px; align-self: stretch; background: var(--border); flex-shrink: 0; transition: background 0.2s; border-radius: 2px; }
.pillar:hover .pillar-line { background: var(--primary); }
.pillar-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pillar-desc { font-size: 14px; color: var(--muted); }

.about-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 44px 40px; box-shadow: 0 8px 32px -16px rgba(11,18,32,0.12); position: relative; overflow: hidden; }
.about-panel::before { content: 'SILICON BAYOU'; position: absolute; bottom: -16px; right: -8px; font-size: 64px; font-weight: 800; line-height: 0.85; letter-spacing: -0.04em; color: var(--primary-soft); pointer-events: none; text-align: right; white-space: nowrap; }
.panel-stat { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); position: relative; }
.panel-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.panel-stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.panel-stat-value { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.panel-stat-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* CTA */
#cta, .cta-band { background: var(--ink); padding: 96px 56px; text-align: center; position: relative; overflow: hidden; }
#cta::before, .cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top, rgba(0,102,255,0.25), transparent 60%); pointer-events: none; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 24px; position: relative; }
.cta-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--primary); }
.cta-heading { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -0.035em; color: #fff; margin-bottom: 20px; line-height: 1.04; position: relative; }
.cta-heading em { font-style: normal; color: var(--primary); }
.cta-sub { color: rgba(255,255,255,0.65); font-size: 17px; max-width: 500px; margin: 0 auto 40px; line-height: 1.65; position: relative; }

/* CONTACT */
#contact { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-body { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.cdet { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.cdet svg { color: var(--primary); flex-shrink: 0; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 40px; box-shadow: 0 8px 32px -16px rgba(11,18,32,0.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fg label { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.fg input, .fg textarea { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--ink); font-family: inherit; font-size: 14.5px; padding: 12px 15px; outline: none; transition: border-color 0.2s, background 0.2s; width: 100%; }
.fg input:focus, .fg textarea:focus { border-color: var(--primary); background: #fff; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); opacity: 0.6; }
.fg textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; background: var(--primary); color: #fff; border: none; border-radius: var(--radius); font-family: inherit; font-size: 14px; font-weight: 600; padding: 15px; cursor: pointer; transition: background 0.2s, transform 0.2s; margin-top: 4px; }
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* PRODUCT PAGE HERO (clover app pages) */
.product-hero { padding: 150px 56px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.product-hero::before { content: ''; position: absolute; top: -200px; right: -300px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(0,102,255,0.12), transparent 70%); pointer-events: none; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; font-weight: 500; position: relative; }
.breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.product-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 20px; position: relative; }
.product-hero h1 em { font-style: normal; color: var(--primary); }
.product-hero .hero-desc { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 500px; margin-bottom: 32px; position: relative; }
.product-hero .hero-actions { position: relative; }
.hero-img { width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 30px 60px -20px rgba(0,102,255,0.25); position: relative; }

/* HOW IT WORKS */
.how-it-works { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-header { margin-bottom: 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 36px 32px; transition: all 0.25s; }
.step:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(0,102,255,0.15); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 12px; font-weight: 800; font-size: 16px; margin-bottom: 22px; box-shadow: 0 8px 20px -6px rgba(0,102,255,0.4); }
.step-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step-desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* FEATURES */
.features { background: var(--bg); }
.features-header { margin-bottom: 48px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.feature { padding: 4px 0; }
.feature-icon { width: 44px; height: 44px; background: var(--primary-soft); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* WHO IT'S FOR */
.who-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.who-header { margin-bottom: 48px; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; border-top: 3px solid var(--primary); transition: all 0.2s; }
.who-card:nth-child(2) { border-top-color: var(--tertiary); }
.who-card:nth-child(3) { border-top-color: var(--secondary); }
.who-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(11,18,32,0.12); }
.who-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.who-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* FAQ */
.faq-section { background: var(--bg); }
.faq-header { margin-bottom: 48px; }
.faq-list { max-width: 760px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; transition: all 0.2s; }
.faq-item.open { border-color: var(--primary); box-shadow: 0 8px 24px -12px rgba(0,102,255,0.18); }
.faq-q { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; padding: 22px 26px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { flex-shrink: 0; color: var(--primary); transition: transform 0.2s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.65; padding: 0 26px 24px; display: none; }
.faq-item.open .faq-a { display: block; }

/* CLOVER APPS INDEX */
.page-hero { padding: 160px 56px 80px; max-width: 760px; position: relative; }
.page-hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; color: var(--primary); }
.page-hero p { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 560px; }
.apps-section { padding: 0 56px 96px; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.app-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow 0.25s, transform 0.25s; }
.app-card:hover { box-shadow: 0 20px 40px -16px rgba(11,18,32,0.15); transform: translateY(-3px); }
.app-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; max-height: 220px; }
.app-card-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.app-card-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.app-card-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.app-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.app-card-link { font-size: 13px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.app-card:hover .app-card-link svg { transform: translateX(4px); }
.app-card-link svg { transition: transform 0.2s; }
.app-card.coming-soon { opacity: 0.65; pointer-events: none; }
.app-card.coming-soon .app-card-link { color: var(--muted); }

/* FOOTER */
footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 36px 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.footer-logo span { color: var(--primary); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section, #home, #cta, .cta-band, footer, .product-hero, .page-hero, .apps-section { padding-left: 24px; padding-right: 24px; }
  #home { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-right { display: none; }
  .product-hero { grid-template-columns: 1fr; padding-top: 110px; gap: 40px; }
  .page-hero { padding-top: 110px; }
  .services-top, .work-top { flex-direction: column; align-items: flex-start; }
  .services-grid, .projects-grid, .steps-grid, .features-grid, .who-grid { grid-template-columns: 1fr; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
}
