/* VoiceActorsAI - Modern Design System */

:root {
    /* Primary palette - Deep violet/indigo for AI feel */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-subtle: #eef2ff;

    /* Accent colors */
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutrals */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

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

/* Navigation */
.navbar-custom {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

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

.navbar-custom .nav-link {
    color: var(--gray-300);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--white);
}

.navbar-custom .btn-get-started {
    background: var(--gradient-primary);
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform 0.2s, box-shadow 0.2s;
}

.navbar-custom .btn-get-started:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.credits-badge {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero::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='%236366f1' 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");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero .lead {
    font-size: 1.25rem;
    color: var(--gray-300);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero .btn-hero-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.hero .btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: background 0.2s, border-color 0.2s;
}

.hero .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero .free-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Demo Card */
.demo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.demo-card .demo-label {
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.demo-card textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    padding: 1rem;
    font-size: 1rem;
    resize: none;
    width: 100%;
}

.demo-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.demo-card textarea::placeholder {
    color: var(--gray-500);
}

.demo-card select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.demo-card select:focus {
    outline: none;
    border-color: var(--primary);
}

.demo-card select option {
    background: var(--dark);
    color: var(--white);
}

.demo-card .btn-play {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.demo-card .btn-play:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.waveform-container {
    height: 60px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 1rem;
}

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

.waveform-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { height: 45px; animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { height: 50px; animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { height: 35px; animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { height: 20px; animation-delay: 0.7s; }
.waveform-bar:nth-child(9) { height: 40px; animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { height: 25px; animation-delay: 0.9s; }

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

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-header .section-tag {
    display: inline-block;
    background: var(--primary-subtle);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
}

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

.feature-card .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card .icon-wrapper.purple { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.feature-card .icon-wrapper.cyan { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%); }
.feature-card .icon-wrapper.green { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.feature-card .icon-wrapper.orange { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* Model Cards */
.model-section {
    background: var(--gray-50);
    padding: 6rem 0;
}

.model-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.model-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.model-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0;
    right: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 0 0 var(--radius) var(--radius);
    letter-spacing: 0.05em;
}

.model-card-header {
    padding: 1.5rem;
    text-align: center;
}

.model-card-header.gradient-fast {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    color: white;
}

.model-card-header.gradient-standard {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.model-card-header.gradient-expressive {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.model-card-header.gradient-premium {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: var(--dark);
}

.model-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: inherit;
}

.model-card-header .model-subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
}

.model-card-body {
    padding: 1.5rem;
}

.model-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.model-card-body li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.model-card-body li .check {
    color: var(--success);
    font-weight: bold;
}

.model-card-body li .cross {
    color: var(--gray-400);
}

.model-card-body li.disabled {
    color: var(--gray-400);
}

/* Use Cases */
.use-case-section {
    padding: 6rem 0;
}

.use-case-item {
    text-align: center;
    padding: 2rem 1rem;
}

.use-case-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.use-case-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.use-case-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* Pricing Preview */
.pricing-section {
    background: var(--gradient-dark);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    border: none;
    transform: scale(1.05);
}

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

.pricing-card h4 {
    color: var(--gray-300);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pricing-card.featured h4 {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card .price {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
}

.pricing-card .chars {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.pricing-card.featured .chars {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

.btn-secondary-custom {
    background: var(--white);
    border: 1px solid var(--gray-300);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    transition: border-color 0.2s, background 0.2s;
}

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

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer .footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links h5 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Trusted By / Social Proof */
.trusted-section {
    padding: 4rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trusted-section p {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

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

    .hero .lead {
        font-size: 1rem;
    }

    .demo-card {
        margin-top: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* Forms */
.form-control-custom {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Cards - General */
.card-custom {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.card-custom-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    font-weight: 600;
}

.card-custom-body {
    padding: 1.5rem;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Page content spacing */
.page-section {
    padding: 4rem 0;
}

/* Dropdown menu scrollable */
.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Override Bootstrap */
.bg-primary { background: var(--primary) !important; }
.text-primary { color: var(--primary) !important; }
.btn-primary {
    background: var(--gradient-primary);
    border: none;
}
.btn-primary:hover {
    background: var(--gradient-primary);
    opacity: 0.9;
}
