/* ============================================
   PrepifyNow - Main Stylesheet
   A modern, clean medical-tech aesthetic
   ============================================ */

/* ============================================
   CSS Variables & Theme
   ============================================ */
:root {
    /* Primary Colors - Medical Teal/Cyan */
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #22d3ee;
    --primary-subtle: #ecfeff;

    /* Secondary Colors - Deep Navy */
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --secondary-lighter: #334155;

    /* Accent Colors */
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    --gradient-hero: linear-gradient(
        135deg,
        #0f172a 0%,
        #1e293b 50%,
        #0f172a 100%
    );
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #0891b2 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md:
        0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
        0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
        0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(8, 145, 178, 0.3);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 200ms ease;
    --transition-slow: 300ms ease;

    /* Typography */
    --font-primary:
        "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --header-height: 72px;
}

/* ============================================
   Base Styles & Reset
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.contact-form__recaptcha-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
    text-align: center;
}

.contact-form__recaptcha-note a {
    color: #64748b;
    text-decoration: underline;
}

.contact-form__recaptcha-note a:hover {
    color: var(--primary);
}

/* ============================================
   Header Styles
   ============================================ */
.menu-item-admin {
    color: var(--primary);
    font-weight: 600;
}

.menu-item-admin i {
    color: var(--primary);
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--primary);
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-subtle);
}

.nav-link.active {
    color: var(--primary);
    background: var(--primary-subtle);
}

/* User Menu */
.user-menu {
    position: relative;
}

.menu-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
}

.menu-trigger:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.menu-trigger.active {
    box-shadow: var(--shadow-md);
}

.menu-trigger i {
    font-size: 16px;
    color: var(--gray-600);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

/* Menu Dropdown */
.menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    overflow: hidden;
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
}

.menu-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    overflow: hidden; /* clips the image to the circle */
    flex-shrink: 0; /* stops the avatar from squishing in flex layouts */
}

.menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills the circle without distortion */
    display: block; /* removes the tiny gap below inline images */
}

.menu-user-details {
    display: flex;
    flex-direction: column;
}

.menu-user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.menu-user-email {
    font-size: 13px;
    color: var(--text-muted);
}

.menu-user-role {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-user-role i {
    font-size: 10px;
}

.menu-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 4px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.menu-item:hover {
    background: var(--gray-50);
    color: var(--text-primary);
}

.menu-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.menu-item-logout {
    color: var(--error);
}

.menu-item-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

/* ============================================
   Auth Modal Styles
   ============================================ */
/* ── Accent: swap to your brand color ── */
:root {
    --auth-accent: #4f46e5;
}

/* Google button */
.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #3c4043;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 10px;
    cursor: pointer;
    transition:
        background 0.15s,
        box-shadow 0.15s,
        border-color 0.15s;
}
.auth-google-btn:hover {
    background: #f8f9fa;
    border-color: #c6c9cd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* "or" divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
    color: #9aa0a6;
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6e8eb;
}
.auth-divider span {
    padding: 0 12px;
    white-space: nowrap;
}

/* Compact 2x2 account-type tiles */
.acct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.acct-tile {
    position: relative;
    cursor: pointer;
}
.acct-tile input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.acct-tile__inner {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border: 1.5px solid #e6e8eb;
    border-radius: 10px;
    transition:
        border-color 0.15s,
        background 0.15s;
}
.acct-tile__inner i {
    font-size: 16px;
    color: var(--auth-accent);
    width: 18px;
    text-align: center;
}
.acct-tile__label {
    font-size: 13.5px;
    font-weight: 600;
    color: #3c4043;
    line-height: 1.1;
}
.acct-tile input:checked ~ .acct-tile__inner {
    border-color: var(--auth-accent);
    background: color-mix(in srgb, var(--auth-accent) 8%, #fff);
}
.acct-tile input:focus-visible ~ .acct-tile__inner {
    outline: 2px solid var(--auth-accent);
    outline-offset: 2px;
}

/* Choose-type standalone page */
.choose-type-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}
.choose-type-card {
    width: 100%;
    max-width: 420px;
    text-align: center;
    padding: 36px 28px;
    border: 1px solid #eceef0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.choose-type-card h2 {
    margin: 14px 0 4px;
}
.choose-type-card p {
    color: #6b7280;
    margin-bottom: 22px;
}

.auth-modal .modal-content {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 1;
    cursor: pointer;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background: var(--gray-200);
}

/* Override Bootstrap's btn-close to use a custom X */
.auth-modal-close.btn-close {
    background-image: none;
    padding: 0;
}

.auth-modal-close.btn-close::before,
.auth-modal-close.btn-close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: var(--gray-600);
    border-radius: 2px;
}

.auth-modal-close.btn-close::before {
    transform: rotate(45deg);
}

.auth-modal-close.btn-close::after {
    transform: rotate(-45deg);
}

.auth-image-side {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.auth-image-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 80%,
            rgba(8, 145, 178, 0.3) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(139, 92, 246, 0.2) 0%,
            transparent 50%
        );
}

.auth-image-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.auth-image-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.auth-image-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.auth-image-overlay p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-image-register {
    background: linear-gradient(135deg, #8b5cf6 0%, #0891b2 100%);
}

.auth-modal-body {
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

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

.auth-subtitle {
    color: var(--text-muted);
    font-size: 15px;
}

.auth-input-group {
    margin-bottom: 20px;
}

.auth-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--white);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--gray-400);
}
.auth-remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #475569);
    cursor: pointer;
    user-select: none;
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    margin: 0;
}

.auth-remember:hover span {
    color: var(--primary);
}

.auth-remember-row > a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.auth-remember-row > a:hover {
    text-decoration: underline;
}
/* Account Type Selector */
.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.account-type-option {
    display: flex;
}

.account-type-option input {
    display: none;
}

.account-type-card {
    flex: 1;
    padding: 14px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.account-type-card small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    min-height: 28px;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

.account-type-card i {
    font-size: 22px;
    color: var(--gray-400);
    margin-bottom: 6px;
    display: block;
    transition: var(--transition);
}

.account-type-card span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 2px;
}

.account-type-option input:checked + .account-type-card {
    border-color: var(--primary);
    background: var(--primary-subtle);
}

.account-type-option input:checked + .account-type-card i {
    color: var(--primary);
}

.account-type-card:hover {
    border-color: var(--gray-300);
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-forgot-password {
    text-align: right;
    margin-bottom: 24px;
}

.auth-forgot-password a {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.auth-forgot-password a:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-terms {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

.auth-terms a {
    color: var(--primary);
    font-weight: 500;
}

.auth-terms a:hover {
    text-decoration: underline;
}

.auth-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 16px;
}

.auth-link a {
    color: var(--primary);
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-error,
.auth-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 16px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(8, 145, 178, 0.15) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 40%
        );
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shapes .shape {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.shape-1 {
    top: 20%;
    left: 10%;
}
.shape-2 {
    top: 60%;
    right: 15%;
}
.shape-3 {
    bottom: 20%;
    left: 20%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 14px;
    opacity: 0.7;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
}

.card-content {
    padding: 24px;
}

.workflow-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
}

.workflow-step .step-icon {
    width: 32px;
    height: 32px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-500);
}

.workflow-step.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.workflow-step.completed .step-icon {
    background: var(--success);
    color: var(--white);
}

.workflow-step.active {
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary);
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.workflow-step.active .step-icon {
    background: var(--primary);
    color: var(--white);
}

.workflow-step .timer {
    margin-left: auto;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Workflow Timeline Section
   ============================================ */
.workflow-section {
    background: var(--gray-50);
}

.workflow-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gray-200);
}

.timeline-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.workflow-item {
    position: relative;
    text-align: center;
    z-index: 1;
}

.workflow-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.workflow-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gray-400);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.workflow-item:nth-child(-n + 4) .workflow-icon {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.workflow-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.workflow-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
/* ── Hero Dashboard Mockup ── */
.hero-dash {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.hero-dash:hover {
    transform: perspective(1600px) rotateY(0deg) rotateX(0deg);
}

.hero-dash__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.hero-dash__dots {
    display: flex;
    gap: 6px;
}

.hero-dash__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.hero-dash__dots i:nth-child(1) {
    background: #f87171;
}
.hero-dash__dots i:nth-child(2) {
    background: #fbbf24;
}
.hero-dash__dots i:nth-child(3) {
    background: #34d399;
}

.hero-dash__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-dash__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--success);
}

.hero-dash__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: heroPulse 1.8s infinite;
}

@keyframes heroPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-dash__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* KPI tiles */
.hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-kpi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.hero-kpi__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-bottom: 2px;
}

