: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: 5.75rem 0 1.25rem 0;
    background:
        linear-gradient(110deg, rgba(212,133,59,0.14) 0%, rgba(15,17,21,0) 34%),
        var(--gradient-hero);
    min-height: 100vh;
    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: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    animation: heroGridDrift 22s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--problem-bg) 92%, transparent) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 70;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
    gap: clamp(2rem, 4vw, 3.6rem);
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.35rem, 4.8vw, 4.05rem);
    line-height: 1.02;
    margin-bottom: 1.25rem;
    letter-spacing: 0;
    max-width: 720px;
}

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

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

.trust-badges {
    margin-top: 1.35rem;
    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);
}

.hero-proof-strip {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 680px;
}

.hero-proof-card {
    min-height: 74px;
    padding: 0.72rem;
    border: 1px solid color-mix(in srgb, var(--border) 82%, var(--accent));
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg-surface) 86%, transparent);
    box-shadow: 0 14px 35px rgba(0,0,0,0.22);
    transition: var(--transition);
}

.hero-proof-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.hero-proof-card strong,
.hero-proof-card span {
    display: block;
}

.hero-proof-card strong {
    margin-bottom: 0.35rem;
    color: var(--text-main);
    font-size: 0.88rem;
}

.hero-proof-card span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.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(240px, 40%, 340px);
    max-height: 700px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    perspective: 1200px;
    transform-style: preserve-3d;
}

.slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 42px rgba(0,0,0,0.34);
    opacity: 0;
    transform: translate3d(0, 0, -80px) rotateZ(0deg) scale(0.82);
    transform-origin: 50% 96%;
    transition:
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        filter 0.3s ease;
    will-change: transform, opacity;
    pointer-events: none;
}

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

.slideshow img.card-offset-0,
.slideshow img.card-offset-1,
.slideshow img.card-offset-2,
.slideshow img.card-offset-3,
.slideshow img.card-offset-4 {
    opacity: 1;
}

.slideshow img.card-offset-0 {
    z-index: 6;
    transform: translate3d(0, 0, 70px) rotateZ(0deg) rotateY(0deg) scale(0.96);
    filter: saturate(1.02) brightness(1.02);
}

.slideshow img.card-offset-1 {
    z-index: 5;
    transform: translate3d(26px, 12px, 38px) rotateZ(4deg) rotateY(-4deg) scale(0.92);
    filter: saturate(0.94) brightness(0.96);
}

.slideshow img.card-offset-2 {
    z-index: 4;
    transform: translate3d(54px, 26px, 12px) rotateZ(8deg) rotateY(-6deg) scale(0.88);
    filter: saturate(0.88) brightness(0.92);
}

.slideshow img.card-offset-3 {
    z-index: 3;
    transform: translate3d(82px, 40px, -20px) rotateZ(12deg) rotateY(-8deg) scale(0.84);
    filter: saturate(0.82) brightness(0.88);
}

.slideshow img.card-offset-4 {
    z-index: 2;
    opacity: 0.58;
    transform: translate3d(108px, 56px, -54px) rotateZ(16deg) rotateY(-10deg) scale(0.8);
    filter: saturate(0.72) brightness(0.8);
}

.slideshow img.is-moving-to-back {
    z-index: 8;
    animation: sendCardToBack 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sendCardToBack {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 70px) rotateZ(0deg) scale(0.96);
    }
    36% {
        opacity: 1;
        transform: translate3d(-92px, -18px, 112px) rotateZ(-10deg) scale(0.94);
    }
    68% {
        opacity: 0.82;
        transform: translate3d(22px, 42px, -12px) rotateZ(8deg) scale(0.84);
    }
    100% {
        opacity: 0.58;
        transform: translate3d(108px, 56px, -54px) rotateZ(16deg) scale(0.8);
    }
}

.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;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-visual-glow {
    position: absolute;
    inset: -5% -4% 26% 4%;
    background:
        linear-gradient(135deg, rgba(212,133,59,0.26), transparent 42%),
        linear-gradient(315deg, rgba(91,164,164,0.26), transparent 45%);
    filter: blur(34px);
    opacity: 0.86;
    transform: skewY(-7deg);
    pointer-events: none;
}

