/* Font loaded via <link> in HTML head for performance */

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

:root {
    --navy: #1a365d;
    --teal: #38b2ac;
    --teal-dark: #2c9f99;
    --bg: #f7fafc;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #d1d5db;
    --border-light: #f3f4f6;
    --white: #ffffff;
    --radius-pill: 24px;
    --radius-input: 20px;
    --radius-nav: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 17px;
}

a {
    color: var(--teal);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== HEADER / NAV ===== */
header {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    color: var(--navy);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.logo:hover {
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: var(--radius-nav);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a:hover {
    color: var(--navy);
    background: rgba(0,0,0,0.04);
    text-decoration: none;
}

nav a.nav-active {
    background: var(--navy);
    color: white;
}

nav a.nav-active:hover {
    background: #15294d;
}


/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== MAIN ===== */
main {
    flex: 1;
    padding: 40px 24px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

body.admin-page main {
    max-width: 1600px;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--navy);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: var(--radius-input);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex-shrink: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.4;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--navy);
    color: white;
}

.btn-primary:hover {
    background: #15294d;
}

.btn-teal {
    background: var(--teal);
    color: white;
}

.btn-teal:hover {
    background: var(--teal-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #f9fafb;
}

.btn-danger {
    background: var(--white);
    color: #dc2626;
    border: 1px solid #fecaca;
}

.btn-danger:hover {
    background: #fef2f2;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-nav);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid;
}

.alert-success {
    background: #f0fff4;
    color: #22543d;
    border-color: #c6f6d5;
}

.alert-error {
    background: #fff5f5;
    color: #742a2a;
    border-color: #fed7d7;
}

.alert-info {
    background: #ebf8ff;
    color: #2a4365;
    border-color: #bee3f8;
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.alert-important {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border: 2px solid #f87171;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 20px;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2), 0 4px 12px rgba(239, 68, 68, 0.15);
    animation: importantPulse 2s ease-in-out infinite;
}
.alert-important::before {
    content: "\26A0\FE0F  ";
}
@keyframes importantPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2), 0 4px 12px rgba(239, 68, 68, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.35), 0 4px 20px rgba(239, 68, 68, 0.3); }
}

/* ===== ACCOUNT GRID ===== */
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* ===== STATS ROW ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #edf2f7;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.stat-number small {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ===== CONTACTS ===== */
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: background 0.15s;
}

.contact-item:hover {
    background: #f9fafb;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--navy);
}

.contact-phone {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.contact-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-actions form {
    display: inline;
}

/* ===== SMS FORM SECTION ===== */
.sms-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.phone-mockup {
    background: #1a202c;
    border-radius: 36px;
    padding: 12px;
    aspect-ratio: 9/16;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.phone-screen {
    background: var(--white);
    border-radius: 28px;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.phone-notch {
    width: 80px;
    height: 6px;
    background: #1a202c;
    border-radius: 3px;
    margin-top: -3px;
    position: relative;
    z-index: 1;
}

.phone-header {
    text-align: center;
    padding: 20px 16px 12px;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.phone-header small {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-header strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.phone-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    padding: 16px;
}

.phone-home {
    width: 60px;
    height: 5px;
    background: #4a5568;
    border-radius: 3px;
    margin: 8px auto;
}

.char-count {
    text-align: right;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== TABLE ===== */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 12px 16px;
}

th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-light);
}

td {
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: #f9fafb;
}

/* ===== VERIFICATION ===== */
.verification-input {
    font-size: 32px;
    text-align: center;
    letter-spacing: 12px;
    max-width: 260px;
    margin: 0 auto;
    display: block;
    font-weight: 700;
    border-radius: var(--radius-input) !important;
}

/* ===== AUTH PAGES ===== */
.auth-page {
    max-width: 480px;
    margin: 40px auto;
    text-align: center;
}

.auth-page .auth-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.auth-page h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--navy);
}

.auth-page .auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 17px;
}

.auth-page .card {
    text-align: left;
}

/* ===== HERO ===== */
/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 80px 0 56px;
}

.hero-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--navy);
}

.hero-highlight {
    color: var(--teal);
}

.hero-sub {
    font-size: 21px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--border);
    padding: 16px 34px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--navy);
    background: var(--bg);
}

/* ===== LANDING STATS ===== */
.landing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.landing-stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.landing-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.landing-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== LANDING SECTIONS ===== */
.landing-section {
    margin-bottom: 72px;
}

.landing-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.landing-section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.landing-section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card-large {
    grid-column: span 1;
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
    border-color: #99f6e4;
}

.feature-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    background: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== BONUS BANNER ===== */
.bonus-banner {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
    border-radius: 24px;
    padding: 56px 48px;
    margin-bottom: 72px;
    overflow: hidden;
}

