/* ============================================================
   WorkflowVaultAI — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --ink:     #111827;
  --gray:    #6B7280;
  --muted:   #9CA3AF;
  --border:  #E5E7EB;
  --surface: #F9FAFB;
  --white:   #ffffff;
  --accent:  #0052FF;
  --accent2: #00C2FF;
  --grad:    linear-gradient(135deg, #0052FF 0%, #00C2FF 100%);
  --shadow:  0 4px 24px rgba(0,82,255,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
  --radius:  12px;
  --radius-lg: 20px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--gray); line-height: 1.75; }
a  { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .2s; border: none; text-decoration: none; }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 4px 20px rgba(0,82,255,.30); }
.btn-primary:hover { opacity:1; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,82,255,.40); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); opacity:1; }
.btn-white  { background: var(--white); color: var(--accent); }
.btn-white:hover { opacity:1; transform:translateY(-2px); }

/* ── Nav ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--ink); text-decoration: none; display:flex; align-items:center; gap:8px; }
.nav-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-logo svg { flex-shrink:0; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display:flex; align-items:center; gap:12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }
.mobile-menu { display:none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); text-decoration: none; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 16px; width:100%; justify-content:center; }

/* ── Hero ── */
.hero { padding: 100px 0 80px; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,82,255,.08) 0%, transparent 70%); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,82,255,.08); border: 1px solid rgba(0,82,255,.2); color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; margin-bottom: 28px; letter-spacing:.03em; text-transform: uppercase; }
.hero-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { max-width: 780px; margin-bottom: 24px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.125rem; max-width: 600px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 24px; margin-top: 56px; flex-wrap: wrap; }
.hero-trust-item { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--gray); font-weight:500; }
.hero-trust-item svg { color: var(--accent); flex-shrink:0; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all .3s; }
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(0,82,255,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 14px; }

/* ── Section Labels ── */
.section-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { margin-top: 16px; font-size: 1.05rem; }

/* ── Benefits ── */
.benefits-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.benefit-item { display: flex; gap: 16px; margin-bottom: 32px; }
.benefit-item:last-child { margin-bottom: 0; }
.benefit-num { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: white; font-family: var(--font-head); font-weight: 700; font-size: 15px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.benefit-text h4 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit-visual { background: var(--surface); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-box .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-box .label { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ── How It Works ── */
.how-bg { background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps-grid::before { content:''; position:absolute; top:28px; left:calc(12.5% + 20px); right:calc(12.5% + 20px); height:2px; background: linear-gradient(90deg, var(--accent), var(--accent2)); opacity:.3; z-index:0; }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: white; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; display:flex; align-items:center; justify-content:center; margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(0,82,255,.3); }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 13.5px; }

/* ── Categories ── */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; cursor: pointer; transition: all .25s; text-decoration: none; display: block; }
.cat-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform:translateY(-3px); opacity:1; }
.cat-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.cat-card h4 { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ── Trust Section ── */
.trust-bg { background: var(--ink); color: var(--white); }
.trust-bg .section-label { color: var(--accent2); }
.trust-bg h2 { color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.trust-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 32px; }
.trust-card svg { color: var(--accent2); margin-bottom: 16px; }
.trust-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1.05rem; }
.trust-card p { color: rgba(255,255,255,.6); font-size: 14px; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 24px 0; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; display:flex; justify-content:space-between; align-items:center; gap: 16px; }
.faq-q:hover { color: var(--accent); }
.faq-q .icon { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:14px; transition:transform .3s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--accent); border-color:var(--accent); color:white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { font-size: 15px; }

/* ── Footer ── */
footer { background: var(--black); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing:.08em; text-transform:uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); opacity:1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-bottom p { font-size: 13px; }
.footer-bottom-links { display:flex; gap:20px; }
.footer-bottom-links a { font-size:13px; color:rgba(255,255,255,.5); text-decoration:none; }
.footer-bottom-links a:hover { color:white; opacity:1; }
.footer-logo { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--white); display:flex; align-items:center; gap:8px; text-decoration:none; }
.footer-logo span { background: var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ── Inner page hero ── */
.page-hero { padding: 72px 0 56px; background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(0,82,255,.07) 0%, transparent 70%); border-bottom: 1px solid var(--border); text-align:center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── Prose (legal pages) ── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--ink); }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose p  { margin-bottom: 18px; font-size: 15px; line-height: 1.8; }
.prose ul { margin: 0 0 18px 24px; }
.prose ul li { font-size: 15px; color: var(--gray); margin-bottom: 8px; line-height: 1.7; }
.prose a  { color: var(--accent); }
.prose .last-updated { display:inline-block; background:rgba(0,82,255,.07); border:1px solid rgba(0,82,255,.15); color:var(--accent); font-size:13px; font-weight:600; padding:6px 14px; border-radius:100px; margin-bottom:32px; }

