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

:root {
    /* Purple + Moroccan Amber palette (Waseet-inspired) */
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-soft: #EDE9FE;
    --secondary: #1A3A52;
    --secondary-light: #2E5C7E;
    --accent: #F59E0B;
    --accent-dark: #D97706;
    --accent-2: #2E7D5B;
    --whatsapp: #25D366;
    --whatsapp-dark: #1DA851;

    --dark: #1A1A1A;
    --gray-900: #1F2937;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --light: #F9FAFB;
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;

    --gradient: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    --gradient-2: linear-gradient(135deg, #1A3A52 0%, #2E5C7E 100%);
    --gradient-3: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-amber: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-cream: linear-gradient(135deg, #FAF5FF 0%, #EDE9FE 100%);
    --shadow-color: 0 4px 14px rgba(124, 58, 237, 0.25);

    --shadow-sm: 0 2px 8px rgba(26,26,26,0.06);
    --shadow: 0 10px 40px rgba(26,26,26,0.08);
    --shadow-lg: 0 20px 60px rgba(26,26,26,0.14);
    --shadow-color: 0 10px 30px rgba(124,58,237,0.25);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --header-h: 72px;
    --topbar-h: 40px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 20px);
}

body {
    font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

.top-info a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}

.top-info a:hover { opacity: 1; color: var(--accent); }

.top-info i { color: var(--primary); font-size: 12px; }

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

.top-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}

.top-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(232,226,213,0.6);
    transition: all .3s var(--ease);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 22px;
    box-shadow: var(--shadow-color);
    transform: rotate(-6deg);
    transition: transform .4s var(--ease);
}

.logo:hover .logo-mark { transform: rotate(6deg) scale(1.05); }

.logo-text strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.logo-text small {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 600;
    margin-top: 2px;
}

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

.nav a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 4px 0;
    transition: color .2s;
}

.nav a:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width .3s var(--ease);
}

.nav a:not(.contact-btn):hover { color: var(--primary); }
.nav a:not(.contact-btn):hover::after { width: 100%; }

.contact-btn {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
}

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

.mobile-menu-btn {
    display: none;
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--dark);
    font-size: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background: var(--gradient-cream);
    overflow: hidden;
    isolation: isolate;
}

.zellige-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124,58,237,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(46,125,91,0.06) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cdefs%3E%3Cpattern id='p' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%237C3AED' stroke-opacity='0.06' stroke-width='1'/%3E%3Cpath d='M40 10 L70 40 L40 70 L10 40 Z' fill='none' stroke='%237C3AED' stroke-opacity='0.04' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='6' fill='%237C3AED' fill-opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='80' height='80' fill='url(%23p)'/%3E%3C/svg%3E");
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--whatsapp);
    box-shadow: 0 0 0 4px rgba(37,211,102,0.2);
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(37,211,102,0.2); }
    50% { box-shadow: 0 0 0 8px rgba(37,211,102,0.05); }
}

.hero-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    left: 0;
    height: 12px;
    background: rgba(242,193,78,0.35);
    z-index: -1;
    border-radius: 4px;
}

.hero-title-sub {
    font-size: 28px !important;
    font-weight: 700;
    color: var(--secondary);
    display: inline-block;
    margin-top: 8px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 560px;
}

/* Hero Search */
.hero-search {
    background: var(--white);
    border-radius: 50px;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 4px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border);
    max-width: 580px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: var(--cream);
    border-radius: 50px;
    height: 50px;
}

.search-field i {
    color: var(--primary);
    font-size: 16px;
}

.search-field select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    width: 100%;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 0 center;
    padding-left: 16px;
}

.search-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 0 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-color);
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--gray-700);
}

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

.trust-item i {
    color: var(--accent-2);
    font-size: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 560px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.stat { text-align: center; position: relative; }

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stat strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat span {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 560px;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.hero-image-wrap:hover img { transform: scale(1.05); }

.image-decoration {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.4) 100%),
        linear-gradient(45deg, transparent 60%, rgba(124,58,237,0.15) 100%);
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3.5s ease-in-out infinite;
    border: 1px solid var(--border);
}

