/* PrintEase Website - Cool Professional Theme */

:root {
    /* Cool Professional Theme Palette */
    --bg-primary: #FFFFFF;
    /* White */
    --bg-surface: #F8FAFC;
    /* Very Light Slate */
    --bg-secondary: #F1F5F9;
    /* Light Slate */

    --text-primary: #0F172A;
    /* Slate 950 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-muted: #94A3B8;
    /* Slate 400 */

    --accent-primary: #2563EB;
    /* Royal Blue - Text Accents */
    --accent-hover: #1D4ED8;
    /* Darker Blue */
    --accent-secondary: #64748B;
    /* Slate 500 */

    --btn-primary-bg: #334155;
    /* Dark Gray for buttons */
    --btn-primary-hover: #1E293B;
    /* Darker Gray */

    --border-color: #E2E8F0;
    /* Slate 200 */
    --divider: rgba(148, 163, 184, 0.2);

    /* Shadows - Cool Tones */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    /* Adjusted for lighter theme */
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    /* White background */
    backdrop-filter: blur(20px);
    border: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease-in-out, background 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-cta {
    background: var(--btn-primary-bg);
    color: #fff;
    padding: 6px 12px;
    /* Reduced from 8px 16px */
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    /* Reduced from 14px */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth collapse */
    white-space: nowrap;
    overflow: hidden;
    margin-left: 8px;
    /* Reduced from 16px */
    /* Replaces flex gap */
}

/* Hidden state for Hero section */
.nav-cta.hidden {
    width: 0;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    opacity: 0;
    pointer-events: none;
}

.nav-cta:hover {
    background-color: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 65, 85, 0.3);
}

.nav-auth {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Nav menu wrapper — on desktop it's inline */
.nav-menu {
    display: contents;
    /* Acts as if it doesn't exist in flex layout */
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger X animation when menu is open */
.navbar.menu-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.menu-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.navbar.menu-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-sign-in {
    margin-right: 8px;
    /* Tighter spacing than before */
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-sign-in:hover {
    color: var(--accent-primary) !important;
    text-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
    background: transparent;
    border: none;
}

/* Hero Section (Centered + Interactive) */
.hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 25vh 24px 80px;
}

/* Gooey Gradient Background */
:root {
    --color-bg1: #ffffff;
    --color-bg2: #f1f5f9;
    --color1: 30, 58, 138;
    /* Deep Blue */
    --color2: 59, 130, 246;
    /* Royal Blue */
    --color3: 96, 165, 250;
    /* Light Blue */
    --color4: 147, 197, 253;
    /* Pale Blue */
    --color5: 37, 99, 235;
    /* Accent Blue */
    --color-interactive: 6, 182, 212;
    /* Cyan */
    --circle-size: 80%;
    --blending: hard-light;
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);
    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    z-index: 0;
}

.gradient-bg svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.gradients-container {
    filter: blur(40px);
    width: 100%;
    height: 100%;
    opacity: 0;
    /*Start invisible for fade-in */
    transition: opacity 1.5s ease;
    /* Smooth fade-in */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /* Blur layer above ripple */
    pointer-events: none;
    /* Force GPU layer for blur */
    will-change: transform;
    transform: translateZ(0);
}

.gradients-container.visible {
    opacity: 0.4;
    /* Final opacity */
}

/* Ripple Container (Now runs the background + ripples) */
#ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Background layer */
    pointer-events: none;
    /* Let clicks pass through */
    opacity: 1.0;
    /* Full opacity, shader controls it */
}

/* Ensure hero content is above ripple if we want it clickable */
.hero-content {
    position: relative;
    z-index: 5;
}

.g1,
.g2,
.g3,
.g4,
.g5 {
    position: absolute;
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    mix-blend-mode: var(--blending);
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    opacity: 0.8;
    /* Force GPU Layer Processing for animated blobs inside a blur filter */
    will-change: transform;
}

