/* TMailBox Home */



html {
    scroll-behavior: smooth;
}



body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
    z-index: -1;
}



.hero-shell, .workspace-grid, .how-section, .seo-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }













.nav-actions,
#notLoggedIn {
    display: flex;
    align-items: center;
    gap: 10px;
}

#loggedIn {
    display: none;
    position: relative;
}

.nav-cta,
.theme-toggle-btn,
.user-menu-btn {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
}

.nav-cta {
    padding: 10px 16px;
    background: var(--text-primary);
    color: var(--card-bg);
}

.theme-toggle-btn {
    min-width: 42px;
    height: 42px;
    font-size: 0.72rem;
}

.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
}

.user-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success-color);
}

.chevron {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 240px;
    padding: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.dropdown-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 4px;
}

.dropdown-email {
    font-size: 0.9rem;
    font-weight: 800;
    word-break: break-all;
    margin-bottom: 12px;
}

.dropdown-logout {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: rgba(217, 45, 32, 0.08);
    color: var(--danger-color);
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--card-bg);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
}

.hero-shell {
    min-height: calc(100vh - 132px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 44px;
    padding: 24px 0 34px;
}

.hero-copy h1 {
    max-width: 690px;
    margin: 0 0 22px;
    font-size: clamp(2.8rem, 5.3vw, 4.65rem);
    line-height: 0.96;
    letter-spacing: 0;
    color: var(--text-primary);
}

.hero-copy p {
    max-width: 590px;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    margin: 0 0 20px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 800;
}

.mail-console,
.feature-panel {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px);
}

.mail-console {
    padding: 26px;
}

.console-topline,
.panel-heading,
.inbox-header,
.saved-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.console-topline h2,
.panel-heading h2,
.section-heading h2,
.seo-section h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.55rem, 2vw, 2rem);
    letter-spacing: 0;
}

.console-topline p,
.panel-heading p,
.section-heading p,
.seo-section p {
    color: var(--text-secondary);
    margin: 8px 0 0;
    line-height: 1.65;
}

.live-chip {
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(18, 146, 95, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(18, 146, 95, 0.18);
    font-size: 0.78rem;
    font-weight: 900;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 18px;
}

.domain-picker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
}

.domain-picker span {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 800;
}

.domain-picker select {
    min-width: 160px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    color: var(--text-primary);
    font: inherit;
    font-weight: 800;
    padding: 8px 10px;
}















.email-display {
    padding: 16px;
    margin: 0 0 18px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    color: var(--card-bg);
}

.email-label,
.field-label {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.email-value {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-text {
    flex: 1;
    min-width: 0;
    color: var(--primary-color);
    font-family: Monaco, Consolas, monospace;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    word-break: break-all;
}

.copy-btn,
.icon-btn {
    flex: 0 0 auto;
    padding: 10px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 900;
}

.icon-btn.danger {
    background: rgba(217, 45, 32, 0.1);
    color: var(--danger-color);
}

.timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.timer-icon {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #f7c948;
    box-shadow: 0 0 0 5px rgba(247, 201, 72, 0.14);
}

.inbox-container {
    margin-top: 18px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.inbox-header {
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.inbox-title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.email-count,
.saved-header span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 900;
}

.inbox-empty {
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 250px;
    padding: 28px 12px;
}

.inbox-empty-icon,
.prompt-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(37, 99, 235, 0.12)),
        var(--card-bg);
    border: 1px solid rgba(15, 118, 110, 0.15);
    margin-bottom: 16px;
}

.inbox-empty-text {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 900;
}

.inbox-empty-subtext {
    margin-top: 6px;
    color: var(--text-muted);
}

.email-item {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

.email-from {
    color: var(--text-primary);
    font-weight: 900;
    margin-bottom: 6px;
}

.email-subject {
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 6px;
}

.email-

.workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 22px;
    padding: 22px 0 72px;
}

.feature-panel {
    padding: 26px;
}

.login-prompt,
.empty-mailbox {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-top: 22px;
    padding: 28px;
    border-radius: var(--radius-md);
    background: rgba(15, 118, 110, 0.06);
    border: 1px dashed rgba(15, 118, 110, 0.28);
}

.mailbox-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 20px 0 16px;
}

.active-mailbox {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
}

.active-mailbox .field-label {
    color: rgba(255, 255, 255, 0.6);
}