.fc-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.fc-icon.green { background: linear-gradient(135deg, var(--accent-2), #3DA47A); }
.fc-icon.blue { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }

.floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 2px;
}

.floating-card span {
    font-size: 12px;
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.floating-card span i {
    color: var(--accent);
    font-size: 11px;
}

.card-1 {
    top: 8%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    left: -25px;
    animation-delay: 1.2s;
}

.card-3 {
    bottom: 12%;
    right: 10%;
    animation-delay: 2.4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.verified-badge {
    position: absolute;
    bottom: 8%;
    left: 10%;
    background: var(--whatsapp);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    animation: float 3.5s ease-in-out infinite;
    animation-delay: 1.6s;
}

/* ===== Section Common ===== */
section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-inline: auto;
}

.section-tag {
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 14px;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .25s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124,58,237,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Quick Categories Strip ===== */
.quick-cats {
    background: var(--white);
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.quick-cats-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    scrollbar-width: thin;
}

.quick-cat {
    background: transparent;
    border: none;
    padding: 12px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-700);
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.quick-cat i { color: var(--primary); font-size: 16px; transition: color .2s; }

.quick-cat:hover {
    background: var(--cream);
    color: var(--dark);
}

.quick-cat.active {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-color);
}

.quick-cat.active i { color: var(--white); }

/* ===== Featured Craftsmen ===== */
.craftsmen-section {
    background: var(--cream);
}

.craftsmen-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 16px;
}

.results-info {
    font-size: 15px;
    color: var(--gray-700);
}

.results-info strong {
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    margin-inline-end: 6px;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.sort-control select {
    padding: 8px 32px 8px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat left 12px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

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

.craftsman-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all .2s ease;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    position: relative;
}

.craftsman-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.craftsman-card .card-photo {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-color: #F3F4F6;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.craftsman-card .card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45));
}

.craftsman-card .card-badges-top {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.verified-pill {
    background: var(--whatsapp);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.craftsman-card .card-rating-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.craftsman-card .card-rating-overlay i {
    color: #F2C14E;
    font-size: 11px;
}

.craftsman-card .card-badges-bottom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.95);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
    animation: status-pulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #9CA3AF;
    box-shadow: none;
    animation: none;
}

@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}

.card-fav {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gray-500);
    font-size: 14px;
    z-index: 2;
    cursor: pointer;
    transition: all .2s;
    backdrop-filter: blur(8px);
}

.card-fav:hover {
    color: #E11D48;
    transform: scale(1.1);
}

.card-fav.saved {
    color: #E11D48;
}

.card-fav.saved i {
    animation: heart-beat .5s ease;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

.craftsman-card .card-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-subtitle {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cs-spec,
.cs-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cs-spec i,
.cs-loc i {
    color: var(--primary);
    font-size: 11px;
}

.dot-sep {
    color: var(--gray-300);
    margin: 0 2px;
}

.card-stats {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--gray-700);
    flex-wrap: wrap;
    padding: 8px 0;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
    font-weight: 600;
}

.card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-stats i {
    font-size: 11px;
    color: var(--primary);
}

.card-price {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-price strong {
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 800;
}

.card-actions {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 6px;
    margin-top: 2px;
}

.btn-call,
.btn-wa {
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

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

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

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

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

.phone-masked {
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.5px;
    direction: ltr;
}

.phone-masked.revealed {
    color: var(--white);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #F3F4F6;
}

.card-views {
    font-size: 11px;
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.view-profile {
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all .2s;
    font-family: inherit;
}

.view-profile:hover {
    background: var(--cream);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.empty-state i {
    font-size: 56px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--gray-500);
}

.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

/* ===== Categories ===== */
.categories {
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s var(--ease);
    text-decoration: none;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity .3s;
    z-index: -1;
}

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

.category-card:hover .category-count {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 30px;
    color: var(--white);
    transition: transform .4s var(--ease);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255,255,255,0.25) !important;
}

.category-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
}

.category-card > p {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.category-card:hover > p {
    color: rgba(255,255,255,0.85);
}

.category-count {
    display: inline-block;
    background: var(--cream);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    transition: all .3s;
}

.category-count strong { margin-inline-end: 2px; }

/* ===== How It Works ===== */
.how-it-works {
    background: var(--cream);
}

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

.step {
    background: var(--white);
    padding: 36px 24px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    transition: all .3s var(--ease);
    border: 1px solid var(--border);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -22px;
    right: 24px;
    width: 46px;
    height: 46px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: var(--shadow-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: all .3s;
}

.step:hover .step-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.step h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 10px;
}

.step p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 14px;
}

/* ===== Cities Section (NEW) ===== */
.cities-section {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFE5D9 100%);
    position: relative;
    overflow: hidden;
}

.cities-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%237C3AED' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.morocco-map {
    max-width: 480px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.morocco-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(124, 58, 237, 0.15));
}

