/* =========================================================================
   Nexus Voice Vault — Official Landing Page Styles
   Strict adherence to Official Theme Palette (Montserrat Typography & Clean Minimalist UI)
   ========================================================================= */

#landing-view {
    min-height: 100vh;
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Landing Header / Navbar */
.landing-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-smooth);
}

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

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.landing-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.landing-nav-link {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

.btn-landing-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.btn-landing-primary {
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary-text);
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.btn-landing-primary:hover {
    background: var(--accent-primary-hover);
    border-color: var(--accent-primary-hover);
    transform: translateY(-1px);
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.landing-hero-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 50px;
    text-align: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    margin: 0 auto 18px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 32px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-hero-launch {
    background: var(--accent-primary);
    color: var(--accent-primary-text);
    border: 1px solid var(--accent-primary);
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-fast);
}

.btn-hero-launch:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
}

.btn-hero-auth {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.btn-hero-auth:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
}

/* Hero Live Interactive Demo Widget */
.hero-live-demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 22px 26px;
    max-width: 820px;
    margin: 0 auto;
}

.demo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.demo-voice-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.demo-voice-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.demo-voice-chip:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.demo-voice-chip.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--accent-primary-text);
}

.demo-player-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
}

.btn-demo-play {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--accent-primary);
    border: none;
    color: var(--accent-primary-text);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-fast);
}

.btn-demo-play:hover {
    transform: scale(1.06);
}

.demo-speech-text {
    flex: 1;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 500;
}

/* =========================================================================
   Stats Bar
   ========================================================================= */
.landing-stats-bar {
    max-width: 1100px;
    margin: 20px auto 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 24px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 4px;
}

/* =========================================================================
   Features Grid Section
   ========================================================================= */
.landing-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

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

.section-tag {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-box:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
}

.feature-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.feature-box h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================================================
   Redesigned Clean Minimalist Auth Section on Homepage
   ========================================================================= */
.landing-auth-section {
    max-width: 520px;
    margin: 0 auto 90px;
    padding: 0 24px;
}

.clean-auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 36px 32px;
}

.auth-card-top-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card-top-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 10px;
}

.auth-card-top-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Segmented Pill Tabs */
.clean-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-elevated);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.clean-auth-tab-btn {
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.clean-auth-tab-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow-subtle);
}

.clean-form-group {
    margin-bottom: 18px;
}

.clean-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clean-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.clean-input:focus {
    outline: none;
    border-color: var(--border-dark);
    background: var(--bg-input-focus);
}

.btn-clean-submit {
    width: 100%;
    height: 48px;
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary-text);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-fast);
}

.btn-clean-submit:hover {
    background: var(--accent-primary-hover);
    border-color: var(--accent-primary-hover);
}

/* Responsive */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
    .landing-stats-bar { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 34px; }
    .landing-nav-links { display: none; }
}
