/*
Theme Name: Lite Pro
Theme URI: https://www.gondenlifess.com
Author: GoldenLife Team
Author URI: https://www.gondenlifess.com
Description: Ultra-modern, high-performance, mobile-first responsive WordPress theme engineered specifically for GoldenLife Mail (gondenlifess.com). Includes homepage temporary email generator, live inbox, 10 educational sections, FAQ accordion, and AdSense-safe layout.
Version: 1.1.2
License: GNU General Public License v2 or later
Text Domain: goldenlife-pro
*/

*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.gl-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navbar */
.gl-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.gl-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
}
.gl-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    color: #102a43;
    flex-shrink: 0;
}
.gl-brand-icon {
    width: 36px;
    height: 36px;
    background: #0d9488;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.gl-brand span {
    color: #0d9488;
}
.gl-nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}
.gl-nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.15s ease;
}
.gl-nav-links a:hover {
    color: #0d9488;
}
.gl-nav-contact-btn {
    background: #0d9488 !important;
    color: #ffffff !important;
    padding: 7px 16px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
}
.gl-nav-contact-btn:hover {
    background: #0f766e !important;
}

/* Mobile Nav Controls (Hidden on Desktop) */
.gl-nav-mobile-right {
    display: none;
}
.gl-mobile-sms-pill {
    display: none;
}
.gl-nav-toggle {
    display: none;
}

.gl-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 6px 12px;
}
.gl-search-form input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #1e293b;
    width: 120px;
}

/* Hero */
.gl-hero {
    text-align: center;
    padding: 40px 0 20px;
    width: 100%;
}
.gl-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 100%;
    text-align: left;
}
.gl-hero-title {
    font-size: 38px;
    font-weight: 900;
    color: #102a43;
    line-height: 1.2;
    margin-bottom: 12px;
}
.gl-hero-title span {
    color: #0d9488;
}
.gl-hero-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 24px;
}

/* Temporary Mail Generator Card */
.mailnest-container {
    max-width: 800px;
    margin: 20px auto 40px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}
.mailnest-card {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08) !important;
    width: 100%;
    box-sizing: border-box;
}
.mailnest-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.mailnest-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mailnest-badge-icon {
    width: 42px;
    height: 42px;
    background: #f0fdfa;
    color: #0d9488;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mailnest-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #64748b !important;
    background: transparent !important;
    text-transform: uppercase;
    display: block;
}
.mailnest-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #0f172a !important;
    background: transparent !important;
}
.mailnest-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mailnest-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.mailnest-btn-xs {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334e68;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}
.mailnest-address-row {
    margin: 22px 0 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
.mailnest-input-wrapper {
    flex: 1;
    min-width: 260px;
    position: relative;
    width: 100%;
}
.mailnest-input-wrapper input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #0d9488 !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0f766e !important;
    outline: none;
    box-sizing: border-box;
}
.mailnest-toast {
    position: absolute;
    right: 12px;
    top: 12px;
    background: #0d9488;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 6px;
    display: none;
}
.mailnest-actions-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mailnest-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.mailnest-btn-primary {
    background: #0d9488;
    color: #ffffff !important;
}
.mailnest-btn-primary:hover {
    background: #0f766e;
}
.mailnest-btn-outline {
    background: #f8fafc;
    color: #334e68 !important;
    border: 1px solid #cbd5e1;
}
.mailnest-btn-outline:hover {
    background: #f1f5f9;
}
.mailnest-btn-danger {
    background: #fef2f2;
    color: #dc2626 !important;
    border: 1px solid #fecaca;
    padding: 12px 14px;
}
.mailnest-btn-danger:hover {
    background: #fee2e2;
}
.mailnest-card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    font-size: 12px;
    color: #64748b !important;
}
.mailnest-footer-trust {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Inbox */
.mailnest-inbox-section {
    margin-top: 30px;
    width: 100%;
}
.mailnest-inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.mailnest-inbox-heading {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #102a43;
}
.mailnest-inbox-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mailnest-count-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.mailnest-btn-refresh {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #cbd5e1;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.mailnest-inbox-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    overflow: hidden;
    min-height: 160px;
    width: 100%;
}
.mailnest-empty-state {
    text-align: center;
    padding: 45px 20px;
    color: #64748b;
}
.mailnest-empty-icon {
    width: 50px;
    height: 50px;
    background: #f0fdfa;
    color: #0d9488;
    border-radius: 16px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mailnest-empty-state h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1e293b;
}
.mailnest-empty-state p {
    font-size: 13px;
    margin: 0;
}
.mailnest-msg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    flex-wrap: wrap;
    gap: 8px;
}
.mailnest-msg-item:hover {
    background: #f8fafc;
}
.mailnest-msg-sender {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
    word-break: break-all;
}
.mailnest-msg-subject {
    font-size: 13px;
    color: #0d9488;
    font-weight: 600;
    word-break: break-word;
}
.mailnest-msg-time {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
}