.morocco-svg .map-pin {
    animation: pin-pulse 2s ease-in-out infinite;
    transform-origin: center;
}

.morocco-svg .map-pin:nth-child(2n) { animation-delay: 0.3s; }
.morocco-svg .map-pin:nth-child(3n) { animation-delay: 0.6s; }

@keyframes pin-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cities-subhead {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--gray-700);
    margin: 32px 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.cities-subhead::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 50px;
    margin: 10px auto 0;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.cities-grid-sm {
    grid-template-columns: repeat(6, 1fr);
    margin-bottom: 40px;
}

.city-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    padding: 18px 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .25s var(--ease);
    cursor: pointer;
    text-align: start;
    width: 100%;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity .3s;
    z-index: -1;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.city-card:hover .city-arrow {
    color: var(--primary);
    transform: translateX(-4px);
}

.city-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--cream);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all .3s;
}

.city-card:hover .city-icon {
    background: var(--gradient);
    color: var(--white);
}

.city-body {
    flex: 1;
    min-width: 0;
}

.city-body strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.city-body span {
    font-size: 12px;
    color: var(--gray-500);
}

.city-body span strong {
    display: inline;
    font-size: 12px;
    color: var(--primary);
    margin-inline-end: 2px;
}

.city-arrow {
    color: var(--gray-300);
    font-size: 14px;
    transition: all .3s;
    flex-shrink: 0;
}

/* Active city (in launch region) */
.city-card.active-city {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fff 0%, #FFF8F0 100%);
    position: relative;
}

.city-card.active-city::before {
    content: '✓ نشط';
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--success);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    z-index: 2;
}

/* Coming soon city (not yet in launch) */
.city-card.coming-soon {
    opacity: 0.65;
    border-style: dashed;
    background: var(--light);
    cursor: pointer;
    filter: grayscale(0.3);
    transition: all .25s;
}

.city-card.coming-soon:hover {
    opacity: 1;
    filter: grayscale(0);
    border-color: var(--accent-2);
    border-style: solid;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.city-card.coming-soon .city-icon {
    background: var(--gray-300);
    color: var(--white);
    animation: spin 8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cs-soon {
    color: var(--gray-500) !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

.cs-soon i { color: var(--accent-2); }

.city-notify {
    background: var(--accent-2);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    transition: all .2s;
}

.city-card.coming-soon:hover .city-notify {
    background: var(--success);
    transform: scale(1.05);
}

.city-card.coming-soon.notified .city-notify {
    background: var(--success);
    animation: pulse-success 1s;
}

@keyframes pulse-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== Why Us ===== */
.why-us {
    background: var(--cream);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='%237C3AED' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

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

.feature {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius);
    transition: all .3s var(--ease);
    border: 1px solid var(--border);
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
    transition: transform .4s var(--ease);
}

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(-8deg);
}

.feature h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 14px;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--cream);
    padding: 32px 28px;
    border-radius: var(--radius);
    transition: all .3s var(--ease);
    border: 1px solid transparent;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 24px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial:hover {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.testimonial-stars {
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial > p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 20px;
    color: var(--gray-900);
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== FAQ ===== */
.faq {
    background: var(--cream);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .25s;
    overflow: hidden;
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

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

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

.faq-item summary i {
    color: var(--primary);
    font-size: 14px;
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 15px;
}

/* ===== Register ===== */
.register-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0F1F2C 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.register-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%23A78BFA' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.register-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.register-content .section-tag {
    background: linear-gradient(135deg, var(--accent), #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-content h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.2;
}

.register-content > p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 26px;
    line-height: 1.7;
}

.register-list {
    list-style: none;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.register-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.92);
}

.register-list i {
    color: var(--whatsapp);
    font-size: 18px;
    flex-shrink: 0;
}

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

/* Visual Card */
.register-visual { perspective: 1200px; }

.visual-card {
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform .5s var(--ease);
}

.visual-card:hover {
    transform: rotateY(0) rotateX(0);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.visual-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    flex-shrink: 0;
}

.vh-text { flex: 1; }

.vh-text strong {
    display: block;
    font-size: 17px;
    margin-bottom: 2px;
}

.vh-text span {
    font-size: 13px;
    color: var(--gray-500);
}

.verified-mini {
    width: 32px;
    height: 32px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.visual-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--cream);
}

.visual-stats {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--gray-700);
}

