/* ========================================================================
   ALAGNA MARKETING — Global Styles
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Tokens --- */
:root {
  --bg-deep: #070B15;
  --bg-surface: #0A0F1E;
  --bg-raised: #111827;
  --bg-card: #151D2E;
  --azure: #0066CC;
  --azure-light: #1A8CFF;
  --azure-glow: #4DA6FF;
  --cobalt: #003D80;
  --text-primary: #F0F2F5;
  --text-secondary: #9CA3B0;
  --text-tertiary: #6B7280;
  --border: #1E293B;
  --border-light: #2A3548;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg-deep); color: var(--text-primary); line-height: 1.7; font-size: 17px; font-weight: 400; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-surface); }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; font-weight: 600; }
p { color: var(--text-secondary); }
p + p { margin-top: 1.25rem; }
.lead { font-size: 1.2rem; line-height: 1.8; max-width: 680px; }
.section-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azure-light); margin-bottom: 1rem; }

/* --- Nav --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.25rem 0; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease); }
.nav.scrolled { background: rgba(7, 11, 21, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); padding: 0.75rem 0; }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color 0.25s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links .signin { color: var(--azure-light); }
.nav-links .signin:hover { color: var(--azure-glow); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); margin: 5px 0; transition: all 0.3s var(--ease); border-radius: 1px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg-surface); flex-direction: column; justify-content: center; gap: 2rem; padding: 2rem; transition: right 0.4s var(--ease); border-left: 1px solid var(--border); }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
}

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 2rem; font-family: var(--font); font-size: 0.95rem; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s var(--ease); letter-spacing: -0.01em; }
.btn-primary { background: var(--azure); color: #fff; }
.btn-primary:hover { background: var(--azure-light); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-secondary:hover { border-color: var(--text-tertiary); background: var(--bg-raised); }

/* --- Hero --- */
.hero { padding-top: 10rem; padding-bottom: 7rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,102,204,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-mark { width: 80px; height: 80px; margin: 0 auto 2.5rem; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero h1 { max-width: 800px; margin: 0 auto 1.5rem; }
.hero .lead { margin: 0 auto 2.5rem; color: var(--text-secondary); }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* --- Problem --- */
.problem-text { max-width: 720px; font-size: 1.05rem; line-height: 1.85; }

/* --- Product --- */
.product-text { max-width: 720px; font-size: 1.05rem; line-height: 1.85; }

/* --- Audience cards --- */
.audience-grid { display: grid; gap: 2rem; margin-top: 3rem; }
.audience-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.audience-card:hover { border-color: var(--border-light); transform: translateY(-2px); }
.audience-card h3 { color: var(--azure-light); font-size: 1.15rem; font-weight: 600; margin-bottom: 1.25rem; }
.audience-card p { font-size: 1rem; line-height: 1.8; }

/* --- Trust section --- */
.trust-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; max-width: 720px; }
.trust-item { padding: 2rem; border-left: 2px solid var(--azure); }
.trust-item h3 { color: var(--text-primary); font-size: 1.05rem; margin-bottom: 0.5rem; }
.trust-item p { font-size: 0.95rem; line-height: 1.75; }

/* --- Steps (How It Works) --- */
.steps { counter-reset: step; max-width: 720px; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 3rem 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-number { font-size: 3rem; font-weight: 800; color: var(--azure); opacity: 0.25; line-height: 1; padding-top: 0.25rem; }
.step h3 { color: var(--text-primary); font-size: 1.25rem; margin-bottom: 1rem; }
.step p { font-size: 1.02rem; line-height: 1.85; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 0.75rem; } .step-number { font-size: 2rem; } }

/* --- About --- */
.about-section { padding: 3rem 0; }
.about-section + .about-section { border-top: 1px solid var(--border); }
.credential-block { margin-top: 2rem; }
.credential-block h4 { color: var(--azure-light); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.credential-block p { font-size: 0.98rem; line-height: 1.85; }

/* --- Form --- */
.form-container { max-width: 560px; margin: 2rem auto 0; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.form-group input, .form-group textarea { width: 100%; padding: 0.85rem 1rem; font-family: var(--font); font-size: 0.95rem; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-tertiary); }
.form-group textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-submit { width: 100%; margin-top: 0.5rem; }
.form-success { text-align: center; padding: 3rem 1rem; }
.form-success h3 { color: var(--text-primary); margin-bottom: 0.75rem; }

/* --- Privacy --- */
.privacy-content { max-width: 720px; }
.privacy-content h2 { font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1rem; }
.privacy-content h3 { font-size: 1.15rem; margin-top: 2rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.privacy-content p { font-size: 0.95rem; line-height: 1.85; }
.privacy-content ul { padding-left: 1.5rem; margin: 0.75rem 0; }
.privacy-content li { font-size: 0.95rem; line-height: 1.85; color: var(--text-secondary); padding: 0.15rem 0; list-style: disc; }

/* --- CTA Banner --- */
.cta-banner { text-align: center; padding: 6rem 0; background: var(--bg-surface); border-top: 1px solid var(--border); }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { max-width: 520px; margin: 0 auto 2rem; }

/* --- Footer --- */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; color: var(--text-tertiary); }
.footer-logo svg { width: 22px; height: 22px; opacity: 0.5; }
.footer-brand { display: flex; flex-direction: column; }
.footer-tagline { height: 18px; opacity: 0.35; margin-top: 0.4rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--text-tertiary); transition: color 0.25s; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 0.8rem; color: var(--text-tertiary); }
@media (max-width: 640px) { .footer-inner { flex-direction: column; text-align: center; } }

/* --- Scroll animations --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.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: 768px) {
  body { font-size: 16px; }
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 7rem; padding-bottom: 4rem; }
  .hero-mark { width: 60px; height: 60px; }
  .audience-card { padding: 2rem; }
  .container { padding: 0 1.25rem; }
}
