@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {

    --white: #ffffff;
    --snow: #f8fafc;
    --ice: #f1f5f9;
    --mist: #e2e8f0;
    --steel: #94a3b8;
    --slate: #64748b;
    --charcoal: #334155;
    --midnight: #0f172a;
    --void: #020617;


    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;


    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;


    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;


    --bg-base: var(--white);
    --bg-subtle: var(--snow);
    --bg-muted: var(--ice);
    --bg-dark: var(--midnight);

    --text-primary: var(--midnight);
    --text-secondary: var(--slate);
    --text-muted: var(--steel);
    --text-inverted: var(--white);


    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.25);
    --shadow-glow-strong: 0 0 80px rgba(59, 130, 246, 0.4);

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-wrap: break-word;
    /* Prevent text overflow globally */
    word-wrap: break-word;
    /* Legacy support */
}


.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--blue-300), var(--cyan-400));
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--blue-400), var(--blue-200));
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cyan-400), var(--blue-300));
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -14s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-30px) scale(1.05);
    }

    50% {
        transform: translateY(20px) scale(0.95);
    }

    75% {
        transform: translateY(-15px) scale(1.02);
    }
}

@media (max-width: 768px) {
    .orb-1 {
        width: 300px;
        height: 300px;
        right: -50px;
        top: -100px;
    }

    .orb-2 {
        width: 250px;
        height: 250px;
        left: -50px;
        bottom: -50px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}


.app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 640px) {
    .app {
        padding: 16px 16px 32px;
        overflow-x: hidden;
    }
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .navbar {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 32px;
    }

    .nav-right {
        gap: 8px !important;
    }

    .brand-text {
        font-size: 20px !important;
    }

    .brand-tagline {
        font-size: 10px !important;
    }

    .timer-text {
        font-size: 13px !important;
    }

    /* =========================================
       MOBILE NAVBAR OVERHAUL
       ========================================= */
    .navbar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .brand {
        margin-bottom: 8px;
    }

    /* Force Nav Right to be a w-100 container for links */
    .nav-right {
        width: 100%;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    /* Make "Desktop Only" links visible on mobile now */
    .desktop-only {
        display: block !important;
    }

    /* Styling adjustments for mobile links */
    .nav-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
    }

    .nav-timer {
        order: -1;
        /* Keep timer near top or let it sit in flow */
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
        background: var(--white);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .discord-button {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
}

/* =========================================
   DESKTOP SIDE ADS (STICKY)
   ========================================= */
.desktop-ad-side {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 600px;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;

    /* Hidden by default - shown via JS when ad loads */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show when ad fills */
.desktop-ad-side.ad-loaded {
    opacity: 1;
}

.desktop-ad-side::after {
    content: '';
    /* Remove "Advertisement" text when no ad showing */
}

.desktop-ad-side .ad-slot {
    width: 100%;
    height: 100%;
    pointer-events: auto;
    overflow: hidden;
    border-radius: 8px;
}

.ad-left {
    right: calc(50% + 550px);
}

.ad-right {
    left: calc(50% + 550px);
}

/* Hide on screens too narrow to fit content + big ads */
@media (max-width: 1750px) {
    .desktop-ad-side {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .navbar {
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 32px;
    }

    .nav-right {
        gap: 8px !important;
    }

    .brand-text {
        font-size: 20px !important;
    }

    .brand-tagline {
        font-size: 10px !important;
    }

    .timer-text {
        font-size: 13px !important;
    }

    .nav-timer {
        padding: 6px 12px 6px 6px !important;
    }
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
    line-height: 1;
}

.brand-dot {
    color: var(--blue-500);
}

.brand-tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-500);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.brand-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-md) + 2px);
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.brand-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.brand-dot {
    color: var(--blue-500);
}

.nav-timer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.timer-ring {
    position: relative;
    width: 36px;
    height: 36px;
}

.timer-progress {
    stroke-dasharray: 100.53;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.timer-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-600);
    font-variant-numeric: tabular-nums;
}


.nav-timer-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}


.timer-dropdown {
    position: relative;
}

.timer-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--blue-50), var(--white));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    user-select: none;
}

.timer-dropdown-trigger:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
}

.timer-dropdown-trigger svg:first-child {
    color: var(--blue-500);
}

