:root {
    color-scheme: dark;
    --bg-primary: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: #334155;
    --accent: #22c55e;
    --accent-hover: #16a34a;
    --accent-light: #4ade80;
    --success: #22c55e;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] {
    color-scheme: light;
    --bg-primary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --accent: #16a34a;
    --accent-hover: #15803d;
    --accent-light: #22c55e;
    --success: #16a34a;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Accessibility: Focus visible outline & Screen reader utility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sr-only,
.visually-hidden,
svg title,
svg desc,
.scene-svg title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    display: none;
}

.hidden {
    display: none !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 10px;
}

.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.logo-icon,
.logo i {
    font-size: 22px;
}

.fa-book-open-cover::before {
    content: "\f518";
}

/* Global Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background-color 0.2s;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(34, 197, 94, 0.08);
}

.nav-link.active {
    color: #4ade80;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.14);
}

[data-theme="light"] .nav-link.active {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
}

.btn-nav-link {
    font-family: inherit;
    font-size: 14.5px;
}

.search-bar {
    flex: 1;
    max-width: 440px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.search-clear:hover {
    background: var(--accent);
    color: white;
}

.search-clear.hidden {
    display: none !important;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
}

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

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
}

.btn-signup {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-signup:hover {
    background: var(--accent-hover);
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 24px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.hero p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.quiz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 48px;
    flex-grow: 1;
    width: 100%;
}

#quizGrid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

.category-block {
    width: 100%;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.category-header:hover {
    opacity: 0.8;
}

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

.toggle-icon {
    font-size: 14px;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.category-block.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.category-block.collapsed .category-grid {
    display: none;
}

.category-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.quiz-count {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quiz-card:not(.disabled):hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.quiz-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.quiz-icon {
    font-size: 28px;
}

.badge-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80; /* bright green for dark theme */
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

[data-theme="light"] .badge-completed {
    background: rgba(22, 163, 74, 0.1);
    color: #166534; /* dark green for light theme */
}

.badge-coming-soon {
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(100, 116, 139, 0.25);
}

[data-theme="dark"] .badge-coming-soon {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, 0.25);
}

/* CSS-Animated ✨ #free Tag */
.badge-free-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(34, 197, 94, 0.18));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
    animation: freeTagGlow 2.4s ease-in-out infinite;
    letter-spacing: 0.3px;
    user-select: none;
}

[data-theme="light"] .badge-free-tag {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.12));
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.15);
}

@keyframes freeTagGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 6px rgba(74, 222, 128, 0.2);
        border-color: rgba(74, 222, 128, 0.4);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 14px rgba(34, 197, 94, 0.45);
        border-color: rgba(34, 197, 94, 0.6);
    }
}

/* Professional SaaS Pro Badge */
.badge-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4ade80 !important;
    color: #064e3b !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 9999px;
    margin-left: 6px;
    box-shadow: 0 1px 4px rgba(74, 222, 128, 0.35);
    text-transform: uppercase;
    line-height: 1.3;
    user-select: none;
    border: none;
}

[data-theme="light"] .badge-pro,
[data-theme="dark"] .badge-pro {
    background: #4ade80 !important;
    color: #064e3b !important;
}

/* Minimalist Pro Padlock Pill */
.badge-pro-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.badge-pro-pill:hover {
    background: rgba(245, 158, 11, 0.22);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

[data-theme="light"] .badge-pro-pill {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
    border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .badge-pro-pill:hover {
    background: rgba(217, 119, 6, 0.18);
    border-color: rgba(217, 119, 6, 0.5);
}

.quiz-card.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-disabled {
    background: var(--border);
    color: var(--text-secondary);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.75;
}

.btn-share-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-share-icon:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-close-modal:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.share-tooltip {
    position: absolute;
    bottom: -36px;
    right: 0;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.share-tooltip::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 12px;
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent var(--accent) transparent;
}

.share-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Share Achievement Menu Overlay & Centered Dialog */
.share-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 20px;
}

.share-menu-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.share-menu-box h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-opt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}