.active-mailbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-mailbox-row span {
    flex: 1;
    min-width: 0;
    color: var(--primary-color);
    font-family: Monaco, Consolas, monospace;
    font-weight: 800;
    word-break: break-all;
}

.compose-card {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--card-bg);
}

.compose-header,
.saved-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.compose-header {
    align-items: center;
    margin-bottom: 12px;
}

.compose-header h4 {
    margin: 0;
    font-size: 1rem;
}

.compose-header span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-align: right;
}

.compose-form {
    display: grid;
    gap: 10px;
}

.compose-form label {
    display: grid;
    gap: 6px;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.compose-form input,
.compose-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    color: var(--text-primary);
    font: inherit;
    font-size: 0.92rem;
    padding: 11px 12px;
    outline: none;
}

.compose-form textarea {
    min-height: 118px;
    resize: vertical;
    line-height: 1.45;
}

.compose-form input:focus,
.compose-form textarea:focus {
    border-color: rgba(15, 118, 110, 0.55);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.saved-header {
    align-items: center;
    margin: 18px 0 10px;
}

.saved-header h4 {
    margin: 0;
    font-size: 1rem;
}

.permanent-inbox {
    max-height: 340px;
    overflow: auto;
    border-radius: var(--radius-sm);
}

.sent-header {
    margin-top: 22px;
}

.sent-emails {
    max-height: 260px;
    overflow: auto;
    border-radius: var(--radius-sm);
}

.use-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.use-list div,
.trust-grid div,
.step-grid article {
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    border-radius: var(--radius-md);
}

.use-list div {
    padding: 17px;
}

.use-list strong,
.trust-grid strong {
    display: block;
    color: var(--text-primary);
    font-weight: 900;
    margin-bottom: 4px;
}

.use-list span,
.trust-grid span {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.how-section {
    padding: 72px 0;
    border-top: 1px solid var(--border-color);
}

.section-heading {
    max-width: 640px;
    margin-bottom: 26px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-grid article {
    padding: 24px;
}

.step-grid span {
    display: block;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 18px;
}

.step-grid h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
}

.step-grid p {
    margin: 0;
    color: var(--text-secondary);
}

.seo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    padding: 0 0 76px;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.trust-grid div {
    padding: 18px;
}















.waitlist-form {
    margin-top: 20px;
}

.waitlist-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.86rem;
    font-weight: 800;
}

.waitlist-form div {
    display: flex;
    gap: 8px;
}

.waitlist-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--card-bg);
    padding: 0 16px;
    outline: none;
}





.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100vw - 40px));
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--card-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.28s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.loading {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: var(--card-bg);
    border-radius: 999px;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 980px) {
    .hamburger {
        display: inline-flex;
    }

    

    .nav-links.active {
        display: flex;
    }

    .nav-actions,
    #notLoggedIn {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-shell,
    .workspace-grid,
    .seo-section {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: auto;
        padding-top: 34px;
    }

    .mail-console {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .hero-shell, .workspace-grid, .how-section, .seo-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

    .hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.15rem);
        line-height: 1;
        margin-bottom: 16px;
    }

    .hero-copy p {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .hero-trust {
        gap: 8px;
    }

    .hero-trust span {
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .mail-console {
        margin-top: 8px;
        padding: 18px;
    }

    .console-topline {
        gap: 8px;
    }

    .console-topline h2 {
        font-size: 1.45rem;
    }

    .console-topline p {
        margin-top: 6px;
        font-size: 0.95rem;
    }

    .live-chip {
        padding: 7px 10px;
        font-size: 0.72rem;
    }

    .btn-group {
        gap: 8px;
        margin: 14px 0 12px;
    }

    

    .btn-group,
    .email-value,
    .active-mailbox-row,
    .waitlist-form div {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn,
    .icon-btn {
        width: 100%;
    }

    .console-topline,
    .panel-heading,
    .saved-header {
        flex-direction: column;
    }

    .step-grid,
    .trust-grid,
    

    .feature-panel,
    .mail-console {
        border-radius: 22px;
    }

    .inbox-container {
        padding: 14px;
    }

    .inbox-empty {
        min-height: 150px;
        padding: 18px 10px;
    }

    .inbox-empty-icon,
    .prompt-icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        margin-bottom: 12px;
    }
}
