/* ═══════════════════════════════════════════════════
   KEY INFO DOCS — Homepage Stylesheet
   Standalone CSS for static landing page at keyinfodocs.com
   ═══════════════════════════════════════════════════ */

:root {
    --ink: #0a0f1e;
    --ink-light: #141b2d;
    --accent: #636AFF;
    --accent-soft: rgba(99,106,255,0.12);
    --accent-glow: rgba(99,106,255,0.25);
    --accent-hover: #5158e6;
    --cyan: #22d3ee;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --border: rgba(0,0,0,0.06);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--accent); color: white; }

/* ── Animations ────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(10px, -10px) scale(1.02); }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.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; }

/* ── Buttons ───────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: none; border-radius: 10px;
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: all 0.25s var(--ease); white-space: nowrap;
    text-decoration: none; line-height: 1.2; letter-spacing: -0.01em;
}
.btn--accent { background: var(--accent); color: white; }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn--white { background: white; color: var(--ink); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.btn--lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; border-radius: var(--radius-sm); }

/* ── Nav ───────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.3s var(--ease); }
.nav--scrolled { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.nav__inner { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s; }
.nav__logo span { color: var(--accent); }
.nav--top .nav__logo { color: rgba(255,255,255,0.95); }
.nav--scrolled .nav__logo { color: var(--gray-900); }
.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__link { font-size: 0.9rem; font-weight: 500; transition: all 0.2s; }
.nav--top .nav__link { color: rgba(255,255,255,0.6); }
.nav--top .nav__link:hover { color: white; }
.nav--scrolled .nav__link { color: var(--gray-500); }
.nav--scrolled .nav__link:hover { color: var(--gray-900); }
.nav--top .nav__cta .btn { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.nav--top .nav__cta .btn:hover { background: rgba(255,255,255,0.2); }
.nav--scrolled .nav__cta .btn { background: var(--ink); color: white; }
.nav--scrolled .nav__cta .btn:hover { background: var(--ink-light); }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__hamburger span { display: block; width: 20px; height: 1.5px; border-radius: 2px; margin: 5px 0; transition: 0.2s; }
.nav--top .nav__hamburger span { background: white; }
.nav--scrolled .nav__hamburger span { background: var(--gray-800); }

/* ── Hero ───────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--ink); overflow: hidden; padding: 8rem 2.5rem 6rem; }
.hero__mesh { position: absolute; inset: 0; overflow: hidden; opacity: 0.6; }
.hero__mesh-blob { position: absolute; border-radius: 50%; filter: blur(80px); animation: meshMove 20s ease-in-out infinite; }
.hero__mesh-blob--1 { width: 600px; height: 600px; top: -10%; right: -5%; background: radial-gradient(circle, rgba(99,106,255,0.4), transparent 70%); }
.hero__mesh-blob--2 { width: 500px; height: 500px; bottom: -15%; left: 10%; background: radial-gradient(circle, rgba(34,211,238,0.2), transparent 70%); animation-delay: -7s; }
.hero__mesh-blob--3 { width: 400px; height: 400px; top: 30%; left: 40%; background: radial-gradient(circle, rgba(99,106,255,0.15), transparent 70%); animation-delay: -14s; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black, transparent); }
.hero__inner { max-width: 1240px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 2; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--radius-full); background: rgba(99,106,255,0.12); border: 1px solid rgba(99,106,255,0.2); color: var(--accent); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 2rem; width: fit-content; animation: fadeUp 0.8s var(--ease-out) both; }
.hero__tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease infinite; }
.hero__heading { font-family: var(--font-display); font-size: 4rem; font-weight: 400; color: white; line-height: 1.1; margin-bottom: 1.75rem; letter-spacing: -0.03em; animation: fadeUp 0.8s var(--ease-out) 0.1s both; }
.hero__heading em { font-style: italic; font-weight: 300; background: linear-gradient(135deg, var(--accent), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__desc { font-size: 1.15rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 2.5rem; max-width: 480px; font-weight: 400; animation: fadeUp 0.8s var(--ease-out) 0.2s both; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; animation: fadeUp 0.8s var(--ease-out) 0.3s both; }

/* Hero floating cards */
.hero__visual { position: relative; height: 480px; animation: fadeIn 1.2s var(--ease-out) 0.5s both; }
.hero__card { position: absolute; background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 2rem; }
.hero__card--main { width: 340px; top: 20px; right: 0; z-index: 3; animation: float 8s ease-in-out infinite; }
.hero__card--secondary { width: 260px; top: 120px; right: 220px; z-index: 2; opacity: 0.5; animation: float 8s ease-in-out 2s infinite; }
.hero__card-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 400; color: rgba(255,255,255,0.8); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero__card-line { height: 6px; border-radius: var(--radius-full); background: rgba(255,255,255,0.06); margin-bottom: 10px; }
.hero__card-line--w60 { width: 60%; } .hero__card-line--w75 { width: 75%; } .hero__card-line--w85 { width: 85%; } .hero__card-line--w90 { width: 90%; }
.hero__card-label { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; text-transform: uppercase; margin: 16px 0 10px; }
.hero__risk-bar { display: flex; gap: 3px; }
.hero__risk-bar span { flex: 1; text-align: center; padding: 5px 0; font-size: 0.65rem; font-weight: 700; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.25); border-radius: 4px; }
.hero__risk-bar span.active { background: var(--accent); color: white; }
.hero__badge { position: absolute; bottom: 60px; right: -20px; z-index: 4; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px 24px; animation: slideInRight 0.8s var(--ease-out) 1s both; }
.hero__badge-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: white; letter-spacing: -0.02em; }
.hero__badge-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 2px; }

