/* ===================================
   The 20s Rule - Landing Page Styles
   Apple-Inspired Design System
   =================================== */

/* --- CSS Variables --- */
:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-primary50: #ffffff88;
    --bg-secondary50: #f5f5f7aa;
    --bg-tertiary: #fafafa;
    --bg-elevated: #ffffff;
    --bg-gradient-start: #ffffff;
    --bg-gradient-end: #f5f5f7;
    --bg-glass: #daecff52;

    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #515154;
    --text-inverse: #ffffff;

    --accent-primary: #0071e3;
    --accent-primary50: #0071e388;
    --accent-hover: #0077ed;
    --accent-active: #006edb;
    --accent-subtle: #bfd9fd;
    --accent-gradient-start: #0071e3;
    --accent-gradient-end: #0051a2;

    --border-default: rgba(0, 0, 0, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.1);

    --shadow-sm: 0 1px 3px rgba(0, 48, 95, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 48, 95, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 48, 95, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 48, 95, 0.15);
    --shadow-2xl: 0 30px 60px rgba(0, 48, 95, 0.2);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* Typography */
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;

    /* Animation */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 600ms cubic-bezier(0.23, 1, 0.32, 1);

    --dot-size: 2.9px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Container */
    --container-max: 1200px;

    --glass-white: 0px;
}


.img-dark {
    display: none !important;
}

.img-light {
    display: unset;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #1c1c1e;
        --bg-primary50: #00000088;
        --bg-secondary50: #1c1c1ecc;
        --bg-tertiary: #2c2c2e;
        --bg-elevated: #1c1c1e;
        --bg-gradient-start: #000000;
        --bg-gradient-end: #1c1c1e;
        --bg-glass: #0000003c;

        --text-primary: #f5f5f7;
        --text-secondary: #98989d;
        --text-tertiary: #6e6e73;
        --text-inverse: #000000;

        --accent-primary: #0a84ff;
        --accent-primary50: #0a84ff88;
        --accent-hover: #409cff;
        --accent-active: #0077ed;
        --accent-subtle: #002347;
        --accent-gradient-start: #0a84ff;
        --accent-gradient-end: #0051a2;

        --dot-size: 2px;

        --border-default: rgba(255, 255, 255, 0.15);
        --border-subtle: rgba(255, 255, 255, 0.08);

        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
        --shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.7);

        --glass-white: -34px;

        scrollbar-color: var(--text-tertiary) var(--bg-secondary);
        scrollbar-width: thin;
    }

    /* --- WebKit (Chrome, Edge, Safari) Scrollbar Styling --- */
    /* Sets the width of the scrollbar */
    ::-webkit-scrollbar {
        width: 14px;
        height: 14px;
    }

    /* The track (the background of the scrollbar) */
    ::-webkit-scrollbar-track {
        background-color: var(--bg-secondary);
    }

    /* The draggable scrolling handle (the thumb) */
    ::-webkit-scrollbar-thumb {
        background-color: var(--text-tertiary);
        border-radius: var(--radius-full);
        /* Creates a "padding" effect around the thumb */
        border: 4px solid var(--bg-secondary);
    }

    /* The thumb on hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--text-secondary);
    }

    /* The corner where two scrollbars meet */
    ::-webkit-scrollbar-corner {
        background-color: var(--bg-secondary);
    }

    .img-light {
        display: none !important;
    }

    .img-dark {
        display: unset !important;
    }
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: rgba(255, 255, 255, 0.8);
    inherits: false;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hide {
    display: none;
}

.glass-effect {
  background: var(--bg-glass);
  backdrop-filter: contrast(.9) blur(7px) url("#fluted");
  box-shadow: inset 0 -6px 28px -4px var(--bg-primary),
      inset 0 17px 34px var(--glass-white) white,
      var(--shadow-sm),
      var(--shadow-xl);
}