.timer-dropdown-arrow {
    color: var(--blue-400);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timer-dropdown.active .timer-dropdown-arrow {
    transform: rotate(180deg);
}

.timer-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 120px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow: hidden;
}

.timer-dropdown.active .timer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.timer-option {
    padding: 10px 16px;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.timer-option:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.timer-option.selected {
    background: var(--blue-500);
    color: var(--white);
    font-weight: 600;
}


.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--blue-50), var(--white));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    color: var(--success);
}

.hero-title {
    font-size: clamp(36px, 10vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.title-highlight {
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
    border-radius: 2px;
    opacity: 0.3;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    font-weight: 400;
}


.email-card-section {
    margin-bottom: 24px;
}

.email-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
}

.email-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.email-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-2px);
}

.email-card:hover::before {
    opacity: 1;
}

.email-card.copied {
    border-color: var(--success);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.25);
}

.email-card.copied::before {
    background: var(--success);
    opacity: 1;
}

.email-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.email-card:hover .email-card-glow {
    opacity: 1;
}

.email-header-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.email-address-wrap {
    flex: 1;
    min-width: 0;
}

.email-address {
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
    line-height: 1.3;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
}

.copy-btn .icon-check {
    display: none;
}

.email-card.copied .copy-btn .icon-copy {
    display: none;
}

.email-card.copied .copy-btn .icon-check {
    display: block;
}

.email-card.copied .copy-btn {
    background: var(--success);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}


.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}

.action-btn:hover {
    background: var(--snow);
    border-color: var(--blue-200);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--blue-50), var(--white));
    border-color: var(--blue-100);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, var(--blue-100), var(--blue-50));
    border-color: var(--blue-200);
}

.action-btn.primary svg {
    color: var(--blue-500);
}

.action-btn svg {
    color: var(--text-secondary);
}


.custom-section {
    margin-bottom: 40px;
}

.custom-email-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.custom-email-box:focus-within {
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.custom-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
}

.custom-input-wrap svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.custom-email-box input {
    flex: 1;
    padding: 18px 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    outline: none;
}

.custom-email-box input::placeholder {
    color: var(--text-muted);
}


.custom-dropdown {
    position: relative;
    height: 100%;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 64px;

    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.dropdown-trigger:hover {
    color: var(--blue-500);
}

.dropdown-trigger:hover .dropdown-arrow {
    stroke: var(--blue-500);
}

.dropdown-arrow {
    transition: transform 0.3s ease, stroke 0.2s;
    color: var(--text-muted);
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 180px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.custom-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-option:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.dropdown-option.selected {
    background: var(--blue-50);
    color: var(--blue-600);
    font-weight: 600;
}



.custom-create-btn {
    width: 56px;
    height: 56px;
    margin: 4px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-create-btn:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-600));
    transform: scale(1.05);
}


.inbox-section {
    flex: 1;
    margin-bottom: 40px;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.inbox-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.inbox-title svg {
    color: var(--blue-500);
}

.inbox-title h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.inbox-count {
    min-width: 32px;
    height: 32px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.inbox-container {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    box-shadow: var(--shadow-md);
}


.empty-inbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
}

.empty-inbox.hidden {
    display: none;
}

.custom-add-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.custom-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.empty-icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--blue-50), var(--white));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--blue-400);
}

.empty-inbox h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-inbox p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 280px;
}

.empty-pulse {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.empty-pulse span {
    width: 8px;
    height: 8px;
    background: var(--blue-400);
    border-radius: 50%;
    animation: pulseDot 1.4s infinite ease-in-out;
}

.empty-pulse span:nth-child(2) {
    animation-delay: 0.2s;
}

.empty-pulse span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulseDot {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}


.email-list {
    display: flex;
    flex-direction: column;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ice);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.email-item:last-child {
    border-bottom: none;
}

.email-item:hover {
    background: var(--snow);
}

.email-item.unread {
    background: linear-gradient(135deg, var(--blue-50), var(--white));
}

.email-item.unread .email-from {
    color: var(--text-primary);
    font-weight: 700;
}

.email-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-500), var(--cyan-500));
}

.email-item {
    position: relative;
}

.email-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.email-avatar.has-image {
    background: transparent !important;
}