.g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    position: absolute;
    top: calc(50% - var(--circle-size) / 2 + 200px);
    left: calc(50% - var(--circle-size) / 2 - 500px);
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 20s ease infinite;
}

.interactive,
.interactive-cta {
    position: absolute;
    mix-blend-mode: var(--blending);
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
    will-change: transform;
}

.hero-content.centered {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 2rem;
}

.hero-content.centered h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), #60A5FA);
    /* Blue Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content.centered p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--btn-primary-bg);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}


/* Feature Demos */
.feature-demo {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.feature-demo:nth-child(even) {
    flex-direction: row-reverse;
}

.demo-content {
    flex: 1;
}

.demo-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.demo-video {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    border: none;
    line-height: 0;
    /* Ensure no extra space below video */
}

.demo-video video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* PDF Tools Section (Bento Grid) */
.pdf-tools-section {
    padding: 6rem 2rem;
    max-width: 1248px;
    margin: 0 auto;
}

.pdf-tools-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.bento-card {
    width: 100%;
    background: var(--bg-surface);
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    aspect-ratio: 4/3;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-left.is-visible,
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.bento-card.wide {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
    /* Standard wide (16:9) for full screencaps */
}

/* Shorter variation for specific rows */
.bento-card-short {
    aspect-ratio: 16/10;
}

.card-visual {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), #E2E8F0);
    display: flex;
    flex-direction: column;
}

.card-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(241, 245, 249, 0.95) 10%, rgba(226, 232, 240, 0.7) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.card-theme-blue::after {
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.95) 10%, rgba(37, 99, 235, 0.7) 60%, transparent 100%);
}

.layout-text-bottom::after {
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, rgba(241, 245, 249, 0.95) 10%, rgba(226, 232, 240, 0.7) 60%, transparent 100%);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.card-theme-blue.layout-text-bottom::after {
    background: linear-gradient(to top, rgba(37, 99, 235, 0.95) 10%, rgba(37, 99, 235, 0.7) 60%, transparent 100%);
}

.card-content {
    padding: 32px 32px 0 32px;
    z-index: 2;
    position: relative;
}

/* Modifiers for Variation */
.card-theme-blue {
    background: var(--accent-primary) !important;
    /* Primary Accent Blue */
}

.card-theme-blue .card-content h3,
.card-theme-blue .card-content p {
    color: #FFFFFF;
}

.card-theme-white-black {
    /* Base background is white. Image sits here. */
    background: #FFFFFF !important;
}

/* Re-purpose the ::after overlay to paint the dark gradient ON TOP of the image */
.card-theme-white-black::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.65) 100%) !important;
    height: 60%;
    /* Cover the bottom 60% of the card, where image meets text */
    top: auto;
    bottom: 0;
    z-index: 1;
    /* Sits above standard image but below z-index:2 text */
}

