/* ==========================================================================
   Phon Voice Studio - Core Stylesheet
   Color Palette & Brand Architecture based on Executive Navy & Copper Theme
   Domain: phon.asia
   ========================================================================== */

:root {
    --brand-navy-deep: #122442;
    --brand-navy-dark: #0b182d;
    --brand-navy-medium: #1b3560;
    --brand-navy-light: #284c84;
    --brand-copper: #c25d3b;
    --brand-copper-hover: #d66f4c;
    --brand-copper-light: #fbf0ec;
    --brand-copper-glow: rgba(194, 93, 59, 0.25);
    
    --bg-page: #f8fafc;
    --surface-card: #ffffff;
    --surface-elevated: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
    --border-accent: rgba(194, 93, 59, 0.35);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(18, 36, 66, 0.08);
    --shadow-lg: 0 12px 30px rgba(18, 36, 66, 0.12);
    --shadow-glow: 0 0 25px rgba(194, 93, 59, 0.35);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.68;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-navy-deep);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--brand-copper);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-copper-hover);
}

/* ==========================================================================
   Header Styles (Navy & Copper Angular Geometry)
   ========================================================================== */

.master-header {
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

/* Decorative Geometric Accent Layer at the Top */
.header-geometric-layer {
    position: relative;
    width: 100%;
    height: 8px;
    background: var(--brand-navy-deep);
    overflow: hidden;
}

.geo-stripe-copper {
    position: absolute;
    top: 0;
    left: 15%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-copper), #e67d58);
    transform: skewX(-35deg);
}

.geo-polygon-navy {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: var(--brand-navy-medium);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Brand Logo */
.brand-monogram {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-svg {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.svg-navy {
    color: var(--brand-navy-deep);
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-navy-deep);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.brand-domain {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-copper);
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.logo-img {
    max-height: 48px;
    width: auto;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 4px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-navy-deep);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-copper);
    border-radius: 2px;
}

/* Header Action Button */
.btn-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-copper), #e06d48);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(194, 93, 59, 0.35);
    transition: var(--transition);
}

.btn-primary-action:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 93, 59, 0.45);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--brand-navy-deep);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section (Matching Uploaded Stationery Geometry)
   ========================================================================== */

.master-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy-deep) 65%, #18335c 100%);
    color: #ffffff;
    padding: 65px 0 75px;
    overflow: hidden;
}

.master-hero-section h1,
.master-hero-section h2,
.master-hero-section h3 {
    color: #ffffff;
}

/* Geometric Backdrop Layer (Navy & Copper Angled Shapes) */
.hero-backdrop-geometry {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.geo-angle-left {
    position: absolute;
    top: -50px;
    left: -80px;
    width: 480px;
    height: 320px;
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
    transform: rotate(-5deg);
}

.geo-stripe-accent {
    position: absolute;
    top: 0;
    right: 25%;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-copper), transparent);
    transform: skewX(-25deg);
    opacity: 0.8;
}

.geo-angle-right {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 450px;
    background: linear-gradient(135deg, rgba(194, 93, 59, 0.15), rgba(18, 36, 66, 0.4));
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-content-relative {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.status-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.02em;
}

.hero-display-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-lead-description {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 620px;
}

/* Feature Pills in Hero */
.hero-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 600;
    color: #f1f5f9;
    padding: 5px 12px;
    border-radius: 6px;
}

.feature-pill svg {
    color: var(--brand-copper);
}

/* Hero CTA Buttons */
.hero-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-copper), #df6843);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(194, 93, 59, 0.4);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(194, 93, 59, 0.55);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 12px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Graphic Mockup Card */
.hero-card-mockup {
    position: relative;
    background: rgba(14, 27, 49, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

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

.mockup-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-logo-square {
    width: 22px;
    height: 22px;
    border: 2px solid var(--brand-copper);
    border-radius: 4px;
    position: relative;
}

.mockup-logo-square::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--brand-copper);
    border-radius: 2px;
}

.mockup-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

/* Animated Signal Wave in Mockup */
.mockup-signal-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
}