.visual-stats strong { color: var(--dark); font-weight: 800; }

.visual-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--whatsapp);
    color: var(--white);
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}

.visual-cta:hover { background: var(--whatsapp-dark); }

/* ===== Contact Form ===== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag {
    text-align: right;
    display: inline-block;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.2;
}

.contact-info > p {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--dark);
    border: 1px solid var(--border);
    transition: all .25s;
}

.contact-method:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateX(-4px);
}

.cm-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cm-icon.green { background: var(--whatsapp); }
.cm-icon.blue { background: var(--secondary); }

.contact-method strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.contact-method span {
    font-size: 13px;
    color: var(--gray-500);
}

.contact-form {
    background: var(--cream);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: all .2s;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(46,125,91,0.1);
    color: var(--accent-2);
    border: 1px solid rgba(46,125,91,0.2);
}

.form-status.error {
    display: block;
    background: rgba(124,58,237,0.1);
    color: var(--primary);
    border: 1px solid rgba(124,58,237,0.2);
}

/* ===== Final CTA ===== */
.final-cta {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='white' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.final-cta .container { position: relative; z-index: 1; }

.final-cta h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.2;
}

.final-cta p {
    font-size: 19px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 70px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 800;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    padding: 5px 0;
    opacity: 0.75;
    transition: opacity .2s, color .2s, transform .2s;
    font-size: 14px;
}

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

.footer-col a i {
    color: var(--primary);
    font-size: 14px;
    width: 16px;
}

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

.footer-logo .logo-mark { transform: rotate(0); width: 42px; height: 42px; font-size: 18px; }

.footer-logo h3 {
    font-size: 22px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    line-height: 1.1;
}

.footer-logo small {
    color: var(--gray-300);
    font-size: 11px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.footer-about p {
    opacity: 0.75;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    justify-content: center;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-3px);
}

.footer-hours {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    opacity: 0.7;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-hours i { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    opacity: 0.65;
    font-size: 13px;
}

.footer-bottom p { margin: 4px 0; }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform .3s var(--ease);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--whatsapp);
    opacity: 0.6;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-float:hover { transform: scale(1.08); }

.wa-tooltip {
    position: absolute;
    left: 75px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    box-shadow: var(--shadow);
}

.wa-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--dark);
}

.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ===== Scroll to top ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all .3s var(--ease);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    color: var(--white);
}

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

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn .25s var(--ease);
}

.modal-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: modalIn .3s var(--ease);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 10;
    color: var(--dark);
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Facebook-style Profile Modal ===== */
.profile-modal {
    background: var(--white);
}

.profile-cover {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--gray-100);
}

.profile-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4));
}

.profile-header {
    padding: 0 24px 20px;
    margin-top: -60px;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--white);
    border: 5px solid var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    flex-shrink: 0;
    position: relative;
}

.profile-avatar .online-dot {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    background: #10B981;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.3);
}

