/* ========================================
   THEME VARIABLES (Dark & Light Mode)
   ======================================== */
[data-theme="dark"] {
    --bg-main: #0c0c0e;
    --bg-card: #151518;
    --bg-input: #1a1a1e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-blue: #f59e0b; /* Gold */
    --accent-blue-hover: #d97706;
    --border-color: #27272a;
    --nav-bg: rgba(12, 12, 14, 0.95);
    --hero-secondary-btn: #ffffff;
    --hero-secondary-btn-text: #0c0c0e;
}

[data-theme="light"] {
    --bg-main: #f4f4f8;
    --bg-card: #ffffff;
    --bg-input: #eaeaf0;
    --text-primary: #111118;
    --text-secondary: #6b6b80;
    --accent-blue: #f59e0b; /* Gold */
    --accent-blue-hover: #d97706;
    --border-color: #d8d8e8;
    --nav-bg: rgba(244, 244, 248, 0.97);
    --hero-secondary-btn: #111118;
    --hero-secondary-btn-text: #ffffff;
}

/* Light mode specific overrides */
[data-theme="light"] .btn-hero-secondary {
    background-color: #111118;
    color: #ffffff;
}

[data-theme="light"] .feature-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .badge-exclusive {
    background-color: rgba(217, 119, 6, 0.1);
    color: #b45309;
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.1);
}

[data-theme="light"] .plan-btn-free {
    background-color: #e8e8f0;
    color: #111118;
    border-color: #d0d0e0;
}

[data-theme="light"] .auth-form input {
    background-color: #ffffff;
    border-color: #d0d0e0;
    color: #111118;
}

[data-theme="light"] .auth-form .domain-suffix {
    background-color: #eaeaf0;
    border-color: #d0d0e0;
    color: #6b6b80;
}

[data-theme="light"] .inbox-sidebar {
    background-color: #ffffff;
}

[data-theme="light"] .inbox-topbar {
    background-color: #f8f8fc;
}

