/* ==========================================================================
   OmniTools AI — Design System & Theme Styles
   Modern AI SaaS aesthetic: Deep navy / charcoal, violet / electric blue accents,
   glassmorphism, subtle glowing borders, sleek cards, and mobile-first design.
   ========================================================================== */

:root {
    /* Color Palette - Premium Aurora Theme (ClipMint AI 2026) */
    --bg-base: #080b15;
    --bg-surface: #111729;
    --bg-card: rgba(21, 30, 51, 0.85);
    --bg-card-hover: rgba(28, 40, 68, 0.95);
    --bg-input: #0b1122;
    --bg-subtle: rgba(141, 255, 206, 0.04);
    --border-color: rgba(141, 255, 206, 0.15);
    --border-glow: rgba(141, 255, 206, 0.35);

    /* Text Colors - High Contrast & Crisp Readability */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #071020;

    /* Brand & Aurora Mint Accents */
    --primary: #8dffce;
    --primary-hover: #55e8c1;
    --primary-light: rgba(141, 255, 206, 0.14);
    --accent-mint: #8dffce;
    --accent-mint-bright: #a2ffd7;
    --accent-teal: #55e8c1;
    --accent-blue: #83bbff;
    --accent-indigo: #6273aa;
    --accent-fuchsia: #d946ef;
    --gradient-brand: linear-gradient(120deg, #89ffd0 0%, #83bbff 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(141, 255, 206, 0.18) 0%, transparent 70%);

    /* Status Colors */
    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.12);
    --success-text: #34d399;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Typography */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Sizing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(141, 255, 206, 0.25);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Optional Light Theme */
[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --bg-input: #f1f5f9;
    --bg-subtle: #f8fafc;
    --border-color: #e2e8f0;
    --border-glow: rgba(141, 255, 206, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(141, 255, 206, 0.12);
}

/* Comprehensive High-Contrast Light Theme Overrides */
html[data-theme="light"],
html[data-theme="light"] body,
body[data-theme="light"] {
    background-color: #f8fafc !important;
    background-image: 
        radial-gradient(ellipse 85% 55% at 85% -10%, rgba(141, 255, 206, 0.25), transparent 60%),
        radial-gradient(ellipse 65% 45% at 10% 25%, rgba(56, 189, 248, 0.15), transparent 55%),
        radial-gradient(ellipse 75% 50% at 50% 85%, rgba(141, 255, 206, 0.18), transparent 60%) !important;
    background-attachment: fixed !important;
    color: #0f172a !important;
}
html[data-theme="light"] body::before {
    display: none !important;
}

[data-theme="light"] .hero-title {
    color: #0f172a;
}
[data-theme="light"] .hero-subtitle {
    color: #334155;
}
[data-theme="light"] .hero-pill {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .hero-highlight-pill {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .hero-highlight-pill:hover {
    background: #f8fafc;
    border-color: #059669;
    color: #065f46;
}
[data-theme="light"] .hero-feature-tag {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .tempmail-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .tool-title-group h2 {
    color: #0f172a;
}
[data-theme="light"] .tool-description {
    color: #475569;
}
[data-theme="light"] .inbox-display-wrapper {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
}
[data-theme="light"] .inbox-address {
    color: #047857 !important;
}
[data-theme="light"] .inbox-status-pill {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
[data-theme="light"] .inbox-actions .btn-outline {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
[data-theme="light"] .inbox-actions .btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}
[data-theme="light"] .empty-state-title {
    color: #0f172a;
}
[data-theme="light"] .empty-state-desc {
    color: #475569;
}
[data-theme="light"] .custom-inbox-section {
    background: #f8fafc;
    border-color: #e2e8f0;
}
[data-theme="light"] .custom-inbox-section label {
    color: #0f172a;
}
[data-theme="light"] .auth-input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
[data-theme="light"] .auth-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
[data-theme="light"] .messages-table th {
    background: #f1f5f9;
    color: #334155;
    border-color: #e2e8f0;
}
[data-theme="light"] .messages-table td {
    color: #0f172a;
    border-color: #e2e8f0;
}
[data-theme="light"] .message-row:hover {
    background: #f8fafc;
}
[data-theme="light"] .sender-name {
    color: #0f172a;
}
[data-theme="light"] .message-subject {
    color: #1e293b;
}
[data-theme="light"] .received-time {
    color: #64748b;
}
[data-theme="light"] .faq-item {
    background: #ffffff;
    border-color: #e2e8f0;
}
[data-theme="light"] .faq-question {
    color: #0f172a;
}
[data-theme="light"] .faq-answer {
    color: #334155;
}
[data-theme="light"] .voice-card {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
[data-theme="light"] .voice-card.selected {
    background: #ecfdf5;
    border-color: #10b981;
}
[data-theme="light"] .voice-card-name span {
    color: #0f172a;
}
[data-theme="light"] .voice-card-desc {
    color: #475569;
}
[data-theme="light"] .voice-filter-chip {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
}
[data-theme="light"] .voice-filter-chip.active {
    background: #047857;
    color: #ffffff;
    border-color: #047857;
}
[data-theme="light"] .preset-pill {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #1e293b;
}
[data-theme="light"] #voiceTextInput {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}
[data-theme="light"] .footer-container,
[data-theme="light"] .footer-section,
[data-theme="light"] .site-footer {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}
[data-theme="light"] .footer-title {
    color: #0f172a;
}
[data-theme="light"] .footer-link {
    color: #475569;
}
[data-theme="light"] .footer-link:hover {
    color: #047857;
}

/* Base Reset & Core Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background-color: #070a14;
    background-image: 
        radial-gradient(ellipse 85% 55% at 85% -10%, rgba(141, 255, 206, 0.22), transparent 60%),
        radial-gradient(ellipse 65% 45% at 10% 25%, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(ellipse 75% 50% at 50% 85%, rgba(85, 232, 193, 0.16), transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Ambient Lighting Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(circle, rgba(141, 255, 206, 0.12) 0%, rgba(56, 189, 248, 0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8, 11, 21, 0.88);
    border-bottom: 1px solid rgba(141, 255, 206, 0.12);
    transition: var(--transition);
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.85);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(85, 232, 193, 0.4);
}

.brand-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--primary-light);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    margin-left: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success-text);
    font-size: 0.8rem;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 64px 0 32px;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-pill-icon {
    color: var(--accent-blue);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 5px 14px;
    border-radius: var(--radius-full);
}

/* Modern Clean Hero Highlights Ribbon */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px auto 0;
    max-width: 860px;
}

.hero-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.hero-highlight-pill:hover {
    border-color: rgba(141, 255, 206, 0.45);
    background: rgba(141, 255, 206, 0.1);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.hero-highlight-pill .highlight-icon {
    font-size: 1rem;
    line-height: 1;
}

/* ==========================================================================
   Temp Mail Main Tool Card
   ========================================================================== */
.tool-section {
    padding: 16px 0 64px;
}

.tempmail-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tempmail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
}

.tool-header-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.tool-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tool-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(85, 232, 193, 0.15);
    border: 1px solid rgba(85, 232, 193, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.tool-title-group h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.tool-title-group p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Generation Form Wrapper */
.creation-box-wrap {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    transition: var(--transition);
}

.creation-box-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(85, 232, 193, 0.2);
}

.custom-input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-split-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

.username-input-field {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0 16px;
    transition: var(--transition);
}

.username-input-field:focus-within {
    border-color: var(--accent-blue);
}

.username-input-field input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 0;
    outline: none;
    font-family: inherit;
}

.username-input-field input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.domain-suffix-pill {
    background: var(--primary-light);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    user-select: none;
}

.creation-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Suggestion Container */
.suggestions-panel {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    display: none;
    animation: fadeIn 0.3s ease;
}

.suggestions-panel.active {
    display: block;
}

.suggestions-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 8px;
}

.suggestions-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-chip:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Active Inbox Bar (When generated) */
.active-inbox-dashboard {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.active-address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.address-display-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}

.address-hero-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    word-break: break-all;
    font-family: var(--font-mono);
}

.inbox-controls-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inbox-meta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-box {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #071020 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(141, 255, 206, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(141, 255, 206, 0.42);
    color: #071020 !important;
}

.btn-secondary {
    background: var(--bg-surface);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-outline-blue {
    background: transparent;
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--accent-blue);
}

.btn-outline-blue:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-blue);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* Status Dot with Pulse */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Live Inbox Message List
   ========================================================================== */
.inbox-list-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.inbox-toolbar {
    padding: 16px 24px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.empty-inbox-state {
    padding: 60px 24px;
    text-align: center;
}

.empty-radar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    animation: radarPulse 2.5s infinite;
}

@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.3); }
    70% { box-shadow: 0 0 0 18px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.message-list {
    list-style: none;
    min-height: 180px;
}

.message-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.message-item:hover {
    background-color: var(--primary-light);
}

.message-item:last-child {
    border-bottom: none;
}

.message-meta-left {
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}

.message-sender {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.message-subject {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Badges & Pills */
.otp-pill {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-text);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition);
}

.otp-pill:hover {
    background: rgba(16, 185, 129, 0.28);
    transform: translateY(-1px);
}

.link-pill {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.link-pill:hover {
    background: rgba(56, 189, 248, 0.28);
    transform: translateY(-1px);
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   AI Tools Directory Section
   ========================================================================== */
.tools-directory-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(85, 232, 193, 0.25);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.ai-tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ai-tool-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.ai-tool-card.featured-tool {
    border-color: rgba(85, 232, 193, 0.4);
    background: linear-gradient(180deg, rgba(85, 232, 193, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
}

.ai-tool-top {
    margin-bottom: 20px;
}

.tool-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ai-tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.ai-tool-card:hover .ai-tool-icon {
    transform: translateY(-3px) scale(1.08);
    filter: brightness(1.2);
}

/* Distinct Eye-Catching Color Gradients & Glow for Each Service */
.icon-emerald-cyan {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.3));
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.28);
    color: #34d399;
}
.icon-amber-rose {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(236, 72, 153, 0.3));
    border: 1.5px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28);
    color: #fbbf24;
}
.icon-purple-fuchsia {
    background: linear-gradient(135deg, rgba(85, 232, 193, 0.25), rgba(217, 70, 239, 0.3));
    border: 1.5px solid rgba(85, 232, 193, 0.45);
    box-shadow: 0 6px 20px rgba(85, 232, 193, 0.28);
    color: #c084fc;
}
.icon-indigo-blue {
    background: linear-gradient(135deg, rgba(141, 255, 206, 0.25), rgba(56, 189, 248, 0.3));
    border: 1.5px solid rgba(141, 255, 206, 0.45);
    box-shadow: 0 6px 20px rgba(141, 255, 206, 0.28);
    color: #818cf8;
}
.icon-cyan-green {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(16, 185, 129, 0.3));
    border: 1.5px solid rgba(6, 182, 212, 0.45);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.28);
    color: #22d3ee;
}
.icon-crimson-orange {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(249, 115, 22, 0.3));
    border: 1.5px solid rgba(239, 68, 68, 0.45);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.28);
    color: #f87171;
}
.icon-sky-violet {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(85, 232, 193, 0.3));
    border: 1.5px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.28);
    color: #60a5fa;
}
.icon-magenta-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(244, 63, 94, 0.3));
    border: 1.5px solid rgba(236, 72, 153, 0.45);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.28);
    color: #f472b6;
}
.icon-amber-emerald {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(16, 185, 129, 0.3));
    border: 1.5px solid rgba(234, 179, 8, 0.45);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.28);
    color: #facc15;
}

