:root {
    --bg-body: #0f1115;
    --bg-surface: #161b22;
    --bg-surface-hover: #1f2630;
    --primary: #D4853B;
    --primary-hover: #b86e2c;
    --accent: #5BA4A4;
    --text-main: #ffffff;
    --text-muted: #aebcd0;
    --border: #30363d;
    --gradient-hero: linear-gradient(135deg, rgba(212,133,59,0.1) 0%, rgba(15,17,21,0) 100%);

    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;

    --header-bg: rgba(15, 17, 21, 0.7);
    --header-border: var(--border);
    --hero-grid-line: rgba(255, 255, 255, 0.05);
    --problem-bg: #121723;
    --footer-bg: linear-gradient(180deg, #10151d 0%, #0b0f14 100%);
    --footer-top-border: rgba(255, 255, 255, 0.08);
    --footer-divider: rgba(255,255,255,0.1);
    --footer-link: #c1ccdc;
    --footer-link-hover: #ffffff;
    --footer-tagline: #c0cbe0;
    --footer-bottom-text: #bdc8da;
    --mobile-menu-bg: #161b22;
    --mobile-menu-border: #30363d;
    --toggle-bg: rgba(255, 255, 255, 0.06);
    --toggle-hover: rgba(255, 255, 255, 0.14);
    --toggle-icon: #ffffff;
    --btn-glow: rgba(212, 133, 59, 0.3);
    --feature-icon-bg: rgba(212, 133, 59, 0.1);
    --color-danger: #e06060;
    --color-success: #5bb88a;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme]) {
        --bg-body: #f8f9fb;
        --bg-surface: #ffffff;
        --bg-surface-hover: #f1f5fb;
        --primary: #B86E2C;
        --primary-hover: #9a5b20;
        --accent: #3D8585;
        --text-main: #1c2333;
        --text-muted: #4a5568;
        --border: #e2e8f0;
        --gradient-hero: linear-gradient(135deg, rgba(184, 110, 44, 0.12) 0%, rgba(248, 249, 251, 0.65) 100%);
        --header-bg: rgba(248, 249, 251, 0.9);
        --header-border: #e2e8f0;
        --hero-grid-line: rgba(28, 35, 51, 0.06);
        --problem-bg: #f0f4f9;
        --footer-bg: linear-gradient(180deg, #eef3fa 0%, #e8f2fc 100%);
        --footer-top-border: #d8e2ef;
        --footer-divider: #d7e1ee;
        --footer-link: #2f3e57;
        --footer-link-hover: #B86E2C;
        --footer-tagline: #4a5568;
        --footer-bottom-text: #4a5568;
        --mobile-menu-bg: #ffffff;
        --mobile-menu-border: #e2e8f0;
        --toggle-bg: #e8f2fc;
        --toggle-hover: #d9e9fb;
        --toggle-icon: #1c2333;
        --btn-glow: rgba(184, 110, 44, 0.3);
        --feature-icon-bg: rgba(184, 110, 44, 0.1);
        --color-danger: #c44848;
        --color-success: #3a8a5c;
    }
}

html[data-theme='light'] {
    --bg-body: #f8f9fb;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5fb;
    --primary: #B86E2C;
    --primary-hover: #9a5b20;
    --accent: #3D8585;
    --text-main: #1c2333;
    --text-muted: #4a5568;
    --border: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, rgba(184, 110, 44, 0.12) 0%, rgba(248, 249, 251, 0.65) 100%);
    --header-bg: rgba(248, 249, 251, 0.9);
    --header-border: #e2e8f0;
    --hero-grid-line: rgba(28, 35, 51, 0.06);
    --problem-bg: #f0f4f9;
    --footer-bg: linear-gradient(180deg, #eef3fa 0%, #e8f2fc 100%);
    --footer-top-border: #d8e2ef;
    --footer-divider: #d7e1ee;
    --footer-link: #2f3e57;
    --footer-link-hover: #B86E2C;
    --footer-tagline: #4a5568;
    --footer-bottom-text: #4a5568;
    --mobile-menu-bg: #ffffff;
    --mobile-menu-border: #e2e8f0;
    --toggle-bg: #e8f2fc;
    --toggle-hover: #d9e9fb;
    --toggle-icon: #1c2333;
    --btn-glow: rgba(184, 110, 44, 0.3);
    --feature-icon-bg: rgba(184, 110, 44, 0.1);
    --color-danger: #c44848;
    --color-success: #3a8a5c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--radius-md); }

[id] {
    scroll-margin-top: 80px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.logo {
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--btn-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--btn-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--bg-surface-hover);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--header-border);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

header .container {
    position: relative;
}

header.header-hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.logo img {
    border-radius: 0;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-links a { position: relative; }

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

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-main); cursor: pointer; }

.theme-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--toggle-bg);
    color: var(--toggle-icon);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
    background: var(--toggle-hover);
}

.theme-toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

