/* Base Variables */
:root {
    --bg-color: #030213;
    --bg-secondary: #0a0a0c;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --primary: #22d3ee;
    --primary-hover: #0df2f2;
    --secondary-bg: rgba(255, 255, 255, 0.05);
    --secondary-hover: rgba(255, 255, 255, 0.1);

    --glass-bg: rgba(20, 20, 22, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --gradient-1: #0df2f2;
    --gradient-2: #22d3ee;
    --gradient-3: #0284c7;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-text,
.badge {
    font-family: var(--font-display);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Gradients */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    animation: float 12s infinite alternate ease-in-out;
}

.glow-1 {
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--gradient-1), transparent 60%);
}

.glow-2 {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, var(--gradient-3), transparent 60%);
    animation-delay: -6s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Glass UI Elements */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding: 12px 32px;
    background: rgba(15, 15, 17, 0.85);
    box-shadow: var(--glass-shadow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo-text .highlight,
.footer-logo .highlight {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: var(--text-main);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-login {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.nav-link-login:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: #030213;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 5% 80px;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Hero Visual / Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--glass-shadow);
}

.mockup {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 60px;
}

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

.waveform span:nth-child(even) {
    animation-delay: 0.1s;
    background: var(--gradient-2);
}

.waveform span:nth-child(3n) {
    animation-delay: 0.3s;
}

.waveform span:nth-child(4n) {
    animation-delay: 0.5s;
    background: var(--gradient-3);
}

@keyframes wave {

    0%,
    100% {
        height: 12px;
    }

    50% {
        height: 50px;
    }
}

.transcript-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    min-height: 120px;
    position: relative;
}

.typed-text {
    font-family: var(--font-sans);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    display: inline;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Section Common */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.section-title span {
    color: var(--primary);
}

/* Features */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13, 242, 242, 0.2), rgba(34, 211, 238, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    border-color: rgba(34, 211, 238, 0.4);
}

/* How It Works */
.how-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.how-card {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.step-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary-hover);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.how-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.how-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
    background: linear-gradient(to bottom, rgba(20, 20, 22, 0.8), rgba(20, 20, 22, 0.95));
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
    color: #030213;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 16px;
    line-height: 1;
}

.plan-price span {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
}

.plan-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    min-height: 50px;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 5% 120px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 60%);
    z-index: -1;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-card p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    padding: 80px 5% 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.link-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations Triggered by JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 160px;
        text-align: center;
    }

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

    .hero h1 {
        font-size: 3.5rem;
    }

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

    .hero-stats {
        justify-content: center;
        width: 100%;
        max-width: 500px;
    }

    .desktop-nav {
        display: none;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: column;
    }
}

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

    .btn-large {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .glass-nav {
        padding: 12px 20px;
        width: 95%;
    }

    .nav-actions {
        display: none;
    }

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

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}