.card-theme-white-black .card-content h3,
.card-theme-white-black .card-content p {
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.card-theme-soft-blue {
    background: #7393E8 !important;
    /* Softer, muted blue */
}

.card-theme-soft-blue .card-content h3,
.card-theme-soft-blue .card-content p {
    color: var(--text-primary);
    /* Use dark text for contrast */
}

.layout-text-bottom {
    flex-direction: column-reverse;
}

.layout-text-bottom .card-content {
    padding: 0 32px 32px 32px;
}

.layout-text-bottom .feature-mockup {
    top: -5%;
    bottom: auto;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform-origin: top center;
}

.layout-text-bottom:hover .feature-mockup {
    transform: scale(1.03) translate(0, 10px);
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-mockup {
    position: absolute;
    bottom: -5%;
    right: -10%;
    width: 85%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.slide-in-left:hover .feature-mockup,
.slide-in-right:hover .feature-mockup {
    transform: scale(1.03) translate(-10px, -10px);
}

/* Adjust sizes for specific bento configurations if needed */
.slide-in-right .feature-mockup {
    bottom: -10%;
    right: -10%;
    width: 90%;
}

/* .card-content styles removed as text is now baked into images */

/* Dark CTA Section (Contrast Block) */
.cta-section {
    position: relative;
    background: #000000;
    color: #ffffff;
    width: 100%;
    min-height: 130vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;

    /* Starting state: It looks like a rounded card floating in the screen */
    /* top right bottom left */
    clip-path: inset(150px 150px 150px 150px round 40px);

    /* Hardware acceleration for smooth resize */
    transform: translateZ(0);
    will-change: clip-path;
}

.cta-section .gradient-bg {
    background: transparent;
}

#cta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: var(--bg-surface);
    padding: 4rem 2rem;
    padding-top: 160px;
    /* Extra space for the gradient fade */
    border-top: none;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-surface));
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {

    .navbar {
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(16px);
    }

    .nav-container {
        gap: 12px;
        padding: 10px 16px;
        min-height: 60px;
    }

    .logo {
        min-width: 0;
        flex: 1 1 auto;
    }

    .logo-text {
        font-size: 16px;
    }

    .feature-demo,
    .feature-demo:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 100svh;
        padding-top: 112px;
    }

    /* Mobile hamburger menu */
    .nav-hamburger {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
        align-self: center;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar.menu-open .nav-menu {
        max-height: 320px;
        padding: 16px 24px 24px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-auth {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: 8px;
        padding-top: 12px;
    }

    .nav-sign-in {
        margin-right: 0;
        text-align: left;
    }

    .nav-cta {
        margin-left: 0;
        text-align: left;
        display: block;
    }

    /* Force Download Free to appear in mobile menu even when hidden by hero scroll logic */
    .navbar.menu-open .nav-cta.hidden {
        width: auto;
        padding: 8px 16px;
        margin-left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-content.centered {
        padding: 0 20px;
    }
}

/* Specific CTA Button Style */
.cta-section .btn-primary {
    background: #FFFFFF;
    color: #000000;
    border: none;
}

.cta-section .btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.cta-section .gradients-container {
    opacity: 0.8 !important;
    /* Increase opacity to make it visible against dark background */
    display: block !important;
    /* Force display since it's hidden globally */
}


.btn-download .btn-icon {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.btn-download .btn-text {
    text-align: left;
}

.btn-download .btn-main {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.btn-download .btn-sub {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.info-icon {
    color: var(--primary);
}

/* Speed Comparison Section */
.speed-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 150px, var(--bg-secondary) calc(100% - 150px), var(--bg-primary) 100%);
}

.speed-content {
    max-width: 1000px;
    margin: 0 auto;
}

.speed-comparison.cluely-style {
    display: flex;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin: 50px 0 30px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    min-height: 480px;
}

.manual-half,
.printease-half {
    flex: 1;
    padding: 85px 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Dark side (Manual) */
.manual-half {
    background: #1e293b;
    /* Slate 800 */
    color: #ffffff;
}

.manual-half h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f8fafc;
}

.manual-half .time-value {
    font-size: 42px;
    font-weight: 800;
    color: #cbd5e1;
}

.manual-half .speed-desc {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 320px;
}

.manual-half .speed-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #cbd5e1;
}

/* Light side (PrintEase) */
.printease-half {
    background: #ffffff;
    color: var(--text-primary);
}

.printease-half h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.printease-half .time-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
}

.printease-half .time-value.highlight {
    color: var(--accent-primary);
}

.printease-half .speed-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 320px;
}

.printease-half .speed-desc strong {
    color: var(--text-primary);
    font-weight: 700;
}

.printease-half .speed-stat {
    background: var(--bg-secondary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
}

.printease-logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.speed-logo {
    height: 32px;
    width: auto;
}

.speed-time {
    margin-bottom: 16px;
}

.speed-badge {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-primary), #60A5FA);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.speed-vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.speed-vs-badge span {
    background: #ffffff;
    color: var(--text-secondary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.speed-footnote {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .speed-comparison.cluely-style {
        flex-direction: column;
    }

    .manual-half {
        padding: 50px 24px 60px;
        min-height: auto;
    }

    .speed-vs-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: translateY(-50%);
        margin-bottom: -60px;
        align-self: center;
        z-index: 10;
    }

    .printease-half {
        padding: 110px 24px 40px;
        /* Add more top padding to clear the VS badge */
        min-height: auto;
    }

    .speed-badge {
        top: 50px;
        /* Move the '17x Faster' badge down slightly on mobile */
    }
}

/* Pricing Modes Section */
.pricing-modes {
    padding: 100px 24px;
    padding-bottom: 160px;
    /* Extra space for the gradient fade */
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 150px);
    position: relative;
}

.pricing-modes::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    pointer-events: none;
}

