/* Velvet Voice Styles */

:root {
    /* Colors */
    --vv-bg: #0F0F12;
    --vv-panel: #17171C;
    --vv-velvet: #5B2A4F;
    --vv-rose: #EECBD3;
    --vv-gold: #D4AF37;
    --vv-gold-2: #BA9A2A;
    --vv-cta-text: #0B0B0B;
    --vv-ivory: #F8F5F2;
    --vv-muted: #B9B6C6;
    --vv-success: #5BB98C;
    --vv-warning: #F2C94C;
    --vv-danger: #EB5757;

    /* Typography */
    --vv-font-brand-serif: "Fraunces", serif;   /* 700 */
    --vv-font-brand-sans: "Inter", system-ui;   /* 600 */
    --vv-font-head: "Playfair Display", serif;  /* 700 */
    --vv-font-body: "Inter", system-ui, sans-serif; /* 400/600 */

    /* Spacing & Layout */
    --vv-radius: 14px;
    --vv-radius-sm: 10px;
    --vv-shadow: 0 10px 30px rgba(0,0,0,.35);

    /* Phone */
    --vv-phone-e164: "+15550133333";
    
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--vv-font-body);
    background-color: var(--vv-bg);
    color: var(--vv-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    background: var(--vv-ivory);
    color: var(--vv-bg);
    padding: 8px 10px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    z-index: 1000;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--vv-rose);
    outline-offset: 3px;
}

/* Age Gate Modal */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 18, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.age-gate.hidden {
    display: none;
}

.age-gate-content {
    background: var(--vv-panel);
    border-radius: var(--vv-radius);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--vv-shadow);
    border: 1px solid hsla(350, 55%, 88%, 0.1);
}

.age-gate h2 {
    font-family: var(--vv-font-head);
    font-size: 2rem;
    font-weight: 600;
    color: var(--vv-rose);
    margin-bottom: 1rem;
}

.age-gate p {
    color: var(--vv-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.age-gate-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.age-gate-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--vv-velvet);
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: hsla(240, 12%, 6%, 0.9);
    backdrop-filter: blur(20px);
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    border-bottom-color: hsla(350, 55%, 88%, 0.1);
}

/* Mobile header compression on scroll */
@media (max-width: 900px) {
    .header.scrolled .nav-container {
        padding: 0.5rem 1.5rem;
    }
    
    .header.scrolled .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .header.scrolled .logo-text {
        font-size: 1.25rem;
    }
    
    .header.scrolled .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--vv-ivory);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--vv-radius-sm);
}

.logo-text {
    font-family: var(--vv-font-head);
    font-weight: 600;
    font-size: 1.5rem;
}

/* Refined wordmark typography */
.logo-velvet {
    font-family: var(--vv-font-brand-serif);
    font-weight: 700;
    font-variation-settings: "opsz" 20;
    letter-spacing: 0;
}

.logo-voice {
    font-family: var(--vv-font-brand-sans);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--vv-ivory);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a:focus {
    color: var(--vv-rose);
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--vv-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(180deg, var(--vv-gold), var(--vv-gold-2));
    color: var(--vv-cta-text);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #E4C55F, var(--vv-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(51, 61%, 52%, 0.3);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--vv-rose);
    outline-offset: 3px;
}

.btn-secondary {
    background: transparent;
    color: var(--vv-ivory);
    border: 1.5px solid var(--vv-ivory);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: var(--vv-ivory);
    color: var(--vv-bg);
}

.btn-ghost {
    background: transparent;
    color: var(--vv-rose);
    padding: 0.5rem 0;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-ghost:hover, .btn-ghost:focus {
    color: var(--vv-ivory);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -1;
}

.hero-texture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-family: var(--vv-font-head);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--vv-rose), var(--vv-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    max-width: 60ch;
    line-height: 1.35;
    margin: 0 auto 2.5rem;
}

.hero h2 {
    font-family: var(--vv-font-head);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--vv-rose);
    margin-bottom: 1.5rem;
}

.hero .hero-description {
    font-size: 1.25rem;
    color: var(--vv-muted);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--vv-muted);
}

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

/* Sample Audio */
.sample-audio {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--vv-panel);
    border-radius: var(--vv-radius);
    border: 1px solid hsla(350, 55%, 88%, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.sample-audio h3 {
    font-family: var(--vv-font-head);
    color: var(--vv-rose);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.audio-placeholder {
    padding: 2rem;
    background: var(--vv-bg);
    border-radius: var(--vv-radius-sm);
    border: 2px dashed hsla(350, 55%, 88%, 0.3);
    color: var(--vv-muted);
}

.audio-placeholder p:last-child {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Social Proof */
.social-proof {
    padding: 4rem 1.5rem;
    background: var(--vv-panel);
}

.badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.badge {
    background: var(--vv-bg);
    padding: 1.5rem;
    border-radius: var(--vv-radius);
    text-align: center;
    border: 1px solid hsla(350, 55%, 88%, 0.1);
}

.badge-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--vv-velvet), var(--vv-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.badge h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--vv-ivory);
}

.badge p {
    color: var(--vv-muted);
    font-size: 0.875rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 1.5rem;
}

.section-title {
    font-family: var(--vv-font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--vv-rose);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--vv-panel);
    border-radius: var(--vv-radius);
    border: 1px solid hsla(350, 55%, 88%, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--vv-velvet), var(--vv-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.step-content {
    margin-top: 2rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--vv-velvet), var(--vv-rose));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-family: var(--vv-font-head);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vv-rose);
}