.status-chip {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-chip.live {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-text);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-chip.coming-soon {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.ai-tool-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.ai-tool-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-tool-bottom {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Informational, SEO & FAQ Sections
   ========================================================================== */
.info-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
}

.info-box:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.info-box-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 16px;
}

.info-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    user-select: none;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active {
    border-color: var(--border-glow);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   Message Viewer & Global Modal Overlays
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow-y: auto !important;
    overflow-x: hidden;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: auto;
}

.modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title-group h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-title-group p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.modal-otp-card {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.modal-otp-code {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--success-text);
    font-family: var(--font-mono);
}

.modal-link-card {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.modal-link-url {
    font-size: 0.9rem;
    color: var(--accent-blue);
    word-break: break-all;
    font-family: var(--font-mono);
    margin-top: 4px;
    max-height: 48px;
    overflow: hidden;
}

.modal-link-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.modal-email-content {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-x: auto;
}

.modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    margin-top: auto;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid var(--border-glow);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.3s ease;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Mobile Responsiveness
   ========================================================================== */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .site-header {
        height: auto;
    }
    .nav-wrap {
        height: 64px;
        padding: 0 16px;
    }
    .brand-logo {
        font-size: 1.18rem;
        gap: 8px;
    }
    .brand-icon {
        width: 32px;
        height: 32px;
    }
    .nav-actions {
        gap: 8px;
    }
    .nav-actions .btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        z-index: 100;
    }
    .nav-links.open a {
        font-size: 1.05rem;
        padding: 6px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .mobile-menu-toggle {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
    }
    .hero-section {
        padding: 24px 0 12px !important;
    }
    .hero-pill {
        font-size: 0.76rem !important;
        padding: 5px 12px !important;
        margin-bottom: 12px !important;
    }
    .hero-title {
        font-size: clamp(1.75rem, 6.2vw, 2.35rem) !important;
        line-height: 1.18 !important;
        margin-bottom: 10px !important;
        letter-spacing: -0.5px !important;
    }
    .hero-subtitle {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 14px !important;
        padding: 0 4px !important;
    }
    .hero-highlights {
        gap: 6px !important;
        margin: 10px auto 0 !important;
    }
    .hero-highlight-pill {
        font-size: 0.74rem !important;
        padding: 5px 11px !important;
    }
    .tool-section {
        padding: 8px 0 36px !important;
    }
    .category-filters {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        padding: 4px 0 12px 0 !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .category-filters::-webkit-scrollbar {
        display: none !important;
    }
    .filter-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
    }
    .tempmail-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    }
    .tool-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }
    .tool-title-group h2 {
        font-size: 1.25rem !important;
    }
    .tool-title-group p {
        font-size: 0.82rem !important;
    }
    .creation-box-wrap {
        padding: 14px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 18px !important;
    }
    .input-split-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .username-input-field {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 0 12px;
        min-height: 48px;
    }
    .username-input-field input {
        font-size: 0.95rem;
        min-width: 0;
    }
    .domain-suffix-pill {
        font-size: 0.74rem;
        padding: 4px 8px;
        flex-shrink: 0;
    }
    .creation-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
    }
    .creation-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 8px;
        min-height: 46px;
        font-size: 0.84rem;
        font-weight: 700;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ai-tool-card {
        padding: 20px;
        border-radius: 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .active-address-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .address-display-group {
        min-width: 0;
        width: 100%;
    }
    .address-hero-text {
        font-size: 1.05rem;
        word-break: break-all;
    }
    .inbox-controls-row {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .inbox-controls-row .btn {
        width: 100%;
        justify-content: center;
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    .inbox-meta-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   AI Tools Suite & Creative Studio Enhancements
   ========================================================================== */

/* Hero Quick Navigation Chips */
.hero-quick-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 28px;
}

.quick-tool-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .quick-tool-chip {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quick-tool-chip:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(141, 255, 206, 0.25);
}

.quick-tool-chip.chip-tempmail {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(14, 165, 233, 0.04));
}
.quick-tool-chip.chip-tempmail:hover {
    border-color: #38bdf8;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.quick-tool-chip.chip-voice {
    border-color: rgba(168, 85, 247, 0.45);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(147, 51, 234, 0.04));
}
.quick-tool-chip.chip-voice:hover {
    border-color: #a855f7;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.quick-tool-chip.chip-image {
    border-color: rgba(251, 146, 60, 0.45);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.12), rgba(234, 88, 12, 0.04));
}
.quick-tool-chip.chip-image:hover {
    border-color: #fb923c;
    box-shadow: 0 8px 24px rgba(251, 146, 60, 0.3);
}

