/* =========================================================================
   Evergreen Gift Card Website Styles
   The Skin Room - Customizable Template System
   ========================================================================= */

/* =========================================================================
   Theme Variables - Easy Customization
   ========================================================================= */

:root {
    /* Brand Colors - Easy to customize */
    --primary-dark: #1c1917;
    --primary-deep: #231f1d;
    --primary-mid: #2a2724;
    --primary-accent: #352f2b;

    --gold: #DBAF5B;
    --gold-text: #8B6914;          /* Darker gold for text contrast (WCAG AA) */
    --light-gold: #e8d5a3;
    --champagne: #F5F1E8;
    --cream: #faf8f5;
    --white: #ffffff;

    /* Text Colors */
    --text-primary: #1c1917;
    --text-secondary: #6b6562;
    --text-muted: #7a7572;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-light-secondary: rgba(255, 255, 255, 0.7);

    /* Borders */
    --border-light: #E8E4DF;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Typography - Font Families */
    --font-serif: 'Cormorant', Georgia, serif;
    --font-sans: 'Jost', sans-serif;

    /* Typography Scale - 18px base, Major Third (1.125) */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1.125rem; /* 18px */
    --font-size-lg: 1.25rem;    /* 20px */
    --font-size-xl: 1.5rem;     /* 24px */
    --font-size-2xl: 1.75rem;   /* 28px */
    --font-size-3xl: 2rem;      /* 32px */
    --font-size-4xl: 2.5rem;    /* 40px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.5rem;    /* 56px */
    --font-size-7xl: 4rem;      /* 64px */

    /* Theme-aware Background & Text System */
    --bg-dark: #1c1917;
    --bg-accent: #F5F1E8;           /* Champagne - warm beige accent */
    --bg-light: #faf8f5;            /* Cream */
    --nav-bg: rgba(28, 25, 23, 0.85);

    --heading-on-dark: #faf8f5;
    --text-on-dark: rgba(255, 255, 255, 0.9);
    --text-secondary-on-dark: rgba(255, 255, 255, 0.7);

    /* Accent is LIGHT in evergreen (champagne), so use dark text */
    --heading-on-accent: #1c1917;
    --text-on-accent: #1c1917;
    --text-secondary-on-accent: #5c5754;

    --heading-on-light: #1c1917;
    --text-on-light: #1c1917;
    --text-secondary-on-light: #5c5754;

    /* Muted text - decorative numbers, hints, notes */
    --text-muted-on-dark: rgba(255, 255, 255, 0.5);
    --text-muted-on-accent: #6b6562;
    --text-muted-on-light: #6b6562;

    /* Borders */
    --border-on-dark: rgba(255, 255, 255, 0.15);
    --border-on-accent: rgba(28, 25, 23, 0.15);
    --border-on-light: #E8E4DF;

    /* Subtle borders */
    --border-subtle-on-dark: rgba(255, 255, 255, 0.08);
    --border-subtle-on-accent: rgba(28, 25, 23, 0.08);
    --border-subtle-on-light: rgba(28, 25, 23, 0.08);

    /* Decorative elements */
    --decorative-on-dark: rgba(255, 255, 255, 0.4);
    --decorative-on-accent: rgba(28, 25, 23, 0.35);
    --decorative-on-light: rgba(28, 25, 23, 0.35);

    /* Icon colors */
    --icon-on-dark: rgba(255, 255, 255, 0.7);
    --icon-on-accent: #1c1917;
    --icon-on-light: #1c1917;

    /* Checkmarks */
    --checkmark-on-dark: var(--gold);
    --checkmark-on-accent: var(--gold);
    --checkmark-on-light: var(--gold);

    /* Card backgrounds */
    --card-bg-on-dark: rgba(255, 255, 255, 0.05);
    --card-bg-on-accent: rgba(255, 255, 255, 0.5);
    --card-bg-on-light: rgba(245, 243, 240, 0.5);
}