/* ── Trust ──────────────────────────────────── */
.trust { padding: 4rem 2.5rem; background: var(--white); border-bottom: 1px solid var(--border); }
.trust__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.trust__num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--gray-900); letter-spacing: -0.03em; line-height: 1; }
.trust__label { font-size: 0.85rem; color: var(--gray-400); font-weight: 500; margin-top: 0.5rem; }

/* ── Section styles ────────────────────────── */
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-heading { font-family: var(--font-display); font-size: 2.8rem; font-weight: 400; color: var(--gray-900); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1rem; max-width: 580px; }
.section-desc { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; max-width: 520px; margin-bottom: 3.5rem; }

/* ── Features ──────────────────────────────── */
.features { padding: 7rem 2.5rem; background: var(--off-white); }
.features__inner { max-width: 1240px; margin: 0 auto; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 2.25rem; transition: all 0.4s var(--ease); position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--cyan)); opacity: 0; transition: opacity 0.4s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.feature:hover::before { opacity: 1; }
.feature__icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; background: var(--accent-soft); transition: all 0.3s; }
.feature:hover .feature__icon { background: var(--accent); }
.feature__icon svg { width: 24px; height: 24px; color: var(--accent); transition: color 0.3s; }
.feature:hover .feature__icon svg { color: white; }
.feature__title { font-size: 1.1rem; font-weight: 650; color: var(--gray-900); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.feature__desc { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }

/* ── How It Works ──────────────────────────── */
.how { padding: 7rem 2.5rem; background: var(--white); }
.how__inner { max-width: 1240px; margin: 0 auto; }
.how__steps { display: flex; flex-direction: column; gap: 6rem; margin-top: 4rem; }
.how__step { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.how__step--reverse { direction: rtl; }
.how__step--reverse > * { direction: ltr; }
.how__step-num { font-family: var(--font-display); font-size: 5rem; font-weight: 300; color: var(--gray-100); line-height: 1; margin-bottom: 1rem; letter-spacing: -0.05em; }
.how__step-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: 1rem; }
.how__step-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.75; }
.how__step-visual { background: var(--off-white); border-radius: 20px; padding: 3rem; border: 1px solid var(--border); position: relative; }
.browser-chrome { padding-top: 2.5rem; position: relative; }
.browser-chrome__dots { position: absolute; top: 14px; left: 20px; display: flex; gap: 7px; }
.browser-chrome__dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-chrome__dots span:nth-child(1) { background: #ff6058; }
.browser-chrome__dots span:nth-child(2) { background: #ffbd2e; }
.browser-chrome__dots span:nth-child(3) { background: #28ca42; }
.browser-chrome__bar { position: absolute; top: 10px; left: 85px; right: 20px; height: 24px; background: var(--white); border-radius: 7px; border: 1px solid var(--border); }
.mock-line { height: 8px; border-radius: var(--radius-full); background: var(--gray-200); margin-bottom: 10px; }
.mock-line--w50 { width: 50%; } .mock-line--w65 { width: 65%; } .mock-line--w75 { width: 75%; } .mock-line--w85 { width: 85%; }
.refresh-badge { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px var(--accent-glow); }
.refresh-badge svg { width: 24px; height: 24px; color: white; }

/* ── CTA / Contact ─────────────────────────── */
.cta { padding: 7rem 2.5rem; position: relative; overflow: hidden; background: var(--ink); }
.cta__mesh { position: absolute; inset: 0; opacity: 0.5; }
.cta__mesh-blob { position: absolute; border-radius: 50%; filter: blur(100px); animation: meshMove 25s ease-in-out infinite; }
.cta__mesh-blob--1 { width: 500px; height: 500px; top: -20%; left: -5%; background: radial-gradient(circle, rgba(99,106,255,0.35), transparent 70%); }
.cta__mesh-blob--2 { width: 400px; height: 400px; bottom: -20%; right: 10%; background: radial-gradient(circle, rgba(34,211,238,0.2), transparent 70%); animation-delay: -10s; }
.cta__inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.cta__heading { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: white; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.cta__desc { font-size: 1.05rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 2rem; }
.cta__perks { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.cta__perk { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.cta__perk-icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(99,106,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta__perk-icon svg { width: 14px; height: 14px; color: var(--accent); }
.cta__form-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 2.5rem; }
.cta__form-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: white; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.cta__form-subtitle { font-size: 0.9rem; color: rgba(255,255,255,0.4); margin-bottom: 2rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-family: var(--font-body); font-size: 0.95rem; transition: all 0.2s; }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,106,255,0.15); }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-field select option { background: var(--ink); color: white; }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cta__form-card .btn { width: 100%; margin-top: 0.5rem; }

/* ── Footer ────────────────────────────────── */
.footer { padding: 3rem 2.5rem; background: var(--white); border-top: 1px solid var(--border); }
.footer__inner { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer__logo { font-family: var(--font-body); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-900); }
.footer__logo span { color: var(--accent); }
.footer__copy { font-size: 0.82rem; color: var(--gray-400); margin-top: 4px; }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { font-size: 0.88rem; color: var(--gray-500); transition: color 0.2s; }
.footer__links a:hover { color: var(--gray-800); }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .hero__heading { font-size: 3rem; }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .how__step, .how__step--reverse { grid-template-columns: 1fr; gap: 2rem; }
    .how__step--reverse { direction: ltr; }
    .cta__inner { grid-template-columns: 1fr; gap: 3rem; }
    .trust__inner { grid-template-columns: repeat(2, 1fr); }
    .section-heading { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .hero { padding: 8rem 1.5rem 4rem; min-height: auto; }
    .hero__heading { font-size: 2.4rem; }
    .hero__actions { flex-direction: column; }
    .features { padding: 4rem 1.5rem; }
    .features__grid { grid-template-columns: 1fr; }
    .how { padding: 4rem 1.5rem; }
    .cta { padding: 4rem 1.5rem; }
    .cta__heading { font-size: 2rem; }
    .trust__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .trust__num { font-size: 2rem; }
    .nav__links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 1rem 2rem; border-bottom: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,0.06); gap: 0.75rem; }
    .nav__links.open { display: flex; }
    .nav__links .nav__link { color: var(--gray-500) !important; }
    .nav__links .nav__cta .btn { background: var(--ink) !important; color: white !important; border: none !important; }
    .nav__hamburger { display: flex; flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
}
