@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; }

:root {
    --primary: #1a56db;
    --primary-dark: #1242b0;
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --green: #16a34a;
    --green-dark: #15803d;
    --amber: #d97706;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
.header {
    background: var(--dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.header .logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--white);
}
.header .logo span { color: var(--primary); }
.header nav { display: flex; gap: 28px; align-items: center; }
.header nav a {
    color: #94a3b8;
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.header nav a:hover { color: var(--white); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}
.hero h1 span { color: #60a5fa; }
.hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto 32px;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(22,163,74,.3);
}
.hero-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Section ── */
.section { padding: 72px 0; }
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ── System Cards ── */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.system-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid var(--border);
}
.system-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.system-card .card-img {
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    overflow: hidden;
}
.system-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.system-card .card-body {
    padding: 24px;
}
.system-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.system-card p {
    color: var(--text-light);
    font-size: .92rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .88rem;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-soft); }

/* ── How it works ── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    text-align: center;
}
.step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}
.step p { color: var(--text-light); font-size: .9rem; }

/* ── Pricing ── */
.pricing-table {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}
.pricing-table th, .pricing-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.pricing-table th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.pricing-table td { font-size: .95rem; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ── CTA / Contact ── */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    color: var(--white);
    padding: 64px 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-section p {
    color: #94a3b8;
    margin-bottom: 28px;
    font-size: 1.05rem;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
    background: var(--dark);
    color: #64748b;
    padding: 32px 0;
    text-align: center;
    font-size: .85rem;
}
.footer a { color: #94a3b8; }
.footer a:hover { color: var(--white); }

/* ── Product Page ── */
.product-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 100%);
    color: var(--white);
    padding: 60px 0;
}
.product-hero .container {
    display: flex;
    align-items: center;
    gap: 48px;
}
.product-hero-text { flex: 1; }
.product-hero-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.product-hero-text p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.product-hero-img {
    flex: 1;
    max-width: 480px;
}
.product-hero-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.feature-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}
.feature-card p { color: var(--text-light); font-size: .88rem; }

.install-guide {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.install-guide h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}
.install-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.install-step:last-child { margin-bottom: 0; }
.install-step .num {
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
}
.install-step .content h4 {
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--dark);
}
.install-step .content p {
    color: var(--text-light);
    font-size: .88rem;
}
.install-step .content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .82rem;
    color: var(--primary);
}

.download-box {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 1.5px solid #bfdbfe;
}
.download-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}
.download-box p {
    color: var(--text-light);
    font-size: .88rem;
    margin-bottom: 16px;
}
.download-box .size {
    font-size: .8rem;
    color: var(--text-light);
    margin-top: 8px;
}

.support-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.support-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}
.support-box p {
    color: var(--text-light);
    font-size: .88rem;
    margin-bottom: 16px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .header nav { display: none; }
    .header nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--dark-soft);
    }
    .menu-toggle { display: block; }
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .product-hero .container { flex-direction: column; text-align: center; }
    .product-hero-img { max-width: 100%; }
    .systems-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
