:root {
    --primary: #1e3a8a;
    --primary-light: #2563eb;
    --primary-dark: #1e293b;
    --secondary: #0d9488;
    --secondary-light: #14b8a6;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --danger: #ef4444;
    --success: #10b981;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --border-focus: #3b82f6;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 10px;
    --radius-lg: 16px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fluid responsive container (95% desktop, 100% mobile) */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--bg-alt);
    text-decoration: none;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    z-index: 1010;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.15s ease;
}

.dropdown-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
    text-decoration: none;
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
}

.btn-phone,
a.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), #0f766e);
    color: #ffffff !important;
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(13, 148, 136, 0.25);
    transition: all 0.2s ease;
}

.btn-phone:hover,
a.btn-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(13, 148, 136, 0.35);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--primary-dark);
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.mobile-toggle:hover {
    background: var(--bg-alt);
    border-color: #cbd5e1;
}

@media (max-width: 1160px) {
    .mobile-toggle {
        display: flex;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-phone {
        display: flex;
    }

    .btn-phone,
    a.btn-phone {
        padding: 7px 12px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        display: block;
    }
}

@media (max-width: 540px) {
    .brand-subtitle {
        display: none;
    }

    .btn-phone,
    a.btn-phone {
        padding: 6px 10px;
        font-size: 0.82rem;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px 0 60px 0;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: 6px;
}

.breadcrumb-item::after {
    content: "›";
    margin-left: 6px;
    color: var(--text-muted);
}

.breadcrumb-item:last-child::after {
    content: "";
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 500;
}

/* Typography & Headings */
h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-top: 36px;
    margin-bottom: 16px;
    border-left: 4px solid var(--secondary);
    padding-left: 12px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
}

/* GEO Answer-First Box */
.geo-summary, .answer-box {
    background: linear-gradient(to right, #eff6ff, #f0fdfa);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
}

.geo-summary strong, .answer-box strong {
    color: var(--primary);
}

/* Tables for GEO & Structured Data */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

th {
    background: var(--bg-alt);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: top;
}

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

tr:nth-child(even) td {
    background: #fafafa;
}

/* Tutors Cards Component */
.tutors-section {
    margin: 40px 0;
}

.tutors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 840px) {
    .tutors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tutor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tutor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tutor-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
}

.badge-senior {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.badge-junior {
    background: #ccfbf1;
    color: #115e59;
    border: 1px solid #99f6e4;
}

.tutor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tutor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tutor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.tutor-role {
    font-size: 0.88rem;
    color: var(--secondary);
    font-weight: 600;
}

.tutor-meta {
    background: var(--bg-alt);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.tutor-meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.tutor-meta-item:last-child {
    margin-bottom: 0;
}

.tutor-meta-label {
    color: var(--text-muted);
}

.tutor-meta-value {
    font-weight: 700;
    color: var(--text-main);
}

.tutor-specs {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.tutor-specs li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.tutor-specs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.tutor-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

.tutor-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.tutor-price span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Call To Action Block (No PII) */
.cta-call-block {
    background: linear-gradient(135deg, #1e3a8a, #0f766e);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    margin: 40px 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.cta-desc {
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 24px auto;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-phone-btn,
a.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
}

.cta-phone-btn:hover,
a.cta-phone-btn:hover {
    background: var(--accent-hover);
    color: #ffffff !important;
    transform: scale(1.03);
    text-decoration: none !important;
}

.cta-notice {
    margin-top: 16px;
    font-size: 0.82rem;
    opacity: 0.8;
}

/* Interactive Trainer Styles */
.trainer-card {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.trainer-header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.trainer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.trainer-progress-bar {
    display: flex;
    gap: 6px;
}

.progress-dot {
    width: 28px;
    height: 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.progress-dot.active {
    background: var(--secondary);
}

.progress-dot.completed {
    background: var(--primary-light);
}

.step-card {
    display: none;
}

.step-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.step-instruction {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

/* Step 1: Sorting/Chips */
.chips-pool {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 48px;
    padding: 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.chip-item {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    user-select: none;
    transition: all 0.15s ease;
}

.chip-item:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.chip-item.selected {
    background: var(--primary-light);
    color: #ffffff;
    border-color: var(--primary-light);
}

.drop-zones-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .drop-zones-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.drop-zone {
    border: 2px dashed #94a3b8;
    border-radius: var(--radius);
    padding: 16px;
    min-height: 120px;
    background: #ffffff;
    cursor: pointer;
}

.drop-zone-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.drop-zone-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Step 2: Multiple Choice */
.choice-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
}

.choice-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.choice-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.choice-btn.correct {
    background: #dcfce7;
    border-color: #22c55e;
    color: #15803d;
    font-weight: 700;
}

.choice-btn.wrong {
    background: #fee2e2;
    border-color: #ef4444;
    color: #b91c1c;
}

/* Step 3: Input Field */
.input-task-sentence {
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 20px 0;
}

.text-fill-input {
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    width: 180px;
    outline: none;
    transition: border-color 0.2s;
}

.text-fill-input:focus {
    border-color: var(--primary-light);
}

.text-fill-input.correct {
    border-color: #22c55e;
    background: #f0fdf4;
}

.text-fill-input.wrong {
    border-color: #ef4444;
    background: #fef2f2;
}

/* Step Feedback Boxes */
.trainer-feedback-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 0.96rem;
    line-height: 1.5;
    animation: fadeIn 0.25s ease;
}

.trainer-feedback-box.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.trainer-feedback-box.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.feedback-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.correct-highlight {
    background: #dcfce7;
    color: #15803d;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    border: 1px solid #86efac;
    display: inline-block;
}

/* Step 4: Proofreading */
.proofread-sentence {
    font-size: 1.2rem;
    line-height: 2;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin: 20px 0;
}

.proofread-word {
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.proofread-word:hover {
    background: #cbd5e1;
}

.proofread-word.selected-wrong {
    background: #fecaca;
    color: #991b1b;
    font-weight: 700;
}

.proofread-word.selected-correct {
    background: #bbf7d0;
    color: #166534;
    font-weight: 700;
}

/* Step 5: Score & Report Summary */
.score-summary-box {
    text-align: center;
    padding: 24px;
    background: linear-gradient(to bottom, #ffffff, var(--bg-alt));
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.score-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.score-text {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.report-text-area {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.92rem;
    margin: 16px 0;
    background: #ffffff;
    resize: none;
}

.trainer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    background: var(--primary-light);
    color: #ffffff !important;
    border: none;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background: var(--primary);
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:active,
a.btn-primary:active,
button.btn-primary:active {
    transform: translateY(0);
    color: #ffffff !important;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
    background: #ffffff;
    color: var(--text-main) !important;
    border: 1px solid var(--border);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover {
    background: var(--bg-alt);
    color: var(--primary) !important;
    border-color: #cbd5e1;
    text-decoration: none !important;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--secondary);
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
    content: "−";
}

.faq-answer {
    display: none;
    padding: 0 20px 18px 20px;
    color: var(--text-main);
    line-height: 1.65;
    border-top: 1px solid transparent;
}

.faq-item.is-open .faq-answer {
    display: block;
    border-top-color: var(--bg-alt);
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 0 24px 0;
    margin-top: auto;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-phone-box {
    margin-top: 16px;
}

.footer-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.82rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Trainer Catalog Grid */
.trainer-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0 40px 0;
}

@media (min-width: 640px) {
    .trainer-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trainer-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.trainer-catalog-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trainer-catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.trainer-badge {
    align-self: flex-start;
    background: #e0e7ff;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trainer-catalog-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.trainer-catalog-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.trainer-catalog-card .btn {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.88rem;
    padding: 8px 16px;
}