.pricing-modes .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.modes-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mode-card {
    background: var(--bg-primary);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s;
    box-shadow: var(--shadow-md);
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mode-card.featured {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, var(--bg-primary) 100%);
}

.mode-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.mode-badge.popular {
    background: var(--accent-primary);
    color: #fff;
}

.mode-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mode-card>p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

.mode-features {
    list-style: none;
}

.mode-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--divider);
}

/* Buy Section */
.buy-section {
    padding: 100px 24px;
    background: var(--bg-dark);
}

.buy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.buy-content .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.pricing-card {
    background: #F8F9FA;
    /* Light gray background */
    border: none;
    border-radius: 24px;
    /* Increased rounded corners */
    padding: 32px;
    text-align: left;
    /* Left align text */
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align flex items to start */
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    padding: 0;
    flex-grow: 1;
    width: 100%;
}

.pricing-features li {
    margin-bottom: 8px;
    /* Reduced spacing */
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    padding: 0;
    /* Ensure no extra padding */
    border: none;
    /* Remove any borders */
}

.btn-buy {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #4a9fd4 0%, #2c7bb5 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(74, 159, 212, 0.3);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    background: #F8F9FA;
    /* Ensure consistent background */
}

.pricing-card.coming-soon {
    opacity: 0.7;
}

.pricing-card.coming-soon:hover {
    transform: none;
}

.pricing-badge {
    position: static;
    /* Remove absolute positioning */
    display: inline-block;
    margin-bottom: 16px;
    transform: none;
    background: #E0F2FE;
    /* Light blue pill for generic/popular */
    color: #0284C7;
    /* Darker blue text */
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-badge.soon {
    background: #F3F4F6;
    /* Light gray for coming soon */
    color: #4B5563;
    /* Dark gray text */
}

.pricing-duration {
    font-size: 1.125rem;
    /* Smaller plan name */
    font-weight: 600;
    color: #111827;
    /* Dark text */
    margin-bottom: 4px;
    /* Reduced bottom margin */
}

.pricing-price {
    font-size: 2.5rem;
    /* Larger price size relative to title */
    font-weight: 700;
    margin-bottom: 16px;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: initial;
    color: #111827;
    /* Darkest gray */
}

.pricing-card .btn-primary {
    width: 100%;
    border-radius: 12px;
    /* Matched card border-radius */
    justify-content: center;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    box-shadow: none;
}

.pricing-card .btn-primary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn-secondary {
    width: 100%;
    border-radius: 12px;
    /* Matched card border-radius */
    justify-content: center;
    background: #E5E7EB;
    color: #000000;
    border: 1px solid #E5E7EB;
}

.pricing-card .btn-secondary:hover {
    background: #D1D5DB;
    border-color: #D1D5DB;
    color: #000000;
}

/* Fix disabled button state */
.pricing-card button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #E5E7EB !important;
    color: #9CA3AF !important;
    border-color: #E5E7EB !important;
}

.pricing-note {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 16px;
}

/* Billing Toggle Wrapper */
.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    /* Original translucent background */
    padding: 4px;
    border-radius: 30px;
    position: relative;
}

