@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-green: #7FFF00;
    /* Neon Chartreuse/Green */
    --primary-dark: #050a05;
    --secondary-dark: #0f1a0f;
    --text-light: #ffffff;
    --text-dim: #a0a0a0;
    --accent-glow: rgba(127, 255, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-green: linear-gradient(135deg, #7FFF00 0%, #32CD32 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(127, 255, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(127, 255, 0, 0.05) 0%, transparent 40%);
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.highlight {
    color: var(--primary-green);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(127, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(127, 255, 0, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--primary-dark);
}

/* --- Header --- */
header {
    background: rgba(5, 10, 5, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-tags {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* Adjust based on image size preference */
    display: flex;
    justify-content: center;
}

.robot-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(127, 255, 0, 0.3));
}

.robot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(127, 255, 0, 0.2) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

/* --- Workshop Details --- */
.details-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.detail-box {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin: 20px 0;
}

.price small {
    font-size: 1rem;
    color: var(--text-light);
}

.date-badge {
    display: inline-block;
    background: #fff;
    color: #000;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* --- Form Section --- */
.form-section {
    background: var(--secondary-dark);
    position: relative;
}

.registration-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-dark);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dim);
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

select.form-control {
    background-color: var(--secondary-dark);
    /* Fix for dropdown visibility */
}

/* Responsive Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Thank You Message */
.thank-you-container {
    display: none;
    /* Hidden by default */
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Helper to hide form when done */
.hidden {
    display: none !important;
}

/* --- Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-tags {
        justify-content: center;
    }

    .nav-links {
        display: none;
        /* Basic mobile hide for now */
    }

    .registration-wrapper {
        padding: 30px 20px;
    }
}

/* --- Gallery Slider --- */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark), transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

.slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 60s linear infinite;
    /* Increased duration for more images */
}

.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 350px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half the total width (the original set) */
}

/* Mobile adjust for slider */
@media (max-width: 768px) {
    .slide {
        width: 280px;
        height: 200px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}