/*
Theme Name: ToolzyAI Custom (VoiceGen)
Theme URI: https://toolzyai.com/
Author: VoiceGen Team
Description: Production-ready custom WordPress theme for VoiceGen AI Text-to-Speech matching Desktop (image_734d88.jpg) and Mobile (image_733dec.jpg) layouts.
Version: 3.2.0
License: GNU General Public License v3 or Later
Text Domain: blankslate
*/

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

/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Brand Primary Palette */
    --primary-color: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --primary-glow: rgba(79, 70, 229, 0.25);

    /* Backgrounds & Surfaces */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-secondary: #f1f5f9;
    --bg-input: #ffffff;
    --bg-sponsor-box: #e9ecef;

    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-inverted: #ffffff;

    /* Accents & Borders */
    --border-subtle: #e2e8f0;
    --border-focus: #6366f1;
    --border-sponsor: #cbd5e1;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --accent-indigo: #4f46e5;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;

    /* Shadows & Radii */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --container-max-width: 1220px;
}

/* Dark Theme Overrides */
body.dark-theme {
    --bg-page: #0b0f19;
    --bg-surface: #131b2e;
    --bg-surface-secondary: #1e293b;
    --bg-input: #0f172a;
    --bg-sponsor-box: #162032;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;

    --border-subtle: #243048;
    --border-sponsor: #334155;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   GLOBAL RESETS & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.mobile-drawer-locked {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

.voicegen-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.voicegen-header {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    width: 100%;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand Logo */
.voicegen-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 24px;
}

.logo-icon .bar {
    width: 3.5px;
    background: var(--primary-light);
    border-radius: 4px;
    animation: soundWaveBar 1.4s ease-in-out infinite alternate;
}

.logo-icon .bar-1 {
    height: 10px;
    animation-delay: 0.1s;
}

.logo-icon .bar-2 {
    height: 18px;
    animation-delay: 0.3s;
}

.logo-icon .bar-3 {
    height: 24px;
    animation-delay: 0.5s;
}

.logo-icon .bar-4 {
    height: 14px;
    animation-delay: 0.2s;
}

.logo-icon .bar-5 {
    height: 20px;
    animation-delay: 0.4s;
}

@keyframes soundWaveBar {
    0% {
        transform: scaleY(0.35);
    }

    100% {
        transform: scaleY(1);
    }
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.text-purple-accent {
    color: var(--primary-light);
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Desktop Nav Menu */
.voicegen-desktop-nav .nav-links-list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link-item .nav-anchor {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-link-item .nav-anchor:hover,
.nav-link-item.active .nav-anchor {
    color: var(--primary-light);
    font-weight: 600;
}

.nav-link-item.active .nav-anchor::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

/* Header Actions */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-auth-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-secondary);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: rotate(15deg);
}

body.dark-theme .sun-icon {
    display: block;
}

body.dark-theme .moon-icon {
    display: none;
}

body:not(.dark-theme) .sun-icon {
    display: none;
}

body:not(.dark-theme) .moon-icon {
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-full-width {
    width: 100%;
}

.btn-primary-solid {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary-solid:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 18px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-outline-border {
    background: transparent;
    border: 1.5px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-outline-border:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.04);
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
    display: none;
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    transition: all 0.2s ease;
}

.mobile-hamburger-btn .bar-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-hamburger-btn.is-active .bar-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-hamburger-btn.is-active .bar-line:nth-child(2) {
    opacity: 0;
}

.mobile-hamburger-btn.is-active .bar-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    z-index: 95;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.mobile-menu-drawer.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-inner {
    padding: 24px 20px 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-anchor {
    display: block;
    padding: 12px 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-md);
}

.mobile-menu-anchor:hover,
.mobile-menu-item.active .mobile-menu-anchor {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-light);
}

.mobile-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   EXACT 4 AD PLACEMENTS (DESKTOP & MOBILE) - ANTI-ADBLOCK SAFE
   ========================================================================== */
.vg-sponsor-banner-top {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.vg-sponsor-banner-middle {
    margin-top: 36px;
    margin-bottom: 36px;
    width: 100%;
}

.vg-sponsor-banner-bottom {
    margin-top: 36px;
    margin-bottom: 36px;
    width: 100%;
}

.vg-sponsor-mobile-slot {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

/* Standardized Grey Placeholder Cards */
.vg-sponsor-card {
    background-color: var(--bg-sponsor-box) !important;
    border: 1.5px solid var(--border-sponsor) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.2s ease;
}

.vg-size-728x90 {
    min-height: 90px;
    padding: 16px 32px;
}

.vg-size-320x100 {
    min-height: 90px;
    padding: 14px 18px;
}

.vg-size-160x600 {
    width: 160px;
    min-height: 600px;
    padding: 24px 12px;
    position: sticky;
    top: 94px;
}

.vg-sponsor-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vg-sponsor-vertical {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 16px;
    height: 100%;
}

.vg-sponsor-title-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.5px;
    display: block;
}

.vg-sponsor-dimension-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.vg-sponsor-brand-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    line-height: 1.3;
}

.vg-sponsor-tagline-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.vg-sponsor-col-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

/* Visibility toggles for Desktop vs Mobile Ads */
.show-on-desktop {
    display: flex !important;
}

.show-on-mobile {
    display: none !important;
}

/* ==========================================================================
   MAIN APP LAYOUT (CENTERED CONTENT GRID)
   ========================================================================== */
.main-app-layout-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.desktop-left-sidebar {
    display: none !important;
}

.main-content-flow {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    min-width: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 10px 0 28px 0;
    width: 100%;
}

.hero-inner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    padding: 5px 16px;
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-main-title {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.2;
    max-width: 780px;
}

.highlight-purple {
    color: var(--primary-light);
}

.title-mobile-word {
    display: none;
}

.hero-lead-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.55;
}

.hero-checkmarks-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 6px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.check-circle-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background-color: var(--accent-green);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   TTS APPLICATION AREA (2-COLUMN CARDS)
   ========================================================================== */
.tts-app-section {
    margin-top: 10px;
    width: 100%;
}

.tts-app-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 22px;
    width: 100%;
}

