:root {
    --primary-color: #FFD700;
    /* Gold */
    --secondary-color: #FFEA00;
    /* Bright Yellow */
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --text-color: #ffffff;
    --text-muted: #dcdcdc;
    --glass-bg: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 215, 0, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --font-main: 'Outfit', sans-serif;
    --bg-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

header.scrolled {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section with Scroll Sequence */
#hero {
    height: 300vh;
    /* Long scroll area for animation */
    position: relative;
    background: #000;
    /* Dark bg for sequence */
}

.sequence-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sequence-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Main Content */
.main-content {
    position: relative;
    background: linear-gradient(to bottom, #111, #000);
    z-index: 20;
    padding: 4rem 2rem;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -50px;
    /* Overlap hero slightly */
}

/* Franchise Highlights */
.highlights {
    display: flex;
    justify-content: space-around;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.highlight-card {
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Registration Section */
.registration-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.form-container {
    flex: 1;
    min-width: 350px;
    padding: 3rem;
}

.form-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Requirements Side */
.requirements-container {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.req-box {
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--secondary-color);
}

.highlight-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

/* Contact Footer */
footer {
    background: #2d3436;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icon img {
    width: 40px;
    height: 40px;
    filter: invert(1);
    transition: transform 0.3s;
}

.social-icon:hover img {
    transform: scale(1.2) rotate(10deg);
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Captcha - Simple imitation */
.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1rem;
}

.captcha-code {
    background: #dfe6e9;
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 3px;
    text-decoration: line-through;
    user-select: none;
}

.logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.logo-text {
    display: none;
}

.hero-title {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem;
}

/* Redesign Animations */
.section-icon {
    color: var(--primary-color);
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.form-title:hover .section-icon {
    transform: rotate(15deg) scale(1.2);
}

.form-container,
.requirements-container {
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    transition: transform 0.3s;
}

.form-container:hover,
.requirements-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* --- New Split Layout CSS --- */
.registration-section {
    display: flex;
    justify-content: center;
    padding: 6rem 0;
    margin: 0 auto;
    max-width: 1400px;
    animation: slideUp 0.8s ease-out;
}

.registration-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.registration-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.15);
}

.reg-left {
    flex: 2;
    padding: 4rem;
    min-width: 400px;
}

.reg-right {
    flex: 1;
    padding: 4rem;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.reg-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 6s infinite;
}

.reg-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    display: none;
    box-shadow: 0 0 10px var(--primary-color);
}

@media (min-width: 900px) {
    .reg-divider {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem !important;
        padding: 0 1rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .registration-section {
        padding: 2rem 0;
        width: 100%;
    }

    .registration-wrapper {
        width: 100%;
        border-radius: 0;
    }

    .reg-left,
    .reg-right {
        padding: 1.5rem;
        min-width: 100%;
        /* Fix overflow */
        width: 100%;
    }

    .form-title {
        font-size: 1.6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        word-wrap: break-word;
    }

    .form-title .section-icon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2.2rem;
        transform: none !important;
    }

    .form-control {
        width: 100%;
        box-sizing: border-box;
        /* Ensure padding doesn't overflow */
    }

    .submit-btn {
        width: 100%;
        margin: 1rem auto;
        display: block;
    }

    .highlight-card {
        min-width: 100%;
    }

    header {
        padding: 0.5rem;
    }

    .logo-img {
        height: 50px;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}