:root {
    --primary: #5c6cff;
    --primary-dark: #4453e6;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f5f7fb;
    --card: #ffffff;
    --shadow: 0 16px 40px rgba(31, 41, 55, 0.08);
    --radius: 16px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

nav {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section {
    background: linear-gradient(135deg, #5c6cff 0%, #8a63ff 100%);
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    padding: 5rem 2rem 4rem;
}

.hero-content h1 {
    font-size: 2.7rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-title-main {
    display: inline-block;
    margin-right: 0.5rem;
}

.hero-title-sub {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.85;
}

.eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    opacity: 0.85;
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(92, 108, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}

.hero-actions .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.hero-actions .btn-secondary:hover {
    background: #ffffff;
    color: var(--primary);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.25);
}

.section {
    padding: 4.5rem 0;
}

.section-muted {
    background: #edf1ff;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    padding: 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.color-card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: var(--shadow);
}

.color-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.split.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.split .section-title,
.split .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.image-frame {
    background: #ffffff;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.image-frame img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.4rem 0;
    color: var(--text);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.mini-card {
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.mini-card h3 {
    margin-bottom: 0.4rem;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gif-card {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-align: center;
}

.gif-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.6rem;
}

.gif-card p {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.spec-item {
    background: #ffffff;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: var(--text);
}

.cta {
    padding-bottom: 5rem;
}

.cta-card {
    background: linear-gradient(135deg, #5c6cff 0%, #8a63ff 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-card .btn-primary {
    background: #ffffff;
    color: var(--primary);
    box-shadow: none;
}

.cta-card .btn-primary:hover {
    background: #f8f9ff;
}

.cta-card .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-card .btn-secondary:hover {
    background: #ffffff;
    color: var(--primary);
}

body.no-scroll {
    overflow: hidden;
}

.image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 200;
    padding: 2rem;
}

.image-viewer.open {
    opacity: 1;
    visibility: visible;
}

.image-viewer-img {
    max-width: min(90vw, 1200px);
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.image-viewer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.image-viewer-close::before,
.image-viewer-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #ffffff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.image-viewer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

footer {
    background: #111827;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
}

footer p {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    nav ul {
        gap: 1rem;
        font-size: 0.95rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3.5rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .gallery-grid img,
    .color-card img,
    .step-card img {
        height: auto;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