.hero-screen {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent));
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: 0 32px 70px rgba(0,0,0,0.46);
    transform: none;
    transform-origin: center;
    animation: none;
    pointer-events: none;
}

.hero-window-bar {
    display: flex;
    align-items: center;
    gap: 0.46rem;
    min-height: 34px;
    padding: 0 0.9rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    background: color-mix(in srgb, var(--bg-surface) 78%, #000);
}

.hero-window-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
}

.hero-window-bar span:nth-child(1) { background: #e06060; }
.hero-window-bar span:nth-child(2) { background: #d8a64d; }
.hero-window-bar span:nth-child(3) { background: #5bb88a; }

.hero-window-bar strong {
    margin-left: 0.35rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-screen img,
.hero-floating-card img {
    width: 100%;
    display: block;
}

.hero-screen img {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    appearance: none;
    position: relative;
    z-index: 6;
    width: auto;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.72rem;
    border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent));
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
    box-shadow: 0 22px 42px rgba(0,0,0,0.42);
    backdrop-filter: blur(12px);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
    will-change: transform;
}

.hero-floating-card:hover,
.hero-floating-card:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 28px 54px rgba(0,0,0,0.5);
    filter: saturate(1.08);
}

.hero-floating-card:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent) 78%, white);
    outline-offset: 4px;
}

.hero-floating-card:disabled {
    color: inherit;
}

.hero-screen.is-swap-hidden,
.hero-floating-card.is-swap-hidden {
    opacity: 0;
}

.hero-floating-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.hero-floating-card strong,
.hero-floating-card span {
    display: block;
}

.hero-floating-card strong {
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-floating-card span {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.35;
    margin-top: 0.18rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-floating-card--dialog {
    animation: none;
}

.hero-floating-card--schedule {
    animation: none;
}

.hero-floating-card--dialog,
.hero-floating-card--schedule {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
}

.hero-morph-layer {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
}

.hero-morph-shell,
.hero-morph-image,
.hero-morph-title,
.hero-morph-summary {
    position: absolute;
    box-sizing: border-box;
    will-change: top, left, width, height, opacity, border-radius, filter;
}

.hero-morph-shell {
    border: 1px solid color-mix(in srgb, var(--border) 70%, var(--accent));
    background: color-mix(in srgb, var(--bg-surface) 94%, transparent);
    box-shadow: 0 28px 62px rgba(0,0,0,0.48);
    backdrop-filter: blur(12px);
}

.hero-morph-shell--outgoing {
    z-index: 1;
}

.hero-morph-shell--incoming {
    z-index: 4;
}

.hero-morph-image {
    z-index: 5;
    display: block;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.hero-morph-image--outgoing {
    z-index: 2;
}

.hero-morph-title {
    z-index: 6;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.hero-morph-title--outgoing {
    z-index: 3;
}

.hero-morph-summary {
    z-index: 6;
    color: var(--text-muted);
    line-height: 1.35;
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    right: clamp(1rem, 2.4vw, 2rem);
    top: clamp(7.25rem, 10vw, 9.5rem);
    z-index: 90;
    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 4.4s ease-in-out infinite;
    pointer-events: none;
}

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

@keyframes heroScreenFloat {
    0%, 100% { transform: rotateX(5deg) rotateY(-8deg) rotateZ(1deg) translateY(0); }
    50% { transform: rotateX(4deg) rotateY(-5deg) rotateZ(0.5deg) translateY(-10px); }
}

@keyframes floatCardA {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(8px, -13px, 0); }
}

@keyframes floatCardB {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-10px, 12px, 0); }
}

@keyframes heroGridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 80px 80px, 80px 80px; }
}

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

.video-section {
    position: relative;
    background:
        linear-gradient(180deg, var(--bg-body) 0%, var(--problem-bg) 100%);
    overflow: hidden;
}

