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

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

:root {
    /* Colors */
    --charcoal: #0D0D0D;
    --charcoal-light: #1A1A1A;
    --charcoal-lighter: #2A2A2A;
    --gold: #D4AF37;
    --gold-light: #F4E4B4;
    --gold-dark: #B8941F;
    --bone: #F5F5F4;
    --gray: #999999;
    --gray-light: #CCCCCC;
    --purple: #5E17EB;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--charcoal);
    color: var(--bone);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold), transparent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--purple), transparent);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-light), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.shimmer-text {
    position: relative;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gold-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    line-height: 1.8;
}

/* ============================================
   Email Capture
   ============================================ */

.email-capture {
    margin: var(--spacing-lg) auto;
    max-width: 600px;
}

.email-form {
    margin-bottom: var(--spacing-sm);
}

.input-wrapper {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 4px 40px rgba(212, 175, 55, 0.3);
}

#emailInput,
#emailInputFooter {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--bone);
    font-family: var(--font-sans);
    outline: none;
}

#emailInput::placeholder,
#emailInputFooter::placeholder {
    color: var(--gray);
}

.submit-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    font-family: var(--font-sans);
    white-space: nowrap;
}

.submit-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-icon {
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--gray);
    text-align: center;
    margin-top: var(--spacing-sm);
}

.form-message {
    text-align: center;
    padding: 0.75rem;
    margin-top: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition-fast);
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ============================================
   Trust Signals
   ============================================ */

.trust-signals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trust-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--charcoal), var(--charcoal-light));
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(212, 175, 55, 0.2);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bone);
}

.feature-description {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    padding: var(--spacing-xl) 0;
    background: var(--charcoal-light);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--bone);
}

.step-description {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent, var(--gold));
    position: relative;
    top: 60px;
    opacity: 0.3;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.3;
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

/* ============================================
   Policies
   ============================================ */

.policies {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 35%), radial-gradient(circle at 80% 10%, rgba(94, 23, 235, 0.08), transparent 35%), linear-gradient(to bottom, var(--charcoal-light), var(--charcoal));
    position: relative;
}

.policies::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(244, 228, 180, 0.08), transparent 45%);
    pointer-events: none;
}

.policies-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.policies-intro {
    color: var(--gray-light);
    margin-top: var(--spacing-sm);
    font-size: 1rem;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.policy-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 28px;
    padding: var(--spacing-md);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.policy-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), transparent 60%);
    pointer-events: none;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.pill.ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--gray-light);
    border-color: rgba(255, 255, 255, 0.08);
}

.policy-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
}

.policy-lede {
    color: var(--gray-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.policy-sections {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-sm);
}

.policy-sections details {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    transition: var(--transition-fast);
}

.policy-sections details[open] {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.policy-sections summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--bone);
    font-weight: 600;
    position: relative;
}

.policy-sections summary::-webkit-details-marker {
    display: none;
}

.policy-sections summary::after {
    content: '\\25be';
    margin-left: auto;
    color: var(--gray-light);
    transition: transform 0.3s ease;
}

.policy-sections details[open] summary::after {
    transform: rotate(-180deg);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.95rem;
}

.policy-sections p,
.policy-sections li {
    color: var(--gray-light);
    line-height: 1.65;
}

.policy-sections ul {
    margin: 0.5rem 0 0 1.5rem;
    display: grid;
    gap: 0.35rem;
}

.detail-body {
    margin-top: 0.35rem;
    display: grid;
    gap: 0.35rem;
}

.policy-sections strong {
    color: var(--bone);
    font-weight: 600;
}

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

.footer {
    padding: var(--spacing-lg) 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.875rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--bone);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    color: var(--gray);
    font-size: 0.875rem;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .trust-signals {
        gap: var(--spacing-sm);
    }

    .trust-divider {
        display: none;
    }

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

    .steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .step-connector {
        display: none;
    }

    .input-wrapper {
        flex-direction: column;
        border-radius: 20px;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .trust-number {
        font-size: 2rem;
    }
}

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

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

.hero-content > * {
    animation: fadeInUp 1s ease-out backwards;
}

.hero-title {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.email-capture {
    animation-delay: 0.3s;
}

.trust-signals {
    animation-delay: 0.4s;
}
