/* ===========================================
   SKYVVIZ PRESETER - LANDING PAGE
   Design System v2.0
   =========================================== */

/* ===== CSS Variables (Design Tokens) ===== */
:root {
    /* Backgrounds */
    --bg-app: #0a0a0a;
    --bg-dark: #121212;
    --bg-panel: #1E1E1E;
    --bg-input: #252525;
    --bg-card: #1a1a1a;

    /* Borders */
    --border: #333333;
    --border-light: #444444;

    /* Accent */
    --accent: #00E5FF;
    --accent-hover: #00b8cc;
    --accent-glow: rgba(0, 229, 255, 0.3);
    --accent-soft: rgba(0, 229, 255, 0.1);

    /* Text */
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --text-white: #ffffff;

    /* Status */
    --danger: #ff4444;
    --success: #00C851;
    --warning: #ffbb33;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --cta-gradient: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #16213e 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent), #00b8cc);

    /* Spacing */
    --radius: 8px;
    --radius-lg: 16px;
    --section-padding: clamp(60px, 10vw, 120px);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-app);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-dark);
}

/* ===== Typography ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.overline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.accent-text {
    color: var(--accent);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: #000;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.125rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
}

.header-cta {
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    color: #000;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-subtitle strong {
    color: var(--text-white);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-3d-container {
    position: relative;
    max-width: 624px;
    margin: 200px auto 0;
    perspective: 1000px;
    height: 312px;
    /* Adjust based on image aspect ratio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    transform: rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
}

.hero-card {
    position: absolute;
    top: 80%;
    left: 50%;
    transform-origin: center center;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.demo-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    /* Ensure interaction */
    pointer-events: auto;
}

/* Center Card (Main) */
.card-center {
    width: 60%;
    z-index: 10;
    transform: translate(-50%, -50%) translateZ(50px);
}

/* Left Card */
.card-left {
    width: 50%;
    z-index: 5;
    transform: translate(-110%, -40%) translateZ(0px) rotateY(15deg);
    opacity: 0.8;
}

/* Right Card */
.card-right {
    width: 50%;
    z-index: 5;
    transform: translate(10%, -40%) translateZ(0px) rotateY(-15deg);
    opacity: 0.8;
}

/* Hover State - Optional Enhance */
.hero-3d-container:hover .card-left {
    transform: translate(-115%, -40%) translateZ(40px) rotateY(20deg) rotateZ(-12deg);
    opacity: 0.9;
}

.hero-3d-container:hover .card-right {
    transform: translate(15%, -40%) translateZ(40px) rotateY(-20deg) rotateZ(12deg);
    opacity: 0.9;
}

.hero-3d-container:hover .card-center {
    transform: translate(-50%, -50%) translateY(-40px) translateZ(40px);
    opacity: 0.9;
}


.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-3d-container {
        height: 300px;
    }

    .card-left,
    .card-right {
        display: none;
        /* Simplify for mobile, show only center */
    }

    .card-center {
        max-width: 624px;


        transform: translate(-50%, -50%);
    }

    .hero-3d-wrapper {
        transform: none !important;
        /* Disable tilt on mobile */
    }
}

/* ===== Problem Section ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}



@media (max-width: 1200px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .problem-grid> :last-child:nth-child(5) {
        grid-column: 2 / 3;
    }
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid> :last-child:nth-child(5) {
        grid-column: 1 / -1;
    }
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    border-color: var(--danger);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.1);
}

.problem-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 50%;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--danger);
}

.problem-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.problem-cta {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 48px;
}

.problem-cta strong {
    color: var(--accent);
}

/* ===== Solution Section ===== */
#solution .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    #solution .container {
        grid-template-columns: 1fr 1fr;
    }
}

.solution-content {
    text-align: center;
}

@media (min-width: 768px) {
    .solution-content {
        text-align: left;
    }
}

.solution-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.solution-showcase {
    position: relative;
}

.solution-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.solution-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-input);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.feature-card>p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.feature-list li svg {
    width: 16px;
    height: 16px;
    fill: var(--success);
    flex-shrink: 0;
}

/* ===== Extras Section ===== */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.extra-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 140px;
}

.extra-card:hover {
    border-color: var(--accent);
    background: var(--bg-card);
}

.extra-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.extra-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.extra-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.extra-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.extras-showcase {
    margin-top: 48px;
    text-align: center;
}

.extras-img {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

/* ===== Install Section ===== */
.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.install-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: #000;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
}

.install-step h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    margin-top: 8px;
}

.install-step>p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.code-block {
    background: var(--bg-app);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    overflow-x: auto;
}

.code-block strong {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.code-block code {
    color: var(--text-main);
    font-family: 'Fira Code', 'Consolas', monospace;
    word-break: break-all;
}

.code-block.terminal {
    border-left: 3px solid var(--accent);
}

.code-block .prompt {
    color: var(--success);
    font-weight: 600;
}

.menu-path {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.menu-path span {
    padding: 6px 12px;
    background: var(--bg-input);
    border-radius: 4px;
}

.install-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.compat-badge {
    padding: 10px 20px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-panel);
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-card);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    fill: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
}

/* ===== CTA Section ===== */
.section-cta {
    background: var(--cta-gradient);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
}

.section-cta .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .section-cta .container {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-content {
    text-align: center;
}

@media (min-width: 768px) {
    .cta-content {
        text-align: left;
    }
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin: 8px 0;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-button {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .cta-button {
        margin-bottom: 0;
    }
}

.cta-guarantee {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.cta-visual {
    display: flex;
    justify-content: center;
}

.cta-img {
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-app);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.problem-grid .reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.problem-grid .reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.problem-grid .reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.problem-grid .reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.problem-grid .reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.features-grid .reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.features-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.features-grid .reveal:nth-child(4) {
    transition-delay: 0.25s;
}

.features-grid .reveal:nth-child(5) {
    transition-delay: 0.3s;
}

.features-grid .reveal:nth-child(6) {
    transition-delay: 0.35s;
}

.extras-grid .reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.extras-grid .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

.extras-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.extras-grid .reveal:nth-child(4) {
    transition-delay: 0.25s;
}

.install-grid .reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.install-grid .reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.install-grid .reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg,
    .btn-xl {
        width: 100%;
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .install-grid {
        grid-template-columns: 1fr;
    }

    .cta-price {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 48px 0;
    }

    .feature-card {
        padding: 24px;
    }

    .price-value {
        font-size: 2.5rem;
    }
}

/* Live Demo Section */
.center-text {
    text-align: center;
    margin-bottom: 40px;
}

/* Grid Layout for Demo */
.demo-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.demo-wrapper-large {
    width: 389px;
    height: 660px;
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.demo-frame-large {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Info Panel */
.demo-info-panel {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.info-content {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.info-content.active {
    display: block;
}

.info-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.info-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent);
}

.demo-info-panel h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.demo-info-panel p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.info-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

.info-hint {
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .demo-grid {
        flex-direction: column;
        align-items: center;
    }

    .demo-wrapper-large {
        width: 100%;
        max-width: 389px;
    }

    .demo-info-panel {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .info-list {
        text-align: left;
        display: inline-block;
    }
}