/* ============================================
   PeekoType - Voice to Text Landing Page
   A stunning, colorful, modern website
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #A855F7;
    --primary-dark: #9333EA;
    --secondary: #06B6D4;
    --accent-red: #FF6B6B;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    --accent-green: #10B981;
    --accent-yellow: #FFE66D;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #A855F7 50%, #06B6D4 100%);
    --gradient-secondary: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
    --gradient-warm: linear-gradient(135deg, #F59E0B 0%, #FF6B6B 100%);

    /* Dark theme colors */
    --bg-dark: #0A0A0F;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   Animated Background
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-red);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--accent-pink);
    top: 40%;
    left: 10%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 15s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 40px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-img {
    width: 88px;
    height: 88px;
    border-radius: 16px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeIn 1s ease 0.5s both;
}

.voice-visualizer {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visualizer-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    border-color: rgba(168, 85, 247, 0.3);
    animation: ring-pulse 3s ease-in-out infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    animation-delay: 0.5s;
}

.ring-3 {
    width: 50%;
    height: 50%;
    animation-delay: 1s;
}

@keyframes ring-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.mic-icon {
    width: 80px;
    height: 80px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mic-icon svg {
    width: 50px;
    height: 50px;
}

.sound-waves {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.wave {
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: wave-animation 1s ease-in-out infinite;
}

.wave-1 { height: 20px; animation-delay: 0s; }
.wave-2 { height: 35px; animation-delay: 0.1s; }
.wave-3 { height: 25px; animation-delay: 0.2s; }
.wave-4 { height: 45px; animation-delay: 0.3s; }
.wave-5 { height: 30px; animation-delay: 0.4s; }
.wave-6 { height: 40px; animation-delay: 0.5s; }
.wave-7 { height: 20px; animation-delay: 0.6s; }

@keyframes wave-animation {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.5);
    }
}

/* Typing Preview */
.typing-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:nth-child(1) {
    background: #FF6B6B;
}

.preview-dots span:nth-child(2) {
    background: #F59E0B;
}

.preview-dots span:nth-child(3) {
    background: #10B981;
}

.preview-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.preview-content {
    padding: 20px;
    min-height: 80px;
}

.typing-text {
    font-size: 1rem;
    color: var(--text-primary);
    display: inline;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: var(--primary);
    margin-left: 2px;
    animation: blink 1s ease-in-out infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* ============================================
   Comparison Banner
   ============================================ */
.comparison-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.comparison-content {
    text-align: center;
}

.comparison-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.comparison-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

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

.comparison-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.comparison-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.comparison-price.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
}

.comparison-item.featured .comparison-price {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-vs {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.comparison-content > p {
    color: var(--text-secondary);
}

/* ============================================
   Who It's For Section
   ============================================ */
.who-its-for {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.persona-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: var(--transition-normal);
}

.persona-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    background: var(--bg-card-hover);
}

.persona-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.persona-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.persona-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   Sections Common
   ============================================ */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    background: var(--bg-card-hover);
}

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

.feature-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 48px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.icon-gradient-1 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--primary);
}

.icon-gradient-2 {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(168, 85, 247, 0.2));
    color: var(--accent-red);
}

.icon-gradient-3 {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.2));
    color: var(--secondary);
}

.icon-gradient-4 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--accent-green);
}

.icon-gradient-5 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
    color: var(--accent-pink);
}

.icon-gradient-6 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(255, 107, 107, 0.2));
    color: var(--accent-orange);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-visual {
    margin-top: 40px;
    height: 200px;
    position: relative;
}

.ai-brain {
    position: relative;
    width: 100%;
    height: 100%;
}

.neuron {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    animation: neuron-pulse 2s ease-in-out infinite;
}

.n1 { top: 20%; left: 10%; animation-delay: 0s; }
.n2 { top: 50%; left: 25%; animation-delay: 0.3s; }
.n3 { top: 30%; left: 50%; animation-delay: 0.6s; }
.n4 { top: 60%; left: 70%; animation-delay: 0.9s; }
.n5 { top: 40%; left: 90%; animation-delay: 1.2s; }

@keyframes neuron-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
    }
}

.brain-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.brain-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-path 3s ease-in-out infinite;
}

.brain-path.delay {
    animation-delay: 1.5s;
}

@keyframes draw-path {
    0% {
        stroke-dashoffset: 300;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -300;
    }
}

/* ============================================
   How it Works Section
   ============================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

.step {
    flex: 1;
    max-width: 340px;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.step-icon svg {
    width: 50px;
    height: 50px;
}

.step:hover .step-icon {
    transform: scale(1.1);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
}

.step-line {
    position: absolute;
    top: 80px;
    right: -60px;
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.step:last-child .step-line {
    display: none;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--section-padding) 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: var(--transition-normal);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.save-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-green);
    margin-left: 8px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 32px;
    transition: var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-price {
    display: flex;
    align-items: baseline;
    margin: 32px 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.card-features {
    list-style: none;
    margin-bottom: 32px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--accent-green);
}

.card-features li.disabled {
    color: var(--text-muted);
}

.card-features li.disabled svg {
    fill: var(--text-muted);
}

/* Single Pricing Card Layout */
.pricing-single {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.pricing-card.single-card {
    max-width: 450px;
    width: 100%;
    transform: none;
}

.pricing-card.single-card:hover {
    transform: translateY(-5px);
}

.trial-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Pricing Comparison Bars */
.pricing-comparison {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

.pricing-comparison h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-label {
    width: 160px;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

.bar-container {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    min-width: fit-content;
    padding-left: 12px;
}

.bar.featured-bar {
    background: var(--gradient-primary);
    color: white;
}

.comparison-bar-item.highlight .bar-label {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.stars svg {
    width: 20px;
    height: 20px;
    color: #F59E0B;
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-weight: 600;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--section-padding) 40px;
}

.cta-container {
    max-width: var(--container-max);
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 32px;
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.cta-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-card {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: float-card 6s ease-in-out infinite;
}

.float-card svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.card-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation-delay: -4s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 40px 40px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============================================
   Checkout Loading
   ============================================ */
.checkout-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.checkout-loading.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .comparison-stats {
        flex-direction: column;
        gap: 20px;
    }

    .comparison-vs {
        display: none;
    }

    .personas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .pricing-comparison {
        padding: 30px 20px;
    }

    .bar-label {
        width: 120px;
        font-size: 0.8rem;
    }

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

    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }

    .cta-visual {
        display: none;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .section-container {
        padding: 0 20px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

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

    .comparison-bar-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .bar-label {
        width: 100%;
        text-align: left;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-bottom {
        text-align: center;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

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

    .voice-visualizer {
        width: 220px;
        height: 220px;
    }

    .pricing-cards {
        padding: 0;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .amount {
        font-size: 3rem;
    }
}