.profile-avatar .online-dot.offline {
    background: #9CA3AF;
    box-shadow: none;
}

.profile-info-block {
    flex: 1;
    min-width: 200px;
    padding-top: 60px;
}

.profile-info-block h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.verified-icon {
    color: var(--whatsapp);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
}

.profile-meta-row {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--gray-700);
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.pmr-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.pmr-item i {
    color: var(--primary);
    font-size: 12px;
}

.profile-stats-mini {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.profile-stats-mini span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-stats-mini strong {
    color: var(--dark);
}

.profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 60px;
}

.prof-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.prof-act.call {
    background: var(--primary);
    color: var(--white);
}

.prof-act.call:hover { background: var(--primary-dark); }

.prof-act.wa {
    background: var(--whatsapp);
    color: var(--white);
}

.prof-act.wa:hover { background: var(--whatsapp-dark); }

.prof-act.icon {
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--gray-100);
    color: var(--gray-700);
}

.prof-act.icon:hover { background: var(--cream); color: var(--primary); }

.prof-act.icon.saved {
    color: #E11D48;
    background: rgba(225,29,72,0.1);
}

.profile-tabs {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    padding: 0 24px;
    gap: 0;
    overflow-x: auto;
}

.prof-tab {
    background: transparent;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-family: inherit;
}

.prof-tab:hover { color: var(--dark); }

.prof-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-content {
    padding: 24px;
    min-height: 240px;
}

.prof-pane { display: none; }
.prof-pane.active { display: block; animation: fadeUp .3s var(--ease); }

.profile-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 20px;
    padding: 14px;
    background: var(--light);
    border-radius: 10px;
    border-right: 3px solid var(--primary);
}

[dir="ltr"] .profile-bio {
    border-right: none;
    border-left: 3px solid var(--primary);
}

.prof-pane h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pinfo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.pinfo i {
    width: 36px;
    height: 36px;
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

.pinfo span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pinfo small {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.pinfo strong {
    font-size: 13px;
    color: var(--dark);
    font-weight: 700;
    word-break: break-word;
}

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.prof-gallery-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    border-radius: 8px;
    cursor: pointer;
    transition: transform .2s;
}

.prof-gallery-item:hover { transform: scale(1.05); }

.profile-reviews-summary {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 20px;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 20px;
    align-items: center;
}

.prs-big {
    text-align: center;
}

.prs-big strong {
    font-size: 48px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.prs-stars {
    font-size: 16px;
    margin: 4px 0;
    letter-spacing: 2px;
}

.prs-big > span {
    font-size: 12px;
    color: var(--gray-500);
}

.prs-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prs-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-700);
    font-weight: 600;
}

.prs-bar {
    flex: 1;
    height: 6px;
    background: var(--gray-300);
    border-radius: 50px;
    overflow: hidden;
}

.prs-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 50px;
    transition: width .6s var(--ease);
}

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

.prof-review {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.pr-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.pr-body { flex: 1; min-width: 0; }

.pr-body strong {
    display: block;
    font-size: 13px;
    color: var(--dark);
    margin-bottom: 2px;
}

.pr-stars {
    font-size: 11px;
    margin-bottom: 6px;
}

.pr-body p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===== Mobile Nav ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 16px 24px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    display: block;
    animation: slideDown .3s var(--ease);
}

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

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a i { color: var(--primary); width: 20px; }

.mobile-nav a.contact-btn-mobile {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    margin-top: 10px;
    justify-content: center;
    border: none;
}