.glass-effect-small {
  background: var(--bg-glass);
  backdrop-filter: contrast(.9) blur(4px);
  box-shadow: inset 0 -6px 14px -2px var(--bg-primary),
      inset 0 9px 17px -19px white,
      var(--shadow-sm);
}

@-moz-document url-prefix() {
  .glass-effect {
    backdrop-filter: contrast(.9) blur(7px);
  }

  .glass-effect-small {
    backdrop-filter: contrast(.9) blur(4px);
  }
}

/* --- Navigation --- */
.nav-container {
    position: fixed;
    top: 5px;
    left: 0;
    right: 0;
    width: calc(100% - 16px);
    max-width: var(--container-max);
    margin: 0 auto 0;
    z-index: 1000;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    border-radius: 999px;
}

.nav-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    line-height: 1;
}

.nav-logo img {
    height: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
    line-height: 1;

    color: #fff;
    background: radial-gradient(100% 100% at 50% -10%, white -30%, var(--accent-primary) 80%);
    box-shadow: inset var(--accent-subtle) 0 1px 17px -2px, var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(80px + var(--space-4xl));
    padding-bottom: var(--space-2xl);
    background: radial-gradient(100% 100% at 80% 0%, var(--accent-subtle) 0%, transparent 60%),
        radial-gradient(80% 70% at 50% 100%, var(--accent-subtle) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    --dot-space: 16px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--border-default) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);
    mask-image: linear-gradient(to top, black 0%, transparent 70%);

    opacity: 1;
    transition: opacity var(--transition-base);
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.cta-actions .action-buttons {
    gap: 90px;
}

.btn-hero-primary.firefox {
    --accent-primary: #b84edf;
    --accent-gradient-end: #4d62d3;
    --accent-hover: #e59dff88;
}

.btn-hero-primary {
    display: inline-flex;
    gap: var(--space-xl);
    padding: var(--space-md) var(--space-xl) var(--space-md) var(--space-md);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-stack);

    --animation: gradient-angle linear infinite;
    --duration: 4s;
    --shadow-size: 2px;

    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;

    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: white;

    background:
        linear-gradient(var(--accent-primary), var(--accent-gradient-end)) padding-box,
        conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--accent-hover) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--accent-hover) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)) border-box;

    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition: var(--transition);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, transform;
}

/* Dots Pattern */
.btn-hero-primary::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;

    --size: calc(100% - var(--shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);

    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle at var(--position) var(--position),
            rgba(255, 255, 255, 0.5) calc(var(--position) / 4),
            transparent 0) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg),
            black,
            transparent 10% 90%,
            black);
    border-radius: inherit;
    opacity: 1;
    z-index: -1;
}

/* Inner Shimmer*/
.btn-hero-primary::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;

    --animation: shimmer linear infinite;
    width: 120%;
    /* A bit wider for a better effect */
    aspect-ratio: 1;
    background: linear-gradient(-50deg,
            transparent,
            var(--accent-subtle),
            transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
}

/* Inner Content Span for Alignment and Glow effect */
.btn-hero-primary span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1;
}

.btn-hero-primary span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;

    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--accent-hover);
    opacity: 0;
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
}

.btn-hero-primary img {
    height: 40px;
    margin-right: var(--space-sm);
}

/* Animation & Hover State */
.btn-hero-primary,
.btn-hero-primary::before,
.btn-hero-primary::after {
    animation: var(--animation) var(--duration),
        var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
}

.btn-hero-primary:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--accent-subtle);
    transform: translateY(-3px);

    &,
    &::before,
    &::after {
        animation-play-state: running;
    }

    & span::before {
        opacity: 1;
    }
}