.billing-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 26px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-btn:hover {
    color: var(--text-primary);
}

.billing-btn.active {
    background: var(--gradient-1);
    /* Original gradient */
    color: var(--bg-dark);
    /* Original dark text color for active state */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.save-badge {
    position: absolute;
    left: calc(100% + 12px);
    /* Offset to the right of the wrapper */
    white-space: nowrap;
    /* Prevent wrapping onto multiple lines */
    background: #ffffff;
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-block;
}

@media (max-width: 768px) {
    .billing-toggle-wrapper {
        flex-direction: column;
    }

    .save-badge {
        position: static;
        margin-top: 10px;
    }
}

/* Billing Note (billed monthly/yearly) */
.pricing-billing-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Value Proposition Tagline */
.pricing-value-tagline {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

.pricing-value-tagline strong {
    color: #0284C7;
    /* Blue text to match theme */
}

.price-period {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    padding: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 159, 212, 0.5);
}

.btn-buy.btn-secondary-outline {
    background: transparent;
    border: 2px solid #4a9fd4;
    color: #4a9fd4;
    box-shadow: none;
}

.btn-buy.btn-secondary-outline:hover {
    border-color: #2c7bb5;
    background: rgba(74, 159, 212, 0.15);
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 159, 212, 0.3);
}

.btn-buy.btn-disabled {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-buy.btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
}

.buy-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-text {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #FFFFFF;
    /* White background */
    border: 1px solid var(--border-color);
    /* Subtle border */
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    /* Subtle shadow to lift it */
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    /* Light gray background */
    color: var(--text-secondary);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    /* Slightly darker gray on hover */
    color: var(--text-primary);
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    /* Subtle border matching contact form */
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    /* White textbox background */
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient-1);
    color: var(--bg-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 16px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.payment-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: var(--bg-surface);
    padding: 160px 24px 30px;
    border-top: none;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .features-grid,
    .modes-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-grid,
    .modes-container,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .buy-steps {
        flex-direction: column;
        gap: 20px;
    }

    .modal-content {
        margin: 20px;
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .download-info {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================================================
   AUTHENTICATION STYLES
   ============================================================================ */

/* Auth Button in Navbar */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 16px;
}

#authButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

#authButton:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
}

/* Download Button in Navbar */
.nav-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.nav-download-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* User Menu */
.user-menu {
    display: none;
    align-items: center;
    gap: 6px;
    /* Reduced from 10px */
    cursor: pointer;
    position: relative;
    padding: 4px 8px;
    /* Reduced from 6px 12px */
    border-radius: var(--radius-sm);
    transition: background 0.3s;
}

.user-menu:hover {
    background: var(--bg-secondary);
}

.user-avatar {
    width: 28px;
    /* Reduced from 32px */
    height: 28px;
    /* Reduced from 32px */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-name {
    font-size: 13px;
    /* Reduced from 14px */
    font-weight: 500;
    color: var(--text-primary);
    max-width: 100px;
    /* Reduced from 120px */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dropdown-item.active {
    color: var(--primary);
}

/* ============================================================================
   LOGIN PAGE STYLES
   ============================================================================ */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1a28 100%);
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    min-height: calc(100vh - 80px);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 48px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    color: #333;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-google:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.google-icon {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-alt-options {
    margin-bottom: 24px;
}

.auth-note {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-footer p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Benefits Section */
.auth-benefits {
    flex: 1;
    max-width: 400px;
}

.auth-benefits h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
}

.auth-benefits li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.auth-benefits li strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.auth-benefits li p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Auth Loading Overlay */
.auth-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.auth-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-loading p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================================================
   DASHBOARD PAGE STYLES
   ============================================================================ */

.dashboard-page {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1a28 100%);
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 24px 60px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Dashboard Loading */
.dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    gap: 16px;
}