/* ===== Animations on Scroll ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .hero-title-sub { font-size: 22px !important; }

    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .craftsmen-grid { grid-template-columns: repeat(4, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    section { padding: 70px 0; }
    .section-header h2 { font-size: 32px; }

    .top-info { display: none; }
    .top-bar-content { justify-content: center; }
    .top-actions { gap: 10px; }
    .top-cta span { display: none; }
    .top-cta { padding: 5px 10px; }

    .nav { display: none; }
    .mobile-menu-btn { display: grid; place-items: center; }

    .header-inner { padding: 12px 0; }
    .logo-text strong { font-size: 19px; }
    .logo-text small { font-size: 10px; }

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

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title { font-size: 36px; }
    .hero-title-sub { font-size: 18px !important; }
    .hero-subtitle { font-size: 16px; }

    .hero-search {
        grid-template-columns: 1fr;
        border-radius: var(--radius);
        padding: 12px;
    }
    .search-field { border-radius: 12px; }
    .search-btn { padding: 14px; justify-content: center; border-radius: 12px; }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 16px;
    }
    .stat strong { font-size: 26px; }

    .hero-visual {
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
    }

    .card-1 { right: -10px; }
    .card-2 { left: -10px; }

    .quick-cats-inner {
        justify-content: flex-start;
        padding: 10px;
    }

    .craftsmen-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .craftsmen-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: 1fr; }
    .cities-grid-sm { grid-template-columns: repeat(3, 1fr); }

    .register-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .final-cta h2 { font-size: 32px; }
    .register-content h2 { font-size: 32px; }
    .contact-info h2 { font-size: 28px; }
}

@media (max-width: 520px) {
    .container { padding: 0 16px; }

    .hero-title { font-size: 30px; }
    .hero-title-sub { font-size: 16px !important; }

    .section-header h2 { font-size: 26px; }
    .section-header { margin-bottom: 36px; }

    .craftsmen-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cities-grid-sm { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 22px 16px; }
    .category-icon { width: 56px; height: 56px; font-size: 24px; }

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

    .hero-actions,
    .register-actions,
    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn { width: 100%; }

    .visual-card {
        transform: none;
    }

    .modal-card { max-height: 95vh; }
    .modal-body { padding: 20px; }
    .modal-actions { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .profile-header { flex-direction: column; align-items: center; text-align: center; padding: 0 16px 16px; }
    .profile-avatar { width: 96px; height: 96px; }
    .profile-info-block { padding-top: 0; }
    .profile-info-block h2 { font-size: 20px; justify-content: center; }
    .profile-actions { padding-top: 0; justify-content: center; }
    .profile-content { padding: 16px; }
    .profile-info-grid { grid-template-columns: 1fr; }
    .profile-reviews-summary { grid-template-columns: 1fr; gap: 16px; }
    .profile-tabs { padding: 0 12px; }

    .whatsapp-float { width: 54px; height: 54px; font-size: 24px; }
    .scroll-top { width: 42px; height: 42px; }
}

/* =====================================================
   LAUNCH BANNER (Coming Soon)
   ===================================================== */
.launch-banner {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 200;
    animation: banner-slide .6s var(--ease);
}

@keyframes banner-slide {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.launch-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.lb-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.lb-icon {
    font-size: 18px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.lb-cta {
    background: var(--white);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s;
}

.lb-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lb-close {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 20px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: all .2s;
}

.lb-close:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

/* =====================================================
   LIVE TICKER
   ===================================================== */
.live-ticker {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    transform: translateX(120%);
    transition: transform .5s var(--ease);
    max-width: 320px;
}

[dir="ltr"] .live-ticker { right: auto; left: 24px; }

.live-ticker.show {
    transform: translateX(0);
}

.lt-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.3);
    animation: dot-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(16,185,129,0.08); }
}

.lt-text {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 600;
}

/* =====================================================
   WAITLIST FORMS
   ===================================================== */
.waitlist-form {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    max-width: 500px;
    width: 100%;
}

.wf-tabs {
    display: flex;
    background: var(--light);
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 16px;
    gap: 4px;
}

.wf-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.wf-tab:hover { color: var(--dark); }

.wf-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.wf-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.wf-fields input,
.wf-fields select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: all .2s;
    outline: none;
    font-family: inherit;
}

.wf-fields input:focus,
.wf-fields select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.wf-submit {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .25s var(--ease);
    box-shadow: 0 6px 20px rgba(124,58,237,0.3);
    font-family: inherit;
}

.wf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124,58,237,0.4);
}

.wf-submit-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.wf-submit-light:hover {
    background: var(--cream);
    color: var(--primary-dark);
}