.quick-tool-chip.chip-video {
    border-color: rgba(244, 63, 94, 0.45);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(225, 29, 72, 0.04));
}
.quick-tool-chip.chip-video:hover {
    border-color: #f43f5e;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.quick-tool-chip.chip-motion {
    border-color: rgba(52, 211, 153, 0.45);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(16, 185, 129, 0.04));
}
.quick-tool-chip.chip-motion:hover {
    border-color: #34d1bf;
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.quick-tool-chip.chip-shorts {
    border-color: rgba(141, 255, 206, 0.45);
    background: linear-gradient(135deg, rgba(141, 255, 206, 0.12), rgba(79, 70, 229, 0.04));
}
.quick-tool-chip.chip-shorts:hover {
    border-color: #8dffce;
    box-shadow: 0 8px 24px rgba(141, 255, 206, 0.3);
}

.chip-credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .chip-credit-pill {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.quick-tool-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}

/* Tools Controls & Search Bar */
.tools-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0 28px;
}

.tool-search-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.tool-search-wrap .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.6;
    pointer-events: none;
}

.tool-search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tool-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(85, 232, 193, 0.25);
    background: var(--bg-card);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.filter-btn {
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--bg-subtle);
}

.filter-btn.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 12px rgba(85, 232, 193, 0.25);
}