.step p {
    color: var(--vv-muted);
}

/* Features */
.features {
    padding: 6rem 1.5rem;
    background: var(--vv-panel);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    background: var(--vv-bg);
    border-radius: var(--vv-radius);
    border: 1px solid hsla(350, 55%, 88%, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--vv-velvet), var(--vv-rose));
    border-radius: var(--vv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-family: var(--vv-font-head);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--vv-rose);
}

.feature p {
    color: var(--vv-muted);
}

/* Pricing */
.pricing {
    padding: 6rem 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--vv-panel);
    border-radius: var(--vv-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid hsla(350, 55%, 88%, 0.1);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--vv-gold);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-family: var(--vv-font-head);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--vv-rose);
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vv-gold);
    margin-bottom: 1rem;
}

.pricing-card p {
    color: var(--vv-muted);
    margin-bottom: 2rem;
}

.pricing-disclaimer {
    font-size: 0.875rem;
    color: var(--vv-muted);
    margin-top: 2rem;
    text-align: center;
}

/* FAQ */
.faq {
    padding: 6rem 1.5rem;
    background: var(--vv-panel);
}

.faq .container {
    max-width: 800px;
}

.faq-list {
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid hsla(350, 55%, 88%, 0.1);
}

.faq-question {
    width: 100%;
    min-height: 44px;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--vv-ivory);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

/* Ensure FAQ touch targets are adequate on mobile */
@media (max-width: 900px) {
    .faq-question {
        min-height: 44px;
        padding: 1rem 0;
        font-size: 1rem;
    }
}

.faq-question:hover, .faq-question:focus {
    color: var(--vv-rose);
}

.faq-answer {
    padding: 0 0 1.5rem 0;
    color: var(--vv-muted);
    display: none;
}

.faq-answer.open {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.open {
    transform: rotate(180deg);
}

/* Email Capture */
.email-capture {
    padding: 4rem 1.5rem;
}

.email-capture .container {
    max-width: 600px;
    text-align: center;
    background: var(--vv-panel);
    padding: 3rem 2rem;
    border-radius: var(--vv-radius);
    border: 1px solid hsla(350, 55%, 88%, 0.1);
}

.email-capture h2 {
    font-family: var(--vv-font-head);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--vv-rose);
}

.email-capture p {
    color: var(--vv-muted);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-input {
    padding: 0.75rem 1rem;
    border-radius: var(--vv-radius-sm);
    border: 1.5px solid hsla(350, 55%, 88%, 0.2);
    background: var(--vv-bg);
    color: var(--vv-ivory);
    font-size: 1rem;
    font-family: inherit;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--vv-velvet);
}

.checkbox-group label {
    color: var(--vv-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--vv-bg);
    padding: 4rem 1.5rem 2rem;
    border-top: 1px solid hsla(350, 55%, 88%, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--vv-font-head);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vv-rose);
}

.footer-section p {
    color: var(--vv-muted);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--vv-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-links a:focus {
    color: var(--vv-rose);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsla(350, 55%, 88%, 0.1);
    color: var(--vv-muted);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .email-form {
        flex-direction: row;
        align-items: end;
    }

    .email-form .form-group {
        flex: 1;
    }

    .email-form .btn {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .nav-container {
        padding: 1rem;
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

/* Focus styles */
button:focus,
a:focus,
input:focus,
.faq-question:focus {
    outline: 2px solid var(--vv-rose);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll behavior and anchor fixes */
html {
    scroll-behavior: smooth;
}

section, h2, [id] {
    scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Sticky Mobile Call CTA */
.sticky-call {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 14px 18px;
    background: linear-gradient(180deg, var(--vv-gold), var(--vv-gold-2));
    color: var(--vv-cta-text);
    text-align: center;
    border-radius: 999px;
    box-shadow: var(--vv-shadow);
    display: none;
    z-index: 60;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.show-sticky .sticky-call {
    display: block;
}

/* Add padding to main content when sticky CTA is visible */
.show-sticky main {
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
}

.sticky-call:hover {
    background: linear-gradient(180deg, #E4C55F, var(--vv-gold));
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,.5);
}

.sticky-call:focus-visible {
    outline: 2px solid var(--vv-rose);
    outline-offset: 3px;
}

@media (min-width: 900px) {
    .sticky-call {
        display: none !important;
    }
}

/* Age gate link styling */
.link-underline {
    color: var(--vv-rose);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.link-underline:hover {
    color: var(--vv-gold);
}

/* Social proof improvements for mobile */
@media (max-width: 680px) {
    .trust-indicators {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