.email-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.email-content {
    flex: 1;
    min-width: 0;
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.email-from {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.email-date {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

.email-subject {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.email-preview {
    font-size: 14px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-item.new {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-50), var(--white));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}


.site-footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--ice);
}


.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: var(--white);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border: 1px solid var(--mist);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ice);
}

.modal-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    background: none;
    border: none;
    color: var(--blue-500);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--transition-fast);
}

.modal-back:hover {
    color: var(--blue-600);
}

.modal-delete {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--danger);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-delete:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: scale(1.1);
}

.modal-email-info {
    padding: 28px 24px;
    border-bottom: 1px solid var(--ice);
}

.modal-subject {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-sender-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sender-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sender-avatar.has-image {
    background: transparent !important;
}

.sender-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sender-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sender-email {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.sender-date {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-body {
    flex: 1;
    padding: 28px 24px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.modal-body iframe {
    width: 100%;
    min-height: 320px;
    border: none;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.modal-body pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: inherit;
    margin: 0;
}


.toast-notification {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--midnight);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification svg {
    color: var(--success);
}


@media (max-width: 768px) {
    .app {
        padding: 16px 16px 32px;
    }

    .navbar {
        margin-bottom: 36px;
    }

    .brand-text {
        font-size: 22px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .email-card {
        padding: 20px;
        flex-wrap: wrap;
        gap: 16px;
    }

    .email-header-icon {
        width: 48px;
        height: 48px;
    }

    .email-address-wrap {
        order: 3;
        width: 100%;
    }

    .email-address {
        font-size: 18px;
    }

    .copy-btn {
        margin-left: auto;
        padding: 12px 20px;
    }

    .copy-btn .copy-text {
        display: none;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .custom-email-box {
        flex-wrap: wrap;
    }

    .custom-input-wrap {
        width: 100%;
        padding: 0 16px;
    }

    .custom-domain {
        flex: 1;
        text-align: center;
        border-left: none;
        border-top: 1px solid var(--mist);
    }

    .custom-create-btn {
        margin: 0;
        border-radius: 0;
        height: 56px;
    }

    .features-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 16px;
    }

    .email-item {
        padding: 16px 20px;
    }

    .email-avatar {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .title-highlight::after {
        display: none;
    }

    .nav-timer {
        padding: 6px 12px 6px 6px;
    }

    .timer-text {
        font-size: 13px;
    }

    .brand-text {
        font-size: 24px;
    }

    .brand-tagline {
        font-size: 11px;
    }
}


.site-footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--ice);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-link {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--blue-600);
}


.captcha-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.captcha-modal.active {
    display: flex;
}

.captcha-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.25s ease;
}

.captcha-box {
    position: relative;
    width: 90%;
    max-width: 380px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.captcha-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.captcha-header svg {
    color: var(--blue-500);
}

.captcha-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.captcha-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.captcha-question {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.captcha-op,
.captcha-eq {
    color: var(--blue-500);
}

.captcha-question input {
    width: 80px;
    height: 56px;
    border: 2px solid var(--mist);
    border-radius: var(--radius-md);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast);
}

.captcha-question input:focus {
    border-color: var(--blue-500);
}

.captcha-actions {
    display: flex;
    gap: 12px;
}

.captcha-cancel {
    flex: 1;
    padding: 14px 20px;
    background: var(--ice);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.captcha-cancel:hover {
    background: var(--mist);
}

.captcha-submit {
    flex: 1;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.captcha-submit:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    transform: scale(1.02);
}

.captcha-error {
    color: var(--danger);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    min-height: 20px;
}


.ratelimit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.ratelimit-modal.active {
    display: flex;
}

.ratelimit-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
}

.ratelimit-box {
    position: relative;
    width: 90%;
    max-width: 320px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ratelimit-box svg {
    color: var(--blue-500);
    margin-bottom: 20px;
}

.ratelimit-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.ratelimit-box p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.ratelimit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.ratelimit-btn:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
}


.api-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-left: auto;
    margin-right: 12px;
}

.api-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
    border-color: var(--blue-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.api-link svg {
    color: var(--blue-500);
}


.site-footer {
    margin-top: auto;
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--mist);
}

.site-footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--blue-500);
}

.footer-sep {
    color: var(--mist);
    font-size: 12px;
}


/* SEO Content & Blog Preview Styles (Moved from inline) */
.seo-details-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.seo-content {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.seo-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.seo-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.seo-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.seo-content li {
    margin-bottom: 12px;
}

/* Digital Hygiene Article */
.digital-hygiene-article {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 32px;
}

.digital-hygiene-article h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.digital-hygiene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

/* Blog Preview Section */
.blog-preview-section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 24px;
}

.blog-preview-card {
    background: linear-gradient(135deg, var(--white), var(--blue-50));
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.blog-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--blue-500);
    box-shadow: var(--shadow-sm);
}

