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

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Header ── */

.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

.site-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.site-nav a { color: #475569; transition: color 0.2s; }
.site-nav a:hover { color: #dc2626; }

.menu-toggle { color: #64748b; font-size: 1.25rem; padding: 0.25rem; }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.9rem;
    background: #fff;
}

.mobile-menu.is-open { display: flex; }
.mobile-menu a { color: #475569; }
.mobile-menu a:hover { color: #dc2626; }

@media (min-width: 768px) {
    .site-nav { display: flex !important; }
    .menu-toggle { display: none !important; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-actions { flex-direction: row; }
}

/* ── Hero ── */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #7f1d1d 40%, #312e81 100%);
    color: #fff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    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: 48px 48px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 { width: 420px; height: 420px; background: rgba(239,68,68,0.22); top: -120px; right: -60px; }
.hero-glow-2 { width: 320px; height: 320px; background: rgba(99,102,241,0.18); bottom: -40px; left: -80px; }

.hero-inner {
    position: relative;
    text-align: center;
    padding: 4rem 1.25rem 5rem;
    max-width: 44rem;
    margin: 0 auto;
}

.hero-inner-wide {
    max-width: 56rem;
    padding-bottom: 4.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fecaca;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-badge i { color: #4ade80; }

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-gradient {
    background: linear-gradient(90deg, #fca5a5, #fef08a, #93c5fd);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero p,
.hero-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: rgba(254, 226, 226, 0.92);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-lead strong {
    color: #fff;
    font-weight: 600;
}

/* Hero PDF tool cards */
.hero-tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

@media (min-width: 640px) {
    .hero-tools { grid-template-columns: repeat(3, 1fr); }
}

.hero-tool-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.hero-tool-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-tool-red:hover  { border-color: rgba(252, 165, 165, 0.6); }
.hero-tool-blue:hover { border-color: rgba(147, 197, 253, 0.6); }
.hero-tool-green:hover { border-color: rgba(134, 239, 172, 0.6); }

.hero-tool-card i {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.hero-tool-red i   { color: #fca5a5; }
.hero-tool-blue i  { color: #93c5fd; }
.hero-tool-green i { color: #86efac; }

.hero-tool-card strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.hero-tool-card span {
    color: rgba(254, 226, 226, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
}

.hero-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.75rem;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    color: rgba(254, 202, 202, 0.9);
}

.hero-checklist li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-checklist i { color: #4ade80; }

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    transition: all 0.2s;
}

.btn-white {
    background: #fff;
    color: #b91c1c;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover { background: #fef2f2; }

.btn-outline {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover { background: rgba(255,255,255,0.2); }

.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; height: 3.5rem; display: block; }

@media (min-width: 768px) {
    .hero-wave svg { height: 5rem; }
}

/* ── Sections ── */

.section { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }

.section-label {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    color: #0f172a;
}

.section-desc {
    color: #64748b;
    max-width: 36rem;
    margin: 0 auto;
}

/* ── Tool Cards ── */

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.tool-suite {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.tool-suite:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: #fecaca;
}

.tool-suite.is-soon {
    opacity: 0.72;
    cursor: default;
    pointer-events: none;
}

.tool-suite.is-soon:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}

.tool-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.tool-badge-live { background: #dcfce7; color: #15803d; }
.tool-badge-soon { background: #f1f5f9; color: #64748b; }

.tool-icon {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.tool-icon-red   { background: #fef2f2; color: #dc2626; }
.tool-icon-blue  { background: #eff6ff; color: #2563eb; }
.tool-icon-purple { background: #f5f3ff; color: #7c3aed; }
.tool-icon-gray  { background: #f1f5f9; color: #94a3b8; }

.tool-suite h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tool-suite:hover h3 { color: #dc2626; }
.tool-suite.is-soon h3 { color: #64748b; }

.tool-suite p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tool-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
}

.tool-suite:hover .tool-link i { transform: translateX(3px); }
.tool-link i { transition: transform 0.2s; }

/* ── Features ── */

.section-white { background: #fff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
}

.feature-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.feature-icon-green  { background: #f0fdf4; color: #16a34a; }
.feature-icon-yellow { background: #fefce8; color: #ca8a04; }
.feature-icon-blue   { background: #eff6ff; color: #2563eb; }

.feature-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: #64748b; font-size: 0.9rem; }

/* ── CTA ── */

.cta-box {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-box h2 { font-size: clamp(1.5rem, 3vw, 1.85rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-box p { color: #fecaca; margin-bottom: 1.75rem; max-width: 28rem; margin-left: auto; margin-right: auto; }

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ── Footer ── */

.site-footer {
    background: #1e293b;
    color: #94a3b8;
    margin-top: 2rem;
    padding: 2.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h3 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.85rem; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { font-size: 0.875rem; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}