.wf-trust {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wf-trust i { color: var(--accent-2); }

/* =====================================================
   PRE-REGISTER SECTION
   ===================================================== */
.prereg-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0F1F2C 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.prereg-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%23A78BFA' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
}

.prereg-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.prereg-tag {
    display: inline-block;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.prereg-content h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.2;
}

.prereg-content > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.7;
}

.prereg-content .waitlist-form {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
}

.prereg-content .wf-tabs {
    background: rgba(255,255,255,0.1);
}

.prereg-content .wf-tab { color: rgba(255,255,255,0.7); }
.prereg-content .wf-tab:hover { color: var(--white); }
.prereg-content .wf-tab.active {
    background: var(--primary);
    color: var(--white);
}

.prereg-content .wf-fields input,
.prereg-content .wf-fields select {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.prereg-content .wf-fields input::placeholder { color: rgba(255,255,255,0.5); }

.prereg-content .wf-fields input:focus,
.prereg-content .wf-fields select:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--primary);
}

.prereg-content .wf-fields select option { color: var(--dark); }

.prereg-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.prc-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.prc-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0);
}

.prc-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.prc-inner strong {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.prc-inner small {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.prc-benefits {
    list-style: none;
    width: 100%;
    max-width: 280px;
}

.prc-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.prc-benefits li:last-child { border-bottom: none; }

.prc-benefits i {
    color: #10B981;
    font-size: 16px;
}

/* =====================================================
   LAUNCH MODAL
   ===================================================== */
.launch-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.lm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn .3s var(--ease);
}

.lm-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 920px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: modalIn .4s var(--ease);
}

.lm-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 10;
    color: var(--dark);
    cursor: pointer;
    transition: all .2s;
    box-shadow: var(--shadow-sm);
}

.lm-close:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.lm-illustration {
    background: var(--gradient);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lm-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.lm-c1 { width: 200px; height: 200px; top: -50px; right: -50px; }
.lm-c2 { width: 150px; height: 150px; bottom: -30px; left: -30px; }
.lm-c3 { width: 80px; height: 80px; top: 30%; right: 10%; background: rgba(255,255,255,0.15); }

.lm-rocket {
    font-size: 100px;
    margin-bottom: 16px;
    animation: rocket-bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes rocket-bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.lm-illustration::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='white' stroke-opacity='0.08' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.lm-body {
    padding: 40px;
}

.lm-tag {
    display: inline-block;
    background: rgba(124,58,237,0.15);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lm-body h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.lm-body > p {
    color: var(--gray-700);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.lm-benefits {
    list-style: none;
    margin-bottom: 20px;
}

.lm-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 600;
}

.lm-benefits i {
    color: #10B981;
    font-size: 14px;
}

/* =====================================================
   CONFETTI
   ===================================================== */
.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 16px;
    border-radius: 2px;
    animation: confetti-fall 2.5s ease-out forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 820px) {
    .launch-banner { font-size: 12px; padding: 8px 0; }
    .lb-cta { padding: 4px 10px; font-size: 11px; }
    .live-ticker { bottom: 90px; right: 16px; left: 16px; max-width: none; }
    .prereg-card { grid-template-columns: 1fr; gap: 40px; }
    .prereg-content h2 { font-size: 28px; }
    .prc-circle { width: 160px; height: 160px; }
    .lm-card { grid-template-columns: 1fr; max-height: 95vh; }
    .lm-illustration { padding: 30px 20px; }
    .lm-rocket { font-size: 60px; }
    .lm-body { padding: 24px; }
    .lm-body h2 { font-size: 24px; }
}

@media (max-width: 520px) {
    .launch-banner { font-size: 11px; }
    .lb-content { gap: 6px; }
    .prereg-content h2 { font-size: 24px; }
    .prc-circle { width: 140px; height: 140px; }
    .prc-inner strong { font-size: 22px; }
    .lm-body h2 { font-size: 20px; }
}

/* Print: hide decorations */
@media print {
    .header, .whatsapp-float, .scroll-top, .top-bar { display: none; }
}
