:root {
    --bg-color: #0f1115;
    --surface-color: #1a1d23;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b0;
    --accent-primary: #6366f1;
    /* Indigo */
    --accent-secondary: #8b5cf6;
    /* Violet */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --glow-color: rgba(99, 102, 241, 0.4);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 50;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section - Enhanced */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: radial-gradient(circle at 50% 50%, #1a1d2e 0%, #0f1115 70%);
}

.hero-background-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    filter: blur(40px);
    animation: pulseBackground 10s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

/* Voice Wave Animation */
.voice-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 60px;
    margin-bottom: 32px;
}

.voice-wave .bar {
    width: 8px;
    background: var(--accent-gradient);
    border-radius: 50px;
    animation: soundWave 1.2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--glow-color);
}

.voice-wave .bar:nth-child(1) {
    height: 20px;
    animation-delay: 0.1s;
}

.voice-wave .bar:nth-child(2) {
    height: 40px;
    animation-delay: 0.2s;
}

.voice-wave .bar:nth-child(3) {
    height: 60px;
    animation-delay: 0.3s;
}

.voice-wave .bar:nth-child(4) {
    height: 40px;
    animation-delay: 0.4s;
}

.voice-wave .bar:nth-child(5) {
    height: 20px;
    animation-delay: 0.5s;
}

@keyframes soundWave {

    0%,
    100% {
        height: 10px;
        opacity: 0.5;
    }

    50% {
        height: 100%;
        opacity: 1;
    }
}

/* Typography & Elements */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #a0a5b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Add a subtle glow behind the gradient text */
.text-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: var(--accent-primary);
    filter: blur(45px);
    opacity: 0.3;
    z-index: -1;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 56px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-gradient);
    border-radius: 50px;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 20px 40px -10px var(--glow-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.2), 0 30px 60px -15px var(--glow-color);
}

.cta-button:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 1rem;
}

/* Sections Common */
section {
    padding: 100px 0;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.step-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-secondary);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 16px;
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: border-color 0.2s;
}

details:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

summary {
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hide default arrow */
    position: relative;
    padding-right: 50px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.details-content {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding-bottom: 150px;
}

.bot-link-wrapper {
    margin-top: 40px;
}

.cta-link {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--accent-primary);
    text-underline-offset: 8px;
    transition: color 0.3s, text-decoration-color 0.3s;
}

.cta-link:hover {
    color: #a5b4fc;
    text-decoration-color: #a5b4fc;
}

.bot-link-wrapper p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .cta-button {
        padding: 14px 32px;
        width: 100%;
        text-align: center;
    }
}