.btn-hero-primary:active {
    transform: translateY(1px);
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shimmer {
    to {
        rotate: 360deg;
    }
}

@keyframes breathe {

    from,
    to {
        scale: 1;
    }

    50% {
        scale: 1.2;
    }
}

.hero-meta {
    margin-top: var(--space-md);
    font-size: 14px;
    color: var(--text-tertiary);
}

.hero-visual {
    position: relative;
    max-width: var(--container-max);
    margin: var(--space-4xl) auto 0;
    padding: 0 var(--space-lg);
}

.time-waste-wrapper {
    --scale: scale(1);
    --delay: 0s;

    position: absolute;
    z-index: 500;
    width: fit-content;
    margin: 0;
    animation: timewaste-in ease 1s forwards;
    animation-delay: calc(0s + var(--delay));
    transform: translate(-50%, -30%) var(--scale);
}

.time-waste-wrapper.a {
    --delay: 0.1s;
    top: 10%;
    left: 30%;
}

.time-waste-wrapper.b {
    --delay: 0.2s;
    top: 20%;
    left: 70%;
}

.time-waste-wrapper.c {
    --delay: 0.3s;
    top: 36%;
    left: 22%;
}

.time-waste-wrapper.d {
    --delay: 0.4s;
    top: 62%;
    left: 78%;
}

.time-waste-wrapper.e {
    --delay: 0.5s;
    top: 78%;
    left: 25%;
}

.time-waste-wrapper.f {
    --delay: 0.6s;
    top: 40%;
    left: 74%;
}

.time-waste-wrapper.g {
    --delay: 0.7s;
    top: 60%;
    left: 28%;
}

.time-waste-wrapper.h {
    --delay: 0.8s;
    top: 88%;
    left: 73%;
}

.time-waste {
    position: relative;
    font-size: 18px;
    font-family: var(--font-stack);
    border-radius: 666px;
    padding: 12px 28px;
    border: 1px solid var(--border-subtle);
    color: var(--text-tertiary);

    animation: timewaste-bounce 10s ease-in-out infinite;
    animation-delay: calc(var(--delay) * -1);
}

.time-waste::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text-secondary);
    height: 1px;
    width: 0;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: timewaste-line ease-in .5s forwards 1;
    animation-delay: calc(0.8s + var(--delay));
}

.time-waste-wrapper.behind {
    --scale: scale(0.9);
    z-index: 0;
    filter: blur(2px);
}


/* Your existing keyframes remain unchanged */
@keyframes timewaste-in {
    0% {
        transform: translate(-50%, -30%) var(--scale);
    }

    100% {
        transform: translate(-50%, -50%) var(--scale);
    }
}

@keyframes timewaste-line {
    0% {
        width: 0;
    }

    100% {
        width: calc(100% - 32px);
    }
}

@keyframes timewaste-bounce {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-10%);
    }

    50% {
        transform: translateY(5%);
    }

    75% {
        transform: translateY(-5%);
    }

    100% {
        transform: translateY(0);
    }
}

/* --- Problem Section --- */
.problem-section {
    padding: var(--space-5xl) 0;
    background-color: var(--bg-primary);
}

.section-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-headline {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
}

.section-lead {
    font-size: clamp(18px, 2vw, 20px);
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.6;
}


.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.stat-card {
    /* Base styles */
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    text-align: center;

    /* Required for positioning the dot pattern */
    position: relative;
    overflow: hidden;
    /* Ensures dots don't leak out during transitions */

    /* Make sure all properties, including the new border-color, transition smoothly */
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* The dot pattern pseudo-element */
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    --dot-space: 16px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--border-default) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);

    opacity: 0;
    transition: opacity var(--transition-base);
}

/* The hover state that brings everything to life */
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
    /* New border color on hover */
}

/* Reveal the dot pattern on hover */
.stat-card:hover::before {
    opacity: 1;
}

/* Ensure the text content stays above the dot pattern */
.stat-number,
.stat-label {
    position: relative;
    z-index: 1;
}