.hero {
    padding: 8rem 0 4rem 0;
    background: var(--gradient-hero);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

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

.trust-badges {
    margin-top: 2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.trust-chip {
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.problem-section {
    padding: 6rem 0;
    background: var(--problem-bg);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.problem-title {
    margin-bottom: 1rem;
}

.problem-list li {
    margin-bottom: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.problem-list-danger li::before,
.problem-list-success li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

.problem-list-danger li::before {
    content: "x";
    color: var(--color-danger);
}

.problem-list-success li::before {
    content: "+";
    color: var(--color-success);
    font-size: 0.8rem;
}

.deep-dive-grid {
    display: grid;
    gap: 2rem;
}

.deep-dive-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    overflow: hidden;
}

.deep-dive-row.reverse .deep-dive-media {
    order: 2;
}

.deep-dive-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.deep-dive-text p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.pricing-note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

.slideshow {
    position: relative;
    width: clamp(280px, 42%, 380px);
    max-height: 780px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    perspective: 800px;
}

.slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.92) translateX(30px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    will-change: transform, opacity;
}

.slideshow img:first-child {
    position: relative;
}

.slideshow img.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 2;
}

.slideshow img.exiting {
    opacity: 0;
    transform: scale(0.88) translateX(-50px) rotateY(8deg);
    z-index: 3;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--feature-icon-bg);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.faq-section {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.46s ease;
}

.faq-item[open] .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
    padding: 0 1.25rem 1.15rem 1.25rem;
}

.final-cta .section-subtitle {
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-surface);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 40px; height: 40px;
    background: var(--feature-icon-bg);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-title {
    font-weight: 700;
    color: var(--text-main);
}

.badge-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.hero-actions--center {
    justify-content: center;
}

.video-showcase {
    margin-top: 4rem;
}

.video-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-surface);
}

.video-wrapper img {
    border-radius: 0;
}

.testimonial-section {
    padding: 6rem 0;
}

.testimonial-quote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    border: none;
    padding: 0;
}

.testimonial-quote blockquote {
    margin: 0;
}

.testimonial-quote blockquote p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote figcaption {
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.testimonial-quote figcaption strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.testimonial-quote figcaption span {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.features { padding: 6rem 0; background-color: var(--bg-body); }

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

.feature-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--bg-surface-hover);
    border-color: var(--primary);
}

.feature-icon {
    width: 50px; height: 50px;
    background: var(--feature-icon-bg);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.workflow { padding: 6rem 0; background-color: var(--bg-surface); }

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    position: relative;
    padding-top: 1rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--border);
    position: absolute;
    top: -2rem;
    left: 0;
    z-index: 0;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 { margin-bottom: 0.75rem; color: var(--primary); }
.step-content p { color: var(--text-muted); }

.showcase { padding: 6rem 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery-item:nth-child(2) { grid-column: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (hover: none) {
    .gallery-overlay {
        opacity: 1;
    }
}

.gallery-overlay h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}

.lightbox.is-open {
    visibility: visible;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox.is-closing {
    visibility: visible;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.lightbox.is-open .lightbox-backdrop {
    background: rgba(0, 0, 0, 0.92);
}

.lightbox.is-closing .lightbox-backdrop {
    background: rgba(0, 0, 0, 0);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.is-open .lightbox-content {
    opacity: 1;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    display: block;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.lightbox-flyout {
    position: fixed;
    z-index: 3;
    pointer-events: none;
    object-fit: cover;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: left 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                top 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                width 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                height 0.45s cubic-bezier(0.32, 0.72, 0, 1),
                opacity 0.45s ease;
}

.lightbox-flyout.is-flying {
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    opacity: 0;
}

.lightbox.is-open .lightbox-close {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s, background 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    opacity: 0;
}

.lightbox.is-open .lightbox-nav {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.lightbox-prev {
    left: 1.25rem;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-2px);
}

.lightbox-next {
    right: 1.25rem;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(2px);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    opacity: 0;
}

.lightbox.is-open .lightbox-counter {
    opacity: 1;
    transition: opacity 0.3s ease 0.3s;
}

@media (max-width: 768px) {
    .lightbox-nav { width: 40px; height: 40px; }
    .lightbox-prev { left: 0.75rem; }
    .lightbox-next { right: 0.75rem; }
}

@media (max-width: 480px) {
    .lightbox-nav { width: 36px; height: 36px; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

.pricing { padding: 6rem 0; background-color: var(--bg-surface); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--btn-glow);
    z-index: 2;
}

.price-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.price-features { margin-bottom: 2rem; flex-grow: 1; }
.price-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.check-icon { color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }

footer {
    background: var(--footer-bg);
    padding: 3.2rem 0 1.5rem 0;
    border-top: 1px solid var(--footer-top-border);
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

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

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col a {
    color: var(--footer-link);
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
    color: var(--footer-link-hover);
    transform: translateX(3px);
}

.footer-tagline {
    color: var(--footer-tagline);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-link);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.2rem;
    border-top: 1px solid var(--footer-divider);
    color: var(--footer-bottom-text);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top:not([hidden]) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bg-surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; }
    .hero-text p { margin: 0 auto 2rem auto; }
    .hero-badge { left: 50%; transform: translateX(-50%); bottom: -25px; width: max-content; animation: none; }
    .trust-badges { justify-content: center; }
    .problem-grid { grid-template-columns: 1fr; }
    .deep-dive-row { grid-template-columns: 1fr; }
    .deep-dive-row.reverse .deep-dive-media { order: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item:nth-child(1) { grid-column: span 2; height: 300px; }
    .gallery-item:nth-child(4) { grid-column: span 2; }
    .price-card.featured { transform: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .theme-toggle { margin-left: auto; margin-right: 0.5rem; }
    .nav-links.is-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        gap: 0;
        background: var(--mobile-menu-bg);
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--mobile-menu-border);
    }
    .nav-links.is-open li a {
        display: block;
        padding: 0.75rem 1.5rem;
    }
    .nav-links.is-open a.active::after {
        display: none;
    }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero { padding: 6rem 0 3rem 0; min-height: auto; }
    .section-title { font-size: 1.75rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-container { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .deep-dive-row { padding: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    .trust-badges { gap: 0.4rem; }
    .trust-chip { font-size: 0.75rem; padding: 0.25rem 0.5rem; }
    .testimonial-quote blockquote p { font-size: 1.2rem; }
}

@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.gsap-hidden {
    opacity: 0;
}