/* Tool Cards Enhancements */
.ai-tool-card {
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
}

.ai-tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(85, 232, 193, 0.4);
    box-shadow: 0 12px 30px -8px rgba(85, 232, 193, 0.25);
}

.btn-outline-glow {
    background: transparent;
    border: 1px solid rgba(85, 232, 193, 0.5);
    color: #c4b5fd;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}

.ai-tool-card:hover .btn-outline-glow {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(85, 232, 193, 0.4);
}

/* Interactive Tool Preview Modal */
.tool-preview-window,
.voice-studio-window {
    max-width: 660px;
    background: #0c101c;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.15);
}

.preset-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.preset-pill:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Voice Studio Enhanced Catalog Styles */
.voice-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding: 2px;
    margin-bottom: 14px;
}
.voice-catalog-grid::-webkit-scrollbar {
    width: 6px;
}
.voice-catalog-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.voice-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.voice-card:hover {
    background: rgba(141, 255, 206, 0.08);
    border-color: rgba(141, 255, 206, 0.4);
}
.voice-card.selected {
    background: rgba(141, 255, 206, 0.18);
    border-color: #8dffce;
    box-shadow: 0 0 14px rgba(141, 255, 206, 0.35);
}
.voice-card-info {
    flex: 1;
    min-width: 0;
}
.voice-card-name {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.voice-card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.voice-card-tag-ultra {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    font-weight: 800 !important;
}
.voice-active-indicator {
    display: none !important;
}
.voice-select-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.voice-select-action-btn:hover {
    background: rgba(141, 255, 206, 0.15);
    border-color: #8dffce;
    color: #8dffce;
}
.voice-select-action-btn.is-selected {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
}

/* Payment Modal Tab Styles */
.payment-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.payment-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}
.payment-tab-btn.active {
    background: #8dffce !important;
    color: #ffffff !important;
    border-color: #8dffce !important;
    box-shadow: 0 2px 8px rgba(141, 255, 206, 0.35);
}
.voice-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.voice-play-sample-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.voice-play-sample-btn:hover {
    background: #8dffce;
    border-color: #8dffce;
    transform: scale(1.1);
}
.voice-play-sample-btn.is-loading {
    min-width: 34px !important;
    width: auto !important;
    padding: 0 4px !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #070a14 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
}
.voice-filter-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.voice-filter-chip:hover,
.voice-filter-chip.active {
    background: #8dffce !important;
    color: #071020 !important;
    border-color: #8dffce !important;
    font-weight: 800 !important;
    box-shadow: 0 0 12px rgba(141, 255, 206, 0.4) !important;
}

.preview-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.preview-tool-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(85, 232, 193, 0.15);
    border: 1px solid rgba(85, 232, 193, 0.3);
}

.preview-desc-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.preview-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.preview-feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-primary);
}

.preview-feature-pill .feat-icon {
    color: var(--accent-blue);
    font-weight: 800;
}

.preview-sim-box {
    background: #07090e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.preview-sim-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.preview-sim-header .sim-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
}

.preview-sim-content {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.preview-waitlist-card {
    background: rgba(85, 232, 193, 0.08);
    border: 1px solid rgba(85, 232, 193, 0.25);
    border-radius: var(--radius-md);
    padding: 18px;
}

.waitlist-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.waitlist-form {
    display: flex;
    gap: 8px;
}

.waitlist-input {
    flex: 1;
    padding: 10px 16px;
    background: #07090e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.waitlist-input:focus {
    border-color: var(--primary);
}

.waitlist-btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.waitlist-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 8px;
}


/* ==========================================================================
   Daily Credits System & UI Badges
   ========================================================================== */
.nav-credits-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(234, 179, 8, 0.35);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fbbf24;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.15);
    transition: var(--transition);
}

.nav-credits-badge:hover {
    transform: translateY(-1px);
    border-color: #fbbf24;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.25);
}

.hero-credits-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.16) 0%, rgba(141, 255, 206, 0.16) 100%);
    border: 1.5px solid rgba(234, 179, 8, 0.45);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.18);
    transition: all var(--transition-normal);
}

.hero-credits-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(234, 179, 8, 0.28);
    border-color: #fbbf24;
}

[data-theme="light"] .hero-credits-banner {
    background: linear-gradient(135deg, #fefce8 0%, #ede9fe 100%);
    border-color: #f59e0b;
    color: #1e1b4b;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.hero-credits-banner strong {
    color: #f59e0b;
    font-weight: 800;
}

[data-theme="light"] .hero-credits-banner strong {
    color: #b45309;
}

.tool-credit-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(234, 179, 8, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(234, 179, 8, 0.28);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   How to Use Section (Homepage Embedded Guide)
   ========================================================================== */
.how-to-use-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.how-step-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: var(--transition);
}

.how-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.how-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.how-step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-guide-callout {
    margin-top: 36px;
    text-align: center;
}


/* ==========================================================================
   Hero Studio Showcase & High-End Visual Effects
   ========================================================================== */
.hero-stats-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 28px auto 36px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

.stat-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(141, 255, 206, 0.45);
    box-shadow: 0 6px 20px rgba(141, 255, 206, 0.25);
}