.mockup-signal-wave .bar {
    width: 3.5px;
    background: var(--brand-copper);
    border-radius: 2px;
    animation: signalWave 1.4s ease-in-out infinite;
}

.mockup-signal-wave .b1 { height: 8px; animation-delay: 0.0s; }
.mockup-signal-wave .b2 { height: 18px; animation-delay: 0.2s; }
.mockup-signal-wave .b3 { height: 24px; animation-delay: 0.4s; }
.mockup-signal-wave .b4 { height: 12px; animation-delay: 0.1s; }
.mockup-signal-wave .b5 { height: 20px; animation-delay: 0.3s; }
.mockup-signal-wave .b6 { height: 16px; animation-delay: 0.5s; }
.mockup-signal-wave .b7 { height: 10px; animation-delay: 0.2s; }

@keyframes signalWave {
    0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

.card-mockup-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-copper);
}

.spec-label {
    color: #94a3b8;
}

.spec-val {
    font-weight: 700;
    color: #f8fafc;
}

.tag-safe {
    color: #34d399 !important;
}

.card-mockup-footer-angle {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-copper), transparent);
    transform: rotate(25deg);
    opacity: 0.3;
}

/* Breadcrumbs for Internal Pages */
.hero-internal {
    padding: 45px 0 55px;
}

.hero-internal .hero-display-title {
    font-size: 2.3rem;
    margin-bottom: 12px;
}

.hero-breadcrumb-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.9rem;
    color: #94a3b8;
}

.breadcrumb-list a {
    color: #cbd5e1;
}

.breadcrumb-list a:hover {
    color: var(--brand-copper);
}

.badge-wordcount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(194, 93, 59, 0.2);
    border: 1px solid var(--brand-copper);
    color: #ffc4b0;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ==========================================================================
   Voice Changer Interactive Studio Tool
   ========================================================================== */

.voice-studio-container {
    position: relative;
    margin-top: 35px;
    z-index: 10;
    margin-bottom: 65px;
}

.studio-main-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 50px rgba(18, 36, 66, 0.14), 0 6px 16px rgba(0, 0, 0, 0.05);
    border: 2px solid #cbd5e1;
    overflow: hidden;
}

/* Studio Tabs */
.studio-tab-header {
    display: flex;
    background: #e2e8f0;
    border-bottom: 2px solid #cbd5e1;
}

.studio-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    background: #f8fafc;
    border: none;
    border-right: 1px solid #cbd5e1;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy-deep);
    cursor: pointer;
    transition: var(--transition);
}

.studio-tab-btn:last-child {
    border-right: none;
}

.studio-tab-btn svg {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: var(--transition);
}

.studio-tab-btn:hover {
    color: var(--brand-copper);
    background: #ffffff;
}

.studio-tab-btn:hover svg {
    color: var(--brand-copper);
}

.studio-tab-btn.active {
    color: #ffffff;
    background: var(--brand-navy-deep);
    border-bottom: 4px solid var(--brand-copper);
}

.studio-tab-btn.active svg {
    color: var(--brand-copper);
}

/* Tab Panels */
.studio-tab-content {
    padding: 38px 32px;
    background: #ffffff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 1. Microphone Recorder UI */
.mic-recorder-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.mic-button-wrapper {
    position: relative;
    display: inline-block;
    margin: 15px 0 25px;
}

.btn-mic-circle {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-copper), #df6843);
    border: 4px solid #ffffff;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(194, 93, 59, 0.45), 0 0 0 4px rgba(194, 93, 59, 0.2);
    transition: var(--transition);
}

.btn-mic-circle svg {
    width: 46px;
    height: 46px;
}

.btn-mic-circle:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 35px rgba(194, 93, 59, 0.6), 0 0 0 6px rgba(194, 93, 59, 0.3);
}

.btn-mic-circle.recording {
    background: #ef4444;
    animation: micPulse 1.2s infinite;
}