/* Holiday Theme - Burgundy/Gold Winter Palette */
:root[data-theme="holiday"] {
    --primary-dark: #1a0505;
    --primary-deep: #2a0a0a;
    --primary-rich: #6b1c1c;
    --primary-accent: #3d1010;
    --primary-mid: #4a1515;

    --gold: #c9a962;
    --light-gold: #e8d5a3;
    --cream: #faf6f0;
    --warm-white: #fff9f0;

    --text-primary: #2a0a0a;
    --text-secondary: #3d1010;
    --text-muted: #5a2020;

    --border-light: rgba(201, 169, 98, 0.2);
    --border-medium: rgba(201, 169, 98, 0.3);

    /* Theme-aware Background & Text System */
    --bg-dark: #1a0505;
    --bg-accent: #6b1c1c;
    --bg-light: #faf6f0;
    --nav-bg: rgba(26, 5, 5, 0.9);

    --heading-on-dark: #faf6f0;
    --text-on-dark: rgba(250, 246, 240, 0.9);
    --text-secondary-on-dark: rgba(250, 246, 240, 0.7);

    --heading-on-accent: #faf6f0;
    --text-on-accent: rgba(250, 246, 240, 0.9);
    --text-secondary-on-accent: rgba(250, 246, 240, 0.7);

    --heading-on-light: #2a0a0a;
    --text-on-light: #3d1010;
    --text-secondary-on-light: #5a2020;

    /* Muted text */
    --text-muted-on-dark: rgba(250, 246, 240, 0.5);
    --text-muted-on-accent: rgba(250, 246, 240, 0.6);
    --text-muted-on-light: #8a4a4a;

    /* Borders */
    --border-on-dark: rgba(201, 169, 98, 0.2);
    --border-on-accent: rgba(250, 246, 240, 0.2);
    --border-on-light: rgba(107, 28, 28, 0.15);

    /* Subtle borders */
    --border-subtle-on-dark: rgba(201, 169, 98, 0.1);
    --border-subtle-on-accent: rgba(250, 246, 240, 0.1);
    --border-subtle-on-light: rgba(107, 28, 28, 0.08);

    /* Decorative elements */
    --decorative-on-dark: rgba(250, 246, 240, 0.4);
    --decorative-on-accent: rgba(250, 246, 240, 0.5);
    --decorative-on-light: rgba(107, 28, 28, 0.4);

    /* Icon colors */
    --icon-on-dark: rgba(250, 246, 240, 0.7);
    --icon-on-accent: rgba(250, 246, 240, 0.85);
    --icon-on-light: #5a2020;

    /* Checkmarks */
    --checkmark-on-dark: var(--gold);
    --checkmark-on-accent: var(--gold);
    --checkmark-on-light: #8a4a4a;

    /* Card backgrounds */
    --card-bg-on-dark: rgba(250, 246, 240, 0.05);
    --card-bg-on-accent: rgba(0, 0, 0, 0.15);
    --card-bg-on-light: rgba(107, 28, 28, 0.05);
}

/* =========================================================================
   Base Styles & Reset
   ========================================================================= */

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   Typography
   ========================================================================= */

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: var(--font-size-2xl);
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* =========================================================================
   Navigation
   ========================================================================= */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-dark);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text-light-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a.back-link svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    padding: 0.5rem;
}

/* =========================================================================
   Hero Section - Full Screen Evergreen
   ========================================================================= */