/* --- Your original text styles (unchanged) --- */
.stat-number {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Solution Section --- */
.solution-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.solution-intro {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.feature-showcase {
    margin: var(--space-3xl) 0;
    position: relative;
}

.showcase-video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.showcase-image:hover {
    transform: scale(1.01);
}

.how-it-works {
    margin-top: var(--space-4xl);
}

.subsection-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.step-card {
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    --dot-space: 16px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--border-default) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);

    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);

    opacity: 0;
    transition: opacity var(--transition-base);
}

.step-card:hover::before {
    opacity: 1;
}

.step-card-icon,
.step-number,
.step-title,
.step-description {
    position: relative;
    z-index: 1;
}

.step-card-icon {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 28px;
    height: 28px;
    color: var(--border-default);
    transition: color var(--transition-base);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.step-card:hover .step-card-icon {
    color: var(--accent-primary);
}


@media (min-width: 960px) {
    .step-card::after {
        content: '';
        position: absolute;
        top: 110px;
        left: calc(100% + 2px);
        width: calc(var(--space-xl) - 4px);
        height: 2px;
        background-image: repeating-linear-gradient(to right,
                var(--border-default),
                var(--border-default) 4px,
                transparent 4px,
                transparent 10px);
    }

    .steps-grid .step-card:last-child::after {
        display: none;
    }
}


.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end));
    color: var(--text-inverse);
    border-radius: var(--radius-full);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}


/* --- Nudges Section --- */
.nudges-section {
    padding: var(--space-5xl) var(--space-lg);
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* New: A subtle background gradient for the whole section */
.nudges-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, var(--bg-secondary) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

/* Ensure section content is above the background effect */
.nudges-section .section-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.section-lead {
    max-width: 65ch;
    margin: var(--space-md) auto 0;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.nudges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    text-align: left;
}

/* --- The Upgraded Nudge Card --- */
.nudge-card {
    background: var(--bg-elevated);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    /* More pronounced radius */
    border: 1px solid var(--border-default);
    position: relative;
    overflow: hidden;
    /* Transition multiple properties for a smooth effect */
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Layer 1: The Dot Pattern (fades in on top) */
.nudge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    --dot-space: 16px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--border-default) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);

    opacity: 0;
    transition: opacity var(--transition-base);
}

/* Layer 2: The Glow (appears behind the card) */
.nudge-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    /* Slightly larger than the card */
    z-index: -1;
    /* Positioned behind the card */
    background: radial-gradient(ellipse at center, var(--accent-subtle) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

/* --- Hover State --- */
.nudge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-subtle);
}

.nudge-card:hover::before {
    /* Fade in dots */
    opacity: 1;
}

.nudge-card:hover::after {
    /* Fade in glow */
    opacity: 0.8;
}

/* --- Card Content Styling --- */

/* Ensure all content is on top of the dot pattern */
.nudge-icon,
.nudge-card-content {
    position: relative;
    z-index: 1;
}

.nudge-icon {
    margin-bottom: var(--space-md);
}

/* New styled container for the icon */
.nudge-icon img {
    position: absolute;
    right: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 156px;
    height: 156px;
    font-size: 28px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    animation: bounce-nudge 10s ease-in-out infinite;
}

/* Staggered animation delays */
.nudge-card:nth-child(2) .nudge-icon img {
    animation-delay: 0.2s;
}

.nudge-card:nth-child(3) .nudge-icon img {
    animation-delay: 0.4s;
}

.nudge-card:nth-child(4) .nudge-icon img {
    animation-delay: 0.6s;
}

.nudge-card:nth-child(5) .nudge-icon img {
    animation-delay: 0.8s;
}

.nudge-card:nth-child(6) .nudge-icon img {
    animation-delay: 1.0s;
}

.nudge-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 100px;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}

.nudge-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    min-height: 64px;
    /* Give cards a consistent height */
}

/* The reveal animation for the example */
.nudge-example {
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);

    font-family: 'SF Mono', 'Courier New', monospace;
}

/* Reveal the example on card hover */
.nudge-card:hover .nudge-example {
    opacity: 1;
    transform: translateY(0);
}