.blog-content {
    flex: 1;
}

.blog-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
    color: var(--text-primary);
}

.blog-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.blog-arrow {
    color: var(--blue-500);
}

/* Mobile Adjustments for SEO & Blog */
@media (max-width: 768px) {
    .seo-details-section {
        padding: 0 20px 60px;
    }

    .seo-content {
        padding: 32px 24px;
    }

    .digital-hygiene-article {
        padding: 24px;
    }

    .blog-preview-card {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
    }

    .blog-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 12px;
    }

    .blog-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .seo-details-section {
        padding: 0 16px 48px;
    }

    .seo-content {
        padding: 24px 16px;
        border-radius: var(--radius-lg);
    }

    .seo-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .seo-content p,
    .seo-content li {
        font-size: 15px;
    }

    .digital-hygiene-article {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .digital-hygiene-grid {
        grid-template-columns: 1fr;
    }

    .blog-preview-section {
        padding: 0 16px;
        margin-bottom: 48px;
    }

    .blog-preview-card {
        padding: 20px 16px;
    }

    .blog-title {
        font-size: 18px;
    }
}


@media (max-width: 480px) {
    .nav-timer-controls {
        flex-direction: column;
        gap: 6px;
    }

    .timer-dropdown-trigger {
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .timer-dropdown-trigger svg:first-child {
        width: 12px;
        height: 12px;
    }

    .timer-dropdown-menu {
        min-width: 140px;
    }

    .timer-option {
        padding: 8px 12px;
        font-size: 13px;
    }

    .timer-option-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .nav-timer {
        padding: 6px 12px 6px 6px;
        gap: 8px;
    }

    .timer-text {
        font-size: 13px;
    }

    .timer-ring {
        width: 30px;
        height: 30px;
    }

    .timer-ring svg {
        width: 30px;
        height: 30px;
    }
}


.settings-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding: 14px 24px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.setting-item:first-child {
    justify-content: flex-end;
}

.setting-item:last-child {
    justify-content: flex-start;
}

.setting-item svg {
    color: var(--blue-500);
}

.setting-divider {
    width: 1px;
    height: 24px;
    background: var(--mist);
    flex-shrink: 0;
}

.setting-select {
    position: relative;
}

.setting-select-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.setting-select-btn:hover {
    background: var(--blue-100);
    border-color: var(--blue-200);
}

.setting-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    min-width: 100px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.setting-select.active .setting-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.forward-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.forward-toggle-btn:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
    color: var(--blue-600);
}

.forward-toggle-btn.active {
    background: linear-gradient(135deg, var(--success), #059669);
    border-color: transparent;
    color: var(--white);
}

.forward-toggle-btn.active:hover {
    opacity: 0.9;
}


.forward-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.forward-modal.active {
    opacity: 1;
    visibility: visible;
}

.forward-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
}

.forward-box {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.forward-modal.active .forward-box {
    transform: scale(1) translateY(0);
}

.forward-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.forward-header svg {
    color: var(--blue-500);
}

.forward-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.forward-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.forward-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.forward-active-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #059669;
    font-size: 14px;
}

.forward-active-info strong {
    color: var(--text-primary);
}

.forward-disable-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.forward-disable-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger);
}

.forward-setup {
    margin-bottom: 24px;
}

.forward-input-group {
    margin-bottom: 16px;
}

.forward-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.forward-input-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.forward-input-group input:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.forward-captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--snow);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.forward-captcha span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.forward-op,
.forward-eq {
    color: var(--blue-500);
}