.hero {
    min-height: 100vh;
    margin-top: 0;
    padding-top: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Subtle gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Soft gold ambient glow */
.hero::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(
        ellipse at center,
        rgba(219, 175, 91, 0.04) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem 3.75rem;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero h1 .accent {
    display: block;
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-style: italic;
    color: var(--text-light-secondary);
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

/* Hero actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

/* Hero subtext */
.hero-subtext {
    margin-top: 1.5rem;
    font-size: var(--font-size-base);
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* =========================================================================
   Scroll Indicator
   ========================================================================= */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.scroll-indicator a:hover {
    color: var(--gold);
}

.scroll-indicator span {
    font-size: var(--font-size-sm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: currentColor;
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gold);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* =========================================================================
   Container
   ========================================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.75rem;
}

/* Inner Container - Constrained width for text content */
.inner {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.inner.text-center {
    text-align: center;
}

/* =========================================================================
   Background Type Utilities - Theme-Aware System
   ========================================================================= */

/* DARK Background Sections (hero, footer) */
.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--heading-on-dark);
}
.bg-dark p, .bg-dark li, .bg-dark blockquote {
    color: var(--text-on-dark);
}
.bg-dark .section-label,
.bg-dark .text-secondary {
    color: var(--text-secondary-on-dark);
}

/* ACCENT Background Sections (features, promos) */
.bg-accent {
    background-color: var(--bg-accent);
    color: var(--text-on-accent);
}
.bg-accent h1, .bg-accent h2, .bg-accent h3, .bg-accent h4 {
    color: var(--heading-on-accent);
}
.bg-accent p, .bg-accent li, .bg-accent blockquote {
    color: var(--text-on-accent);
}
.bg-accent .section-label,
.bg-accent .text-secondary {
    color: var(--text-secondary-on-accent);
}

/* LIGHT Background Sections (cream/white) */
.bg-light {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4 {
    color: var(--heading-on-light);
}
.bg-light p, .bg-light li, .bg-light blockquote {
    color: var(--text-on-light);
}
.bg-light .section-label,
.bg-light .text-secondary {
    color: var(--text-secondary-on-light);
}

/* =========================================================================
   Extended Background Utilities - Secondary Elements
   ========================================================================= */

/* DARK Background - Extended Properties */
.bg-dark .text-muted,
.bg-dark .step-number,
.bg-dark .delivery-note,
.bg-dark .minimum-note {
    color: var(--text-muted-on-dark);
}
.bg-dark .delivery-icon svg {
    color: var(--icon-on-dark);
}
.bg-dark .services-list li::before {
    color: var(--checkmark-on-dark);
}
.bg-dark .why-quote,
.bg-dark .form-section-title,
.bg-dark .form-subsection {
    border-color: var(--border-on-dark);
}
.bg-dark .services-list li {
    border-color: var(--border-subtle-on-dark);
}
.bg-dark .delivery-card {
    background: var(--card-bg-on-dark);
}
/* Note: .value-card uses white background so no dark mode overrides needed */

/* ACCENT Background - Extended Properties */
.bg-accent .text-muted,
.bg-accent .step-number,
.bg-accent .delivery-note,
.bg-accent .minimum-note {
    color: var(--text-muted-on-accent);
}
.bg-accent .delivery-icon svg {
    color: var(--icon-on-accent);
}
.bg-accent .services-list li::before {
    color: var(--checkmark-on-accent);
}
.bg-accent .why-quote,
.bg-accent .form-section-title,
.bg-accent .form-subsection {
    border-color: var(--border-on-accent);
}
.bg-accent .services-list li {
    border-color: var(--border-subtle-on-accent);
}
.bg-accent .delivery-card {
    background: var(--card-bg-on-accent);
}

/* LIGHT Background - Extended Properties */
.bg-light .text-muted,
.bg-light .step-number,
.bg-light .delivery-note,
.bg-light .minimum-note {
    color: var(--text-muted-on-light);
}
.bg-light .delivery-icon svg {
    color: var(--icon-on-light);
}
.bg-light .services-list li::before {
    color: var(--checkmark-on-light);
}
.bg-light .why-quote,
.bg-light .form-section-title,
.bg-light .form-subsection {
    border-color: var(--border-on-light);
}
.bg-light .services-list li {
    border-color: var(--border-subtle-on-light);
}
.bg-light .delivery-card {
    background: var(--card-bg-on-light);
}
.bg-light .delivery-desc {
    color: var(--text-on-light);
}

/* =========================================================================
   Section Styles
   ========================================================================= */

.section-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* =========================================================================
   Check Balance Section
   ========================================================================= */

.check-balance {
    padding: 8rem 0;
    padding-top: calc(120px + 8rem);
    background: var(--white);
}

.check-balance-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.check-balance h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.check-balance > .container > .check-balance-content > p {
    margin-bottom: 3rem;
}

.balance-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.balance-form input#card-number {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.15em;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.balance-form input {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light);
    background: var(--white);
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.1em;
    transition: border-color 0.3s ease;
}

.balance-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.balance-form input::placeholder {
    color: var(--text-muted);
}

.balance-form button {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--primary-dark);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.balance-form button:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.balance-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--champagne);
    display: none;
}

.balance-result.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

.balance-result .balance-amount {
    font-family: var(--font-serif);
    font-size: var(--font-size-6xl);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.balance-result .balance-label {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

/* Error Banner */
.check-balance-content .error-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.check-balance-content .error-banner.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Card Number + PIN Row */
.balance-form .card-inputs {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.balance-form .card-inputs input#card-number {
    flex: 1;
}

.balance-form .card-inputs input#card-pin {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}

/* No PIN Checkbox */
.balance-form .no-pin-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    cursor: pointer;
    margin-top: 0.5rem;
}

.balance-form .no-pin-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.balance-form .no-pin-checkbox span {
    user-select: none;
}

/* Card Checked State (after successful balance check) */
.balance-form .card-checked {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.balance-form .card-ending {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.balance-form .check-another-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.balance-form .check-another-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

@media (max-width: 480px) {
    .balance-form .card-checked {
        flex-direction: column;
        gap: 1rem;
    }

    .balance-form .card-checked .card-ending,
    .balance-form .card-checked .check-another-btn {
        width: 100%;
        text-align: center;
    }
}

/* Button Loading State */
.balance-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.balance-form button .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Transaction History */
.transaction-history {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.transaction-history.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

.transaction-history h3 {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.transaction-history .table-wrapper {
    overflow-x: auto;
}

.transaction-history table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.transaction-history th,
.transaction-history td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.transaction-history th {
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.05em;
}

.transaction-history td {
    color: var(--text-primary);
}

/* Activity Type Badges */
.activity-type {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.activity-type-activate,
.activity-type-load,
.activity-type-adjust_increment,
.activity-type-refund {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.activity-type-redeem,
.activity-type-adjust_decrement {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.activity-type-clear_balance,
.activity-type-deactivate {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Amount Colors */
.transaction-history td.amount.positive {
    color: #16a34a;
}

.transaction-history td.amount.negative {
    color: #dc2626;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .transaction-history th,
    .transaction-history td {
        padding: 0.5rem;
        font-size: var(--font-size-xs);
    }

    .activity-type {
        padding: 0.15rem 0.35rem;
        font-size: 0.65rem;
    }
}

/* =========================================================================
   Purchase Section
   ========================================================================= */

.purchase-section {
    padding: 8rem 0;
}

.purchase-section h2 {
    margin-bottom: 1.5rem;
}

.purchase-section .inner > p {
    margin-bottom: 3rem;
}

/* Amount Selection */
#amount-selection {
    text-align: center;
    transition: opacity 0.3s ease, max-height 0.4s ease;
}

#amount-selection.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.amount-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.amount-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1.25rem 1rem;
    min-height: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-main {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-on-light);
}

.amount-bonus {
    font-family: var(--font-sans);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.amount-btn:hover {
    border-color: var(--gold);
}

.amount-btn.active {
    border-color: var(--gold);
    background: var(--gold);
}

.amount-btn.active .amount-main {
    color: var(--primary-dark);
}

.amount-btn.active .amount-bonus {
    color: var(--primary-dark);
}

.custom-input-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.custom-input-wrapper.visible {
    max-height: 100px;
    opacity: 1;
    margin-bottom: 2rem;
}

.custom-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.currency-symbol {
    font-family: var(--font-serif);
    font-size: var(--font-size-4xl);
    line-height: 1;
}

#custom-amount {
    font-family: var(--font-serif);
    font-size: var(--font-size-4xl);
    line-height: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 0.5rem 0;
    width: 180px;
    text-align: left;
    outline: none;
    -moz-appearance: textfield;
}

#custom-amount::-webkit-outer-spin-button,
#custom-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#custom-amount:focus {
    border-color: var(--gold);
}

#custom-amount::placeholder {
    color: var(--text-muted);
}

.minimum-note {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.amount-error {
    font-size: var(--font-size-base);
    color: #b91c1c;
    font-weight: 500;
    margin-top: 0.75rem;
    display: none;
}

.amount-error.visible {
    display: block;
}

/* Value Card (Combined Amount + Bonus Display) */
.value-card {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease, max-height 0.5s ease, margin-bottom 0.5s ease;
}

.value-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    max-height: 300px;
    margin-bottom: 2.5rem;
}

.value-card-inner {
    background: var(--white);
    border: 1px solid var(--border-light);
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
}

/* Hero section with big total value */
.value-hero {
    padding: 2rem 2.5rem 1.5rem;
    text-align: center;
}

.value-amount {
    font-family: var(--font-serif);
    font-size: var(--font-size-6xl);
    line-height: 1;
    color: var(--heading-on-light);
}

.value-label {
    font-size: var(--font-size-base);
    color: var(--text-secondary-on-light);
    margin-top: 0.5rem;
}

/* Breakdown section */
.value-breakdown {
    background: var(--background);
    border-top: 1px solid var(--border-light);
    padding: 1.25rem 2rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.breakdown-row:last-child {
    margin-bottom: 0;
}

.breakdown-label {
    font-size: var(--font-size-base);
    color: var(--text-on-light);
}

.breakdown-value {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    color: var(--text-on-light);
}

.breakdown-value.bonus-value {
    color: var(--gold-text);
    font-weight: 500;
}

.purchase-btn {
    display: none;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary-dark);
    border: none;
    padding: 1.25rem 3rem;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.3;
    pointer-events: none;
}

.purchase-btn.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.purchase-btn.active:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* =========================================================================
   Purchase Form
   ========================================================================= */

.purchase-details-form {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    transition: opacity 0.5s ease 0.1s, max-height 0.6s ease;
}

.purchase-details-form.visible {
    opacity: 1;
    max-height: 3000px;
    overflow: visible;
}

.amount-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.back-btn svg {
    width: 14px;
    height: 14px;
}

.banner-value {
    text-align: right;
}

.banner-total {
    font-family: var(--font-serif);
    font-size: var(--font-size-2xl);
    display: block;
}

.banner-breakdown {
    font-size: var(--font-size-sm);
    color: var(--gold-text);
    display: block;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section-title {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.form-row {
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field label {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: 0.5rem;
}

.form-field label .optional {
    color: var(--text-muted);
}

.form-field input,
.form-field select {
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--gold);
}

.form-field input::placeholder {
    color: var(--text-muted);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.toggle-options {
    display: flex;
    gap: 0.75rem;
}

.toggle-btn {
    flex: 1;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-on-light);
    -webkit-text-fill-color: var(--text-on-light);
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    border-color: var(--gold);
}

.toggle-btn.active {
    border-color: var(--gold);
    background: rgba(219, 175, 91, 0.1);
}

.recipient-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.recipient-section.visible {
    display: block;
}

.form-subsection {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

/* Form delivery options - scoped to override marketing section padding */
.form-subsection .delivery-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-option:hover {
    border-color: var(--gold);
}

.delivery-option.selected {
    border-color: var(--gold);
    background: rgba(219, 175, 91, 0.08);
}

.delivery-option .delivery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0.5rem;
}

.delivery-option .delivery-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-mid);
}

.delivery-label {
    display: flex;
    flex-direction: column;
}

.delivery-title {
    font-size: var(--font-size-base);
    font-weight: 500;
    margin: 0;
}

.delivery-desc {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin: 0;
}

.schedule-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.schedule-section.visible {
    display: block;
}

.submit-btn {
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary-dark);
    border: none;
    padding: 1.25rem 3rem;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn .btn-text,
.submit-btn .processing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn .processing-indicator.hidden {
    display: none;
}

.submit-btn .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Apple Pay */
.apple-pay-container {
    margin-bottom: 0.75rem;
}

#apple-pay-button {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: buy;
    -apple-pay-button-style: white-outline;
    width: 100%;
    height: 56px;
    border-radius: 4px;
    cursor: pointer;
}

/* Google Pay */
.google-pay-container {
    margin-bottom: 0.75rem;
}

#google-pay-button {
    width: 100%;
    min-width: 100%;
    height: 56px;
}

/* Force Google Pay iframe to full width */
#google-pay-button iframe,
#google-pay-button > div {
    width: 100% !important;
    min-width: 100% !important;
}

.payment-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted-on-light);
    -webkit-text-fill-color: var(--text-muted-on-light);
    font-size: 0.875rem;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-on-light);
}