/* Modals */
.mailnest-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.mailnest-modal-content {
    background: white;
    border-radius: 24px;
    padding: 28px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}
.mailnest-viewer-content {
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.mailnest-viewer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}
.mailnest-btn-close {
    background: #f1f5f9;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.mailnest-view-tabs .mailnest-tab {
    padding: 6px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.mailnest-view-tabs .mailnest-tab.active {
    background: #0d9488;
    color: white;
    border-radius: 8px;
}
.mailnest-viewer-meta {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}
.mailnest-viewer-meta h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #102a43;
    word-break: break-word;
}
.mailnest-meta-grid {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}
.mailnest-viewer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}
.mailnest-modal-x {
    position: absolute;
    right: 18px;
    top: 14px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}
.mailnest-qr-content {
    text-align: center;
}
.mailnest-qr-label {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 13px;
    color: #0f766e;
    font-weight: bold;
    word-break: break-all;
}

/* Sections */
.gl-section {
    padding: 50px 0;
    width: 100%;
}
.gl-section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: #102a43;
    margin-bottom: 8px;
}
.gl-section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 35px;
}
.gl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}
.gl-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
}
.gl-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.gl-feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 8px;
}
.gl-feature-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* Steps */
.gl-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}
.gl-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
}
.gl-step-num {
    font-size: 28px;
    font-weight: 900;
    color: #0d9488;
    margin-bottom: 8px;
}
.gl-step-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 6px;
}
.gl-step-card p {
    font-size: 13px;
    color: #64748b;
}

/* Articles Grid */
.gl-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}
.gl-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gl-article-card:hover {
    border-color: #0d9488;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
}
.gl-article-tag {
    font-size: 11px;
    font-weight: 700;
    color: #0d9488;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.gl-article-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #102a43;
    line-height: 1.4;
    margin-bottom: 10px;
}
.gl-article-card p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}
.gl-article-read {
    font-size: 12px;
    font-weight: 700;
    color: #0d9488;
}

/* Directory Grid */
.gl-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 35px;
    width: 100%;
}

/* FAQ */
.gl-faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.gl-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}
.gl-faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #102a43;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gl-faq-answer {
    padding: 0 22px 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

/* Footer */
.gl-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    margin-top: 60px;
    font-size: 13px;
    width: 100%;
}
.gl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}
.gl-footer-col h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}
.gl-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.gl-footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}
.gl-footer-col a:hover {
    color: #ffffff;
}
.gl-footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Spin animation for refresh button */
@keyframes glSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.gl-spinning {
    animation: glSpin 0.7s linear infinite !important;
}
.mailnest-refresh-toast {
    font-size: 11px;
    font-weight: 700;
    color: #0d9488;
    margin-left: 8px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

/* ========================================================
   RECEIVE SMS ONLINE STYLES
======================================================== */
.gl-sms-section {
    padding: 20px 0 50px;
    width: 100%;
}
.gl-sms-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}
.gl-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334e68;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.gl-filter-btn:hover {
    background: #f8fafc;
    border-color: #0d9488;
}
.gl-filter-btn.active {
    background: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.gl-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}
.gl-number-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.gl-number-card:hover {
    transform: translateY(-3px);
    border-color: #0d9488;
    box-shadow: 0 12px 25px rgba(13, 148, 136, 0.08);
}
.gl-number-flag {
    font-size: 38px;
    margin-bottom: 8px;
}
.gl-number-country {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 4px;
}
.gl-number-digits {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    font-family: monospace;
    margin-bottom: 12px;
}
.gl-number-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 18px;
}
.gl-status-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}
.gl-number-actions {
    display: flex;
    gap: 8px;
}
.gl-number-actions button {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
}