.bonus-banner-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.bonus-banner-text {
    flex: 1;
}

.bonus-banner-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.bonus-banner-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.bonus-banner-visual {
    flex-shrink: 0;
}

.bonus-card-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bonus-card-item {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 16px 32px;
    color: #5eead4;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    backdrop-filter: blur(4px);
}

.bonus-card-item:nth-child(1) { transform: rotate(-2deg); }
.bonus-card-item:nth-child(2) { transform: rotate(1deg); opacity: 0.8; }
.bonus-card-item:nth-child(3) { transform: rotate(-1deg); opacity: 0.6; }

/* ===== FAQ ===== */
.faq-grid {
    max-width: 720px;
    margin: 0 auto;
}

.faq-grid details {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-grid summary {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-grid summary::-webkit-details-marker {
    display: none;
}

.faq-grid summary::after {
    content: '+';
    font-size: 22px;
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-grid details[open] summary::after {
    content: '\2212';
}

.faq-grid details p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 64px 40px;
    background: var(--navy);
    border-radius: 24px;
    margin: 32px 0;
}

.cta-section h2 {
    font-size: 34px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin-bottom: 32px;
}


/* ===== DASHBOARD ===== */
.dashboard-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.dashboard-header p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== DIVIDER ===== */
.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

/* ===== ADMIN ===== */
.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.admin-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-input);
    transition: all 0.2s;
}

.admin-tab:hover {
    color: var(--navy);
    text-decoration: none;
}

.admin-tab.active {
    background: var(--navy);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stats-grid .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    padding: 24px;
}

.stats-grid .stat-icon {
    margin: 0 auto 8px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.btn-small:hover {
    background: #f9fafb;
}

.btn-small-danger {
    color: #dc2626;
    border-color: #fecaca;
}

.btn-small-danger:hover {
    background: #fef2f2;
}

tr.log-row:hover {
    background: #f1f5f9;
}

tr.log-row td:first-child::before {
    content: '\25B6';
    font-size: 8px;
    margin-right: 4px;
    color: var(--text-muted);
}

.action-buttons {
    white-space: nowrap;
}

.action-buttons form {
    display: inline;
    margin-right: 4px;
}

.pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 20px;
}

.page-link {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.15s;
}

.page-link:hover {
    background: #f9fafb;
    text-decoration: none;
}

.page-link.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 0;
    font-size: 14px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 24px;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand strong {
    color: white;
    font-size: 18px;
}

.footer-cols {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col strong {
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
}

footer a {
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    font-size: 14px;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
}

/* ===== CONTENT PAGES ===== */
.content-page {
    max-width: 780px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
    text-align: center;
}

.content-intro {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.content-page .card h2 {
    font-size: 22px;
}

.content-page .card p {
    color: var(--text);
    line-height: 1.8;
    font-size: 15px;
}

.content-page .card li {
    font-size: 15px;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    nav a {
        padding: 7px 12px;
        font-size: 13px;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    nav.open {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .btn-xl {
        padding: 16px 28px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .btn-outline {
        padding: 14px 26px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .landing-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 48px;
    }

    .landing-stat-card {
        padding: 20px 16px;
    }

    .landing-stat-number {
        font-size: 28px;
    }

    .landing-section {
        margin-bottom: 48px;
    }

    .landing-section-header h2 {
        font-size: 26px;
    }

    .landing-section-header p {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .bonus-banner {
        padding: 32px 24px;
    }

    .bonus-banner-inner {
        flex-direction: column;
        gap: 24px;
    }

    .bonus-banner-text h2 {
        font-size: 22px;
    }

    .bonus-card-stack {
        flex-direction: row;
    }

    .bonus-card-item {
        padding: 12px 18px;
        font-size: 16px;
    }

    .cta-section {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .sms-section {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        display: none;
    }

    .card {
        padding: 20px;
        border-radius: 16px;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-inner {
        padding: 0 16px;
    }

    main {
        padding: 20px 16px;
    }

    .dashboard-header h1 {
        font-size: 22px;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-cols {
        gap: 32px;
    }

    .auth-page {
        margin: 20px auto;
    }

    .auth-page h2 {
        font-size: 22px;
    }

    .stat-card {
        padding: 16px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }

    .btn-block {
        width: 100%;
    }


    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 500px;
    }

    .card h2 {
        font-size: 19px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 12px 16px;
    }

    .action-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .admin-tabs {
        flex-wrap: wrap;
    }

    .checkbox-group {
        flex-direction: column;
    }

    .footer-col {
        min-width: unset;
    }
}

/* ===== RESPONSIVE - SMALL PHONE ===== */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 26px;
    }

    .landing-stats {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    nav a {
        font-size: 15px;
    }
}

/* Dashboard layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    padding: 18px !important;
}


@media (max-width: 900px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

}