.forward-captcha input {
    width: 60px;
    padding: 10px;
    background: var(--white);
    border: 2px solid var(--blue-200);
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
    color: var(--text-primary);
}

.forward-captcha input:focus {
    outline: none;
    border-color: var(--blue-500);
}

.forward-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--success);
    font-weight: 500;
}

.forward-actions {
    display: flex;
    gap: 12px;
}

.forward-cancel {
    flex: 1;
    padding: 14px;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.forward-cancel:hover {
    background: var(--ice);
}

.forward-submit {
    flex: 2;
    padding: 14px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.forward-submit:hover {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.forward-error {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--danger);
    font-weight: 500;
    min-height: 18px;
}

@media (max-width: 480px) {
    .settings-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .setting-divider {
        width: 100%;
        height: 1px;
    }

    .forward-box {
        padding: 24px;
    }

    .forward-actions {
        flex-direction: column;
    }

    .forward-cancel,
    .forward-submit {
        flex: auto;
    }
}


.autofwd-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--mist);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    opacity: 0;
    max-width: 90%;
    width: 400px;
}

.autofwd-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.autofwd-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.autofwd-icon {
    color: var(--blue-500);
    flex-shrink: 0;
}

.autofwd-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.4;
}

.autofwd-text strong {
    color: var(--blue-600);
}

.autofwd-actions {
    display: flex;
    gap: 8px;
}

.autofwd-btn {
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.autofwd-btn.primary {
    background: var(--blue-500);
    color: white;
}

.autofwd-btn.primary:hover {
    background: var(--blue-600);
}

.autofwd-btn.secondary {
    background: var(--snow);
    color: var(--slate);
}

.autofwd-btn.secondary:hover {
    background: var(--mist);
    color: var(--charcoal);
}


.support-card {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 32px 0 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.support-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.support-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.crypto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.crypto-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--snow);
    border: 1px solid var(--mist);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.crypto-item:hover {
    border-color: var(--blue-200);
    background: white;
    box-shadow: var(--shadow-sm);
}

.crypto-info {
    display: flex;
    flex-direction: column;
}

.crypto-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 2px;
}

.crypto-address {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.crypto-copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.crypto-copy-btn:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

@media (max-width: 600px) {
    .crypto-grid {
        grid-template-columns: 1fr;
    }
}


.support-banner-container {
    display: flex;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    margin: 32px 0 24px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    min-height: 140px;
}


.support-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wallet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--snow);
    border: 1px solid var(--mist);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: all 0.2s;
}

.wallet-row:last-child {
    margin-bottom: 0;
}

.wallet-row:hover {
    background: var(--white);
    border-color: var(--blue-200);
    box-shadow: var(--shadow-sm);
}

.wallet-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.wallet-icon.btc {
    background: #f7931a;
}

.wallet-icon.ltc {
    background: #345d9d;
}

.wallet-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wallet-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.wallet-addr {
    font-size: 13px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.wallet-copy {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.wallet-copy:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}


.support-brand {
    width: 200px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    overflow: hidden;
}

.brand-content {
    position: relative;
    z-index: 2;
    color: white;
}

.brand-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.brand-content .dot {
    color: var(--cyan-400);
}

.brand-content p {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

.brand-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    z-index: 1;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

@media (max-width: 640px) {
    .app {
        padding: 16px 16px 32px;
        overflow-x: hidden;
    }
}

@media (max-width: 650px) {
    .support-banner-container {
        flex-direction: column-reverse;
    }

    .support-brand {
        width: 100%;
        padding: 20px;
    }
}


.wallet-icon {
    overflow: hidden;
    padding: 0;
    background: transparent !important;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wallet-icon.btc,
.wallet-icon.ltc,
.wallet-icon.xmr {
    background: transparent !important;
}

.wallet-icon.btc img {
    transform: scale(1.25);
}


.stats-counter {
    text-align: center;
    padding: 48px 24px;
    margin: 40px 0;
}

.stats-number {
    display: block;
    font-size: clamp(56px, 15vw, 80px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
    margin-bottom: 8px;
}

.stats-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.stats-thanks {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}


.faq-section {
    margin: 48px 0;
    padding: 0;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.faq-header svg {
    color: var(--blue-500);
}

.faq-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--blue-300);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--snow);
}

.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--blue-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}


@media (max-width: 640px) {
    .faq-header h2 {
        font-size: 20px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }
}



.transformation-section {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 48px 24px;
}

.transformation-header {
    text-align: center;
    margin-bottom: 40px;
}

.transformation-header h2 {
    font-size: clamp(28px, 6vw, 36px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.transformation-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.transform-card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--mist);
    position: relative;
    transition: all 0.3s ease;
}

.transform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.transform-card.before {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03), transparent);
}