/* --- Keyframes for bounce animation (add if you don't have it) --- */
@keyframes bounce-nudge {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-8px);
    }
}

/* ================================================================= */
/* NEW: CSS @property definitions for animation             */
/* ================================================================= */
/* These are required for the smooth gradient animations on the cards. */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: rgba(255, 255, 255, 0.8);
    inherits: false;
}

/* ================================================================= */
/* NEW: Multi-Platform Section Styles                   */
/* ================================================================= */
.platforms-section {
    padding: var(--space-5xl) var(--space-lg);
    background-color: var(--bg-primary);
    text-align: center;
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

/* Base styles for the platform card */
.platform-card {
    --animation-duration: 8s;
    /* Slow animation by default */
    --platform-accent-color: var(--accent-primary);
    /* Default accent */

    flex: 1;
    min-width: 250px;
    width: 18%;
    max-width: 50%;
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2px;
    /* Space for the border to sit "outside" */
    border-radius: var(--radius-xl);

    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-card:not(.comming-soon):hover {
    transform: translateY(-8px);
}

/* The card's content area and animated border */
.platform-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary50);
    box-shadow: var(--bg-primary) 0 0 64px -16px inset;
    border-radius: calc(var(--radius-xl) - 2px);
    backdrop-filter: blur(16px);
    height: 100%;
    position: relative;
    z-index: 2;
}

/* The animated conic-gradient border */
.platform-card:not(.comming-soon)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
    border-radius: inherit;
    background: conic-gradient(from var(--gradient-angle),
            transparent 20%,
            var(--platform-accent-color),
            var(--gradient-shine),
            var(--platform-accent-color),
            transparent 80%);
    animation: gradient-angle var(--animation-duration) linear infinite;
}

/* Dots and Shimmer effects on Hover */
.platform-card::after,
.platform-card .platform-logo-wrapper::before {
    content: '';
    position: absolute;
    z-index: -1;
    transition: opacity 500ms ease;
}

/* Dot pattern that fades in on hover */
.platform-card:not(.comming-soon)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 6;

    /* Dot pattern styles */
    --dot-space: 12px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--platform-accent-color) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);
    mask-image: linear-gradient(to top, black, transparent);

    /* Soft mask for a gentle fade effect */
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    opacity: 0.2;
    /* Make it visible by default */
}

/* Inner glow that fades in on hover */
.platform-logo-wrapper::before {
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--platform-accent-color), transparent 60%);
    transform: translateY(30%) scale(2);
    opacity: 0.1;
}

.platform-card:not(.comming-soon):hover::after,
.platform-card:not(.comming-soon):hover .platform-logo-wrapper::before {
    opacity: 0.3;
}

/* Card Content Styling */
.platform-logo-wrapper {
    position: relative;
    /* For the glow pseudo-element */
}

.platform-logo {
    width: 48px;
    height: 48px;
    color: var(--platform-accent-color);
    fill: var(--platform-accent-color);
}

.platform-title {
    font-size: 22px;
    font-weight: 600;
}