.video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(91,164,164,0.1) 48%, transparent 100%),
        linear-gradient(var(--hero-grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100% 52px;
    pointer-events: none;
}

.video-section .container {
    position: relative;
    z-index: 1;
}

.video-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.video-section-header .section-subtitle {
    margin: 0;
}

.video-channel-link {
    flex: 0 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1.4rem;
    align-items: stretch;
}

.featured-video,
.video-card {
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
    box-shadow: 0 20px 46px rgba(0,0,0,0.22);
}

.featured-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #05070a;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.featured-video-copy {
    padding: 1.4rem;
}

.featured-video-copy h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.15;
    margin: 0.3rem 0 0.65rem;
}

.featured-video-copy p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.video-date {
    display: inline-block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.video-card-list {
    display: grid;
    gap: 0.9rem;
}

.video-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 0.7rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16 / 10;
    background: #05070a;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212,133,59,0.92);
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.play-icon::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
}

.video-card h3 {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0.18rem 0 0.32rem;
}

.video-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.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;
    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 { min-height: 0; max-width: 860px; margin: 0 auto; }
    .hero-text p { margin: 0 auto 2rem auto; }
    .hero-proof-strip { margin-left: auto; margin-right: auto; }
    .hero-badge { right: 1rem; top: 1rem; width: max-content; animation: none; }
    .hero-floating-card--dialog,
    .hero-floating-card--schedule { left: auto; right: auto; top: auto; bottom: auto; }
    .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; }
    .video-grid { grid-template-columns: 1fr; }
    .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) {
    body.menu-open {
        overflow: hidden;
    }
    nav {
        position: relative;
        z-index: 1002;
    }
    .nav-links {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.85rem;
        min-height: 100vh;
        padding: clamp(5.5rem, 18vh, 7rem) 1.35rem 2rem;
        background:
            linear-gradient(140deg, rgba(212,133,59,0.16), transparent 38%),
            color-mix(in srgb, var(--bg-body) 94%, #000);
        border: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.94);
        transform-origin: top right;
        transition:
            opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nav-cta { display: none; }
    .theme-toggle { margin-left: auto; margin-right: 0.5rem; }
    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(14px);
        transition:
            opacity 0.22s ease,
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nav-links.is-open li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-links.is-open li:nth-child(1) { transition-delay: 0.06s; }
    .nav-links.is-open li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.is-open li:nth-child(3) { transition-delay: 0.14s; }
    .nav-links.is-open li:nth-child(4) { transition-delay: 0.18s; }
    .nav-links.is-open li:nth-child(5) { transition-delay: 0.22s; }
    .nav-links li a {
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 0.95rem 1.1rem;
        border: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
        border-radius: var(--radius-md);
        background: color-mix(in srgb, var(--bg-surface) 84%, transparent);
        color: var(--text-main);
        font-size: clamp(1.35rem, 8vw, 2.3rem);
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 18px 36px rgba(0,0,0,0.22);
    }
    .nav-links.is-open a.active::after {
        display: none;
    }
    .mobile-menu-btn {
        position: relative;
        z-index: 1003;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    .hero-proof-strip { display: none; }
    .hero-screen { transform: none; animation: none; }
    .hero-image {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-floating-card {
        position: relative;
        width: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        animation: none;
    }
    .hero-badge {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        justify-content: center;
        margin: 0.8rem auto 0;
    }
    .video-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .video-channel-link {
        width: 100%;
        text-align: center;
    }
    .video-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero { padding: 5.25rem 0 2rem 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; }
    .hero-floating-card { grid-template-columns: 74px minmax(0, 1fr); padding: 0.6rem; }
    .hero-floating-card strong { font-size: 0.8rem; }
    .hero-floating-card span { font-size: 0.72rem; }
    .hero-badge { padding: 0.85rem 1rem; }
    .video-card { grid-template-columns: 1fr; }
    .video-thumb { aspect-ratio: 16 / 9; }
    .testimonial-quote blockquote p { font-size: 1.2rem; }
}

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

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero-screen,
    .hero-floating-card,
    .hero-badge,
    .slideshow img.is-moving-to-back {
        animation: none !important;
    }

    .slideshow img {
        transition-duration: 0.01ms !important;
    }

    .nav-links,
    .nav-links li {
        transition-duration: 0.01ms !important;
    }
}

.gsap-hidden {
    opacity: 0;
}