@keyframes micPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 24px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.record-timer {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-navy-deep);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.record-status-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.mic-visualizer-canvas {
    width: 100%;
    height: 90px;
    background: #090e1a;
    border: 2px solid #1e293b;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* 2. Audio File Upload Drag Box */
.audio-upload-dropzone {
    border: 2.5px dashed var(--brand-copper);
    background: #fbfaf8;
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.audio-upload-dropzone:hover, .audio-upload-dropzone.dragover {
    border-color: var(--brand-copper);
    background: var(--brand-copper-light);
    transform: translateY(-2px);
}

.upload-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(194, 93, 59, 0.15);
    color: var(--brand-copper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(194, 93, 59, 0.15);
}

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

.upload-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-navy-deep);
    margin-bottom: 8px;
}

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

/* 3. Text to Speech Panel */
.tts-container {
    max-width: 720px;
    margin: 0 auto;
}

.tts-textarea {
    width: 100%;
    height: 110px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
    outline: none;
    transition: var(--transition);
}

.tts-textarea:focus {
    border-color: var(--brand-copper);
    box-shadow: 0 0 0 3px var(--brand-copper-glow);
}

.tts-controls-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.tts-control-item label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.tts-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    background: #ffffff;
}

.btn-synthesize {
    grid-column: 1 / -1;
    background: var(--brand-navy-deep);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-synthesize:hover {
    background: var(--brand-navy-medium);
}

/* Master Audio Player Bar */
.master-player-bar {
    background: #0f1c32;
    color: #ffffff;
    padding: 24px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.player-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.player-playback-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-ctrl {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ctrl:hover {
    background: var(--brand-copper);
}

.btn-ctrl.btn-play-pause {
    width: 52px;
    height: 52px;
    background: var(--brand-copper);
}

.btn-ctrl.btn-play-pause:hover {
    background: var(--brand-copper-hover);
    transform: scale(1.05);
}

.player-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.track-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

.current-preset-badge {
    color: var(--brand-copper);
    font-weight: 700;
}

.audio-seekbar {
    width: 100%;
    accent-color: var(--brand-copper);
    cursor: pointer;
}

.player-actions-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-download-wav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-copper), #df6843);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(194, 93, 59, 0.4);
    transition: var(--transition);
}

.btn-download-wav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 93, 59, 0.55);
}

/* ==========================================================================
   Voice Effects Library Grid (25+ Icons & Profiles)
   ========================================================================== */

.effects-section-wrap {
    margin: 50px 0 70px;
}

.section-headline-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.badge-tag-copper {
    display: inline-block;
    background: rgba(194, 93, 59, 0.12);
    color: var(--brand-copper);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-headline-center h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.section-headline-center p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.effects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.effect-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.effect-card:hover {
    border-color: var(--brand-copper);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.effect-card.active {
    border-color: var(--brand-copper);
    background: #fffdfb;
    box-shadow: 0 0 0 2px var(--brand-copper);
}

.effect-card.active::before {
    content: 'ACTIVE';
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--brand-copper);
    padding: 2px 6px;
    border-radius: 4px;
}

.effect-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--brand-navy-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: var(--transition);
}

.effect-card:hover .effect-icon-box,
.effect-card.active .effect-icon-box {
    background: linear-gradient(135deg, var(--brand-navy-deep), var(--brand-navy-medium));
    color: var(--brand-copper);
}

.effect-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy-deep);
    margin-bottom: 6px;
}

.effect-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Custom Equalizer Panel */
.equalizer-drawer {
    margin-top: 35px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.equalizer-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 14px;
}

.sliders-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.slider-group input[type="range"] {
    width: 100%;
    accent-color: var(--brand-copper);
}

/* ==========================================================================
   Comprehensive 1500+ Words Guide Content Architecture
   ========================================================================== */

.content-guide-section {
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 70px 0;
}

.guide-article {
    max-width: 900px;
    margin: 0 auto;
}

.guide-article h2 {
    font-size: 2rem;
    margin: 40px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-subtle);
    position: relative;
}

.guide-article h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--brand-copper);
}

.guide-article h3 {
    font-size: 1.45rem;
    margin: 30px 0 14px;
}

.guide-article p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.78;
}

.guide-article ul, .guide-article ol {
    margin: 0 0 24px 24px;
    color: var(--text-secondary);
}