/* ── Contact form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail { display:flex; gap:14px; align-items:flex-start; margin-bottom:24px; }
.contact-detail-icon { width:44px; height:44px; border-radius:10px; background:rgba(0,82,255,.08); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-detail h5 { font-size:14px; font-weight:600; margin-bottom:4px; }
.contact-detail p { font-size:14px; margin:0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width:100%; padding:12px 16px; border:1px solid var(--border); border-radius: 8px; font-family:var(--font-body); font-size:15px; color:var(--ink); background:var(--white); transition:border-color .2s; outline:none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,82,255,.08); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Products page ── */
.products-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:40px; flex-wrap:wrap; gap:16px; }
.cat-filter { display:flex; gap:10px; flex-wrap:wrap; }
.cat-btn { padding:8px 18px; border-radius:100px; border:1px solid var(--border); background:var(--white); font-size:14px; font-weight:500; cursor:pointer; transition:all .2s; color:var(--ink); }
.cat-btn:hover, .cat-btn.active { background:var(--accent); color:var(--white); border-color:var(--accent); }
.products-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.product-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:all .3s; }
.product-card:hover { border-color:var(--accent); box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.product-thumb { height:160px; display:flex; align-items:center; justify-content:center; font-size:48px; }
.product-body { padding:24px; }
.product-cat { font-size:12px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.product-body h3 { font-size:1rem; margin-bottom:8px; }
.product-body p { font-size:13.5px; margin-bottom:16px; }
.product-footer { display:flex; justify-content:space-between; align-items:center; }
.product-badge { background:rgba(0,82,255,.08); color:var(--accent); font-size:12px; font-weight:600; padding:4px 10px; border-radius:100px; }
.coming-soon { opacity:.7; }
.coming-soon .product-badge { background:rgba(107,114,128,.1); color:var(--gray); }

/* ── Free Resources ── */
.lead-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px; text-align:center; transition:all .3s; }
.lead-card:hover { border-color:var(--accent); box-shadow:var(--shadow); transform:translateY(-4px); }
.lead-icon { font-size:48px; margin-bottom:20px; display:block; }
.lead-card h3 { margin-bottom:12px; }
.lead-card p { font-size:14px; margin-bottom:24px; }
.resources-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.signup-box { background:var(--grad); border-radius:var(--radius-lg); padding:56px 40px; text-align:center; color:white; max-width:640px; margin:48px auto 0; }
.signup-box h2 { color:white; margin-bottom:12px; }
.signup-box p { color:rgba(255,255,255,.8); margin-bottom:32px; }
.signup-form { display:flex; gap:12px; max-width:440px; margin:0 auto; }
.signup-form input { flex:1; padding:14px 18px; border-radius:8px; border:none; font-size:15px; outline:none; }
.signup-form .btn-white { flex-shrink:0; }

/* ── About ── */
.about-intro { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-visual { background:var(--surface); border-radius:var(--radius-lg); padding:48px; border:1px solid var(--border); }
.value-list { list-style:none; margin-top:24px; }
.value-list li { display:flex; gap:12px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--border); font-size:15px; color:var(--gray); }
.value-list li:last-child { border-bottom:none; }
.value-list li::before { content:'✓'; width:22px; height:22px; border-radius:50%; background:var(--grad); color:white; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.team-section { background:var(--surface); }
.mission-box { background:var(--grad); border-radius:var(--radius-lg); padding:56px; color:white; text-align:center; }
.mission-box h2 { color:white; margin-bottom:16px; }
.mission-box p { color:rgba(255,255,255,.85); font-size:1.05rem; max-width:600px; margin:0 auto; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display:none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid, .cats-grid, .trust-grid, .products-grid, .resources-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .benefits-wrap, .about-intro, .contact-grid { grid-template-columns: 1fr; gap:40px; }
  .footer-grid { grid-template-columns: 1fr; gap:32px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { justify-content: center; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .signup-form { flex-direction:column; }
  .signup-form .btn-white { width:100%; justify-content:center; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .about-visual { padding:32px; }
  .mission-box { padding:40px 24px; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns:1fr; }
  .products-header { flex-direction:column; align-items:flex-start; }
  .cats-grid { grid-template-columns:repeat(2,1fr); }
}