[data-theme="light"] .stat-badge {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stat-badge:hover {
    border-color: #8dffce;
    box-shadow: 0 6px 16px rgba(141, 255, 206, 0.15);
}

.stat-badge span:first-child {
    font-size: 0.95rem;
}

.studio-showcase-box {
    margin: 36px auto 0;
    max-width: 820px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(10, 14, 23, 0.95) 100%);
    border: 1px solid rgba(85, 232, 193, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(85, 232, 193, 0.15);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(16px);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-dots {
    display: flex;
    gap: 6px;
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.showcase-dot:nth-child(1) { background: #ef4444; }
.showcase-dot:nth-child(2) { background: #f59e0b; }
.showcase-dot:nth-child(3) { background: #10b981; }

.showcase-tabs {
    display: flex;
    overflow-x: auto;
    padding: 10px 14px;
    gap: 8px;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.showcase-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.showcase-tab.active {
    color: white;
    background: rgba(85, 232, 193, 0.2);
    border-color: rgba(85, 232, 193, 0.4);
    box-shadow: 0 0 12px rgba(85, 232, 193, 0.2);
}

.showcase-panes {
    padding: 24px;
    min-height: 200px;
}

.showcase-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.showcase-pane.active {
    display: block;
}

.showcase-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .showcase-demo-grid {
        grid-template-columns: 1fr;
    }
}

.showcase-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.showcase-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.showcase-visual {
    background: #05070c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #e2e8f0;
}

.traffic-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: #38bdf8;
}

/* ==========================================================================
   PRICING & SUBSCRIPTION SECTION
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pinch-zoom;
        gap: 16px;
        padding: 10px 10px 24px 10px;
        margin: 20px 0;
        scrollbar-width: thin;
    }
    .pricing-card {
        flex: 0 0 86%;
        min-width: 86%;
        max-width: 360px;
        scroll-snap-align: center;
        margin: 0;
    }
}

.pricing-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .pricing-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border-color: rgba(141, 255, 206, 0.4);
}

.pricing-card.featured {
    border: 2px solid #8dffce;
    background: linear-gradient(180deg, rgba(141, 255, 206, 0.12) 0%, var(--bg-surface) 100%);
    box-shadow: 0 10px 30px rgba(141, 255, 206, 0.25);
    transform: scale(1.03);
}

[data-theme="light"] .pricing-card.featured {
    background: #ffffff;
    border-color: #8dffce;
    box-shadow: 0 12px 35px rgba(141, 255, 206, 0.18);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 45px rgba(141, 255, 206, 0.35);
}

.pricing-card.pro-tier {
    border: 2px solid #ec4899;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.1) 0%, var(--bg-surface) 100%);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .pricing-card.pro-tier {
    background: #ffffff;
    border-color: #ec4899;
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.18);
}

.pricing-card.pro-tier:hover {
    border-color: #f43f5e;
    box-shadow: 0 18px 40px rgba(236, 72, 153, 0.35);
}

.pricing-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(141, 255, 206, 0.4);
    white-space: nowrap;
}

.pricing-ribbon.pro-ribbon {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.pricing-card-header {
    margin-bottom: 20px;
}

.pricing-plan-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .pricing-plan-name {
    color: #0f172a;
}

.pricing-plan-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
    min-height: 42px;
}

[data-theme="light"] .pricing-plan-desc {
    color: #475569;
}

.pricing-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 18px 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

[data-theme="light"] .pricing-currency {
    color: #0f172a;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

/* Eye-Catching Gradient Price Typography */
.pricing-amount.starter-price {
    background: linear-gradient(135deg, #8dffce 0%, #55e8c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-amount.pro-price {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-amount.free-price {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pricing-period {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

[data-theme="light"] .pricing-period {
    color: #64748b;
}

/* Eye-Catching Credits Highlights */
.pricing-credits-highlight {
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.pricing-credits-highlight.starter-credits {
    background: rgba(141, 255, 206, 0.2);
    border: 1px solid rgba(141, 255, 206, 0.45);
    color: #c7d2fe;
}

[data-theme="light"] .pricing-credits-highlight.starter-credits {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #4338ca;
}

.pricing-credits-highlight.pro-credits {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #fbcfe8;
}

[data-theme="light"] .pricing-credits-highlight.pro-credits {
    background: #fdf2f8;
    border-color: #fbcfe8;
    color: #9d174d;
}

.pricing-credits-highlight.free-credits {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #a7f3d0;
}

[data-theme="light"] .pricing-credits-highlight.free-credits {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.45;
}

[data-theme="light"] .pricing-feature-item {
    color: #1e293b;
}

.pricing-feature-item .check-icon {
    color: #10b981;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-action-btn {
    width: 100%;
    padding: 13px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* Modal Plan Card Styling (Eye-Catching & High Contrast) */
.modal-plan-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast);
}

.modal-plan-starter {
    background: linear-gradient(180deg, rgba(141, 255, 206, 0.14) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid #8dffce;
    box-shadow: 0 4px 20px rgba(141, 255, 206, 0.2);
}

[data-theme="light"] .modal-plan-starter {
    background: #f5f3ff;
    border: 2px solid #8dffce;
    box-shadow: 0 4px 16px rgba(141, 255, 206, 0.12);
}

.modal-plan-pro {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.14) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid #ec4899;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .modal-plan-pro {
    background: #fdf2f8;
    border: 2px solid #ec4899;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.12);
}

.modal-plan-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

[data-theme="light"] .modal-plan-title {
    color: #0f172a;
}

.modal-plan-price-val {
    font-size: 2rem;
    font-weight: 900;
    margin: 8px 0;
}

.modal-plan-price-val.starter {
    color: #8dffce;
}

[data-theme="light"] .modal-plan-price-val.starter {
    color: #4f46e5;
}

.modal-plan-price-val.pro {
    color: #ec4899;
}

[data-theme="light"] .modal-plan-price-val.pro {
    color: #db2777;
}

.modal-plan-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px 0;
    font-size: 0.84rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

[data-theme="light"] .modal-plan-features {
    color: #334155;
}

/* Modal Plan Slider & Mobile Touch Carousel */
.modal-plan-tabs {
    display: none;
    gap: 8px;
    margin: 14px 0 10px 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(141, 255, 206, 0.2);
}
.modal-plan-tabs .plan-tab-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.modal-plan-tabs .plan-tab-btn.active {
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #071020;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(141, 255, 206, 0.35);
}
.modal-slider-wrapper {
    position: relative;
    width: 100%;
}
.slider-nav-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 23, 41, 0.95);
    border: 1.5px solid #8dffce;
    color: #8dffce;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.slider-nav-arrow:active {
    transform: translateY(-50%) scale(0.92);
}
.slider-nav-arrow.slider-prev {
    left: -8px;
}
.slider-nav-arrow.slider-next {
    right: -8px;
}
.modal-plan-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}
.mobile-slider-hint,
.modal-slider-dots {
    display: none;
}

.voice-play-sample-btn.is-playing {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    animation: pulsePlayBtn 1.2s infinite ease-in-out;
}
@keyframes pulsePlayBtn {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@media (max-width: 640px) {
    .modal-plan-tabs {
        display: flex !important;
    }
    .slider-nav-arrow {
        display: inline-flex !important;
    }
    .mobile-slider-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: rgba(141, 255, 206, 0.12);
        border: 1px dashed rgba(141, 255, 206, 0.35);
        color: #a5b4fc;
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 700;
        margin: 10px 0 6px 0;
        animation: pulseSwipe 2.5s infinite ease-in-out;
    }
    @keyframes pulseSwipe {
        0%, 100% { opacity: 0.85; transform: translateX(0); }
        50% { opacity: 1; transform: translateX(4px); }
    }
    .modal-plan-slider {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pinch-zoom !important;
        gap: 14px !important;
        padding: 6px 4px 14px 4px !important;
        margin: 10px 0 !important;
        scrollbar-width: thin;
    }
    .modal-plan-slider::-webkit-scrollbar {
        height: 6px;
    }
    .modal-plan-slider::-webkit-scrollbar-thumb {
        background: rgba(141, 255, 206, 0.35);
        border-radius: 999px;
    }
    .modal-plan-slider .modal-plan-card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center !important;
        box-sizing: border-box !important;
    }
    .modal-slider-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 16px !important;
    }
    .slider-dot {
        height: 34px !important;
        width: auto !important;
        padding: 0 16px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1.5px solid rgba(141, 255, 206, 0.25) !important;
        color: #cbd5e1 !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        user-select: none !important;
    }
    .slider-dot:nth-child(1)::after {
        content: 'Starter Plan (₹299)';
    }
    .slider-dot:nth-child(2)::after {
        content: 'PRO Plan (₹599)';
    }
    .slider-dot.active {
        width: auto !important;
        background: linear-gradient(120deg, #89ffd0, #83bbff) !important;
        color: #071020 !important;
        border-color: #8dffce !important;
        box-shadow: 0 0 16px rgba(141, 255, 206, 0.45) !important;
    }
    .user-nav-name {
        max-width: 75px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Header Log Out Button */
.nav-btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.nav-btn-logout:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

[data-theme="light"] .nav-btn-logout {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

[data-theme="light"] .nav-btn-logout:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   AUTHENTICATION & PROFILE MODAL
   ========================================================================== */
.auth-modal-window {
    max-width: 450px;
    width: 100%;
    padding: 0;
    max-height: calc(100vh - 48px);
    overflow-y: auto !important;
    overflow-x: hidden;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.85), 0 0 25px rgba(141, 255, 206, 0.25);
    margin: auto;
}

/* Small Laptops & Mobile Responsive Viewport Support for Modals */
@media (max-height: 850px) {
    .modal-overlay {
        align-items: flex-start !important;
        padding-top: 16px !important;
        padding-bottom: 36px !important;
    }
    .auth-modal-window,
    .modal-window,
    .tool-preview-window {
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }
    .auth-body {
        padding: 18px 20px !important;
    }
}

/* Custom Sleek Scrollbar for entire document and all modals */
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #8dffce #0f172a;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0f19;
}
::-webkit-scrollbar-thumb {
    background: #8dffce;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #818cf8;
}

.auth-bonus-banner {
    background: linear-gradient(135deg, rgba(141, 255, 206, 0.2), rgba(168, 85, 247, 0.2));
    border-bottom: 1px solid rgba(141, 255, 206, 0.3);
    padding: 12px 18px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 16px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.auth-tab-btn.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.02);
}

.auth-body {
    padding: 24px;
}

.google-auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 16px;
    background: #ffffff;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.google-auth-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    padding: 0 10px;
}

.auth-input-group {
    margin-bottom: 14px;
    text-align: left;
}

.auth-input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    padding: 10px 14px;
    background: #05070a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(141, 255, 206, 0.2);
}

.auth-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.auth-submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* ==========================================================================
   USER PROFILE DROPDOWN MENU
   ========================================================================== */
.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(141, 255, 206, 0.12);
    border: 1.5px solid rgba(141, 255, 206, 0.35);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    user-select: none;
}