.share-opt:hover {
    border-color: var(--accent);
    background: rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.share-opt i {
    font-size: 16px;
}

.share-opt-linkedin i {
    color: #0a66c2;
}

.share-opt-x i {
    color: var(--text-primary);
}

.share-opt-native i {
    color: var(--accent);
}

.share-opt-copy i {
    color: var(--success);
}

.share-close {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.share-close:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

/* Light Mode Styling for Share Modal */
[data-theme="light"] .share-menu-overlay {
    background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .share-menu-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .share-opt {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .share-opt:hover {
    border-color: var(--accent);
    background: rgba(22, 163, 74, 0.08);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.18);
}

[data-theme="light"] .share-opt-x i {
    color: #0f172a;
}

[data-theme="light"] .share-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .share-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.quiz-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.quiz-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.quiz-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.quiz-questions {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-start {
    background: var(--accent);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-start:hover {
    background: var(--accent-hover);
}

.completed-actions {
    display: flex;
    gap: 8px;
}

.btn-retake {
    background: var(--success);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-certificate {
    background: transparent;
    color: var(--success);
    border: 1px solid var(--success);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

[data-theme="light"] .btn-certificate {
    color: #15803d; /* High-contrast green on white background */
    border-color: #15803d;
}


/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay:not(.hidden) {
    display: flex;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.modal-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.modal-card h2,
.modal-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.modal-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group input,
.form-field input,
.form-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 15px;
}

.form-field {
    text-align: left;
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.btn-modal {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

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

.btn-confirm {
    background: var(--accent);
    border: none;
    color: white;
}

/* --- Passwordless Auth OTP styling --- */
.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-box {
    width: 44px;
    height: 48px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-box:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.auth-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.auth-user-name,
.auth-user-email {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-signout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-signout:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-danger-modal {
    background: #dc2626 !important;
    color: white !important;
}

.btn-danger-modal:hover {
    background: #b91c1c !important;
}

/* --- Redesigned Account Detail Profile Modal --- */
.profile-modal-card {
    max-width: 480px;
    position: relative;
    padding: 32px 28px;
    text-align: left;
}

.profile-modal-card .profile-modal-icon {
    margin: 0 auto 12px auto;
    width: 56px;
    height: 56px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
}

.profile-modal-card h2 {
    text-align: center;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 700;
}

.profile-modal-subtitle {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.profile-info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.profile-info-label {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-info-label i {
    color: var(--accent);
    width: 14px;
    text-align: center;
}

.profile-info-val {
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
    max-width: 60%;
    text-align: right;
}

.profile-badge-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.3px;
}

.profile-badge-status.status-pro {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25), rgba(34, 197, 94, 0.25));
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.profile-badge-status.status-free {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.profile-section-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 14px;
}

.profile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.profile-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-section-title i {
    color: var(--accent);
}

.profile-section-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.btn-export-data {
    background: var(--accent);
    color: white;
    border: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-export-data:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.45);
}

.profile-danger-zone {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 14px;
}

.profile-danger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.profile-danger-title {
    font-size: 13px;
    font-weight: 700;
    color: #f87171;
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-danger-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.btn-danger-subtle {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-danger-subtle:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #fca5a5;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    color: var(--text-secondary) !important;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
    border-color: var(--text-secondary) !important;
}


/* Cookie Consent Sticky Bottom Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cookie-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cookie {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-reject:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-standard {
    background: var(--accent);
    border: none;
    color: white;
}

.btn-standard:hover {
    background: var(--accent-hover);
}

/* Standard Certification Sticky Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.footer-nav-heading {
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.footer-nav-links a,
.btn-footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-nav-links a:hover,
.btn-footer-link:hover {
    color: #4ade80; /* High contrast green on hover in dark bg */
}

[data-theme="light"] .footer-nav-links a:hover,
[data-theme="light"] .btn-footer-link:hover {
    color: var(--accent);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-copyright a {
    color: #4ade80; /* High contrast green for dark bg */
    text-decoration: none;
    font-weight: 600;
}

[data-theme="light"] .footer-copyright a {
    color: var(--accent);
}

.footer-disclaimer-note {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 800px;
}

.footer-disclaimer-note a {
    color: #4ade80; /* High contrast green for dark bg */
    text-decoration: underline;
    font-weight: 500;
}

[data-theme="light"] .footer-disclaimer-note a {
    color: var(--accent);
}

.footer-disclaimer-note a:hover {
    color: #86efac; /* Lighter green on hover in dark bg */
}

[data-theme="light"] .footer-disclaimer-note a:hover {
    color: var(--accent-hover);
}

@media (max-width: 640px) {
    .header-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        row-gap: 12px;
        column-gap: 8px;
        padding: 10px 16px;
    }

    .logo {
        order: 1;
        font-size: 18px;
        gap: 6px;
    }

    .logo-icon {
        font-size: 20px;
    }

    .header-actions {
        order: 2;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .theme-toggle {
        order: -1;
        padding: 6px 10px;
        font-size: 15px;
    }

    .btn-signup {
        padding: 8px 14px;
        font-size: 13.5px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    [data-theme="light"] .nav-links {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-link {
        font-size: 13.5px;
        padding: 6px 12px;
    }

    .search-bar {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
    }

    .hero p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        line-height: 1.4;
    }

    .footer {
        padding: 28px 16px;
    }

    .footer-container {
        gap: 16px;
    }

    .footer-nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .footer-nav-links a,
    .btn-footer-link {
        font-size: 14.5px;
        padding: 6px 14px;
    }

    .footer-copyright {
        font-size: 12px;
        line-height: 1.45;
        padding: 0 8px;
    }
}

/* iOS 3D Wheel Picker Empty Search State */
.no-results-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    max-width: 560px;
    margin: 20px auto;
    box-shadow: var(--shadow);
    width: 100%;
}

.no-results-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.no-results-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.search-term-highlight {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 10px;
    border-radius: 6px;
    word-break: break-word;
}

.no-results-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

/* iOS 3D Drum Picker Cylinder Container */
.picker-container {
    position: relative;
    height: 170px;
    max-width: 320px;
    margin: 0 auto 24px;
    perspective: 800px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border);
    touch-action: none;
}

[data-theme="dark"] .picker-container {
    background: rgba(0, 0, 0, 0.25);
}

.picker-selection-lens {
    position: absolute;
    top: 50%;
    left: 12px;
    right: 12px;
    height: 44px;
    margin-top: -22px;
    background: rgba(34, 197, 94, 0.12);
    border-top: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    pointer-events: none;
    z-index: 10;
    border-radius: 8px;
}

.picker-wheel {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 44px;
    margin-top: -22px;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: grab;
}

.picker-wheel:active {
    cursor: grabbing;
}

.picker-item {
    position: absolute;
    left: 0;
    right: 0;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    backface-visibility: hidden;
    user-select: none;
    transition: transform 0.2s, opacity 0.2s, color 0.2s;
}

.picker-item.active {
    color: var(--accent);
    font-size: 17px;
    font-weight: 700;
}

.btn-picker-start {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-picker-start:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

/* 404 & Disclaimer Special Pages Styling */
.special-page-hero {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 24px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.special-page-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.special-page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.special-page-body {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    text-align: left;
}

.btn-primary-action {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary-action:hover {
    background: var(--accent-hover);
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 48px);
}

.toast-message {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

[data-theme="light"] .toast-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.toast-success {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

[data-theme="light"] .toast-success {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

.toast-info {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

[data-theme="light"] .toast-info {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

/* ==========================================================================
   Contact Us Modal & Zero-Redirect Google Form Styles
   ========================================================================== */

.modal-card.modal-card-contact {
    max-width: 520px;
    width: 92%;
    text-align: left;
    padding: 32px 28px;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    animation: modalCardAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCardAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.contact-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.contact-modal-icon {
    font-size: 26px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

[data-theme="light"] .contact-modal-icon {
    background: rgba(22, 163, 74, 0.08);
}

.contact-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.contact-modal-subtitle {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-bottom: 20px;
    line-height: 1.45;
}

.form-field {
    margin-bottom: 16px;
    text-align: left;
}

.form-field label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    gap: 4px;
}

.required-star {
    color: #ef4444;
    font-weight: bold;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14.5px;
    line-height: 1.5;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    outline: none;
}

[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    background-color: var(--bg-card);
}

[data-theme="light"] .form-field input:focus,
[data-theme="light"] .form-field select:focus,
[data-theme="light"] .form-field textarea:focus {
    background-color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color-scheme: dark;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 38px;
    cursor: pointer;
}

[data-theme="light"] .form-field select {
    color-scheme: light;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
}

.form-field select option {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 10px 14px;
}

[data-theme="light"] .form-field select option {
    background-color: #ffffff;
    color: #0f172a;
}

.form-field input.input-invalid,
.form-field select.input-invalid,
.form-field textarea.input-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-error-msg {
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    display: none;
    line-height: 1.3;
}

[data-theme="light"] .form-error-msg {
    color: #dc2626;
}

.contact-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), #16a34a);
    border: none;
    color: #ffffff;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    flex: 2;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-contact-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-hover), #15803d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

.btn-contact-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.btn-contact-cancel {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 13px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease;
}

.btn-contact-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

[data-theme="light"] .btn-contact-cancel:hover {
    background: #f1f5f9;
}

/* --- Animated Checkmark & Success Card --- */
.contact-success-wrapper {
    text-align: center;
    padding: 16px 12px 8px;
}

.checkmark-circle-svg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #22c55e;
    stroke-miterlimit: 10;
    margin: 0 auto 18px;
    box-shadow: inset 0px 0px 0px #22c55e;
    animation: fillSuccess 0.4s ease-in-out 0.4s forwards, scaleSuccess 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #22c55e;
    fill: none;
    animation: strokeSuccess 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #22c55e;
    animation: strokeSuccess 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeSuccess {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleSuccess {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fillSuccess {
    100% {
        box-shadow: inset 0px 0px 0px 36px rgba(34, 197, 94, 0.12);
    }
}

.contact-success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-success-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .modal-card.modal-card-contact {
        padding: 24px 18px;
        width: 95%;
    }
    .contact-modal-actions {
        flex-direction: column;
    }
    .btn-contact-submit,
    .btn-contact-cancel {
        width: 100%;
        flex: unset;
    }
    .nav-links {
        gap: 2px;
    }
    .nav-link {
        padding: 6px 8px;
        font-size: 13px;
    }
}

/* ==========================================================================
   PRICING PAGE STYLING (/pricing)
   ========================================================================== */
.pricing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    width: 100%;
}

.pricing-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.pricing-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 30%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 64px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured {
    border: 2px solid #22c55e;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, var(--bg-card) 40%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.25);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.4);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 4px 18px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.tier-header {
    margin-bottom: 24px;
}

.tier-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-desc {
    color: var(--text-secondary);
    font-size: 14px;
    min-height: 42px;
    line-height: 1.4;
}

.tier-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.price-original {
    font-size: 22px;
    font-weight: 600;
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-right: 6px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.price-period {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.tier-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tier-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-primary);
    line-height: 1.4;
}

.tier-feature-item i {
    color: #22c55e;
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

.tier-feature-item.dimmed {
    color: var(--text-secondary);
    opacity: 0.6;
}

.tier-feature-item.dimmed i {
    color: var(--text-secondary);
}

.btn-pricing {
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pricing:hover {
    transform: translateY(-2px);
}

.btn-pricing-free {
    background: rgba(148, 163, 184, 0.15);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-pricing-free:hover {
    background: rgba(148, 163, 184, 0.25);
    color: var(--text-primary);
}

.btn-pricing-pro {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}

.btn-pricing-pro:hover {
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.btn-pricing-enterprise {
    background: transparent;
    color: #4ade80;
    border: 1px solid #22c55e;
}

.btn-pricing-enterprise:hover {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

/* Feature Matrix Table */
.pricing-matrix-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 32px;
    margin-bottom: 64px;
    box-shadow: var(--shadow);
}

.matrix-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--text-primary);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.matrix-table th,
.matrix-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.matrix-table th {
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(148, 163, 184, 0.05);
}

.matrix-table td:nth-child(2),
.matrix-table td:nth-child(3),
.matrix-table td:nth-child(4),
.matrix-table th:nth-child(2),
.matrix-table th:nth-child(3),
.matrix-table th:nth-child(4) {
    text-align: center;
}

.matrix-table tr:hover td {
    background: rgba(34, 197, 94, 0.04);
}

.check-icon {
    color: #22c55e;
    font-size: 16px;
}

.cross-icon {
    color: var(--text-secondary);
    opacity: 0.4;
    font-size: 14px;
}

/* Global Payments Guarantee Banner */
.pricing-payment-guarantee {
    max-width: 860px;
    margin: 0 auto 56px;
}

.payment-guarantee-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 22px;
    position: relative;
    overflow: hidden;
}

.payment-guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22c55e, #10b981);
}

.payment-guarantee-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.payment-guarantee-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.payment-guarantee-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.payment-guarantee-note {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.btn-inline-link {
    background: none;
    border: none;
    color: #4ade80;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    display: inline;
}

.btn-inline-link:hover {
    color: #86efac;
}

/* FAQ Accordion Section */
.pricing-faq {
    max-width: 860px;
    margin: 0 auto;
}

.faq-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-accordion-item[open] {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.2s;
}

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

.faq-summary:hover {
    background: rgba(34, 197, 94, 0.04);
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question-text i {
    color: #4ade80;
    font-size: 16px;
}

.faq-chevron {
    color: var(--text-secondary);
    font-size: 14px;
    transition: transform 0.25s ease;
}

.faq-accordion-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: #4ade80;
}

.faq-answer-body {
    padding: 0 24px 22px 52px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.faq-answer-body p {
    margin: 0;
}

.faq-answer-body a {
    color: #4ade80;
    text-decoration: underline;
    font-weight: 500;
}

.faq-answer-body a:hover {
    color: #86efac;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    .matrix-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .payment-guarantee-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
    }
    .faq-summary {
        padding: 16px 18px;
        font-size: 15px;
    }
    .faq-question-text {
        gap: 10px;
    }
    .faq-answer-body {
        padding: 0 18px 18px 40px;
        font-size: 14px;
    }
}

/* ==========================================================================
   3-SCROLL GSAP LANDING PAGE STYLES (index.html)
   ========================================================================== */
.landing-page-body {
    overflow-x: hidden;
}

/* Scroll 1: Hero Section */
.landing-hero-scroll {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.15);
}

.hero-headline {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-headline-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 40%, #10b981 70%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-lead {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.6);
}

.btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: #22c55e;
    transform: translateY(-2px);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge-item i {
    color: #22c55e;
}

@media (max-width: 640px) {
    .landing-hero-scroll {
        padding: 36px 16px 36px;
        min-height: auto;
    }
    .hero-pill-tag {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 16px;
        max-width: 100%;
        text-align: center;
    }
    .hero-headline {
        font-size: clamp(24px, 6.5vw, 32px);
        line-height: 1.2;
        margin-bottom: 16px;
        word-break: break-word;
    }
    .hero-lead {
        font-size: 14.5px;
        line-height: 1.55;
        margin-bottom: 28px;
        padding: 0 4px;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 32px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }
    .hero-trust-badges {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .trust-badge-item {
        font-size: 13px;
    }
}

/* ==========================================================================
   ABOUT US PAGE STYLING (/about)
   ========================================================================== */
.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    width: 100%;
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.about-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-headline-gradient {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 40%, #10b981 70%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-lead {
    font-size: clamp(16px, 2.2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

/* Mission Section Card */
.about-mission-section {
    margin-bottom: 56px;
}

.about-mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 28px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.about-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22c55e, #10b981);
}

.mission-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.mission-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.mission-text {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.mission-text:last-child {
    margin-bottom: 0;
}

/* Section Headings */
.section-header-centered {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Pillars Grid */
.about-pillars-section {
    margin-bottom: 64px;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.pillar-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pillar-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Audience Grid */
.about-audience-section {
    margin-bottom: 64px;
}

.about-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.audience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.audience-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audience-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.audience-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bottom CTA Card */
.about-cta-section {
    margin-bottom: 24px;
}

.about-cta-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.cta-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .about-page {
        padding: 32px 16px 60px;
    }
    .about-pillars-grid,
    .about-audience-grid {
        grid-template-columns: 1fr;
    }
    .about-mission-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 16px;
    }
    .about-cta-card {
        padding: 32px 20px;
    }
    .cta-title {
        font-size: 24px;
    }
    .cta-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn-group a {
        width: 100%;
        justify-content: center;
    }
}