.hero-kpi__icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}
.hero-kpi__icon.green {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.hero-kpi__icon.purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.hero-kpi__value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero-kpi__value small {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 2px;
}

.hero-kpi__label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Mini chart */
.hero-chart {
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.hero-chart__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-chart__trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--success);
}

.hero-chart__bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 7px;
    height: 60px;
}

.hero-chart__bars span {
    flex: 1;
    background: var(--gray-200);
    border-radius: 4px 4px 2px 2px;
    transition: height 0.3s;
}

.hero-chart__bars span.peak {
    background: var(--gradient-primary);
}

/* Case rows */
.hero-cases {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-case {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.hero-case__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-subtle);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.hero-case__text {
    flex: 1;
    min-width: 0;
}

.hero-case__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-case__meta {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-case__pill {
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-case__pill.prog {
    background: #dbeafe;
    color: #2563eb;
}
.hero-case__pill.review {
    background: #fef3c7;
    color: #d97706;
}

/* ── Hero Trust Row ── */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.hero-trust__item i {
    color: var(--primary-light);
    font-size: 13px;
}

.hero-trust__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 480px) {
    .hero-trust {
        gap: 12px;
    }
    .hero-trust__sep {
        display: none;
    }
}
/* ============================================
   Benefits Section
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.benefit-card.featured {
    background: var(--gradient-hero);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.05);
}

.benefit-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 24px;
}

.benefit-card.featured .benefit-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 24px;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-stat {
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.benefit-card.featured .benefit-stat {
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.benefit-card.featured .stat-value {
    color: var(--primary-light);
}

.stat-desc {
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
   Split Content Sections
   ============================================ */
.for-clinics-section {
    background: var(--white);
}

.for-designers-section {
    background: var(--gray-50);
}

@media (max-width: 768px) {
    .split-content,
    .split-content.reverse {
        display: flex;
        flex-direction: column;
    }

    /* Text first, visual second — regardless of desktop ordering */
    .split-content .split-text,
    .split-content.reverse .split-text {
        order: 1;
    }

    .split-content .split-visual,
    .split-content.reverse .split-visual {
        order: 2;
    }
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content.reverse {
    direction: rtl;
}

.split-content.reverse > * {
    direction: ltr;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Designer Options */
.designer-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.designer-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.designer-option:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.option-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.designer-option:last-child .option-icon {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.option-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.option-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--success);
    font-size: 18px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-cta-alt {
    background: var(--gradient-accent);
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.preview-dots span:first-child {
    background: #ff5f57;
}
.preview-dots span:nth-child(2) {
    background: #febc2e;
}
.preview-dots span:nth-child(3) {
    background: #28c840;
}

.preview-content {
    padding: 24px;
}

.preview-stat-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.preview-stat {
    flex: 1;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.preview-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.preview-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-cases {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-case {
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.case-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.case-type {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.case-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.status-progress {
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary);
}

.status-review {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.case-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Designer Preview */
.designer-profile-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 2px;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.profile-rating i {
    color: var(--warning);
}

.profile-status {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.profile-status.online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.incoming-job {
    padding: 16px;
    background: linear-gradient(
        135deg,
        rgba(8, 145, 178, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 100%
    );
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.job-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.job-alert i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.job-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.job-type {
    font-weight: 600;
    color: var(--text-primary);
}

.job-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--success);
}

.job-accept {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.job-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Homepage preview button - non-interactive */
.dashboard-preview .job-accept {
    cursor: default;
    pointer-events: none;
}

.dashboard-preview .job-accept:hover {
    transform: none;
    box-shadow: none;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 30% 50%,
            rgba(8, 145, 178, 0.2) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 50%,
            rgba(139, 92, 246, 0.15) 0%,
            transparent 50%
        );
}

.cta-content {
    text-align: center;
    padding: 40px 0;
    color: var(--white);
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--white);
    color: var(--secondary);
    font-size: 17px;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--secondary);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* ============================================
   Footer Styles
   ============================================ */
.site-footer {
    position: relative;
    background: var(--secondary);
    color: var(--white);
    overflow: hidden;
}

.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand {
    padding-right: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    font-size: 18px;
    color: var(--primary-light);
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
}

.footer-tagline {
    font-size: 14.5px;
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 22px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    position: relative;
    display: inline-block;
    font-size: 14.5px;
    color: var(--white);
    opacity: 0.65;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(3px);
}

/* Contact column */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

a.contact-item:hover {
    opacity: 1;
    color: var(--primary-light);
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 11px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-contact-btn i {
    font-size: 13px;
}

/* Bottom bar */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.copyright {
    font-size: 14px;
    opacity: 0.6;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 28px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--white);
    opacity: 0.6;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        max-width: 480px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        padding: 56px 20px 32px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-legal {
        gap: 20px;
    }
}
/* ============================================
   Dashboard Layout Styles
   ============================================ */
.dashboard-layout {
    min-height: 100vh;
    padding-top: var(--header-height);
    background: var(--gray-50);
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.dashboard-header {
    margin-bottom: 32px;
}

.dashboard-welcome {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.stat-card-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
}

.stat-card-trend.up {
    color: var(--success);
}
.stat-card-trend.down {
    color: var(--error);
}

.stat-card-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-action {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.card-action:hover {
    text-decoration: underline;
}

.card-body {
    padding: 24px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--gray-400);
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Profile Completion Card */
.profile-completion {
    padding: 24px;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.completion-percentage {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.completion-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 20px;
}

.completion-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.completion-tasks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.completion-task {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.completion-task i {
    width: 20px;
    text-align: center;
}

.completion-task.done {
    color: var(--success);
}

.completion-task.done i {
    color: var(--success);
}

.completion-task.pending i {
    color: var(--gray-400);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }

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

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

@media (max-width: 992px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-content.reverse {
        direction: ltr;
    }

    .split-visual {
        order: -1;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .benefit-card.featured {
        transform: none;
    }

    .benefit-card.featured:hover {
        transform: translateY(-8px);
    }

    .workflow-timeline {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

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

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .section-container {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-modal-body {
        padding: 24px;
    }

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

    .preview-stat-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-card {
        margin: 0 -8px;
    }

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

.alert-error {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #fef2f2;
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    color: #991b1b;
    margin-bottom: 24px;
}

.alert-error i {
    font-size: 20px;
    color: var(--danger);
    margin-top: 2px;
}

.alert-error strong {
    display: block;
    margin-bottom: 4px;
}

.alert-error ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.profile-complete-page {
    padding: calc(var(--header-height) + 40px) 24px 60px;
    background: var(--gray-50);
    min-height: 100vh;
}

.profile-complete-container {
    max-width: 700px;
    margin: 0 auto;
}

.profile-complete-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 24px;
}

.profile-complete-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-complete-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Form */
.profile-complete-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-section {
    padding: 32px;
    border-bottom: 1px solid var(--gray-100);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-section h2 i {
    color: var(--primary);
}

/* Profile Picture Upload */
.profile-picture-upload {
    display: flex;
    align-items: center;
    gap: 24px;
}

.picture-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-400);
    overflow: hidden;
}

.picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.picture-upload-info {
    flex: 1;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.picture-upload-info input[type="file"] {
    display: none;
}

.picture-upload-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required {
    color: var(--danger);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.error-text {
    display: block;
    font-size: 12px;
    color: var(--danger);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.checkbox-item:hover {
    background: var(--gray-100);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-item span {
    font-size: 14px;
    color: var(--text-primary);
}

.checkbox-item:has(input:checked) {
    background: var(--primary-subtle);
    border-color: var(--primary);
}

/* Form Actions */
.form-actions {
    padding: 32px;
    background: var(--gray-50);
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Crop modal ===== */
.crop-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.72);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.crop-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    width: 100%;
    max-width: 390px;
    box-shadow: var(--shadow-lg);
}

.crop-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.crop-card__title i {
    color: var(--primary);
}

.crop-card__hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 18px;
}

.crop-stage {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 18px;
}

#cropCanvas {
    display: block;
    border-radius: 12px;
    cursor: grab;
    touch-action: none;
    background: #0f172a;
}

#cropCanvas:active {
    cursor: grabbing;
}

/* circular mask overlay so users see the avatar crop */
.crop-ring {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, 0.45);
    -webkit-mask: radial-gradient(
        circle at center,
        transparent 0 50%,
        #000 51%
    );
    mask: radial-gradient(circle at center, transparent 0 50%, #000 51%);
}

.crop-zoom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.crop-zoom-row input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
}

.crop-zoom-small {
    font-size: 12px;
    color: var(--gray-400);
}

.crop-zoom-large {
    font-size: 18px;
    color: var(--gray-400);
}

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

.crop-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.crop-btn--ghost {
    background: var(--gray-50);
    color: var(--text-secondary);
    border-color: var(--gray-200);
}

.crop-btn--ghost:hover {
    background: var(--gray-100);
}

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

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

/* Responsive */
@media (max-width: 640px) {
    .profile-picture-upload {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .crop-stage,
    #cropCanvas {
        width: 280px;
        height: 280px;
    }
}
/* ============================================
   Profile Edit Page
   (form styles scoped to avoid clashing with
   the global profile-complete styles)
   ============================================ */
.payout-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.payout-card__head .payout-card__title {
    margin: 0;
}

.payout-card__close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--gray-100, #f1f5f9);
    color: var(--gray-500, #64748b);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.payout-card__close:hover {
    background: var(--gray-200, #e2e8f0);
    color: var(--text-primary, #0f172a);
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    white-space: nowrap;
}
.page-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.back-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(8, 145, 178, 0.05);
}

.back-btn i {
    font-size: 12px;
}
.profile-edit-page {
    padding: calc(var(--header-height) + 24px) 24px 60px;
    background: var(--gray-50);
    min-height: 100vh;
}

.profile-edit-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.back-link:hover {
    color: var(--primary);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.page-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Success alert (error alert is already global) */
.alert-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: var(--radius-md);
    color: #065f46;
    font-weight: 500;
    margin-bottom: 24px;
}

.alert-success i {
    font-size: 20px;
    color: #10b981;
}

/* Two-column grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Edit-page form sections look different from complete-page (cards w/ shadow) */
.profile-edit-page .form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-bottom: none;
}

.profile-edit-page .form-section h2 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

/* Profile picture (edit variant) */
.profile-picture-edit {
    display: flex;
    align-items: center;
    gap: 24px;
}

.current-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-100);
}

.current-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.picture-actions {
    flex: 1;
}

.profile-edit-page .btn-upload {
    padding: 10px 20px;
    font-size: 14px;
}

.picture-actions input[type="file"] {
    display: none;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Form groups (tighter than complete-page) */
.profile-edit-page .form-group {
    margin-bottom: 16px;
}

.profile-edit-page .form-group label {
    margin-bottom: 6px;
}

.profile-edit-page .form-group input[type="text"],
.profile-edit-page .form-group input[type="email"],
.profile-edit-page .form-group input[type="tel"],
.profile-edit-page .form-group input[type="url"],
.profile-edit-page .form-group input[type="number"],
.profile-edit-page .form-group textarea,
.profile-edit-page .form-group select {
    padding: 10px 14px;
    font-size: 14px;
}

.profile-edit-page .form-group input:disabled {
    background: var(--gray-100);
    color: var(--text-muted);
    cursor: not-allowed;
}

.profile-edit-page .form-hint {
    margin-top: 4px;
}

.profile-edit-page .error-text {
    margin-top: 4px;
}

/* Checkbox grid (edit variant — 2/3 cols, smaller) */
.profile-edit-page .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.profile-edit-page .checkbox-grid.compact {
    grid-template-columns: repeat(3, 1fr);
}

.profile-edit-page .checkbox-item {
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}

.profile-edit-page .checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.profile-edit-page .checkbox-item span {
    font-size: 13px;
}

/* Form actions (edit variant — right-aligned with top border) */
.profile-edit-page .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    padding: 24px 0 0;
    background: transparent;
    border-top: 1px solid var(--gray-200);
}

.btn-cancel {
    padding: 12px 24px;
    background: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-cancel:hover {
    background: var(--gray-50);
    color: var(--text-primary);
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Payout Modal (global — sibling of the page)
   ============================================ */
.payout-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.payout-set {
    font-size: 14px;
    color: #047857;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payout-unset {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payout-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.72);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payout-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.payout-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.payout-card__title i {
    color: var(--primary);
}

.payout-card__hint {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 18px;
}

.payout-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.payout-opt {
    position: relative;
    cursor: pointer;
}

.payout-opt input {
    position: absolute;
    opacity: 0;
}

.payout-opt span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.payout-opt:has(input:checked) span {
    border-color: var(--primary);
    background: var(--primary-subtle);
    color: var(--primary);
}

.payout-fields {
    display: none;
}

.payout-fields.active {
    display: block;
}

.payout-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.payout-actions .crop-btn {
    flex: 1;
}

/* ============================================
   Profile Edit — Responsive
   ============================================ */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .profile-edit-page .checkbox-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-picture-edit {
        flex-direction: column;
        text-align: center;
    }

    .profile-edit-page .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        justify-content: center;
    }
}

.verify-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
}
.verify-badge--done {
    background: #d1fae5;
    color: #065f46;
}
.verify-badge--pending {
    background: #fffbeb;
    color: #92400e;
}
.verify-badge i {
    font-size: 18px;
}

/* Homepage specific animations */
@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.floating-shapes .shape {
    animation: float 6s ease-in-out infinite;
}

.floating-shapes .shape-2 {
    animation-delay: -2s;
}

.floating-shapes .shape-3 {
    animation-delay: -4s;
}

.status-dot {
    animation: pulse 2s ease-in-out infinite;
}

/* Services Section */
.services-section {
    padding: 0px 0;
    background: var(--gray-50);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 2px solid transparent;
    /* 3 per row: each card is a third of the container minus the gaps */
    flex: 1 1 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.15);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-subtle);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.service-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.service-tags span.coming-soon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Small section badge */
.section-badge-small {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1100px) {
    .service-card {
        /* 2 per row */
        flex: 1 1 calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .services-grid {
        gap: 16px;
    }

    .service-card {
        /* 1 per row */
        flex: 1 1 100%;
        max-width: 100%;
    }

    .services-section {
        padding: 0px 0;
    }
}

/* ========================
====experts show========
======================= */

/* Attach-a-case row + chip1 */
.sv-modal__icon--primary {
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary, #0891b2);
}

.sv-attach-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sv-attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary-dark, #0e7490);
    border: 1px dashed var(--primary, #0891b2);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.sv-attach-btn:hover {
    background: #cffafe;
}

.sv-attached-chip1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 12px;
    background: #fff;
    border: 1px solid var(--primary, #0891b2);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.sv-attached-chip1 > i {
    color: var(--primary, #0891b2);
}

.sv-attached-chip1__name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-attached-chip1__remove {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
}

.sv-attached-chip1__remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Case list inside modal */
.sv-case-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 50vh;
    overflow-y: auto;
}

.sv-case-loading,
.sv-case-empty {
    text-align: center;
    padding: 28px 16px;
    color: #94a3b8;
    font-size: 14px;
}

.sv-case-empty a {
    color: var(--primary, #0891b2);
    font-weight: 600;
}

.sv-case-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.sv-case-row:hover {
    border-color: var(--primary, #0891b2);
    background: var(--primary-subtle, #ecfeff);
}

.sv-case-row__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary, #0891b2);
    font-size: 16px;
}

.sv-case-row__info {
    flex: 1;
    min-width: 0;
}

.sv-case-row__info strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-case-row__info span {
    font-size: 12px;
    color: #64748b;
}

.sv-case-row__action {
    color: #cbd5e1;
    flex-shrink: 0;
}

.sv-case-row:hover .sv-case-row__action {
    color: var(--primary, #0891b2);
}

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

.sv-show-page {
    padding-top: var(--header-height, 64px);
    background: var(--gray-50, #f7f8fa);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---- Breadcrumb ---- */
.sv-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 24px;
}

.sv-breadcrumb__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    overflow: hidden;
}

.sv-breadcrumb__inner a {
    color: var(--primary, #0891b2);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s;
}

.sv-breadcrumb__inner a:hover {
    color: var(--primary-dark, #0e7490);
}

.sv-breadcrumb__inner > i {
    font-size: 8px;
    color: #b0b8c4;
    flex-shrink: 0;
}

.sv-breadcrumb__inner > span {
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Title Bar (dark navy hero) ---- */
.sv-title-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 36px 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sv-title-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(34, 211, 238, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(8, 145, 178, 0.12),
            transparent 45%
        );
    pointer-events: none;
}

.sv-title-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
    background: rgba(34, 211, 238, 0.15);
    color: var(--primary-light, #22d3ee);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.sv-title-bar h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    word-break: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.sv-title-bar__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.sv-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.sv-meta-item strong {
    color: #fff;
    font-weight: 700;
}

.sv-meta-item small {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.sv-meta-item i {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.sv-meta-divider {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* ---- Container ---- */
.sv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 60px;
    overflow: hidden;
}

.sv-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

/* ---- Main Column ---- */
.sv-main {
    min-width: 0;
}

/* ---- Gallery ---- */
.sv-gallery {
    margin-bottom: 24px;
}

.sv-gallery__main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-100, #f1f5f9);
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sv-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-subtle, #ecfeff),
        #e0f2fe
    );
}

.sv-gallery__placeholder i {
    font-size: 56px;
    color: var(--primary-light, #22d3ee);
}

.sv-gallery__placeholder span {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.sv-gallery__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sv-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.sv-gallery__thumb img,
.sv-gallery__thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-gallery__thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2.5px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    background: #e2e8f0;
    transition:
        border-color 0.2s,
        transform 0.15s;
}

.sv-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sv-gallery__thumb:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.sv-gallery__thumb.active {
    border-color: var(--primary, #0891b2);
}

/* ---- Content Blocks ---- */
.sv-block {
    background: #fff;
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.sv-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sv-block h2 i {
    color: var(--primary, #0891b2);
    font-size: 16px;
    width: 28px;
    height: 28px;
    background: var(--primary-subtle, #ecfeff);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sv-prose {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
    word-break: break-word;
    overflow-wrap: break-word;
}

.sv-subhead {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 18px 0 10px;
}

/* ---- Tags ---- */
.sv-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sv-tag {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.sv-tag--software {
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary-dark, #0e7490);
}

.sv-tag--material {
    background: #f0fdf4;
    color: #16a34a;
}

.sv-tag--system {
    background: #faf5ff;
    color: #7c3aed;
}

.sv-tag--scope {
    background: #fff7ed;
    color: #c2410c;
}

.sv-tag--design {
    background: #ecfeff;
    color: var(--primary-dark, #0e7490);
}

.sv-tag--addon {
    background: #fef3c7;
    color: #b45309;
}

.sv-tag--required {
    background: #fef2f2;
    color: #b91c1c;
}

.sv-tag--optional {
    background: #f1f5f9;
    color: #475569;
}

/* Two-column tech specs */
.sv-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.sv-spec-group h4 {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 10px;
}

/* ---- Info Cards (approach/preferences) ---- */
.sv-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 4px;
}

.sv-info-card {
    padding: 14px;
    background: var(--gray-50, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sv-info-card__label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sv-info-card__value {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* ---- Required Inputs blocks ---- */
.sv-input-block {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50, #f8fafc);
    border-radius: 10px;
}

.sv-input-block:first-child {
    margin-top: 0;
}

.sv-input-block h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.sv-input-block h4 i {
    font-size: 10px;
}

.sv-input-block--required h4 {
    color: #b91c1c;
}

.sv-input-block--optional h4 {
    color: #475569;
}

/* ---- Deliverables list ---- */
.sv-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.sv-deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-50, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}

.sv-deliverables-list li i {
    color: var(--success, #10b981);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---- Portfolio Links ---- */
.sv-portfolio-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sv-portfolio-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--gray-50, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: var(--primary-dark, #0e7490);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.sv-portfolio-link:hover {
    background: var(--primary-subtle, #ecfeff);
    border-color: var(--primary, #0891b2);
    transform: translateX(2px);
}

.sv-portfolio-link i {
    font-size: 12px;
    flex-shrink: 0;
}

.sv-portfolio-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Scope Cards ---- */
.sv-scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sv-scope-card {
    padding: 18px;
    border-radius: 12px;
    overflow: hidden;
}

.sv-scope-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sv-scope-card__text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    word-break: break-word;
}

.sv-scope-card--included {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sv-scope-card--included h4 {
    color: #15803d;
}

.sv-scope-card--excluded {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.sv-scope-card--excluded h4 {
    color: #dc2626;
}

/* ---- Reviews ---- */
.sv-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.sv-reviews-summary {
    font-size: 15px;
    color: #1e293b;
}

.sv-reviews-summary strong {
    font-weight: 800;
}

.sv-reviews-summary small {
    font-weight: 400;
    color: #64748b;
    margin-left: 4px;
}

.sv-rating-overview {
    display: flex;
    gap: 28px;
    padding: 22px;
    background: var(--gray-50, #f8fafc);
    border-radius: 12px;
    margin: 16px 0 20px;
    align-items: center;
}

.sv-rating-big {
    text-align: center;
    min-width: 100px;
    flex-shrink: 0;
}

.sv-rating-big__number {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    display: block;
}

.sv-stars {
    margin: 6px 0 4px;
}

.sv-stars i,
.sv-review__rating i {
    font-size: 13px;
    color: #d1d5db;
}

.sv-stars i.filled,
.sv-review__rating i.filled {
    color: #fbbf24;
}

.sv-rating-big__count {
    font-size: 12px;
    color: #64748b;
}

.sv-rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sv-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sv-bar-row__label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    min-width: 100px;
    flex-shrink: 0;
}

.sv-bar-row__track {
    flex: 1;
    height: 7px;
    background: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    min-width: 0;
}

.sv-bar-row__fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 100px;
}

.sv-bar-row__val {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    min-width: 26px;
    text-align: right;
    flex-shrink: 0;
}

.sv-recommend {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 2px;
}

.sv-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sv-review {
    padding: 18px;
    background: var(--gray-50, #f8fafc);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.sv-review__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.sv-review__author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sv-review__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-subtle, #ecfeff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sv-review__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-review__avatar span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary, #0891b2);
}

.sv-review__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.sv-review__date {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.sv-review__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.sv-verified {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.sv-review__body {
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
    word-break: break-word;
    margin: 0;
}

.sv-review__response {
    margin-top: 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 8px;
    border-left: 3px solid var(--primary, #0891b2);
}

.sv-review__response-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary, #0891b2);
    margin-bottom: 4px;
}

.sv-review__response p {
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

.sv-no-reviews {
    text-align: center;
    padding: 36px 16px;
    color: #94a3b8;
}

.sv-no-reviews i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.sv-no-reviews p {
    font-size: 14px;
    margin: 0;
}

/* ---- Sidebar ---- */
.sv-sidebar {
    min-width: 0;
}

.sv-sidebar__sticky {
    position: sticky;
    top: calc(var(--header-height, 64px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sv-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Pricing */
.sv-pricing__top {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.sv-pricing__from {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.sv-pricing__amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark, #0e7490);
    letter-spacing: -1px;
    line-height: 1.1;
    display: block;
}

.sv-pricing__amount--contact {
    font-size: 17px;
    color: #334155;
    letter-spacing: 0;
}

.sv-pricing__hint {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

.sv-pricing__tiers {
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.sv-pricing__tiers h4 {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 0 10px;
}

.sv-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.sv-tier + .sv-tier {
    border-top: 1px dashed #f1f5f9;
}

.sv-tier__name {
    font-size: 13px;
    color: #334155;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-tier__price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    flex-shrink: 0;
    margin-left: 10px;
}

.sv-quick-stats {
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sv-qs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-qs__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary, #0891b2);
    font-size: 13px;
    flex-shrink: 0;
}

.sv-qs__icon--rush {
    background: #fef3c7;
    color: #d97706;
}

.sv-qs__label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sv-qs__val {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

.sv-qs__val small {
    font-weight: 500;
    color: #64748b;
    font-size: 12px;
}

/* Buttons */
.sv-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    margin-top: 8px;
}

.sv-btn--inline {
    width: auto;
    padding: 12px 28px;
    margin-top: 0;
}

.sv-btn--primary {
    background: var(
        --gradient-primary,
        linear-gradient(135deg, #0891b2 0%, #0e7490 100%)
    );
    color: #fff;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.sv-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(8, 145, 178, 0.35);
    color: #fff;
}

.sv-btn--secondary {
    background: var(--gray-100, #f1f5f9);
    color: #334155;
}

.sv-btn--secondary:hover {
    background: var(--gray-200, #e2e8f0);
    color: #0f172a;
}

/* Provider */
.sv-provider h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
}

.sv-provider__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.sv-provider__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-subtle, #ecfeff);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-provider__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-provider__avatar span {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary, #0891b2);
}

.sv-provider__info {
    min-width: 0;
    flex: 1;
}

.sv-provider__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sv-provider__type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--primary, #0891b2);
    font-weight: 600;
}

.sv-provider__loc {
    display: block;
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
}

.sv-provider__loc i {
    font-size: 10px;
    margin-right: 2px;
}

.sv-provider__meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.sv-pm__val {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.sv-pm__label {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Inquiry */
.sv-inquiry {
    background: #fff;
    border-radius: 16px;
    padding: 30px 32px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
    overflow: hidden;
}

.sv-inquiry__head {
    margin-bottom: 18px;
}

.sv-inquiry h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
}

.sv-inquiry h2 i {
    color: var(--primary, #0891b2);
    font-size: 16px;
    width: 32px;
    height: 32px;
    background: var(--primary-subtle, #ecfeff);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sv-inquiry__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.sv-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.sv-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.sv-form-group {
    margin-bottom: 16px;
}

.sv-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.sv-inquiry__form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
    resize: vertical;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    font-family: inherit;
}

.sv-inquiry__form textarea:focus {
    border-color: var(--primary, #0891b2);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.sv-inquiry__form textarea::placeholder {
    color: #94a3b8;
}

.sv-form-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

.sv-inquiry__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sv-rush-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.sv-rush-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sv-rush-check__box {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.sv-rush-check input:checked + .sv-rush-check__box {
    background: #f59e0b;
    border-color: #f59e0b;
}

.sv-rush-check input:checked + .sv-rush-check__box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sv-rush-check small {
    color: #f59e0b;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .sv-layout {
        grid-template-columns: 1fr;
    }

    .sv-sidebar__sticky {
        position: static;
    }

    .sv-rating-overview {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .sv-container {
        padding: 20px 16px 48px;
    }

    .sv-title-bar {
        padding: 26px 16px;
    }

    .sv-title-bar h1 {
        font-size: 24px;
    }

    .sv-block {
        padding: 20px 18px;
    }

    .sv-scope-grid,
    .sv-specs {
        grid-template-columns: 1fr;
    }

    .sv-deliverables-list {
        grid-template-columns: 1fr;
    }

    .sv-inquiry {
        padding: 22px 18px;
    }

    .sv-inquiry__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sv-inquiry__actions .sv-btn {
        width: 100%;
    }

    .sv-bar-row__label {
        min-width: 80px;
    }
}
/* ====== Review form ====== */
.sv-review-form-wrap {
    background: linear-gradient(
        135deg,
        var(--primary-subtle, #ecfeff) 0%,
        #fff 100%
    );
    border: 1px solid #cffafe;
    border-radius: 12px;
    padding: 22px;
    margin: 16px 0 24px;
}

.sv-review-form-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark, #0e7490);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.sv-form-label small {
    font-weight: 400;
    color: #94a3b8;
    margin-left: 4px;
}

.sv-form-group {
    margin-bottom: 16px;
}

.sv-form-group:last-child {
    margin-bottom: 0;
}

/* Star input */
.sv-rating-picker {
    margin-bottom: 16px;
}

.sv-star-input {
    display: inline-flex;
    gap: 4px;
}

.sv-star-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #d1d5db;
    transition:
        color 0.15s,
        transform 0.15s;
}

.sv-star-btn i {
    font-size: 24px;
    pointer-events: none;
}

.sv-star-input--small .sv-star-btn i {
    font-size: 16px;
}

.sv-star-btn:hover {
    transform: scale(1.1);
}

.sv-star-btn.filled,
.sv-star-btn.hover-filled {
    color: #fbbf24;
}

/* Sub-ratings grid */
.sv-subratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 16px;
}

.sv-subrating {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sv-subrating-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

/* Review textarea */
.sv-review-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-family: inherit;
    color: #1e293b;
    resize: vertical;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.sv-review-form textarea:focus {
    border-color: var(--primary, #0891b2);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

/* Footer with recommend + submit */
.sv-review-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
}

.sv-recommend-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.sv-recommend-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.sv-recommend-check__box {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.sv-recommend-check input:checked + .sv-recommend-check__box {
    background: var(--success, #10b981);
    border-color: var(--success, #10b981);
}

.sv-recommend-check input:checked + .sv-recommend-check__box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sv-recommend-check i {
    color: var(--success, #10b981);
}

.sv-review-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-btn-text {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sv-btn-text:hover {
    background: #f1f5f9;
}

.sv-btn-text--danger {
    color: #dc2626;
}

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

/* Locked state for non-inquirers */
.sv-review-locked {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: var(--gray-50, #f8fafc);
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin: 16px 0 24px;
}

.sv-review-locked > i {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #0891b2);
    font-size: 16px;
    flex-shrink: 0;
}

.sv-review-locked strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}

.sv-review-locked p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.sv-review-locked a {
    color: var(--primary, #0891b2);
    font-weight: 600;
}

/* "Your review" badge */
.sv-your-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary-dark, #0e7490);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Provider response toggle (when provider hasn't replied yet) */
.sv-review__respond-toggle {
    margin-top: 12px;
}

.sv-review__respond-toggle summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary, #0891b2);
    list-style: none;
    padding: 6px 0;
    user-select: none;
}

.sv-review__respond-toggle summary::-webkit-details-marker {
    display: none;
}

.sv-review__respond-toggle summary i {
    margin-right: 4px;
}

.sv-review__respond-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sv-review__respond-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    outline: none;
}

.sv-review__respond-form textarea:focus {
    border-color: var(--primary, #0891b2);
}

.sv-review__respond-form .sv-btn {
    align-self: flex-start;
}

/* ====== Report button ====== */
.sv-report-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: transparent;
    color: #64748b;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.sv-report-trigger:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
    border-style: solid;
}

.sv-report-trigger i {
    font-size: 12px;
}

/* ====== Modal ====== */
.sv-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sv-modal.active {
    display: flex;
}

.sv-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sv-modal__content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    animation: svModalPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes svModalPop {
    to {
        transform: scale(1);
    }
}

.sv-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 24px 8px;
}

.sv-modal__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sv-modal__header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.sv-modal__header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.sv-modal__close {
    margin-left: auto;
    background: none;
    border: none;
    color: #94a3b8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.sv-modal__close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.sv-modal__body {
    padding: 18px 24px 24px;
}

.sv-modal__select,
.sv-modal__body textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.sv-modal__select {
    cursor: pointer;
}

.sv-modal__select:focus,
.sv-modal__body textarea:focus {
    border-color: var(--primary, #0891b2);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.sv-modal__body textarea {
    resize: vertical;
}

.sv-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

/* Danger button variant */
.sv-btn--danger {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.sv-btn--danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
    color: #fff;
}

/* ========================================
                                   MARKETPLACE PAGE — uses --primary teal
                                   ======================================== */
.marketplace-page {
    padding-top: var(--header-height);
    background: var(--gray-50, #f7f8fa);
    min-height: 100vh;
}

/* ---- Hero ---- */
.marketplace-hero {
    position: relative;
    padding: 56px 24px 48px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background: var(
        --gradient-hero,
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%)
    );
}

.hero-mesh::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(34, 211, 238, 0.25),
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(139, 92, 246, 0.15),
            transparent 50%
        );
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.hero-inner h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.15;
}

.hero-inner > p {
    font-size: 17px;
    opacity: 0.88;
    line-height: 1.5;
    margin-bottom: 32px;
}

/* Hero Search */
.hero-search-form {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

.search-field {
    flex: 1;
    position: relative;
}

.search-field i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

.search-field input {
    width: 100%;
    padding: 15px 18px 15px 48px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

.search-field input:focus {
    border-color: var(--primary, #0891b2);
}

.search-field input::placeholder {
    color: #94a3b8;
}

.btn-hero-search {
    padding: 15px 28px;
    background: #fff;
    color: var(--primary, #0891b2);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
    white-space: nowrap;
}

.btn-hero-search:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* ---- Category Bar ---- */
.category-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: var(--header-height, 64px);
    z-index: 20;
}

.category-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.category-bar-inner::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.cat-pill:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.cat-pill.active {
    background: var(
        --gradient-primary,
        linear-gradient(135deg, #0891b2 0%, #0e7490 100%)
    );
    color: #fff;
    border-color: var(--primary, #0891b2);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.cat-pill.coming-soon {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

.soon-badge {
    font-size: 10px;
    background: rgba(0, 0, 0, 0.12);
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cat-pill.active .soon-badge {
    background: rgba(255, 255, 255, 0.25);
}

.category-bar-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.cat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    opacity: 0;
    pointer-events: none;
}

.cat-arrow:hover {
    background: #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.cat-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.cat-arrow--left {
    left: 4px;
}

.cat-arrow--right {
    right: 4px;
}

/* ---- Main Layout ---- */
.marketplace-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 60px;
}

.marketplace-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ---- Filters Panel ---- */
.filters-panel {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: calc(var(--header-height, 64px) + 60px);
    border: 1px solid #e5e7eb;
    max-height: calc(100vh - var(--header-height, 64px) - 80px);
    overflow-y: auto;
}

.filters-panel::-webkit-scrollbar {
    width: 4px;
}

.filters-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.filters-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters-panel-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filters-panel-header h2 i {
    color: var(--primary, #0891b2);
}

.filters-close {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h3 {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
}

/* Filter Chips (radio style) */
.filter-chip1s {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip1 {
    cursor: pointer;
}

.chip1 input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.chip1 span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    transition: all 0.2s;
}

.chip1:hover span {
    background: #e2e8f0;
}

.chip1.selected span,
.chip1 input:checked + span {
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary-dark, #0e7490);
    border-color: var(--primary, #0891b2);
}

.chip1 span i {
    font-size: 11px;
    color: #eab308;
}

/* Filter Checkboxes */
.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-list.scrollable {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-list.scrollable::-webkit-scrollbar {
    width: 4px;
}

.filter-list.scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.filter-check:hover {
    background: #f8fafc;
}

.filter-check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-check .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.filter-check input:checked + .checkmark {
    background: var(--primary, #0891b2);
    border-color: var(--primary, #0891b2);
}

.filter-check input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-check .label-text {
    font-size: 14px;
    color: #334155;
}

.btn-clear-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 18px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-clear-all:hover {
    background: #fee2e2;
}

/* ---- Results ---- */
.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filters-toggle:hover {
    border-color: var(--primary, #0891b2);
    color: var(--primary, #0891b2);
}

.results-count {
    font-size: 14px;
    color: #64748b;
}

.results-count strong {
    color: #1e293b;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-sort label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.results-sort select {
    padding: 9px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    color: #1e293b;
    cursor: pointer;
    outline: none;
}

.results-sort select:focus {
    border-color: var(--primary, #0891b2);
}

/* ---- Listings Grid ---- */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

/* ---- Listing Card ---- */
.listing-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #e5e7eb;
    transition:
        transform 0.25s,
        box-shadow 0.25s,
        border-color 0.25s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(8, 145, 178, 0.12);
    border-color: var(--primary, #0891b2);
}

/* Card Image */
.card-image {
    position: relative;
    height: 180px;
    background: #f1f5f9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.listing-card:hover .card-image img {
    transform: scale(1.04);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary-subtle, #ecfeff),
        #e0f2fe
    );
}

.card-image-placeholder i {
    font-size: 40px;
    color: var(--primary-light, #22d3ee);
}

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
}

.card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Card Body */
.card-body {
    padding: 18px 18px 0;
    flex: 1;
}

.card-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.provider-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-subtle, #ecfeff);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-avatar span {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #0891b2);
}

.provider-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.provider-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-location {
    font-size: 12px;
    color: #94a3b8;
}

.provider-location i {
    font-size: 10px;
    margin-right: 2px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tag {
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.tag-software {
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary-dark, #0e7490);
}

.tag-material {
    background: #f0fdf4;
    color: #16a34a;
}

.tag-experience {
    background: #fef3c7;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-experience i {
    font-size: 9px;
}

/* Card Stats */
.card-stats {
    display: flex;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.stat-item i {
    font-size: 12px;
}

.stat-item i.fa-star {
    color: #eab308;
}

.stat-item i.fa-clock {
    color: #64748b;
}

.stat-item.rush {
    color: #f59e0b;
    font-weight: 600;
}

.stat-item.rush i {
    color: #f59e0b;
}

.stat-item small {
    color: #94a3b8;
    font-weight: 400;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin-top: 14px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.price-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary, #0891b2);
    letter-spacing: -0.5px;
}

.card-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #0891b2);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.listing-card:hover .card-cta {
    gap: 10px;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px dashed #d1d5db;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 32px;
    color: #94a3b8;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.btn-empty-reset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(
        --gradient-primary,
        linear-gradient(135deg, #0891b2 0%, #0e7490 100%)
    );
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition:
        transform 0.15s,
        box-shadow 0.2s;
}

.btn-empty-reset:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.3);
}

/* ---- Pagination ---- */
.pagination-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .marketplace-layout {
        grid-template-columns: 1fr;
    }

    .filters-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        border-radius: 0;
        max-height: none;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .filters-panel.open {
        transform: translateX(0);
    }

    .filters-close {
        display: block;
    }

    .btn-filters-toggle {
        display: flex;
    }

    .filters-panel-header {
        padding-top: 8px;
    }
}

@media (max-width: 640px) {
    .marketplace-hero {
        padding: 40px 16px 36px;
    }

    .hero-inner h1 {
        font-size: 28px;
    }

    .hero-inner > p {
        font-size: 15px;
    }

    .hero-search-form {
        flex-direction: column;
    }

    .marketplace-container {
        padding: 20px 16px 48px;
    }

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

    .results-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-bar-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 50px) 24px 50px;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.about-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 30% 70%,
            rgba(8, 145, 178, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 30%,
            rgba(139, 92, 246, 0.1) 0%,
            transparent 50%
        );
}

.about-hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-content {
    color: var(--white);
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.about-hero p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
.about-section {
    padding: 100px 24px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Mission */
.about-mission {
    background: var(--gray-50);
}

.mission-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    flex-shrink: 0;
}

.mission-statement {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse > * {
    direction: ltr;
}

/* Problem List */
.problem-list {
    margin-top: 32px;
}

.problem-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.problem-item .problem-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.problem-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.problem-text p {
    font-size: 14px;
    margin: 0;
}

/* Visual Cards */
.visual-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.problem-visual {
    background: linear-gradient(
        135deg,
        var(--gray-100) 0%,
        var(--gray-50) 100%
    );
    border: 1px solid var(--gray-200);
}

.solution-visual {
    background: linear-gradient(
        135deg,
        var(--primary-subtle) 0%,
        rgba(139, 92, 246, 0.1) 100%
    );
    border: 2px solid var(--primary);
}

.old-workflow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-step-old {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    max-width: 260px;
}

.workflow-step-old.delay {
    background: var(--primary-subtle);
    color: var(--primary-dark);
    border: 1px solid var(--primary-light);
}

.workflow-step-old.delay i {
    margin-left: auto;
    color: var(--primary);
    animation: pulse 2s infinite;
}

.step-num {
    width: 28px;
    height: 28px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.workflow-arrow {
    padding: 8px;
    color: var(--gray-400);
}

.workflow-label-wrapper {
    text-align: center;
    margin-top: 20px;
}

.workflow-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    display: inline-block;
}

.workflow-label.success {
    background: var(--primary);
    color: var(--white);
}

/* New Workflow */
.new-workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.workflow-step-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-icon-new {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.workflow-step-new span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.workflow-step-new small {
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
}

.workflow-step-new.highlight .step-icon-new {
    background: var(--gradient-primary);
    color: var(--white);
}

.workflow-connector {
    width: 40px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

/* Solution Features */
.about-solution {
    background: var(--gray-50);
}

.solution-features {
    margin-top: 32px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.solution-feature i {
    color: var(--success);
    font-size: 18px;
}

/* Who We Serve */
.serve-content {
    text-align: center;
}

.serve-intro {
    max-width: 600px;
    margin: 0 auto 48px;
}

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

.serve-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.serve-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.serve-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.serve-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.serve-card p {
    font-size: 14px;
    margin: 0;
}

/* Regional Section */
.about-region {
    background: var(--gray-50);
}

.region-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.region-content > p {
    margin-bottom: 48px;
}

.region-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.region-stat {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.region-stat .stat-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 16px;
}

.region-stat h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.region-stat p {
    font-size: 14px;
    margin: 0;
}

/* Future Section */
.future-content {
    text-align: center;
}

.future-intro {
    max-width: 700px;
    margin: 0 auto 48px;
}

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

.future-item {
    padding: 32px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.future-item:hover {
    background: var(--primary-subtle);
}

.future-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 16px;
    box-shadow: var(--shadow-sm);
}

.future-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.future-item p {
    font-size: 14px;
    margin: 0;
}

/* Stage Section */
.about-stage {
    background: var(--gray-50);
}

.stage-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: var(--white);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-subtle);
}

.stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.stage-card h2 {
    font-size: 32px;
}

.stage-card > p {
    max-width: 600px;
    margin: 0 auto 40px;
}

.stage-seeking {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.stage-seeking h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.seeking-items {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.seeking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.seeking-item i {
    font-size: 20px;
    color: var(--primary);
}

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

.btn-stage-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-stage-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* CTA Section */
.about-cta {
    background: var(--gradient-hero);
    padding: 80px 24px;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-cta h2 {
    color: var(--white);
    font-size: 32px;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

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

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .mission-card {
        flex-direction: column;
        text-align: center;
    }

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

    .region-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 32px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .serve-grid,
    .future-grid {
        grid-template-columns: 1fr;
    }

    .stage-card {
        padding: 40px 24px;
    }

    .seeking-items {
        flex-direction: column;
        gap: 16px;
    }

    .new-workflow {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .workflow-connector {
        display: none;
    }
}
/* Why We Built Section */
.about-why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.why-content {
    text-align: left;
}

.why-content p {
    text-align: left;
    margin-bottom: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.why-content__lead {
    font-size: 18px;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.why-content p strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Vision box */
.why-vision {
    position: relative;
    padding: 36px;
    background: linear-gradient(
        160deg,
        var(--primary-subtle) 0%,
        var(--white) 70%
    );
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.why-vision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.why-vision__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 28px;
}

.why-vision__flow {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-vision__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
}

/* connector line between steps */
.why-vision__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
    opacity: 0.5;
}

.why-vision__num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.why-vision__step-body {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.why-vision__step-body > i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.why-vision__step-body strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.why-vision__step-body small {
    font-size: 13px;
    color: var(--text-muted);
}

.why-vision__close {
    margin: 24px 0 0 !important;
    padding-top: 22px;
    border-top: 1px dashed var(--gray-300);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
.contact-page {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(8, 145, 178, 0.05),
            transparent 480px
        ),
        var(--gray-50, #f8fafc);
    min-height: 100vh;
}

/* Hero (unchanged) */
.contact-hero {
    position: relative;
    padding: calc(var(--header-height, 64px) + 60px) 24px 70px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(34, 211, 238, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(8, 145, 178, 0.14),
            transparent 45%
        );
    pointer-events: none;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    color: #fff;
}

.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(34, 211, 238, 0.3);
    margin-bottom: 18px;
}

.contact-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.contact-hero p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Container — pulled up to overlap the hero */
.contact-container {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: -44px auto 0;
    padding: 0 24px 88px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    margin-bottom: 72px;
    align-items: start;
}

/* Form card */
.contact-form-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 40px -22px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.contact-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.contact-form-card__head {
    margin-bottom: 26px;
}

.contact-form-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary, #0891b2);
    background: var(--primary-subtle, #ecfeff);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.contact-form-card h2 {
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin: 0 0 6px;
}

.contact-form-card__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form__group {
    margin-bottom: 18px;
}

.contact-form__group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
}

/* Field with leading icon */
.contact-form__field {
    position: relative;
}

.contact-form__field-icon {
    position: absolute;
    top: 14px;
    left: 15px;
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
}

.contact-form__field--textarea .contact-form__field-icon {
    top: 16px;
}

.contact-form__group input,
.contact-form__group textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #d1d5db;
    border-radius: 11px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #9ca3af;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: var(--primary, #0891b2);
    background: #fbffff;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.contact-form__field:focus-within .contact-form__field-icon {
    color: var(--primary, #0891b2);
}

.contact-form__group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form__error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 5px;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    box-shadow: 0 6px 16px -4px rgba(8, 145, 178, 0.45);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.contact-form__submit i {
    transition: transform 0.2s;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -6px rgba(8, 145, 178, 0.5);
}

.contact-form__submit:hover i {
    transform: translateX(3px) rotate(8deg);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #94a3b8;
}

.contact-alert {
    padding: 12px 16px;
    border-radius: 11px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Info card */
.contact-info-card {
    position: sticky;
    top: calc(var(--header-height, 64px) + 20px);
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 40px -22px rgba(15, 23, 42, 0.22);
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}

.contact-info-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
}

.contact-info-item:first-of-type {
    border-top: none;
}

.contact-info-item__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-subtle, #ecfeff),
        #cffafe
    );
    color: var(--primary, #0891b2);
    font-size: 16px;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.contact-info-item__text {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.contact-info-item__text strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 2px;
}

.contact-info-item__go {
    margin-left: auto;
    font-size: 12px;
    color: #cbd5e1;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.2s,
        transform 0.2s,
        color 0.2s;
}

a.contact-info-item:hover .contact-info-item__text,
a.contact-info-item:hover .contact-info-item__text strong {
    color: var(--primary, #0891b2);
}

a.contact-info-item:hover .contact-info-item__icon {
    transform: scale(1.05);
    box-shadow: 0 6px 14px -6px rgba(8, 145, 178, 0.55);
}

a.contact-info-item:hover .contact-info-item__go {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary, #0891b2);
}

.contact-info-card__cta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: #0f172a;
    color: #e2e8f0;
}

.contact-info-card__cta i {
    color: #22d3ee;
    font-size: 16px;
    margin-top: 2px;
}

.contact-info-card__cta p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* FAQ */
.contact-faq__head {
    text-align: center;
    margin-bottom: 36px;
}

.contact-faq__head .section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-subtle, #ecfeff);
    color: var(--primary, #0891b2);
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-faq__head h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0 0 10px;
}

.contact-faq__head p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.3);
}

.faq-item[open] {
    border-color: var(--primary, #0891b2);
    box-shadow: 0 10px 26px -16px rgba(8, 145, 178, 0.45);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    list-style: none;
    user-select: none;
    transition: color 0.2s;
}

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

.faq-item[open] .faq-item__q {
    color: var(--primary, #0891b2);
}

.faq-item__chevron {
    color: var(--primary, #0891b2);
    font-size: 13px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__a {
    padding: 0 22px 20px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}

.faq-item[open] .faq-item__a {
    animation: faqReveal 0.28s ease;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form__submit,
    .contact-form__submit i,
    .contact-info-item__icon,
    .faq-item__chevron,
    .faq-item[open] .faq-item__a {
        transition: none;
        animation: none;
    }
}

/* Responsive */
@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-container {
        margin-top: -32px;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 24px;
    }

    .contact-faq__head h2 {
        font-size: 24px;
    }
}

/* ============================================
   PrepifyNow — Terms & Conditions Stylesheet
   Consumes the global :root variables
   ============================================ */

/* ============================================
   Hero
   ============================================ */
.legal-hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: calc(var(--header-height) + 4.5rem) 1.5rem 5rem;
    color: var(--text-light);
}

.legal-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.legal-hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(8, 145, 178, 0.35) 0%,
        transparent 55%
    );
}

.legal-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.legal-hero-container {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--primary-light);
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.legal-hero-content h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.legal-hero-content .gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-hero-content > p {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.7;
    color: var(--gray-300);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.legal-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-200);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.legal-hero-date i {
    color: var(--primary-light);
}

/* ============================================
   Layout: TOC + Content
   ============================================ */
.legal-section-wrap {
    background: var(--gray-50);
    padding: 4rem 1.5rem 6rem;
}

.legal-container {
    max-width: 1180px;
    margin: 0 auto;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* ---- Table of contents ---- */
.legal-toc {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.legal-toc__inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.legal-toc__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gray-100);
}

.legal-toc__label i {
    color: var(--primary);
}

.legal-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    max-height: calc(100vh - var(--header-height) - 8rem);
    overflow-y: auto;
}

.legal-toc__link {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.legal-toc__link:hover {
    color: var(--primary-dark);
    background: var(--primary-subtle);
}

.legal-toc__link.is-active {
    color: var(--primary-dark);
    background: var(--primary-subtle);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Content
   ============================================ */
.legal-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 3rem 3.25rem;
    box-shadow: var(--shadow);
    font-family: var(--font-secondary);
    color: var(--text-secondary);
    line-height: 1.75;
    min-width: 0;
}

.legal-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
}

.legal-intro--warn {
    padding: 1rem 1.25rem;
    background: #fef2f2;
    border-left: 3px solid var(--error);
    border-radius: var(--radius);
    color: #991b1b;
    font-weight: 500;
}

.legal-section {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
    padding-top: 2.75rem;
    margin-top: 2.75rem;
    border-top: 1px solid var(--gray-100);
}

.legal-section:first-of-type {
    border-top: none;
    margin-top: 2rem;
    padding-top: 0;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
}

.legal-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
}

.legal-block {
    margin-bottom: 1.5rem;
}

.legal-block:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.legal-section h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 1rem 0 0.4rem;
}

.legal-section p {
    margin: 0 0 0.75rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---- Lists ---- */
.legal-list {
    list-style: none;
    margin: 0.75rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.legal-list--numbered li {
    padding-left: 0;
    display: flex;
    gap: 0.85rem;
    align-items: baseline;
}

.legal-list--numbered li::before {
    display: none;
}

.legal-list--numbered li span {
    flex-shrink: 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-dark);
    background: var(--primary-subtle);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    min-width: 2.75rem;
    text-align: center;
}

/* ---- Callout ---- */
.legal-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
}

.legal-callout i {
    color: var(--warning);
    font-size: 1.15rem;
    margin-top: 0.15rem;
}

.legal-callout p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

/* ---- Contact card ---- */
.legal-contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    background: var(--primary-subtle);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.legal-contact-card i {
    font-size: 1.35rem;
    color: var(--primary);
}

.legal-contact-card strong {
    display: block;
    color: var(--text-primary);
    font-family: var(--font-primary);
}

.legal-contact-card a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

.legal-contact-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Acceptance form
   ============================================ */
.legal-accept {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-100);
}

.legal-accept__card {
    background: var(--gradient-hero);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
}

.legal-accept__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.legal-accept__head i {
    font-size: 1.4rem;
    color: var(--primary-light);
}

.legal-accept__head h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--white);
}

.legal-accept__card > p {
    color: var(--gray-300);
    margin: 0 0 1.75rem;
    line-height: 1.7;
}

.legal-accept__error {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.25rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius);
    color: #fca5a5;
    font-size: 0.9rem;
}

.legal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.legal-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.legal-checkbox__box {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 0.1rem;
}

.legal-checkbox__box i {
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.legal-checkbox input:checked + .legal-checkbox__box {
    background: var(--primary);
    border-color: var(--primary);
}

.legal-checkbox input:checked + .legal-checkbox__box i {
    opacity: 1;
    transform: scale(1);
}

.legal-checkbox input:focus-visible + .legal-checkbox__box {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.legal-checkbox__text {
    color: var(--gray-200);
    line-height: 1.6;
}

.legal-field {
    margin-bottom: 1.5rem;
}

.legal-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.legal-field label span {
    font-weight: 400;
    color: var(--gray-400);
}

.legal-field input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    transition: var(--transition);
}

.legal-field input::placeholder {
    color: var(--gray-500);
}

.legal-field input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.legal-accept__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.legal-accept__btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 50px rgba(8, 145, 178, 0.45),
        var(--shadow-lg);
}

.legal-accept__btn:active {
    transform: translateY(0);
}

.legal-accept__protected {
    margin: 1.25rem 0 0;
    font-size: 0.78rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.legal-accept__protected i {
    color: var(--primary-light);
}

.legal-accept__protected a {
    color: var(--gray-300);
    text-decoration: underline;
}

/* ---- Success state ---- */
.legal-accept__done {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-lg);
}

.legal-accept__done i {
    font-size: 1.75rem;
    color: var(--success);
}

.legal-accept__done strong {
    display: block;
    color: #065f46;
    font-family: var(--font-primary);
    font-size: 1.05rem;
}

.legal-accept__done span {
    color: #047857;
    font-size: 0.9rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc__nav {
        max-height: none;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .legal-hero {
        padding: calc(var(--header-height) + 3rem) 1.25rem 3.5rem;
    }

    .legal-section h2 {
        font-size: 1.35rem;
        gap: 0.65rem;
    }

    .legal-num {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.9rem;
    }

    .legal-accept__card {
        padding: 1.75rem 1.35rem;
    }
}

.faq-page {
    background:
        radial-gradient(
            ellipse at top,
            rgba(8, 145, 178, 0.06) 0%,
            transparent 55%
        ),
        linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    min-height: 100vh;
}

/* ── Hero uses the contact page's existing .contact-hero styles ── */

/* ── Container ──────────────────────── */
.faqp-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

/* ── Search ─────────────────────────── */
.faqp-toolbar {
    margin-bottom: 26px;
}

.faqp-search {
    position: relative;
    display: flex;
    align-items: center;
}

.faqp-search i {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
}

.faqp-search input {
    width: 100%;
    padding: 15px 18px 15px 46px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    color: #0f172a;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.faqp-search input::placeholder {
    color: #94a3b8;
}

.faqp-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

/* ── Accordion ──────────────────────── */
.faqp-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faqp-item {
    position: relative;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 16px;
    transition:
        border-color 0.2s,
        box-shadow 0.25s,
        transform 0.2s;
}

/* Left accent rail, revealed when open */
.faqp-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--primary);
    opacity: 0;
    transform: scaleY(0.4);
    transition:
        opacity 0.25s,
        transform 0.25s;
}

.faqp-item:hover {
    border-color: #cbd9e2;
    box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.18);
}

.faqp-item[open] {
    border-color: rgba(8, 145, 178, 0.35);
    box-shadow: 0 14px 34px -18px rgba(8, 145, 178, 0.4);
}

.faqp-item[open]::before {
    opacity: 1;
    transform: scaleY(1);
}

.faqp-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faqp-item__q::-webkit-details-marker {
    display: none;
}

.faqp-item__q-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #0f172a;
    transition: color 0.2s;
}

.faqp-item[open] .faqp-item__q-text {
    color: var(--primary-dark);
}

.faqp-item__chevron {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    transition:
        background 0.25s,
        color 0.25s,
        transform 0.25s;
}

.faqp-item[open] .faqp-item__chevron {
    background: var(--primary);
    color: #fff;
    transform: rotate(180deg);
}

.faqp-item__q:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 16px;
}

.faqp-item__a-wrap {
    padding: 0 22px;
}

.faqp-item[open] .faqp-item__a-wrap {
    animation: faqReveal 0.3s ease;
}

.faqp-item__a {
    padding: 14px 0 22px;
    border-top: 1px solid #eef2f6;
    font-size: 15px;
    line-height: 1.72;
    color: #51607a;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ── Empty state ────────────────────── */
.faqp-empty {
    text-align: center;
    padding: 46px 20px;
    color: #64748b;
}

.faqp-empty i {
    display: block;
    font-size: 26px;
    color: #cbd5e1;
    margin-bottom: 14px;
}

.faqp-empty p {
    margin: 0;
    font-size: 15px;
}

.faqp-empty a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.faqp-empty a:hover {
    text-decoration: underline;
}

/* ── Reach-out CTA ──────────────────── */
.faqp-cta {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    text-align: center;
    padding: 56px 32px;
    border-radius: 24px;
    color: #fff;
    background: var(--secondary);
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.8);
}

/* dotted texture, faded toward the edges */
.faqp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.16) 1px,
        transparent 1px
    );
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        #000 0%,
        transparent 72%
    );
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    opacity: 0.5;
}

.faqp-cta > * {
    position: relative;
    z-index: 1;
}

.faqp-cta__icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.faqp-cta h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.faqp-cta p {
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0 auto 26px;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.9);
}

.faqp-cta__actions {
    display: flex;
    gap: 16px 22px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.faqp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 13px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.35);
    transition:
        transform 0.18s,
        box-shadow 0.18s;
}

.faqp-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.45);
}

.faqp-cta__email {
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.faqp-cta__email:hover {
    border-color: #fff;
}

/* ── Mobile ─────────────────────────── */
@media (max-width: 768px) {
    .faqp-container {
        padding: 48px 16px 56px;
    }

    .faqp-item__q {
        padding: 17px 16px;
        gap: 12px;
    }

    .faqp-item__q-text {
        font-size: 15px;
    }

    .faqp-item__a-wrap {
        padding: 0 16px;
    }

    .faqp-item__a {
        padding: 13px 0 18px;
    }

    .faqp-cta {
        padding: 40px 22px;
        border-radius: 20px;
    }

    .faqp-cta h2 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faqp-item,
    .faqp-item *,
    .faqp-cta__btn {
        transition: none !important;
        animation: none !important;
    }
}

.terms-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 32px) 20px 48px;
    background: #f1f5f9;
}

.terms-gate__card {
    width: 100%;
    max-width: 620px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    padding: 36px;
}

.terms-gate__head {
    text-align: center;
    margin-bottom: 24px;
}

.terms-gate__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    background: var(--primary-subtle, rgba(8, 145, 178, 0.1));
}

.terms-gate__head h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.terms-gate__head p {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.terms-gate__error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    font-size: 13.5px;
    font-weight: 600;
}

.terms-gate__scroll {
    height: 280px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    background: #f8fafc;
    margin-bottom: 22px;
}

.terms-gate__scroll:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.terms-gate__scroll h2 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
}

.terms-gate__eff {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 16px;
}

.terms-gate__scroll h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 18px 0 6px;
}

.terms-gate__scroll p {
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 8px;
}

.terms-gate__full {
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    font-size: 12.5px !important;
}

.terms-gate__scroll a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.terms-gate__check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
    margin-bottom: 22px;
}

.terms-gate__check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.terms-gate__check-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.terms-gate__check input:checked + .terms-gate__check-box {
    background: var(--primary);
    border-color: var(--primary);
}

.terms-gate__check input:checked + .terms-gate__check-box::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    font-size: 11px;
}

.terms-gate__check input:focus-visible + .terms-gate__check-box {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.terms-gate__check-label {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.terms-gate__check-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.terms-gate__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.terms-gate__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.terms-gate__btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.terms-gate__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.terms-gate__decline {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
}

.terms-gate__decline:hover {
    color: #64748b;
    text-decoration: underline;
}