.user-profile-badge:hover,
.user-profile-badge.active {
    background: rgba(141, 255, 206, 0.22);
    border-color: #8dffce;
    box-shadow: 0 4px 16px rgba(141, 255, 206, 0.25);
}

[data-theme="light"] .user-profile-badge {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #1e1b4b;
}

[data-theme="light"] .user-profile-badge:hover,
[data-theme="light"] .user-profile-badge.active {
    background: #ede9fe;
    border-color: #55e8c1;
}

.user-avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
}

.user-nav-name {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--text-primary);
}

[data-theme="light"] .user-nav-name {
    color: #0f172a;
}

.user-nav-plan-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 800;
    background: #8dffce;
    color: #ffffff;
}

.dropdown-chevron {
    transition: transform var(--transition-fast);
    color: var(--text-muted);
}

.user-profile-badge.active .dropdown-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    background: #111729;
    border: 1.5px solid rgba(141, 255, 206, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(141, 255, 206, 0.15);
    padding: 14px;
    z-index: 10000;
    backdrop-filter: blur(20px);
    display: none;
    animation: fadeInDown 0.18s ease-out;
}

[data-theme="light"] .user-dropdown-menu {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
}

.dropdown-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.dropdown-user-info {
    flex: 1;
    min-width: 0;
}