.transform-card.after {
    border-color: rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), transparent);
}

.transform-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.transform-card.before .transform-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.transform-card.after .transform-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.transform-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.transform-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transform-card li {
    padding: 12px 16px;
    padding-left: 44px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.transform-card.before li {
    background: rgba(239, 68, 68, 0.04);
}

.transform-card.after li {
    background: rgba(16, 185, 129, 0.04);
}

.transform-card li:hover {
    transform: translateX(4px);
}

.transform-card.before li::before {
    content: '✗';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.transform-card.after li::before {
    content: '✓';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

.transformation-bottom {
    text-align: center;
    margin-top: 40px;
}

.transform-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .transform-arrow {
        transform: rotate(90deg);
        width: 48px;
        height: 48px;
        margin: 8px auto;
    }

    .transform-arrow svg {
        width: 24px;
        height: 24px;
    }

    .transform-card {
        padding: 24px;
    }

    .transformation-section {
        padding: 32px 16px;
    }
}

/* Navbar Extras */
.desktop-only {
    display: block;
}

@media (max-width: 640px) {
    /* .desktop-only { display: none; }  <-- DISABLED: We want them visible now */
}

/* Footer Styles - Explicitly Defined */
.site-footer {
    border-top: 1px solid var(--mist);
    padding: 40px 24px;
    background: var(--white);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-link:hover,
.footer-link:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

.footer-sep {
    color: var(--mist);
}

/* Technical Details Section */
.tech-details-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
}

.tech-header {
    text-align: center;
    margin-bottom: 40px;
}

.tech-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.tech-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tech-card {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-300);
}

.tech-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    margin-bottom: 20px;
    font-size: 20px;
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tech-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.tech-card code {
    background: var(--ice);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--blue-700);
}

/* Stats Mini Grid inside Tech Card */
.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-600);
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* Polished Nav Links */
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    /* Wider click area */
    border-radius: 20px;
    /* Pillow shape */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    /* Prevent layout shift */
}

.nav-link:hover {
    background: var(--white);
    color: var(--blue-600);
    border-color: var(--mist);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

/* Polished Footer Links */
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--blue-500);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.footer-link:hover {
    color: var(--blue-600);
}

.footer-link:hover::after {
    width: 100%;
}

/* Use Case Cards */
.use-case-card {
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s;
}

.use-case-card:hover {
    transform: translateY(-2px);
    border-color: var(--blue-300);
    box-shadow: var(--shadow-sm);
}

.use-case-card i {
    font-size: 20px;
    color: var(--blue-500);
    margin-bottom: 8px;
}

.use-case-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.use-case-card small {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Mobile Adjustments for Tech Cards */
@media (max-width: 640px) {
    .tech-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .tech-card {
        padding: 20px 16px;
    }
}

/* Blog Image Placeholders */
.blog-hero-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--mist), var(--ice));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    margin-bottom: 40px;
    border: 2px dashed var(--blue-200);
    position: relative;
    overflow: hidden;
}

.blog-hero-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.blog-hero-placeholder span {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.blog-content-image {
    width: 100%;
    height: 300px;
    background: var(--snow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    border: 1px solid var(--mist);
    color: var(--text-muted);
    font-size: 48px;
}

/* Blog Card Preview */
.blog-card-preview {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--mist), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    border-bottom: 1px solid var(--mist);
    position: relative;
    overflow: hidden;
}

.blog-card-preview i {
    font-size: 42px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.email-card:hover .blog-card-preview i,
a:hover .blog-card-preview i {
    transform: scale(1.1);
    color: var(--blue-500);
}

.blog-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--mist);
    margin-bottom: 40px;
    background: var(--snow);
}

.blog-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-preview img {
    transform: scale(1.05);
}