@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #8b5cf6;
    --secondary-dark: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-dark: #0f172a;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo svg {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

.btn-secondary-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border-light);
}

.card-1 {
    top: 50px;
    left: 0;
    animation-delay: 0s;
    min-width: 280px;
}

.card-2 {
    top: 220px;
    right: 20px;
    animation-delay: 2s;
    min-width: 200px;
}

.card-3 {
    bottom: 80px;
    left: 40px;
    animation-delay: 4s;
    min-width: 220px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.card-icon svg {
    color: white;
}

.card-content {
    flex: 1;
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.card-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
}

.card-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
    z-index: -1;
}

.center-circle svg {
    color: white;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.pulse-ring-2 {
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.feature-card-highlighted {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.feature-link:hover {
    color: var(--secondary);
}

.how-it-works {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(139, 92, 246, 0.03));
    padding: 6rem 2rem;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    position: relative;
    border: 2px solid var(--border-light);
    transition: all 0.4s;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.step-icon svg {
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 300;
}

.services-showcase {
    background: var(--bg-white);
    padding: 6rem 2rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 2.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-8px);
    color: white;
    box-shadow: var(--shadow-2xl);
}

.service-item:hover .service-number,
.service-item:hover h3,
.service-item:hover p {
    color: white;
    position: relative;
    z-index: 1;
}

.service-item:hover .service-icon-box {
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.service-item:hover .service-icon-box svg {
    color: white;
}

.service-number {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.4s;
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.service-icon-box svg {
    color: var(--primary);
    transition: color 0.4s;
}

.service-item h3 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: color 0.4s;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
    transition: color 0.4s;
}

.testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid var(--border-light);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.testimonial-card-featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
    border: 2px solid var(--primary);
}

.featured-star {
    position: absolute;
    top: -15px;
    right: 2rem;
    font-size: 2rem;
    color: var(--warning);
}

.quote-icon {
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.125rem;
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.0625rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.375rem;
    box-shadow: var(--shadow-md);
}

.author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.0625rem;
}

.author-location {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary);
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: var(--shadow-xl);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo svg {
    color: white;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    opacity: 0.7;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.admin-link-hidden {
    font-size: 1px;
    color: transparent;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-white);
    margin: 4% auto;
    padding: 3rem;
    border-radius: 28px;
    max-width: 520px;
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.video-modal-content {
    max-width: 700px;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}

.modal-close svg {
    color: var(--text-medium);
}

.modal-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.modal-icon svg {
    color: white;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.modal-subtitle {
    color: var(--text-light);
    font-size: 1.0625rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.error-msg {
    color: var(--danger);
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.btn-modal {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.125rem;
    font-size: 1.0625rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-watch-video {
    margin-top: 1.5rem;
}

.video-container {
    margin: 2rem 0;
}

.video-placeholder {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed var(--primary);
}

.video-placeholder svg {
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.video-placeholder p {
    color: var(--text-medium);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-info {
    color: var(--text-light);
    font-size: 0.875rem;
}

.video-progress {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.progress-info strong {
    color: var(--primary);
}

.progress-percentage {
    font-weight: 700;
    color: var(--success);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    transition: width 0.5s ease;
    width: 0%;
}

.match-view {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
}

.match-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.match-subtitle {
    color: var(--text-light);
    font-size: 1.0625rem;
}

.btn-logout {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0.875rem 1.75rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.btn-logout:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.profile-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

.profile-card-featured {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(167, 139, 250, 0.05));
    border: 2px solid var(--secondary);
}

.profile-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-badge-featured {
    background: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1rem auto 1.5rem;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
}

.profile-card h3 {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.profile-details {
    text-align: left;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.detail-label {
    font-weight: 700;
    color: var(--text-dark);
}

.profile-details p {
    color: var(--text-medium);
}

.profile-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.profile-description p {
    line-height: 1.7;
    margin-top: 0.75rem;
}

.services {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.services h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--text-dark);
}

.services-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card-active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(139, 92, 246, 0.03));
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.service-card-active:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-white);
}

.service-card-active.locked {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-gray);
}

.service-card-active.unlocked {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
    border-color: var(--success);
}

.service-icon-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.service-card-active.locked .service-icon-circle {
    background: var(--bg-gray);
}

.service-card-active.locked .service-icon-circle svg {
    color: var(--text-light);
}

.service-card-active.unlocked .service-icon-circle {
    background: linear-gradient(135deg, var(--success), #059669);
}

.service-icon-circle svg {
    color: white;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.1875rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-progress-bar {
    margin-top: 0.75rem;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.progress-bar-mini {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar-mini-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    transition: width 0.3s ease;
}

.service-status {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    align-self: center;
}

.service-status.locked {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.service-status.unlocked {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.hidden {
    display: none !important;
}

.admin-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--text-dark), #1e293b);
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.sidebar-logo svg {
    width: 32px;
    height: 32px;
}

.sidebar-nav {
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9375rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: rgba(37, 99, 235, 0.2);
    color: white;
    border-left: 4px solid var(--primary);
}

.sidebar-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
}

.admin-login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 28px;
    box-shadow: var(--shadow-2xl);
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.login-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-xl);
}

.login-icon svg {
    color: white;
}

.login-card h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.login-card p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.login-form .input-group {
    margin-bottom: 2rem;
}

.btn-admin-login {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.25rem;
    font-size: 1.0625rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.btn-admin-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.admin-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.section-header-admin {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.section-header-admin h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-header-admin p {
    color: var(--text-light);
    font-size: 1.0625rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(139, 92, 246, 0.05));
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.stat-icon svg {
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9375rem;
    font-weight: 600;
}

.form-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.full-width {
    grid-column: 1 / -1;
}

.form-card .input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: var(--bg-white);
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-card textarea {
    resize: vertical;
    min-height: 100px;
}

.form-msg {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.125rem;
    font-size: 1.0625rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.service-requirements-section {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 2px solid var(--border-light);
}

.service-requirements-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-note {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.requirement-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirement-item label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.requirement-item label svg {
    color: var(--primary);
}

.requirement-item input {
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.requirement-item input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.matches-container {
    display: grid;
    gap: 2rem;
}

.match-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-light);
    transition: all 0.3s;
}

.match-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.match-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.match-info p {
    color: var(--text-light);
}

.match-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-edit-match {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.btn-edit-match:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-delete-match {
    padding: 0.75rem 1.5rem;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9375rem;
}

.btn-delete-match:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.match-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.match-service-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-light);
}

.match-service-item h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-progress-admin {
    margin-bottom: 1rem;
}

.service-progress-admin p {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.service-controls {
    display: flex;
    gap: 0.75rem;
}

.btn-adjust {
    flex: 1;
    padding: 0.625rem;
    border: 2px solid var(--border);
    background: var(--bg-white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.btn-adjust:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.data-grid {
    display: grid;
    gap: 1.5rem;
}

.data-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.data-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.data-item p {
    margin: 0.75rem 0;
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.data-item p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.data-item button {
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.data-item button:hover {
    background: #dc2626;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .admin-sidebar {
        width: 240px;
    }
    
    .admin-main {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features, .how-it-works, .services-showcase, .testimonials {
        padding: 3rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .match-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .match-header h1 {
        font-size: 1.75rem;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    .modal-content {
        margin: 10% 1rem;
        padding: 2rem;
    }
}

/* Admin Matches Group Styles */
.admin-matches-group {
    animation: slideIn 0.3s ease-out;
}

.match-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.matches-grid {
    animation: fadeIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}