.dropdown-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="light"] .dropdown-name {
    color: #0f172a;
}

.dropdown-email {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-balance-pill {
    background: rgba(141, 255, 206, 0.15);
    border: 1px solid rgba(141, 255, 206, 0.35);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c7d2fe;
    margin-bottom: 8px;
}

[data-theme="light"] .dropdown-balance-pill {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #4338ca;
}

.dropdown-plan-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 800;
    background: #8dffce;
    color: #fff;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

[data-theme="light"] .dropdown-divider {
    background: #e2e8f0;
}

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    font-family: inherit;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .dropdown-item:hover {
    background: #f1f5f9;
}

.dropdown-item-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.dropdown-item-text {
    flex: 1;
}

.dropdown-item-text strong {
    display: block;
    font-size: 0.86rem;
    color: var(--text-primary);
}

[data-theme="light"] .dropdown-item-text strong {
    color: #0f172a;
}

.dropdown-item-text small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.dropdown-item.dropdown-logout-btn {
    margin-top: 4px;
}

.dropdown-item.dropdown-logout-btn:hover {
    background: rgba(239, 68, 68, 0.12);
}

[data-theme="light"] .dropdown-item.dropdown-logout-btn:hover {
    background: #fef2f2;
}

/* ==========================================================================
   FLOATING SIDEBAR TRIGGER (HOW TO USE AI TOOLS)
   ========================================================================== */
.floating-sidebar-trigger {
    position: fixed;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    z-index: 998;
    background: linear-gradient(135deg, rgba(20, 26, 46, 0.96), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(141, 255, 206, 0.5);
    border-right: none;
    border-radius: 20px 0 0 20px;
    box-shadow: -4px 8px 30px rgba(141, 255, 206, 0.35);
    padding: 10px 14px 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
}

[data-theme="light"] .floating-sidebar-trigger {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: -4px 8px 24px rgba(141, 255, 206, 0.2);
}

.floating-sidebar-trigger:hover {
    transform: translateY(-50%) translateX(-6px);
    box-shadow: -6px 12px 36px rgba(141, 255, 206, 0.55);
    border-color: #818cf8;
}

.sidebar-trigger-badge {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(141, 255, 206, 0.25), rgba(168, 85, 247, 0.25));
    border: 1px solid rgba(129, 140, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trigger-beacon {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
    100% { transform: scale(0.9); opacity: 0.9; }
}

.sidebar-trigger-content {
    display: flex;
    flex-direction: column;
}

.trigger-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

[data-theme="light"] .trigger-title {
    color: #0f172a;
}

.trigger-lang {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a855f7;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   BILINGUAL LANGUAGE TOGGLE (HINDI / ENGLISH)
   ========================================================================== */
.lang-switch-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 4px 6px 4px 14px;
}

[data-theme="light"] .lang-switch-container {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.lang-switch-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

[data-theme="light"] .lang-switch-label {
    color: #475569;
}

.lang-toggle-pills {
    display: flex;
    gap: 4px;
}

.lang-pill {
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

[data-theme="light"] .lang-pill {
    color: #475569;
}

.lang-pill.active {
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(141, 255, 206, 0.35);
}

/* ==========================================================================
   HOMEPAGE HOW-TO-USE FLASH SLIDER
   ========================================================================== */
.how-slider-wrap {
    position: relative;
    margin-top: 32px;
    overflow: hidden;
}

.how-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-slide-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .how-slide-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 640px) {
    .how-slide-card {
        flex: 0 0 100%;
        min-width: unset;
    }
}

.how-slide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(141, 255, 206, 0.6);
    box-shadow: 0 16px 36px rgba(141, 255, 206, 0.2);
}

.how-slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.how-slide-icon {
    font-size: 2rem;
}

.how-slide-cost {
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.how-slide-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

[data-theme="light"] .how-slide-title {
    color: #0f172a;
}

.how-slide-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.how-slide-steps-mini {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how-slide-steps-mini li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.how-step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(141, 255, 206, 0.2);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

.how-slide-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.slider-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.slider-nav-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #fff;
    border-color: transparent;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

[data-theme="light"] .slider-dot {
    background: #cbd5e1;
}

.slider-dot.active {
    width: 28px;
    border-radius: 6px;
    background: linear-gradient(120deg, #89ffd0, #83bbff);
}

/* ==========================================================================
   BILINGUAL HOW-TO-USE MODAL DRAWER
   ========================================================================== */
.howtouse-modal-dialog {
    max-width: 860px;
    width: 95vw;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

[data-theme="light"] .howtouse-modal-dialog {
    background: #ffffff;
    border-color: #cbd5e1;
}

.howtouse-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

[data-theme="light"] .howtouse-modal-header {
    border-bottom-color: #e2e8f0;
}

.howtouse-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guide-tool-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: thin;
}

.guide-tab {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

[data-theme="light"] .guide-tab {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.guide-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.guide-tab.active {
    background: linear-gradient(135deg, rgba(141, 255, 206, 0.2), rgba(168, 85, 247, 0.2));
    border-color: #818cf8;
    color: #818cf8;
    box-shadow: 0 4px 16px rgba(141, 255, 206, 0.25);
}

.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

@media (max-width: 640px) {
    .guide-steps-grid {
        grid-template-columns: 1fr;
    }
}

.guide-step-card-modal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: relative;
}

[data-theme="light"] .guide-step-card-modal {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.guide-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.guide-step-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(120deg, #89ffd0, #83bbff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.guide-step-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary);
}

[data-theme="light"] .guide-step-title {
    color: #0f172a;
}

.guide-step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-protip-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0;
}

.guide-protip-icon {
    font-size: 1.25rem;
    color: #f59e0b;
}

.guide-protip-text {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.guide-protip-text strong {
    color: #f59e0b;
}

/* ==========================================================================
   CLIPMINT AI — PREMIUM AURORA THEME 2026 SURFACES & MOBILE OPTIMIZATIONS
   ========================================================================== */
html:not([data-theme="light"]) .tempmail-card,
html:not([data-theme="light"]) .ai-tool-card,
html:not([data-theme="light"]) .pricing-card,
html:not([data-theme="light"]) .voice-card,
html:not([data-theme="light"]) .modal-window,
html:not([data-theme="light"]) .auth-box {
    background: linear-gradient(145deg, rgba(21, 30, 51, 0.90), rgba(16, 23, 38, 0.94)) !important;
    border: 1px solid rgba(141, 255, 206, 0.16) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

html:not([data-theme="light"]) .tempmail-card:hover,
html:not([data-theme="light"]) .ai-tool-card:hover,
html:not([data-theme="light"]) .pricing-card:hover {
    border-color: rgba(141, 255, 206, 0.38) !important;
    box-shadow: 0 18px 48px rgba(141, 255, 206, 0.12), 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* Light Theme High-Contrast Surfaces & Cards */
html[data-theme="light"] .tempmail-card,
html[data-theme="light"] .ai-tool-card,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .voice-card,
html[data-theme="light"] .modal-window,
html[data-theme="light"] .auth-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[data-theme="light"] .tempmail-card:hover,
html[data-theme="light"] .ai-tool-card:hover,
html[data-theme="light"] .pricing-card:hover {
    border-color: #059669 !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12) !important;
}

/* Light Theme High-Contrast Text Rules */
html[data-theme="light"] .hero-title {
    color: #0f172a !important;
}
html[data-theme="light"] .hero-subtitle {
    color: #1e293b !important;
    font-weight: 500 !important;
}
html[data-theme="light"] .tool-title-group h2,
html[data-theme="light"] #tempmail-workspace h2,
html[data-theme="light"] .tempmail-card h2 {
    color: #0f172a !important;
    font-weight: 800 !important;
}
html[data-theme="light"] .tool-title-group p,
html[data-theme="light"] .tool-description,
html[data-theme="light"] #tempmail-workspace p,
html[data-theme="light"] .tempmail-card p {
    color: #1e293b !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}
html[data-theme="light"] .tool-title-group p code {
    color: #047857 !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}
html[data-theme="light"] .ai-tool-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}
html[data-theme="light"] .ai-tool-desc {
    color: #1e293b !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}
html[data-theme="light"] .section-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}
html[data-theme="light"] .section-subtitle {
    color: #334155 !important;
}
html[data-theme="light"] .pricing-plan-name {
    color: #0f172a !important;
    font-weight: 800 !important;
}
html[data-theme="light"] .pricing-plan-desc {
    color: #334155 !important;
}
html[data-theme="light"] .pricing-features li {
    color: #1e293b !important;
}
html[data-theme="light"] .faq-question {
    color: #0f172a !important;
    font-weight: 700 !important;
}
html[data-theme="light"] .faq-answer {
    color: #334155 !important;
}
html[data-theme="light"] .faq-item {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

/* Dark Theme Text Contrast Guarantee */
html:not([data-theme="light"]) .tool-title-group h2,
html:not([data-theme="light"]) .tempmail-card h2 {
    color: #ffffff !important;
}
html:not([data-theme="light"]) .tool-title-group p,
html:not([data-theme="light"]) .tempmail-card p {
    color: rgba(255, 255, 255, 0.82) !important;
}
html:not([data-theme="light"]) .ai-tool-title {
    color: #ffffff !important;
}
html:not([data-theme="light"]) .ai-tool-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Crisp Readability & Contrast Hierarchy */
p, .ai-tool-desc, .pricing-plan-desc, .feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

h1, h2, h3, h4, .section-title, .ai-tool-title, .pricing-plan-name {
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Mobile-Friendly Usability Rules (44px Minimum Touch Targets & Safe Scroll) */
@media (max-width: 768px) {
    /* Touch Target Minimums */
    button,
    .btn,
    .filter-btn,
    .voice-play-sample-btn,
    .copy-btn,
    .input-field,
    .tool-search-input,
    .user-profile-badge {
        min-height: 44px;
    }

    /* Floating Guide Fix: Keep user dropdown popup above floating widgets */
    .user-dropdown-menu {
        position: fixed !important;
        top: 68px !important;
        right: 12px !important;
        left: auto !important;
        max-width: 310px !important;
        width: calc(100vw - 24px) !important;
        z-index: 10000 !important;
    }

    /* Swipe hint above pricing grid on mobile */
    .pricing-grid::after {
        content: '👉 Swipe left to view all plans';
        display: block;
        width: 100%;
        text-align: center;
        color: #8dffce;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        margin-top: 6px;
    }
}

