/* Variables */
:root {
    --bg-color: #080f0d;
    --bg-alt: #0d1715;
    --card-bg: #12201d;
    --accent-color: #00a884;
    --accent-hover: #009675;
    --accent-glow: rgba(0, 168, 132, 0.3);
    --text-main: #f0f2f5;
    --text-muted: #8696a0;
    --border-color: #1c322d;
    --bubble-in-bg: #202c33;
    --bubble-out-bg: #005c4b;
    --gold: #ffbc2e;
    
    --header-height: 80px;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #03c299 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 168, 132, 0.5);
    filter: brightness(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
    padding: 14px;
}

/* Pulsing effect for main CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 168, 132, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 132, 0);
    }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 15, 13, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

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

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Dropdown Selector */
.language-dropdown select {
    background: var(--bg-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.language-dropdown select:hover {
    border-color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
}

/* Blurred decorative spots */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 132, 0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 132, 0.1);
    border: 1px solid rgba(0, 168, 132, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
    animation: dotPulse 1.5s infinite;
}

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

.hero-content h1 {
    font-size: 48px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.action-caption {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 4px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

.stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 16px;
}

/* Animations classes */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Simulator Mockup */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
}

.chat-container {
    width: 100%;
    max-width: 440px;
    height: 480px;
    background-color: #0b141a; /* WA Web dark bg */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 168, 132, 0.05);
    margin: 0 auto;
}

.chat-header {
    background-color: #202c33;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    background-color: #512da8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar-letter {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #00e676;
    border: 2px solid #202c33;
    border-radius: 50%;
}

.chat-user-info {
    flex-grow: 1;
}

.chat-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #e9edef;
}

.chat-user-status {
    font-size: 11px;
    color: #8696a0;
}

.chat-header-actions {
    display: flex;
    gap: 16px;
    color: #aebac1;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px 16px;
    background-image: radial-gradient(rgba(11, 20, 26, 0.7) 60%, rgba(13, 23, 21, 0.8) 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: 8px 12px 24px 12px;
    border-radius: 8px;
    position: relative;
    font-size: 14.2px;
    animation: bubblePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bubblePop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.message-in {
    background-color: var(--bubble-in-bg);
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.message-text {
    line-height: 1.4;
}

.message-time {
    position: absolute;
    bottom: 4px;
    right: 8px;
    font-size: 10px;
    color: #8696a0;
}

/* Audio Player inside chat bubble */
.audio-message {
    width: 290px;
    padding-bottom: 12px;
}

.audio-player-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.audio-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #aebac1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.audio-play-btn:hover {
    color: #ffffff;
}

.audio-waveform-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 32px;
}

.bar {
    display: inline-block;
    width: 2px;
    background-color: #8696a0;
    border-radius: 1px;
    transition: background-color 0.1s;
}

.bar.active {
    background-color: var(--accent-color);
}

.audio-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8696a0;
}

/* Animation for waveform bars during "playing" state */
@keyframes waveAnimation {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

.playing .bar.active {
    animation: waveAnimation 1s ease infinite;
}
.playing .bar:nth-child(2n) { animation-delay: 0.15s; }
.playing .bar:nth-child(3n) { animation-delay: 0.3s; }

/* Injected Transcription Box */
.mock-transcription-box {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    display: none;
}

.trans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.trans-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.trans-copy {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: var(--font-family);
}

.trans-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.trans-body {
    position: relative;
    min-height: 20px;
}

.trans-loader {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--accent-color);
    font-weight: 500;
}

.spinner {
    animation: spin 1s linear infinite;
}

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

.trans-text {
    font-size: 13.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
}

.chat-input-area {
    background-color: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input-icon {
    color: #8696a0;
    cursor: pointer;
}

.chat-input-icon:hover {
    color: #aebac1;
}

.chat-input-box {
    flex-grow: 1;
    background-color: #2a3942;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14.5px;
    color: #8696a0;
    user-select: none;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-card {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

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

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

/* Features Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header h2 {
    font-size: 36px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

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

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(0, 168, 132, 0.08);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 168, 132, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 18px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* How It Works Section */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    flex: 1;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent-color);
}

.step-num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 168, 132, 0.1);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.step-card h3 {
    font-size: 18px;
    z-index: 1;
}

.step-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    z-index: 1;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
    width: 24px;
    height: 24px;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
    margin-bottom: 48px;
}

.price-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: var(--transition);
}

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

.price-card.popular {
    border-color: var(--accent-color);
    box-shadow: 0 16px 40px rgba(0, 168, 132, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #111b21;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 188, 46, 0.2);
}

.plan-name {
    font-size: 20px;
    color: #ffffff;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: -16px;
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.value {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
}

.price-period {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: -16px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 12px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-main);
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.pricing-notice {
    text-align: center;
    background: rgba(0, 168, 132, 0.05);
    border: 1px dashed rgba(0, 168, 132, 0.2);
    padding: 16px;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    font-size: 14px;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-toggle-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--accent-color);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* Footer */
.footer {
    background-color: #040807;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14.5px;
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14.5px;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.disclaimer {
    font-size: 11px;
    max-width: 800px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-actions {
        align-items: center;
    }
    
    .hero-rating {
        justify-content: center;
    }
    
    .steps-grid {
        flex-direction: column;
        gap: 32px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links on smaller devices for clean view */
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-links {
        align-items: center;
    }
}