.platform-store {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.comming-soon {
    cursor: unset;
    opacity: 0.5;
    animation: none;
}

.comming-soon .platform-title {
    opacity: 0.5;
}

/* ================================================================= */
/* NEW: Browser-specific Color Theming                  */
/* ================================================================= */
.platform-card--safari {
    --platform-accent-color: #61bde7;
}

.platform-card--chrome {
    --platform-accent-color: #4285F4;
}

.platform-card--firefox {
    --platform-accent-color: #FF7139;
}

.platform-card--edge {
    --platform-accent-color: #0078D7;
}

.platform-card--generic {
    --platform-accent-color: var(--text-tertiary);
}

/* --- Privacy Section --- */
.privacy-section {
    padding: var(--space-5xl) var(--space-lg);
    /* Add horizontal padding */
    background: var(--bg-secondary);
}

/* New: Main two-column layout for the section */
.privacy-layout {
    display: grid;
    /* Responsive grid: two columns on desktop, one on mobile */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* New: The main card that contains the headline and dot pattern */
.privacy-feature-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-2xl);
    /* Softer radius */
    padding: var(--space-2xl) var(--space-xl);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Make it match the height of the grid */
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* The signature dot pattern, now a permanent background element */
.privacy-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

    /* Dot pattern styles */
    --dot-size: 3px;
    --dot-space: 16px;
    background: radial-gradient(circle at var(--dot-size) var(--dot-size),
            var(--border-default) calc(var(--dot-size) / 2),
            transparent 0);
    background-size: var(--dot-space) var(--dot-space);

    /* Soft mask for a gentle fade effect */
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    opacity: 0.7;
    /* Make it visible by default */
}

/* Ensure text content is on top of the dots */
.privacy-feature-card .section-headline,
.privacy-feature-card .section-subheadline {
    position: relative;
    z-index: 1;
}

.section-headline {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.section-subheadline {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 40ch;

    text-align: center;
    margin: 0 auto;
}

/* New: Grid container for the smaller benefit cards */
.privacy-benefits-grid {
    display: grid;
    gap: var(--space-lg);
}

/* Updated: Styling for the individual benefit cards */
.privacy-benefit-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: var(--bg-elevated);
    padding: var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    /* Start with a transparent border */
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.privacy-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-subtle);
    /* Reveal border on hover */
}

/* New: A stylish circular container for the icons */
.privacy-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent the circle from shrinking */
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 24px;
}

.privacy-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.privacy-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Testimonial Section --- */
.testimonial-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: var(--accent-subtle);
    font-family: Georgia, serif;
    opacity: 0.5;
}

.testimonial-text {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    font-size: 16px;
    color: var(--text-tertiary);
    font-style: normal;
    font-weight: 500;
}



/* --- CTA Section --- */
.cta-section {
    padding: var(--space-5xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -20vw;
    left: -20vw;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30vw;
    right: -30vw;
    width: 85vw;
    height: 85vw;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite reverse;
}

.cta-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -1.5px;
}

.cta-description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.5;
}

.cta-actions {
    margin-bottom: var(--space-3xl);
}

.cta-section .cta-actions .btn-hero-primary {
    transform: scale(1.3);
}

.cta-meta {
    margin-top: var(--space-md);
    font-size: 14px;
    color: var(--text-tertiary);
}

.cta-image {
    margin-top: var(--space-3xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-smooth);
}

.cta-image:hover {
    transform: scale(1.02) rotateZ(0.5deg);
}

/* --- Footer --- */
.footer {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-gradient-start);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

.footer-brand {
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(1deg);
    }

    50% {
        transform: translateY(0) rotate(-1deg);
    }

    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Responsive Design --- */
