:root {
    --primary: #ff1694;
    /* Vivid Pink */
    --primary-gradient: linear-gradient(135deg, #ff1694 0%, #d400ff 100%);
    --secondary: #45274A;
    --bg-dark: #1a0b2e;
    /* Dark Purple-ish Navy */
    --bg-card: #2d1b4d;
    --text-light: #ffffff;
    --text-dim: #b3a1d1;
    --accent: #00ff88;
    /* Success Green */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
    background: rgba(13, 5, 25, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-logo .fallback-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.header-logo .fallback-logo span {
    color: #fff;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2d1b4d;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    margin-top: 5px;
    width: 140px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.lang-selector:hover .lang-dropdown {
    display: flex;
}

.lang-option {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--primary);
    color: #fff;
}

.lang-option img {
    border-radius: 2px;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-link.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Hero Section */
.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    background: radial-gradient(circle at center, #3d1b5d 0%, #1a0b2e 100%);
}

.her.modal-content {
    background: #fff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-card {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-btn-main {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 22, 148, 0.4);
    transition: transform 0.2s;
}

.cta-btn-main:hover {
    transform: scale(1.05);
}

.camera-notice {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.live-stats {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Even clearer overlay */
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(8px);
    /* Blur the video background slightly */
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85) !important;
    /* Semi-transparent white */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    color: #111 !important;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-nav-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    padding: 0 5px;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #ff1694;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff1694;
    border-radius: 10px;
}

.tab-divider {
    width: 1px;
    height: 20px;
    background: #ddd;
}

/* Wizard Steps */
.step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}

.step-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 2.5rem;
    color: #000;
    letter-spacing: -0.8px;
}

.btn-wizard-next {
    width: 100%;
    background: #ff1694;
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 22, 148, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-wizard-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 22, 148, 0.5);
}

.wizard-footer {
    margin-top: 3rem;
}

.wizard-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #bbb;
    /* Darker grey for better visibility */
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: #ff1694;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 22, 148, 0.3);
}

/* Form Styling within Modal */
.reg-form {
    width: 100%;
}

.input-group {
    margin-bottom: 1.2rem;
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 1.1rem;
    border-radius: 14px;
    border: 2px solid #eee;
    background: #fafafa;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #ff1694;
    background: #fff;
    outline: none;
}

.green-check {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: #00b894;
}

.toggle-pass {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background: #ff1694;
    color: #fff;
    padding: 1.2rem;
    border-radius: 16px;
    border: none;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(255, 22, 148, 0.4);
}

/* Login View specific styling */
.login-view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-help {
    margin-top: 1.5rem;
}

.form-help a {
    color: #ff1694;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-help a:hover {
    text-decoration: underline;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Sections styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.info-section {
    background: #fff;
    color: #333;
    padding: 5rem 0 3rem;
    text-align: center;
}

.info-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a0b2e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.info-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.feature-block {
    background: #fff;
    padding: 5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block.reverse .feature-grid {
    direction: ltr;
}

.feature-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}

.feature-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a0b2e;
    margin-bottom: 1.5rem;
}

.feature-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.stats-banner h2 {
    position: relative;
    z-index: 10;
    font-size: 2.5rem;
    font-weight: 800;
}

.stats-banner h2 span {
    color: var(--primary);
}

/* Final CTA */
.final-cta {
    background: #fff;
    padding: 6rem 0;
    text-align: center;
}

.final-cta h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff1694;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-final-start {
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
}

/* Footer */
.main-footer {
    background: #000;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: #888;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lang-links {
    font-size: 0.9rem;
    color: #888;
}

.lang-links a {
    color: #bbb;
    margin: 0 0.5rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.footer-brand {
    font-weight: 700;
    color: #fff;
    margin-right: 1rem;
}

.legal-links a {
    color: #7b68ee;
    /* Soft Purple/Blue like in screenshot */
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }

    .main-header {
        padding: 0 1rem;
        height: 60px;
    }

    .header-nav {
        gap: 0.8rem;
    }

    .nav-right {
        gap: 0.8rem;
    }

    .header-logo .fallback-logo {
        font-size: 1.2rem;
    }

    .hero-container {
        padding: 80px 10px 20px;
    }

    .hero-card {
        width: 100%;
        aspect-ratio: 9 / 16;
        /* Portrait for mobile */
        max-height: 80vh;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        padding: 0 1rem;
    }

    .cta-btn-main {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 2rem 1.2rem;
        width: 95%;
        margin: 0 10px;
        border-radius: 20px;
    }

    .modal-nav-tabs {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .tab-btn {
        font-size: 1rem;
    }

    .step-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .btn-wizard-next,
    .submit-btn {
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .wizard-footer {
        margin-top: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .feature-block.reverse .feature-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .info-section h2,
    .feature-info h3,
    .stats-banner h2,
    .final-cta h3 {
        font-size: 1.8rem;
    }

    .stats-banner {
        padding: 5rem 0;
    }

    .btn-final-start {
        width: 100%;
        padding: 1.1rem;
    }
}