[data-theme="light"] .search-container input {
    background-color: #ffffff;
    border-color: #d0d0e0;
    color: #111118;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #d97706, #c2410c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 5px rgba(217, 119, 6, 0.2));
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at top center, rgba(217, 119, 6, 0.12) 0%, transparent 65%);
}

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --font-stack: 'Inter', sans-serif;
    --brand-font: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-stack);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.brand span {
    font-family: var(--brand-font);
    font-weight: 800;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   NAVBAR
   ======================================== */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 3rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-icon {
    background-color: var(--accent-blue);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
    cursor: pointer;
}

.icon-btn-nav {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
}

.icon-btn-nav:hover {
    color: var(--text-primary);
    background-color: var(--bg-card);
}

.btn-nav-primary {
    background-color: var(--accent-blue);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-nav-primary:hover {
    background-color: var(--accent-blue-hover);
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    min-width: 170px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 200;
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.lang-option:hover,
.lang-option.active {
    background-color: var(--bg-input);
    color: var(--text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    flex: 1;
    background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.badge-exclusive {
    background-color: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 10px rgba(245, 158, 11, 0.2));
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-hero-primary {
    background-color: var(--accent-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-hero-primary:hover {
    background-color: var(--accent-blue-hover);
}

.btn-hero-secondary {
    background-color: var(--hero-secondary-btn);
    color: var(--hero-secondary-btn-text);
    padding: 0.8rem 1.5rem;
    
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.bg-blue {
    background-color: rgba(37, 99, 235, 0.12);
    color: #60a5fa;
}

.bg-purple {
    background-color: rgba(168, 85, 247, 0.12);
    color: #c084fc;
}

.bg-orange {
    background-color: rgba(249, 115, 22, 0.12);
    color: #fb923c;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: auto;
}

/* ========================================
   PRICING PAGE
   ======================================== */
.pricing-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    flex: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.pricing-card-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: transparent;
    color: white;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-card-premium .price-period {
    color: rgba(255, 255, 255, 0.7);
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-card-premium .plan-features li {
    color: rgba(255, 255, 255, 0.9);
}

.plan-features li i {
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.pricing-card-premium .plan-features li i {
    color: white;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 0.9rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
}

.plan-btn-free {
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.plan-btn-free:hover {
    background-color: var(--border-color);
}

.plan-btn-premium {
    background-color: white;
    color: #d97706;
}

.plan-btn-premium:hover {
    background-color: #f0f0f0;
}

.recommended-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #d97706;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ========================================
   AUTH PAGES (login & signup)
   ======================================== */
.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-brand {
    margin-bottom: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.auth-form .input-group {
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-form label span {
    color: var(--text-secondary);
    font-weight: 400;
}

.auth-form .input-wrapper {
    position: relative;
    display: flex;
}

.auth-form input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-form input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.error-message.visible {
    display: block;
}

.auth-form .domain-suffix {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: none;
    color: var(--text-secondary);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    font-size: 0.9rem;
    white-space: nowrap;
}

.auth-form .input-wrapper.grouped input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.auth-form .toggle-pwd {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
}

.btn-auth-submit {
    width: 100%;
    background-color: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.btn-auth-submit:hover {
    background-color: var(--accent-blue-hover);
}

.btn-auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-blue);
    font-weight: 600;
}

/* ========================================
   INBOX PAGE
   ======================================== */
.inbox-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.inbox-sidebar {
    width: 260px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.inbox-brand {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav-inbox {
    padding: 1rem;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.nav-link:hover {
    background-color: var(--bg-input);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--accent-blue);
    color: #111;
}

.nav-link .badge {
    background-color: var(--accent-blue);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.sidebar-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.sidebar-footer .user-email {
    font-weight: 600;
    margin-bottom: 4px;
    word-break: break-all;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.sidebar-footer .plan {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.sidebar-footer .logout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.sidebar-footer .logout:hover {
    color: var(--text-primary);
}

.inbox-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-main);
    overflow: hidden;
}

.inbox-topbar {
    height: 60px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background-color: var(--bg-card);
    flex-shrink: 0;
}

.search-container {
    position: relative;
    width: 350px;
}

.search-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-container input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem 0.5rem 2.2rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.topbar-actions {
    display: flex;
    gap: 1.2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    align-items: center;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.inbox-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.inbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-y: auto;
}

.empty-state i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#emailPane {
    flex: 1;
    overflow-y: auto;
    text-align: left;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.1s; }
.hero-subtitle { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.2s; }
.hero-buttons { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.3s; }

.auth-wrapper { position: relative; background: radial-gradient(circle at center, rgba(245, 158, 11, 0.05) 0%, transparent 60%); }
.pricing-section { position: relative; background: radial-gradient(circle at top center, rgba(245, 158, 11, 0.05) 0%, transparent 60%); }
[data-theme='light'] .auth-wrapper, [data-theme='light'] .pricing-section { background: radial-gradient(circle at top center, rgba(217, 119, 6, 0.08) 0%, transparent 60%); }

.gradient-text { display: inline-block; width: fit-content; }




/* --- Premium Navbar Styling --- */
.nav-links a:not(.btn-nav-primary) { position: relative; color: var(--text-secondary); font-weight: 500; padding-bottom: 2px; }
.nav-links a:not(.btn-nav-primary):hover { color: var(--text-primary); }
.nav-links a:not(.btn-nav-primary)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: linear-gradient(135deg, #f59e0b, #fbbf24); transition: width 0.3s ease; }
.nav-links a:not(.btn-nav-primary):hover::after { width: 100%; }
[data-theme='light'] .nav-links a:not(.btn-nav-primary)::after { background: linear-gradient(135deg, #d97706, #ea580c); }
.icon-btn-nav { color: #a78bfa !important; background: rgba(167, 139, 250, 0.1) !important; border: 1px solid rgba(167, 139, 250, 0.2) !important; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.icon-btn-nav:hover { background: rgba(167, 139, 250, 0.2) !important; box-shadow: 0 0 10px rgba(167, 139, 250, 0.3); }
[data-theme='light'] .icon-btn-nav { color: #f59e0b !important; background: rgba(245, 158, 11, 0.1) !important; border-color: rgba(245, 158, 11, 0.2) !important; }
[data-theme='light'] .icon-btn-nav:hover { background: rgba(245, 158, 11, 0.2) !important; box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
.lang-btn { border-color: rgba(255, 255, 255, 0.1) !important; background: rgba(255, 255, 255, 0.05) !important; color: var(--text-primary) !important; }
.lang-btn i:first-child { color: #60a5fa !important; }
.lang-btn:hover { border-color: #60a5fa !important; box-shadow: 0 0 10px rgba(96, 165, 250, 0.2); }
[data-theme='light'] .lang-btn { border-color: rgba(0, 0, 0, 0.1) !important; background: rgba(0, 0, 0, 0.03) !important; }
[data-theme='light'] .lang-btn i:first-child { color: #2563eb !important; }
[data-theme='light'] .lang-btn:hover { border-color: #2563eb !important; }

/* ========================================
   MOBILE RESPONSIVE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {

  /* --- NAVBAR --- */
  .landing-nav {
    padding: 0 1rem;
    flex-wrap: nowrap;
    height: 56px;
  }
  .brand span {
    font-size: 1.15rem !important;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links a:not(.btn-nav-primary) {
    display: none;
  }
  .btn-nav-primary {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.7rem !important;
  }

  /* --- HERO SECTION --- */
  .hero-section {
    padding: 5rem 1.2rem 2.5rem !important;
  }
  .hero-title {
    font-size: 2.6rem !important;
    letter-spacing: -0.02em !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
    margin-bottom: 2rem !important;
  }
  .hero-buttons {
    gap: 10px !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-buttons a {
    width: auto !important;
    text-align: center;
    justify-content: center;
  }

  /* --- FEATURES GRID --- */
  .features-grid {
    grid-template-columns: 1fr !important;
    padding: 1.5rem 1.2rem !important;
    gap: 1rem !important;
  }

  /* --- FOOTER --- */
  .site-footer {
    padding: 1.5rem 1.2rem !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  /* --- PRICING PAGE --- */
  .pricing-section {
    padding: 3rem 1.2rem 2rem !important;
  }
  .pricing-header h1 {
    font-size: 2rem !important;
  }
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* --- AUTH (LOGIN / SIGNUP) --- */
  .auth-wrapper {
    padding: 1rem !important;
    justify-content: flex-start !important;
    padding-top: 5rem !important;
  }
  .auth-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem !important;
  }

  /* --- INBOX --- */
  .inbox-sidebar {
    position: fixed !important;
    left: -100% !important;
    top: 0 !important;
    height: 100vh !important;
    z-index: 999 !important;
    width: 280px !important;
    transition: left 0.3s ease !important;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3) !important;
  }
  .inbox-sidebar.mobile-open {
    left: 0 !important;
  }
  .inbox-main {
    width: 100% !important;
  }
  .inbox-topbar {
    padding: 0 0.8rem !important;
  }
  .inbox-topbar .search-container {
    width: 200px !important;
    flex: none !important;
    margin-right: 6px;
  }
  .inbox-topbar .search-container button {
    padding: 0 10px !important;
    font-size: 0 !important;
  }
  .inbox-topbar .search-container button i {
    font-size: 0.85rem !important;
    position: static !important;
    transform: none !important;
  }
  #inboxView {
    padding: 15px 10px !important;
  }
}

/* --- MOBILE SIDEBAR TOGGLE BUTTON --- */
@media (max-width: 768px) {
  #mobileSidebarToggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
  }
  #mobileSidebarToggle:hover {
    background: var(--accent-blue);
    color: #111;
  }
  #mobileOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  #mobileOverlay.active {
    display: block;
  }
}
@media (min-width: 769px) {
  #mobileSidebarToggle { display: none !important; }
}









.search-container button i { position: static !important; transform: none !important; left: auto !important; top: auto !important; font-size: 0.9rem !important; }

@keyframes pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}