.tts-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.card-heading {
    font-size: 1.12rem;
    font-weight: 700;
}

.card-header-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    transition: color 0.2s ease;
}

.card-header-link:hover {
    color: var(--primary-dark);
}

.mobile-link-text {
    display: none;
}

/* Voice Search Tabs (Unified) */
.voice-search-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.unified-search-pill {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}

/* Search Bar */
.voice-search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0 12px;
    margin-bottom: 14px;
}

.search-lens-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.voice-search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 0.88rem;
    color: var(--text-main);
}

.voice-search-clear-btn {
    display: none;
    background: var(--border-subtle);
    border: none;
    color: var(--text-main);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    margin-left: 6px;
}

/* Scrollable Voice List */
.voice-items-scroll-container {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Scrollbar for Voice List */
.voice-items-scroll-container::-webkit-scrollbar {
    width: 5px;
}

.voice-items-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-surface-secondary);
    border-radius: 4px;
}

.voice-items-scroll-container::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.voice-item-row {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-item-row:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.voice-item-row.active {
    border-color: var(--primary-light);
    background: rgba(99, 102, 241, 0.04);
}

.voice-avatar-thumb {
    display: none !important;
}

.voice-details-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.voice-name-badge-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.voice-display-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.badge-popular {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.voice-id-subtext {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voice-meta-tags {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.voice-actions-col {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-voice-preview {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(99, 102, 241, 0.4);
    background: transparent;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voice-preview:hover {
    background: var(--primary-light);
    color: #ffffff;
    border-color: var(--primary-light);
}

.btn-voice-preview .voice-preview-play-icon {
    display: block;
}

.btn-voice-preview .voice-preview-pause-icon {
    display: none;
}

.btn-voice-preview.is-playing {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px var(--primary-glow);
}

.btn-voice-preview.is-playing .voice-preview-play-icon {
    display: none !important;
}

.btn-voice-preview.is-playing .voice-preview-pause-icon {
    display: block !important;
}

.btn-voice-select {
    padding: 6px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voice-select.selected,
.voice-item-row.active .btn-voice-select {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.view-more-voices-footer-link {
    display: block;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-light);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

/* Column 2: Text Input Card */
.text-input-card {
    gap: 16px;
}

.field-label-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.textarea-relative-wrapper {
    position: relative;
    background: var(--bg-input);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px 28px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.textarea-relative-wrapper:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.tts-text-input-box {
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-main);
    min-height: 95px;
    display: block;
}

.textarea-character-counter {
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Custom Language Dropdown Component */
.custom-language-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-lang-trigger-btn {
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--bg-surface-secondary);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.90rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    gap: 10px;
}

.custom-lang-trigger-btn:hover,
.custom-lang-trigger-btn.is-active {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: var(--bg-surface);
}

.selected-lang-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--text-main);
}

.flag-preview-box {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.custom-lang-trigger-btn .dropdown-chevron-icon {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-lang-trigger-btn.is-active .dropdown-chevron-icon {
    transform: rotate(180deg);
}

/* Custom Floating Popover Dropdown */
.custom-lang-menu-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.20), 0 6px 16px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: langDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-lang-menu-dropdown.is-open {
    display: flex;
}

@keyframes langDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.lang-search-header-box {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface-secondary);
    gap: 8px;
}

.lang-search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.lang-menu-filter-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text-main);
    outline: none;
}

.lang-menu-filter-input::placeholder {
    color: var(--text-muted);
}

.custom-lang-options-scroll {
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.custom-lang-options-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-lang-options-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-lang-options-scroll::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.custom-lang-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.custom-lang-option-row:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-light);
}

.custom-lang-option-row.is-selected {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    font-weight: 700;
}

.custom-lang-option-row .option-flag {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.custom-lang-option-row .option-name {
    flex: 1;
}

.custom-lang-option-row .option-check {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    display: none;
}

.custom-lang-option-row.is-selected .option-check {
    display: block;
}

/* Voice Speed Control Component */
.speed-field-group {
    background: var(--bg-surface-secondary);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 14px;
    margin-bottom: 6px;
    transition: border-color 0.2s ease;
}

.speed-field-group:focus-within {
    border-color: var(--primary-light);
}

.speed-label-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.speed-main-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

.speed-display-pill {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 800;
    font-family: monospace;
    font-size: 0.85rem;
    padding: 2px 7px;
    border-radius: 6px;
}

.speed-presets-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-speed-preset {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-speed-preset:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-speed-preset.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.speed-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.speed-bound-indicator {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    user-select: none;
    min-width: 44px;
}

.speed-bound-indicator:last-child {
    text-align: right;
}

.speed-range-track-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.tts-speed-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tts-speed-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.tts-speed-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    border-color: var(--primary-color);
}

.tts-speed-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1e293b;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Large Generate Button */
.generate-button-wrapper {
    margin-top: 4px;
}

.btn-generate-large {
    width: 100%;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: var(--radius-md);
}

.btn-generate-main-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.animated-sound-bars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.animated-sound-bars span {
    width: 3px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 2px;
}

.animated-sound-bars span:nth-child(1) {
    height: 8px;
}

.animated-sound-bars span:nth-child(2) {
    height: 16px;
}

.animated-sound-bars span:nth-child(3) {
    height: 12px;
}

.animated-sound-bars span:nth-child(4) {
    height: 14px;
}

.btn-generate-sub-line {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.spinner-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spinRotate 0.8s linear infinite;
}

@keyframes spinRotate {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */
.stats-row-section {
    margin-top: 24px;
    width: 100%;
}

.stats-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
}

.stat-pill-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

.stat-pill-card:hover {
    transform: translateY(-2px);
}

.stat-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.purple-icon {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
}

.blue-icon {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-blue);
}

.indigo-icon {
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary-dark);
}

.violet-icon {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-violet);
}

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

.stat-big-number {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
}

.stat-small-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works-section {
    margin-top: 10px;
    width: 100%;
}

.section-title-header {
    margin-bottom: 20px;
}

.section-title-text {
    font-size: 1.4rem;
    font-weight: 800;
}

.section-subtitle-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.steps-flow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.step-card-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-badge-number {
    position: absolute;
    top: -4px;
    left: 28%;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.step-icon-circle-bg {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-heading {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-subheading {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 190px;
    line-height: 1.45;
}

.step-connector-arrow {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    user-select: none;
}

/* ==========================================================================
   FAQ SECTION (2-COLUMN ACCORDION)
   ========================================================================== */
.faq-section {
    margin-top: 36px;
    width: 100%;
}

.faq-accordion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
}

.faq-accordion-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-toggle-btn {
    width: 100%;
    padding: 15px 18px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
}

.faq-content-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.faq-content-panel.is-open {
    max-height: 220px;
    padding: 0 18px 14px 18px;
}

/* ==========================================================================
   SOCIAL SHARING & AUDIO OUTPUT SECTION
   ========================================================================== */
.social-and-audio-section {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Enjoying VoiceGen Card */
.enjoy-voicegen-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    gap: 20px;
    flex-wrap: wrap;
}

.enjoy-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.enjoy-heart-icon {
    font-size: 1.4rem;
}

.enjoy-heading {
    font-size: 1.05rem;
    font-weight: 700;
}

.enjoy-subheading {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.share-icons-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.share-circle-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-x:hover {
    background: #000000;
    color: #fff;
    border-color: #000;
}

.share-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-telegram:hover {
    background: #229ed9;
    color: #fff;
    border-color: #229ed9;
}

.share-link:hover {
    background: var(--primary-light);
    color: #fff;
    border-color: var(--primary-light);
}

/* Audio Output Player Card */
.audio-output-player-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audio-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-header-icon {
    font-size: 1.1rem;
}

.audio-card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.custom-audio-player-bar {
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-play-trigger {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.audio-play-trigger .play-svg {
    display: block;
}

.audio-play-trigger .pause-svg {
    display: none;
}

.audio-play-trigger.is-playing .play-svg {
    display: none !important;
}

.audio-play-trigger.is-playing .pause-svg {
    display: block !important;
}

.audio-play-trigger:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.audio-time-stamp {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 65px;
}

.audio-timeline-track {
    position: relative;
    flex: 1;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.audio-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--primary-light);
    border-radius: 3px;
    pointer-events: none;
}

.audio-scrubber-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.audio-volume-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.btn-download-audio-large {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.btn-download-main-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 700;
}

.btn-download-sub-line {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.voicegen-site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 44px 0 24px 0;
    width: 100%;
}

.footer-layout-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.footer-links-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-links-list a:hover {
    color: var(--primary-light);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background: var(--primary-light);
    color: #ffffff;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 14px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal-links a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

/* Tablets & Small Desktops (Under 1024px) */
@media (max-width: 1024px) {
    .main-app-layout-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .show-on-desktop {
        display: none !important;
    }

    .show-on-mobile {
        display: flex !important;
    }

    .voicegen-desktop-nav,
    .desktop-auth-container {
        display: none !important;
    }

    .mobile-hamburger-btn {
        display: flex;
    }

    .mobile-menu-drawer,
    .mobile-menu-backdrop {
        display: block;
    }

    .title-desktop-word {
        display: none;
    }

    .title-mobile-word {
        display: inline;
    }

    .desktop-link-text {
        display: none;
    }

    .mobile-link-text {
        display: inline;
    }

    .tts-app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smartphones (Under 768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .voicegen-container {
        padding: 0 16px;
    }

    .header-container {
        height: 64px;
        padding: 0 16px;
    }

    .mobile-menu-drawer,
    .mobile-menu-backdrop {
        top: 64px;
    }

    .vg-sponsor-banner-top {
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .hero-section {
        padding: 6px 0 20px 0;
    }

    .hero-main-title {
        font-size: 1.95rem;
    }

    .hero-checkmarks-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px 10px;
        width: 100%;
        max-width: 420px;
        margin: 6px auto 0 auto;
        padding: 0;
    }

    .check-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.78rem;
        font-weight: 600;
        background: var(--bg-surface-secondary);
        border: 1px solid var(--border-subtle);
        padding: 5px 12px;
        border-radius: var(--radius-full);
        white-space: nowrap;
    }

    .check-circle-icon {
        width: 16px;
        height: 16px;
    }

    .check-circle-icon svg {
        width: 9px;
        height: 9px;
    }

    .tts-card {
        padding: 18px 16px;
        border-radius: var(--radius-lg);
    }

    .voice-items-scroll-container {
        max-height: 310px;
    }

    /* Stats Row Mobile */
    .stats-grid-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .stat-pill-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 4px;
        gap: 6px;
    }

    .stat-icon-circle {
        width: 32px;
        height: 32px;
    }

    .stat-big-number {
        font-size: 0.88rem;
    }

    .stat-small-label {
        font-size: 0.68rem;
    }

    /* How It Works Vertical Flow */
    .steps-flow-card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .step-card-box {
        align-items: center;
        text-align: center;
    }

    .step-badge-number {
        left: calc(50% - 35px);
    }

    .step-connector-arrow {
        transform: rotate(90deg);
        display: flex;
        justify-content: center;
    }

    /* FAQ Mobile 1-Column */
    .faq-accordion-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .faq-toggle-btn {
        padding: 14px 16px;
        font-size: 0.88rem;
    }

    /* Social Share Mobile */
    .enjoy-voicegen-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 16px;
    }

    .share-icons-row {
        width: 100%;
        justify-content: space-between;
    }

    /* Audio Output Mobile */
    .audio-output-player-card {
        padding: 18px 16px;
    }

    /* Footer Mobile */
    .voicegen-site-footer {
        padding: 36px 0 24px 0;
        text-align: center;
    }

    .footer-layout-container {
        gap: 22px;
        align-items: center;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        width: 100%;
    }

    .footer-brand-box {
        display: flex;
        justify-content: center;
    }

    .footer-nav-menu {
        width: 100%;
    }

    .footer-links-list {
        justify-content: center;
        gap: 12px 20px;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

    .footer-links-list a {
        font-size: 0.88rem;
        font-weight: 500;
        padding: 4px 6px;
    }

    .footer-social-links {
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: 2px;
    }

    .social-icon-btn {
        width: 38px;
        height: 38px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        padding-top: 18px;
        width: 100%;
    }

    .footer-copyright-text {
        font-size: 0.82rem;
        color: var(--text-muted);
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 0.82rem;
    }
}

/* Small Smartphone (Under 480px) */
@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.8rem;
    }

    .stat-big-number {
        font-size: 0.82rem;
    }

    .voice-item-row {
        padding: 8px 10px;
    }

    .voice-avatar-thumb {
        width: 38px;
        height: 38px;
    }

    .custom-audio-player-bar {
        flex-wrap: wrap;
    }

    .audio-timeline-track {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        margin-top: 4px;
    }
}

/* ==========================================================================
   SPONSORED REWARD AD MODAL FOR SPEECH GENERATION (500-CHAR FREE LOOP)
   ========================================================================== */
.tts-ad-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tts-ad-modal-dialog {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
    from {
        transform: translateY(20px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.tts-ad-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface-secondary);
}

.tts-ad-badge-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tts-ad-pill {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.tts-ad-limit-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.tts-ad-countdown-box {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.tts-ad-content-body {
    padding: 20px;
}

.tts-ad-video-mockup {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 32px 20px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.3);
}

.tts-ad-sponsor-label {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.tts-ad-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tts-ad-brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(90deg, #a5b4fc, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tts-ad-tagline {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.tts-ad-progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.tts-ad-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
}

.tts-ad-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface-secondary);
    gap: 12px;
}

.tts-ad-footer-hint {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.btn-skip-ad-disabled {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--radius-md);
    cursor: not-allowed;
    opacity: 0.7;
    white-space: nowrap;
}

.btn-skip-ad-disabled.can-skip {
    cursor: pointer;
    opacity: 1;
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ==========================================================================
   LEGAL PAGES & SUPPORT HELP CENTER STYLES
   ========================================================================== */
.voicegen-legal-page-wrapper {
    padding: 40px 0 70px 0;
    min-height: 75vh;
}

.legal-content-container {
    max-width: 860px;
    margin: 0 auto;
}

.legal-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.legal-breadcrumbs a {
    color: var(--primary-light);
    font-weight: 500;
}

.legal-breadcrumbs .crumb-separator {
    color: var(--border-subtle);
}

.legal-breadcrumbs .current-crumb {
    color: var(--text-main);
    font-weight: 600;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 36px;
}

.legal-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.legal-page-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 8px;
}

.legal-page-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.legal-card-body {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section p {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.legal-section ul {
    margin: 12px 0 16px 20px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

.legal-section ul li {
    margin-bottom: 8px;
}

.legal-contact-box {
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 12px;
}

.legal-contact-box p {
    margin-bottom: 6px;
}

.legal-contact-box p:last-child {
    margin-bottom: 0;
}

/* Support Grid Cards */
.support-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.support-card-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-card-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.4);
}

.support-card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.support-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.support-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-support-action {
    width: 100%;
    font-size: 0.86rem;
    padding: 8px 16px;
}

.troubleshoot-item {
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 14px;
}

.troubleshoot-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 6px;
}

.troubleshoot-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Legal Page */
@media (max-width: 768px) {
    .legal-card-body {
        padding: 24px 18px;
    }

    .legal-page-title {
        font-size: 1.85rem;
    }

    .support-grid-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   ADBLOCKER DETECTION MODAL & OVERLAY STYLES
   ========================================================================== */
.adblock-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.adblock-modal-card {
    background: var(--bg-surface);
    border: 1.5px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 35px rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 500px;
    padding: 32px 28px;
    text-align: center;
    animation: adblockPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adblockPopIn {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.adblock-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.12);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px auto;
}

.adblock-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}

.adblock-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.adblock-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

.adblock-instructions-box {
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    text-align: left;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.instruction-step .step-num {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-adblock-refresh {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-adblock-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.adblock-footer-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 14px;
    margin-bottom: 0;
}

/* ==========================================================================
   PRICING PAGE CUSTOM STYLES
   ========================================================================== */
.pricing-showcase-wrapper {
    display: flex;
    justify-content: center;
    margin: 28px 0 40px 0;
    width: 100%;
}

.pricing-plan-card.featured-free-plan {
    background: var(--bg-surface);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.18), var(--shadow-lg);
    width: 100%;
    max-width: 620px;
    padding: 38px 34px;
    position: relative;
    overflow: hidden;
}

.pricing-plan-card.featured-free-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #10b981);
}

.pricing-badge-popular {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.pricing-plan-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.pricing-plan-description {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.pricing-amount-block {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 4px;
}

.pricing-currency {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
}

.pricing-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.pricing-period {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 4px;
}

.pricing-subtext-note {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.pricing-divider-line {
    height: 1px;
    background: var(--border-subtle);
    margin: 22px 0 26px 0;
}

.pricing-features-heading {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

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

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.pricing-check-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-pricing-cta {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
}

.section-center-heading {
    text-align: center;
    margin-bottom: 24px;
}

.section-mini-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.pricing-comparison-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-table th {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-surface-secondary);
}

.pricing-table .col-highlight {
    background: rgba(99, 102, 241, 0.05);
}

.pricing-table tr:hover td {
    background: rgba(99, 102, 241, 0.03);
}

.text-green {
    color: var(--accent-green);
}

@media (max-width: 768px) {
    .pricing-plan-card.featured-free-plan {
        padding: 26px 20px;
    }

    .pricing-number {
        font-size: 2.8rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 12px;
        font-size: 0.84rem;
    }
}

/* ==========================================================================
   FAQS PAGE CUSTOM STYLES
   ========================================================================== */
.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 10px 0;
}

.faq-nav-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.faq-nav-pill:hover {
    color: var(--primary-light);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   SUPPORT PAGE EMAIL ACTION STYLES
   ========================================================================== */
.support-email-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    width: 100%;
}

.support-gmail-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.support-gmail-link:hover {
    color: var(--primary-color);
}

.support-copy-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-surface-secondary);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s ease;
}

.support-copy-pill:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary-color);
    color: var(--text-main);
}

/* ==========================================================================
   ACTIVE ADSTERRA BANNER & SPONSOR SLOTS (100% Mobile Responsive)
   ========================================================================== */
.adsterra-banner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 8px;
}

.adsterra-banner-top {
    margin-top: 10px;
    margin-bottom: 28px;
}

.adsterra-banner-middle {
    margin: 36px 0;
}

.adsterra-banner-bottom {
    margin: 36px 0 20px 0;
}

.adsterra-banner-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adsterra-banner-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.adsterra-ad-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.adsterra-desktop-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.adsterra-mobile-ad {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Ensure all Adsterra and iframe banners never overflow container */
.adsterra-banner-card iframe,
.adsterra-desktop-ad iframe,
.adsterra-mobile-ad iframe {
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

#container-82158b594f595ea519dd497a001ac680 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: center !important;
}

#container-82158b594f595ea519dd497a001ac680 iframe {
    max-width: 100% !important;
}

/* Responsive Breakpoints for Tablet & Mobile */
@media (max-width: 820px) {
    .adsterra-desktop-ad {
        display: none !important;
    }
    .adsterra-mobile-ad {
        display: flex !important;
    }
    .adsterra-banner-wrapper {
        margin: 18px 0;
        padding: 0 4px;
    }
    .adsterra-banner-card {
        padding: 8px;
        width: auto;
        max-width: 100%;
    }
}

/* Mobile Screen Scaling for 300x250 Banners on small screens */
@media (max-width: 360px) {
    .adsterra-mobile-ad {
        transform: scale(0.92);
        transform-origin: center center;
    }
    .adsterra-banner-card {
        padding: 4px;
    }
}

@media (max-width: 330px) {
    .adsterra-mobile-ad {
        transform: scale(0.84);
        transform-origin: center center;
    }
    .adsterra-banner-card {
        padding: 2px;
    }
}

.main-app-layout-wrapper {
    display: flex !important;
    justify-content: center !important;
}

.main-content-flow {
    width: 100% !important;
    max-width: 1060px !important;
    margin: 0 auto !important;
}