@media (max-width: 900px) { 
    .time-waste-wrapper.a { 
        left: 15%;
    } 
    .time-waste-wrapper.b { 
        left: 85%;
    } 
    .time-waste-wrapper.c { 
        left: 7%;
    } 
    .time-waste-wrapper.d { 
        left: 83%;
    } 
    .time-waste-wrapper.e { 
        left: 14%;
        top: 70%;
    } 
    .time-waste-wrapper.f { 
        left: 78%;
    } 
    .time-waste-wrapper.g { 
        top: 57%;
        left: 19%;
    } 
    .time-waste-wrapper.h { 
        left: 82%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: calc(80px + var(--space-3xl));
        padding-bottom: var(--space-3xl);
    }

    .stats-grid,
    .steps-grid,
    .nudges-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .section-content {
        padding: 0 var(--space-md);
    }

    .btn-hero-primary,
    .btn-cta-primary {
        font-size: 16px;
        padding: var(--space-md) var(--space-lg);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    .action-buttons {
        gap: 12px;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .action-buttons {
        width: fit-content;
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 500px) {

    .nav-cta {
        font-size: 12px;
        padding: var(--space-xs) var(--space-md);
        display: none;
    }

    .hero-headline {
        font-size: 36px;
    }

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

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus Visible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --border-default: rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    @media (prefers-color-scheme: dark) {
        :root {
            --border-default: rgba(255, 255, 255, 0.3);
        }
    }
}




.test {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    height: 100vh;
    width: 100%;
}

.test .media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    width: 300px;
    background: var(--bg-secondary);
    text-decoration: none;
    gap: 20px;
    font-size: 18px;
    padding: 12px;
    border-radius: 80px;
    ;
    border: 1px solid var(--border-subtle);
    transition: transform ease .2s;
}

.test .media:first-of-type,
.test .media:last-of-type {
    opacity: 0.3;
}

.test .media:nth-of-type(2),
.test .media:nth-last-of-type(2) {
    opacity: 0.6;
}

.test .media:hover {
    transform: scale(1.1);
}

.test .media img {
    height: 32px;
}

.test .media p {
    margin: 0;
    color: var(--text-primary);
}

/* --- FAQ Section --- */
.faq-section {
    padding: var(--space-4xl) var(--space-lg) var(--space-5xl);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.faq-container {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-default);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    padding: var(--space-lg);
    cursor: pointer;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--text-primary);
}

.faq-question::-webkit-details-marker {
    display: none;
    /* Hide default marker in WebKit */
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    transition: transform var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item[open] .faq-question {
    color: var(--accent-primary);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow: hidden;
}

/* Smooth open/close animation using a grid technique */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-slow);
}

.faq-answer p {
    overflow: hidden;
}

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

.use-cases-section{
    width: calc(100% - (2 * var(--space-4xl)));
    max-width: calc(var(--container-max) - (4 * var(--space-4xl)));
    margin: var(--space-4xl) var(--space-4xl) 0;
    padding: var(--space-3xl);
    background: var(--bg-elevated);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-subtle);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.thank-you-container .use-cases-section {
    margin: var(--space-4xl) 0 0;
    width: 100%;
    max-width: unset;
}

.use-cases-title {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1;
}

.use-cases-subtitle {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.use-case-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    font-size: 14px;
    transition: all var(--transition-base);
}

.use-case-badge:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.use-case-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-3xl);
}

.quick-action-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
    background: var(--accent-subtle);
}

.success-message {
    color: #fff;
    background: radial-gradient(100% 100% at 50% -10%, rgba(255, 255, 255, 0.546) -30%, var(--accent-primary50) 80%);
    box-shadow: inset var(--accent-subtle) 0 1px 17px -2px, var(--shadow-sm);
    width: 100%;
    max-width: 900px;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 500;
    margin: 16px auto 16px;
    animation: slideDown 0.6s ease-out;
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.emoji-icon {
    font-size: 64px;
    text-align: center;
    animation: pop-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: var(--space-2xl) var(--space-lg);
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-action-btn {
        width: 100%;
        justify-content: center;
    }
}

.use-case-badge {
    cursor: pointer;
}

.use-case-badge.active {
    background: var(--accent-subtle);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

#site-suggestions-container {
    margin-top: var(--space-xl);
    position: relative;
}

.site-suggestions-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: max-height var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
    max-height: 0px;
    visibility: hidden;
}

.site-suggestions-card.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    max-height: 500px;
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    gap: var(--space-md);
}

.suggestion-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.copy-btn:hover {
    border-color: var(--accent-primary);
    background: var(--accent-subtle);
}

.copy-btn.copied {
    background: #28a745;
    border-color: #28a745;
    color: var(--text-inverse);
}

.copy-btn .copy-icon {
    width: 16px;
    height: 16px;
}

.suggestion-list-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: var(--space-md);
}

.suggestion-list {
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 150px;
    overflow-y: auto;
}