.payment-divider span {
    padding: 0 1rem;
}

/* Square Card Container */
.card-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-on-dark);
    padding: 1rem;
    min-height: 50px;
}

/* Input with Status Indicator */
.input-with-status {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-status input {
    flex: 1;
    padding-right: 2.5rem;
}

.mx-status {
    position: absolute;
    right: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.mx-status svg {
    width: 1rem;
    height: 1rem;
}

.mx-status .check {
    color: #22c55e;
}

.mx-status .warning {
    color: #ef4444;
}

.mx-status .spinner-icon {
    color: var(--text-secondary-on-dark);
    animation: spin 1s linear infinite;
}

/* Field Errors */
.field-error {
    color: #ef4444;
    font-size: var(--font-size-sm);
    margin-top: 0.25rem;
}

/* Field Hints */
.field-hint {
    font-size: var(--font-size-sm);
    color: var(--text-muted-on-light);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Subscription Status */
.subscription-status {
    width: 100%;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.subscribe-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-on-light);
    font-size: var(--font-size-sm);
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-on-light);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
    line-height: 1.5;
}

.subscribe-checkbox:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--accent);
}

.subscribe-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.subscriber-bonus-msg {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #d4af37;
    font-size: var(--font-size-sm);
}

.subscriber-bonus-msg .bonus-icon {
    font-size: 1.2rem;
}