.guide-article li {
    font-size: 1.02rem;
    margin-bottom: 10px;
    line-height: 1.65;
}

/* Callout Alert Boxes */
.callout-box {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 28px 0;
    border-left: 4px solid var(--brand-copper);
    background: var(--bg-page);
}

.callout-box.tip {
    border-left-color: #10b981;
    background: #ecfdf5;
}

.callout-box.important {
    border-left-color: var(--brand-copper);
    background: #fff7ed;
}

.callout-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.callout-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Audio Comparison Table */
.guide-table-wrap {
    overflow-x: auto;
    margin: 30px 0;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

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

.guide-table th {
    background: var(--brand-navy-deep);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.guide-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Step by Step Flow */
.step-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}

.step-number-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-copper);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.92rem;
    margin: 0;
}

/* Interactive FAQ Accordion */
.faq-accordion-wrap {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: var(--transition);
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-navy-deep);
    cursor: pointer;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-panel {
    display: none;
    padding: 0 24px 22px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer-panel {
    display: block;
}

/* ==========================================================================
   Legal and CMS Document Pages (1200+ Words Formatting)
   ========================================================================== */

.page-wrapper-main {
    padding: 55px 0 85px;
    background: #ffffff;
}

.legal-document-wrapper {
    max-width: 920px;
    margin: 0 auto;
}

.legal-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 35px;
}

.badge-document {
    display: inline-block;
    background: rgba(194, 93, 59, 0.1);
    color: var(--brand-copper);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 4px;
}

.effective-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--brand-navy-deep);
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 22px 0 12px;
}

.legal-section p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.75;
}

.legal-section ul, .legal-section ol {
    margin: 0 0 22px 24px;
    color: var(--text-secondary);
}

.legal-section li {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.65;
}

.contact-box-snippet {
    background: #f8fafc;
    border-left: 4px solid var(--brand-copper);
    padding: 20px 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 15px;
}

.contact-box-snippet p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.support-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.channel-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.channel-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.channel-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Contact Form */
.contact-form-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 35px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-navy-deep);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--brand-copper);
    box-shadow: 0 0 0 3px var(--brand-copper-glow);
}

.btn-submit {
    background: linear-gradient(135deg, var(--brand-copper), #df6843);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    box-shadow: 0 6px 18px rgba(194, 93, 59, 0.4);
}

/* ==========================================================================
   Monetization & Sponsor Placement Slots (Safe Class Names)
   ========================================================================== */

.monetization-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 20px auto;
    text-align: center;
    padding: 0 20px;
}

.site-banner-box {
    background: #f8fafc;
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
    margin: 15px auto;
}

.site-banner-box.in-article {
    max-width: 400px;
    margin: 30px auto;
}

.banner-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.banner-display-content {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   Footer (Matching Uploaded Stationery Geometry)
   ========================================================================== */

.master-footer {
    position: relative;
    background: var(--brand-navy-dark);
    color: #ffffff;
    margin-top: auto;
}

/* Angular Geometric Accent Line across the top of footer */
.footer-geometric-accent {
    position: relative;
    width: 100%;
    height: 10px;
    background: var(--brand-navy-deep);
    overflow: hidden;
}

.geo-footer-stripe-copper {
    position: absolute;
    top: 0;
    right: 20%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, #e67d58, var(--brand-copper));
    transform: skewX(-35deg);
}

.geo-footer-navy-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--brand-navy-medium);
}

.footer-main-content {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-svg {
    width: 32px;
    height: 32px;
}

.footer-description {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.footer-status-pill .status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--brand-copper);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.admin-link {
    color: var(--brand-copper) !important;
    font-weight: 600;
}

.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    font-size: 0.85rem;
    color: #64748b;
}

.copyright-text strong {
    color: #cbd5e1;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.safe-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .main-navigation {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        padding: 20px;
    }
    .main-navigation.open {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .header-action-wrap .btn-primary-action {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-display-title {
        font-size: 2.1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .tts-controls-row {
        grid-template-columns: 1fr;
    }
    .effects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .studio-tab-btn span {
        display: none;
    }
    .studio-tab-btn {
        padding: 14px 10px;
    }
}