.dashboard-loading p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Empty State */
.dashboard-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    text-align: center;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.dashboard-empty h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.dashboard-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Licenses Grid */
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* License Card */
.license-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.license-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.license-card.active {
    border-color: var(--primary);
}

.license-card.expired {
    opacity: 0.7;
    border-color: #e74c3c;
}

.license-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.active {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}

.status-dot.expired {
    background: #e74c3c;
}

.license-tier {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.license-machine,
.license-expiry {
    margin-bottom: 12px;
}

.license-machine label,
.license-expiry label,
.license-key-section label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.license-machine span,
.license-expiry span {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: monospace;
}

.license-key-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.license-key-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-key {
    flex: 1;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    word-break: break-all;
}

.btn-copy {
    flex-shrink: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-renew {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-renew:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Add Machine Section */
.add-machine-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.add-machine-section h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.add-machine-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: var(--primary);
    font-weight: 700;
}

.toast-message {
    color: var(--text-primary);
    font-size: 14px;
}

/* Login Required Modal */
.login-prompt {
    text-align: center;
    padding: 20px 0;
}

.login-prompt p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
}

.btn-login-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-login-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        gap: 40px;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .auth-benefits {
        text-align: center;
    }

    .auth-benefits li {
        flex-direction: column;
        text-align: center;
    }

    .licenses-grid {
        grid-template-columns: 1fr;
    }

    .user-name {
        display: none;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1a24 100%);
}

.contact-page {
    padding: 140px 24px 100px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1a24 100%);
}

.contact-alt {
    text-align: center;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-alt a {
    color: var(--primary);
    text-decoration: none;
}

.contact-alt a:hover {
    text-decoration: underline;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#contactForm .form-group {
    margin-bottom: 20px;
}

#contactForm .form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

#contactForm .form-group input,
#contactForm .form-group select,
#contactForm .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
}

#contactForm .form-group input:focus,
#contactForm .form-group select:focus,
#contactForm .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

#contactForm .form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238aa8c0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

#contactForm .form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

#contactForm .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-contact {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-1);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(90, 138, 168, 0.4);
}

