/* ============================================
   FixMyMachine - Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #4D94FF;
    --secondary: #FF6B35;
    --success: #00C853;
    --warning: #FFB020;
    --error: #EF4444;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #00D4FF 100%);
    --gradient-warm: linear-gradient(135deg, var(--secondary) 0%, #FFD93D 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #FFD93D 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 22px;
    color: var(--white);
}

.navbar.scrolled .nav-logo {
    color: var(--dark);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-buttons .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.navbar.scrolled .nav-buttons .btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0B1426 0%, #1A365D 50%, #0066FF 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 450px;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.main-card {
    padding: 24px;
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tech-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.tech-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.tech-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.tech-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.verified-badge {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    margin-left: auto;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: var(--warning);
    letter-spacing: 2px;
}

.card-rating span {
    font-size: 13px;
    color: var(--gray-500);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--gray-700);
}

.float-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.float-icon {
    font-size: 18px;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.section-text.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    gap: 8px;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-500);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 20px;
    flex-shrink: 0;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--gray-100);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-500);
}

/* AI Card */
.ai-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-300);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.ai-icon {
    font-size: 28px;
}

.ai-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.ai-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 50px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 50px;
    transition: width 1s ease;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-top: 4px;
}

.ai-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.result-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.result-badge.approved {
    background: rgba(0, 200, 83, 0.1);
    color: var(--success);
}

.result-score {
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.testimonial-card.featured {
    background: var(--dark);
    color: var(--white);
    border: none;
    transform: scale(1.02);
}

.testimonial-rating {
    color: var(--warning);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-card.featured .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.testimonial-card.featured .author-info h4 {
    color: var(--white);
}

.testimonial-card.featured .author-info p {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   JOIN TECHNICIAN SECTION
   ============================================ */
.join-tech {
    padding: 100px 0;
    background: linear-gradient(135deg, #0B1426 0%, #1A365D 100%);
}

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.benefit-item h4 {
    color: var(--white);
    font-size: 15px;
}

/* Earnings Card */
.earnings-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.earnings-card h4 {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.earnings-amount {
    margin-bottom: 24px;
}

.currency {
    font-size: 24px;
    color: var(--primary);
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
}

.period {
    font-size: 16px;
    color: var(--gray-500);
}

.earnings-chart {
    display: flex;
    justify-content: center;
    gap: 8px;
    height: 100px;
    align-items: flex-end;
}

.chart-bar {
    width: 30px;
    background: var(--gray-200);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    transition: var(--transition);
}

.chart-bar span {
    font-size: 11px;
    color: var(--gray-500);
}

.chart-bar.active {
    background: var(--gradient);
}

.chart-bar.active span {
    color: var(--white);
}

.chart-bar:hover {
    background: var(--primary-light);
}

/* Incentive Badges */
.incentive-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.incentive-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.incentive-icon {
    font-size: 28px;
}

.incentive-text {
    display: flex;
    flex-direction: column;
}

.incentive-text strong {
    color: var(--white);
    font-size: 15px;
}

.incentive-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.restrictions-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

/* Comparison Card */
.comparison-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--shadow-lg);
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 13px;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row.header {
    background: var(--gray-100);
    font-weight: 600;
}

.compare-row .us {
    color: var(--success);
    font-weight: 600;
    text-align: center;
}

.compare-row .them {
    color: var(--gray-500);
    text-align: center;
}

.compare-row.header .us {
    color: var(--primary);
}

.compare-row.header .them {
    color: var(--gray-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--gray-100);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-500);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 30px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {

    .hero-container,
    .why-us-grid,
    .join-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 0;
}

.nav-menu.active .nav-link {
    color: var(--dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ============================================
   TECHNICIAN REGISTRATION MODAL
   ============================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.registration-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.registration-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--error);
    color: var(--white);
}

/* Progress Indicator */
.registration-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gray-200);
    color: var(--gray-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: var(--gradient);
    color: var(--white);
}

.progress-step.completed .step-number::after {
    content: '✓';
}

.step-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.progress-line {
    width: 40px;
    height: 3px;
    background: var(--gray-200);
    margin: 0 8px;
    margin-bottom: 20px;
    border-radius: 2px;
    transition: var(--transition);
}

.progress-line.completed {
    background: var(--primary);
}

/* Registration Steps */
.registration-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.registration-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-header .step-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.step-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-header p {
    color: var(--gray-500);
    font-size: 15px;
}

/* Registration Form */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registration-form .form-row {
    display: flex;
    flex-direction: column;
}

.registration-form .form-row.two-cols {
    flex-direction: row;
    gap: 16px;
}

.registration-form .form-row.two-cols .form-group {
    flex: 1;
}

.registration-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.registration-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.registration-form input.error,
.registration-form select.error {
    border-color: var(--error);
}

.input-error {
    font-size: 12px;
    color: var(--error);
    min-height: 16px;
}

/* Referral and Bonus */
.referral-hint {
    font-size: 12px;
    color: var(--gray-500);
}

.bonus-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 2px solid var(--success);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 8px;
}

.bonus-icon {
    font-size: 32px;
}

.bonus-banner.urgency {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 217, 61, 0.1) 100%);
    border-color: var(--secondary);
}

.bonus-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bonus-text strong {
    color: var(--dark);
    font-size: 14px;
}

.bonus-text small {
    color: var(--gray-500);
    font-size: 11px;
}

/* Specialty Cards */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.specialty-card {
    cursor: pointer;
}

.specialty-card input {
    display: none;
}

.specialty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: var(--transition);
}

.specialty-card:hover .specialty-content {
    border-color: var(--primary-light);
}

.specialty-card input:checked+.specialty-content {
    background: rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
}

.specialty-icon {
    font-size: 28px;
}

.specialty-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* Zone Chips */
.zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zone-chip {
    cursor: pointer;
}

.zone-chip input {
    display: none;
}

.zone-chip span {
    display: inline-block;
    padding: 10px 16px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.zone-chip:hover span {
    border-color: var(--primary-light);
}

.zone-chip input:checked+span {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* File Upload */
.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 255, 0.05);
}

.file-upload-area.has-file {
    border-color: var(--success);
    background: rgba(0, 200, 83, 0.05);
}

.upload-icon {
    font-size: 32px;
}

.upload-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.upload-formats {
    font-size: 12px;
    color: var(--gray-500);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.file-preview:empty {
    display: none;
}

.file-preview .file-name {
    flex: 1;
    font-size: 13px;
    color: var(--dark);
}

.file-preview .file-remove {
    background: none;
    border: none;
    color: var(--error);
    cursor: pointer;
    font-size: 18px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.btn-back {
    flex: 1;
    padding: 14px 24px;
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--gray-200);
}

.btn-next {
    flex: 2;
    padding: 14px 24px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.btn-next.btn-submit {
    background: linear-gradient(135deg, var(--success) 0%, #00E676 100%);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.btn-next.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5);
}

/* Success State */
.success-content {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.success-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 16px;
}

.success-content>p {
    color: var(--gray-500);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.success-next-steps {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius);
    text-align: left;
    margin-bottom: 32px;
}

.success-next-steps h4 {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 16px;
}

.success-next-steps ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-next-steps li {
    font-size: 14px;
    color: var(--gray-700);
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
    .registration-modal {
        width: 95%;
        padding: 24px;
        max-height: 95vh;
    }

    .progress-step .step-label {
        display: none;
    }

    .progress-line {
        width: 24px;
        margin-bottom: 0;
    }

    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-form .form-row.two-cols {
        flex-direction: column;
    }

    .step-header .step-icon {
        font-size: 40px;
    }

    .step-header h2 {
        font-size: 20px;
    }
}