.subscriber-bonus-msg strong {
    color: #f5d76e;
}

/* Global Error Banner */
.error-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 2rem;
}

.success-screen .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-screen h2 {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.success-screen .order-ref {
    font-size: var(--font-size-sm);
    color: var(--text-secondary-on-light);
    margin-bottom: 2rem;
}

.success-screen .card-details {
    background: var(--white);
    border: 1px solid var(--border-on-light);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.success-screen .card-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-on-light);
    color: var(--text-on-light);
    text-align: left;
}

.success-screen .card-item:last-child {
    border-bottom: none;
}

.success-screen .card-label {
    font-weight: 500;
    color: var(--text-on-light);
}

.success-screen .card-amount {
    color: var(--gold);
    font-weight: 500;
}

.success-screen .card-type {
    font-size: var(--font-size-sm);
    color: var(--text-secondary-on-light);
}

/* =========================================================================
   Info Section (Legacy)
   ========================================================================= */

.info-section {
    padding: 8rem 0;
    background: var(--primary-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.info-item h3 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.info-item p {
    color: var(--text-light-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* =========================================================================
   How It Works Section - 3 Numbered Steps
   ========================================================================= */

.how-it-works {
    padding: 8rem 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.how-it-works .section-intro {
    text-align: center;
    font-size: var(--font-size-lg);
    margin-bottom: 5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.step-item {
    text-align: center;
}

.step-number {
    font-family: var(--font-serif);
    font-size: var(--font-size-6xl);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.step-item h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.step-item p {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* =========================================================================
   Delivery Options Section - 3 Delivery Cards
   ========================================================================= */

.delivery-options {
    padding: 8rem 0;
}

.delivery-options h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.delivery-grid--two-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.delivery-card {
    text-align: center;
    padding: 3rem 2rem;
}

.delivery-card .delivery-icon {
    margin-bottom: 1.5rem;
}

.delivery-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.delivery-card p {
    font-size: var(--font-size-base);
    line-height: 1.6;
}


/* =========================================================================
   Why They'll Love It Section - Emotional Benefits Grid
   ========================================================================= */

.why-gift {
    padding: 8rem 0;
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-gift h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.why-gift .section-intro {
    text-align: center;
    font-size: var(--font-size-xl);
    margin-bottom: 5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-bottom: 5rem;
}

.benefit-item h3 {
    font-family: var(--font-sans);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.why-quote {
    text-align: center;
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-style: italic;
    padding: 2rem 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

/* =========================================================================
   Services List Section - What Gift Cards Can Be Used For
   ========================================================================= */

.services-section {
    padding: 8rem 0;
}

.services-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 1.5rem;
}

.services-section .section-intro {
    font-size: var(--font-size-lg);
    margin-bottom: 3rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3rem;
}

.services-list li {
    position: relative;
    padding: 1rem 0 1rem 2rem;
    font-size: var(--font-size-lg);
    border-bottom: 1px solid var(--border-light);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
}

.services-tagline {
    font-size: var(--font-size-lg);
    line-height: 1.6;
}

.services-tagline strong {
    font-weight: 600;
}

/* =========================================================================
   About The Skin Room Section
   ========================================================================= */

.about-section {
    padding: 8rem 0;
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-section .inner p {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-tagline {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    font-style: italic;
    margin-top: 3rem;
}

/* =========================================================================
   FAQ Section - Questions Answered
   ========================================================================= */

.faq-section {
    padding: 8rem 0;
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 5rem;
}

.faq-item h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.faq-item p {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.faq-full-width {
    grid-column: 1 / -1;
}

/* =========================================================================
   Final CTA Section - Call to Action
   ========================================================================= */

.final-cta {
    padding: 8rem 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta h2 {
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: var(--font-size-lg);
    margin-bottom: 3rem;
}

.btn-large {
    font-size: var(--font-size-base);
    padding: 1.5rem 3.5rem;
}

/* =========================================================================
   Footer
   ========================================================================= */

footer {
    background: var(--primary-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-dark);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.footer-column h4 {
    font-family: var(--font-serif);
    font-size: var(--font-size-xl);
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-column p {
    color: var(--text-light-secondary);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

.footer-column a {
    color: var(--text-light-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
}

.footer-bottom a {
    color: var(--text-light-secondary);
    text-decoration: underline;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* =========================================================================
   Buttons - Global Styles
   ========================================================================= */

.btn {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--light-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(219, 175, 91, 0.4);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* =========================================================================
   Animations
   ========================================================================= */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   Scroll Reveal Animations
   ========================================================================= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================================
   Hero Offer Highlight (Seasonal Promotions)
   ========================================================================= */

.offer-highlight {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.offer-percentage {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.03em;
    text-shadow:
        0 0 60px rgba(201, 169, 98, 0.15),
        0 0 120px rgba(201, 169, 98, 0.08);
}

.offer-label {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 0.5rem;
}

.offer-detail {
    font-family: var(--font-serif);
    font-size: var(--font-size-lg);
    font-style: italic;
    color: rgba(250, 246, 240, 0.7);
    margin-top: 1rem;
}


/* =========================================================================
   Snow Canvas & Limited Time Text
   ========================================================================= */

#snow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.limited-time {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.6);
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* =========================================================================
   Terms & Conditions Footer
   ========================================================================= */

.terms-section {
    margin-top: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.terms-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.terms-toggle:hover {
    color: var(--gold);
}

.toggle-icon {
    font-size: var(--font-size-lg);
    line-height: 1;
}

.terms-content {
    max-height: 500px;
    overflow-y: auto;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(26, 5, 5, 0.2);
    border: 1px solid var(--border-light);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.8;
}

.terms-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
}

/* =========================================================================
   Responsive Design
   ========================================================================= */

@media (max-width: 900px) {
    .nav-container {
        padding: 1.25rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: var(--font-size-sm);
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* New sections responsive */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .delivery-grid,
    .delivery-grid--two-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Amount buttons 2-column layout at tablet/smaller desktop */
@media (max-width: 900px) {
    .amount-options {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .amount-btn {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        padding: 1.25rem 1rem;
        min-height: 5rem;
    }

    .amount-main {
        font-size: var(--font-size-lg);
    }

    .amount-bonus {
        font-size: var(--font-size-xs);
    }

    /* Value card sizing for tablet */
    .value-card-inner {
        max-width: 320px;
    }

    .value-hero {
        padding: 1.5rem 2rem 1rem;
    }

    .value-amount {
        font-size: var(--font-size-5xl);
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        font-size: var(--font-size-sm);
        letter-spacing: 0.1em;
        padding: 1rem 2rem;
    }

    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    .amount-options {
        gap: 0.5rem;
    }

    .amount-btn {
        padding: 1rem 0.75rem;
        min-height: 4.5rem;
    }

    .amount-main {
        font-size: var(--font-size-base);
    }

    .amount-bonus {
        font-size: var(--font-size-xs);
    }

    /* Value card sizing for mobile */
    .value-hero {
        padding: 1rem 1.5rem 0.75rem;
    }

    .value-amount {
        font-size: var(--font-size-4xl);  /* Large prominent total */
    }

    .value-label {
        font-size: var(--font-size-sm);
    }

    .breakdown-label {
        font-size: var(--font-size-base);
    }

    .breakdown-value {
        font-size: var(--font-size-xl);  /* Prominent amounts */
    }

    .bonus-value {
        font-size: var(--font-size-xl);  /* Prominent amounts */
    }

    /* Purchase button matches amount button sizing on mobile */
    .purchase-btn {
        padding: 1rem 0.75rem;
        min-height: 4.5rem;
        font-size: var(--font-size-base);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        padding: 1.5rem;
        gap: 1.5rem;
    }

    /* Header/Logo scaling for mobile */
    .logo-image {
        height: 40px;
    }

    .nav-container {
        padding: 0.75rem 1.5rem;
    }

    /* Hero typography scaling for mobile */
    .hero {
        padding-top: 60px;  /* Account for smaller nav */
    }

    .hero-label {
        margin-top: 1.5rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        font-style: normal;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 2.5rem;
    }

    .hero-label {
        font-size: var(--font-size-sm);
        margin-bottom: 1.5rem;
    }

    .offer-percentage {
        font-size: clamp(3rem, 12vw, 4rem);
    }

    .hero-actions .btn {
        white-space: nowrap;
    }

    /* Services list single column on mobile */
    .services-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Extra small screens (very small phones) */
@media (max-width: 480px) {
    .logo-image {
        height: 36px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content {
        padding: 1rem 0.75rem;
    }

    .offer-percentage {
        font-size: 2.5rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}