.btn-contact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 28px;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.contact-success h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-success p {
    color: var(--text-secondary);
    font-size: 15px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 24px;
    }

    /* Hero responsive - stack video below text on mobile */
    .hero {
        flex-direction: column;
        padding: 100px 16px 40px;
        min-height: auto;
    }

    .hero-video {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
        border-radius: 12px;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Print Reveal Animation */
.print-reveal-target {
    opacity: 0;
    animation: fadeInContainer 0.1s forwards;
}

@keyframes fadeInContainer {
    to {
        opacity: 1;
    }
}

.print-char {
    display: inline-block;
    position: relative;
    color: transparent;
    /* Base text is transparent */
    line-height: inherit;
    white-space: pre;
}

.char-half {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: inherit;
    overflow: hidden;
    will-change: opacity;
}

/* Fix for colors */
.print-char {
    color: transparent !important;
}

.print-reveal-target {
    color: var(--text-primary);
    /* Default color for the whole block */
}

/* Base text color for non-gradient parts */
.char-half {
    color: var(--text-primary);
}

/* Top Half: Show only top 50% */
.char-top {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    opacity: 0;
    animation: revealHalf 0s linear forwards;
    /* Controlled by delay */
}

/* Bottom Half: Show only bottom 50% */
.char-bottom {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    opacity: 0;
    animation: revealHalf 0s linear forwards;
    /* Controlled by delay */
}


/* 
   Gradient Text Fix 
   We apply the gradient to the .char-half elements
*/
.gradient-text .char-half {
    background: linear-gradient(135deg, var(--accent-primary), #60A5FA) fixed;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}


@keyframes revealHalf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Removed revealTop and revealBottom with transforms */

/* Ink Density Buildup Animation - Triggered by JS */
.ink-density {
    opacity: 0;
    filter: contrast(0.7) blur(0.3px);
}

.ink-density.reveal-active {
    animation: inkDensity 1200ms ease-out forwards;
}

@keyframes inkDensity {
    0% {
        opacity: 0;
        filter: contrast(0.7) blur(0.3px);
    }

    20% {
        opacity: 0.3;
        filter: contrast(0.7) blur(0.3px);
    }

    100% {
        opacity: 1;
        filter: contrast(1) blur(0);
    }
}

/* Hero Fade In Animation (for Canvas - after all text) */
.hero-fade-in {
    opacity: 0;
}

.hero-fade-in.reveal-active {
    animation: heroFadeIn 800ms ease-out forwards;
}

/* CTA button synced with subheading */
.hero-cta.hero-fade-in.reveal-active {
    animation: inkDensity 1200ms ease-out forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Hero Divider */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-divider .shape-fill {
    fill: var(--bg-primary);
}

@media (max-width: 768px) {
    .hero-divider {
        top: auto;
        bottom: 0;
        height: 72px;
        pointer-events: none;
    }

    .hero-divider svg {
        height: 72px;
    }

    .card-content {
        padding: 24px 24px 0 24px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-content p {
        font-size: 14px;
    }

    .feature-mockup {
        width: 95%;
        bottom: -5%;
        right: -5%;
    }
}

/* Reduced motion: disable all animations for users/devices that prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cta-section {
        clip-path: inset(0px 8px 0px 8px round 40px) !important;
    }

    .gradients-container {
        display: none !important;
    }
}

/* Price Shuffle Animation */
@keyframes priceShuffle {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }

    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

.animate-price-shuffle {
    animation: priceShuffle 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ============================================================================
   DASHBOARD STYLES
   ============================================================================ */

.dashboard-page {
    background: var(--bg-surface);
    min-height: 100vh;
}

.dashboard-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dashboard-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Loading State */
.dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    gap: 16px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.dashboard-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.dashboard-empty h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dashboard-empty p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

/* Licenses Grid */
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
}

/* License Card */
.license-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.license-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.license-card.expired {
    opacity: 0.75;
}

/* Status Indicator */
.license-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: #22C55E;
    /* Green */
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.status-dot.expired {
    background: #EF4444;
    /* Red */
}

/* License Tier */
.license-tier {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* License Info Rows */
.license-machine,
.license-expiry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 14px;
}

.license-machine label,
.license-expiry label {
    color: var(--text-muted);
    font-weight: 500;
}

.license-machine span,
.license-expiry span {
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
}

/* License Key Section */
.license-key-section {
    margin-top: 16px;
}

.license-key-section label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.license-key-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.license-key {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
    background: none;
}

/* Copy Button */
.btn-copy {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Renew Button */
.btn-renew {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--btn-primary-bg);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-renew:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--text-primary);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: #22C55E;
    font-weight: 700;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 100px 16px 60px;
    }

    .licenses-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header h1 {
        font-size: 1.5rem;
    }
}

/* Prevent Flash of Unstyled Content for animations */
.js-enabled .print-reveal-target,
.js-enabled .type-on-scroll,
.js-enabled .animate-on-scroll,
.js-enabled .slide-in-left,
.js-enabled .slide-in-right,
.js-enabled .hero-fade-in {
    opacity: 0;
    visibility: hidden;
}

/* Public Metrics Section */
.metrics-section {
    padding: 2rem 2rem 6rem;
    max-width: 1248px;
    margin: 0 auto;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Base off .bento-card */
.metric-card {
    background: var(--bg-surface);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent-primary), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .metrics-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================================================
   LEGAL PAGES (Terms of Service, Refund Policy)
   ============================================================================ */

.legal-page {
    padding: 140px 24px 100px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1a24 100%);
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-primary), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 18px;
    }
}

/* Checkout Disclaimer */
.checkout-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.checkout-disclaimer a {
    color: var(--primary);
    text-decoration: none;
}

.checkout-disclaimer a:hover {
    text-decoration: underline;
}