/* SMS Modal & Feed */
.gl-sms-modal-content {
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.gl-sms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.gl-modal-tag {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}
.gl-modal-title {
    font-size: 20px;
    font-weight: 900;
    color: #102a43;
    font-family: monospace;
    margin: 2px 0 0;
}
.gl-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gl-sms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0 0;
}
.gl-sms-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.gl-sms-feed-header h4 {
    font-size: 15px;
    font-weight: 800;
    color: #102a43;
    margin: 0;
}
.gl-sms-messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gl-sms-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
}
.gl-sms-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}
.gl-sms-sender {
    font-size: 14px;
    font-weight: 800;
    color: #0d9488;
}
.gl-sms-time {
    font-size: 11px;
    color: #94a3b8;
}
.gl-sms-text {
    font-size: 13px;
    color: #334e68;
    line-height: 1.5;
    margin-bottom: 10px;
    word-break: break-word;
}
.gl-sms-otp-badge {
    display: inline-block;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS (MOBILE FIRST & ADSENSE OPTIMIZED)
======================================================== */

/* Tablet & Mobile Header Transition (<= 850px) */
@media (max-width: 850px) {
    .gl-nav-inner {
        position: relative;
        padding: 0 16px;
        height: 64px;
    }
    .gl-nav-mobile-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .gl-mobile-sms-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #f0fdfa;
        border: 1px solid #99f6e4;
        color: #0d9488;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 20px;
        text-decoration: none;
    }
    .gl-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 32px;
        height: 28px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 2px;
        z-index: 1001;
    }
    .gl-nav-toggle .gl-bar {
        height: 3px;
        width: 100%;
        background: #102a43;
        border-radius: 3px;
        transition: all 0.25s ease-in-out;
    }
    .gl-nav-toggle.gl-nav-active .gl-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .gl-nav-toggle.gl-nav-active .gl-bar:nth-child(2) {
        opacity: 0;
    }
    .gl-nav-toggle.gl-nav-active .gl-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .gl-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 16px 20px 24px;
        border-bottom: 2px solid #0d9488;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
        gap: 12px;
        align-items: flex-start;
        z-index: 9999;
    }
    .gl-nav-links.gl-nav-open {
        display: flex !important;
    }
    .gl-nav-links li {
        width: 100%;
        list-style: none;
    }
    .gl-nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 15px;
        font-weight: 700;
        color: #102a43;
        border-bottom: 1px solid #f1f5f9;
        text-decoration: none;
        width: 100%;
    }
    .gl-nav-contact-btn {
        display: block !important;
        text-align: center !important;
        margin-top: 6px;
    }
    .gl-search-form {
        display: none !important;
    }
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
    .gl-hero-title {
        font-size: 30px;
    }
    .gl-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    .gl-container {
        padding: 0 14px;
    }
    .gl-hero {
        padding: 24px 0 12px;
    }
    .gl-badge-pill {
        font-size: 11px;
        padding: 5px 10px;
        white-space: normal;
        text-align: center;
        margin-bottom: 12px;
    }
    .gl-hero-title {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px;
    }
    .gl-hero-desc {
        font-size: 13px !important;
        margin-bottom: 18px !important;
        padding: 0 4px;
    }

    /* Temporary Email Generator on Mobile */
    .mailnest-container {
        padding: 0 2px;
        margin: 12px auto 26px;
    }
    .mailnest-card {
        padding: 18px 14px !important;
        border-radius: 18px !important;
    }
    .mailnest-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .mailnest-header-right {
        width: 100%;
        justify-content: space-between;
    }
    .mailnest-address-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin: 14px 0 !important;
    }
    .mailnest-input-wrapper {
        min-width: 0 !important;
        width: 100% !important;
    }
    .mailnest-input-wrapper input {
        font-size: 13px !important;
        padding: 12px 10px !important;
        text-align: center;
    }
    .mailnest-actions-row {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .mailnest-actions-row .mailnest-btn {
        padding: 10px 4px !important;
        justify-content: center !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        border-radius: 10px !important;
    }
    .mailnest-actions-row .mailnest-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    .mailnest-footer-trust {
        font-size: 11px;
        line-height: 1.4;
    }

    /* All Grids Collapse cleanly on mobile */
    .gl-features-grid,
    .gl-steps-grid,
    .gl-articles-grid,
    .gl-directory-grid,
    .gl-numbers-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .gl-section {
        padding: 35px 0 !important;
    }
    .gl-section-title {
        font-size: 20px !important;
    }
    .gl-section-subtitle {
        font-size: 13px !important;
        margin-bottom: 22px !important;
    }

    /* Footer Mobile */
    .gl-footer {
        padding: 40px 0 24px !important;
        margin-top: 40px !important;
    }
    .gl-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .gl-footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    /* SMS Filters swipe */
    .gl-sms-filters {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
    }
    .gl-filter-btn {
        flex-shrink: 0 !important;
        padding: 8px 14px !important;
        font-size: 12px !important;
    }

    /* Modals Mobile */
    .mailnest-modal-content,
    .gl-sms-modal-content {
        padding: 20px 14px !important;
        border-radius: 18px !important;
        max-height: 90vh !important;
        width: 95% !important;
        margin: 0 auto !important;
    }
    .mailnest-msg-item {
        padding: 12px 14px !important;
    }
}


/* ========================================================
   ARTICLE & PAGE RESPONSIVE CONTAINERS
======================================================== */
.gl-article-container {
    max-width: 860px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.gl-page-container {
    max-width: 800px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 851px) {
    .gl-nav-mobile-right {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .gl-article-container,
    .gl-page-container {
        margin: 16px auto !important;
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .gl-breadcrumbs {
        font-size: 11px !important;
    }
    .gl-article-container h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    .gl-byline-box {
        padding: 10px 12px !important;
    }
}
