/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* YES Connect Brand Colors */
    --primary-color: #D62828;  /* YES Red (from logo) */
    --primary-dark: #B01E1E;   /* Dark Red */
    --primary-light: #E63946;  /* Light Red */
    --secondary-color: #F77F00; /* YES Gold/Orange (wing accent) */
    --accent-color: #28A745;   /* Success Green */
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --gray: #6b7280;
    --dark-gray: #374151;
    --black: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D62828 0%, #E63946 100%);
    --gradient-secondary: linear-gradient(135deg, #F77F00 0%, #FFB627 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(214, 40, 40, 0.95) 0%, rgba(230, 57, 70, 0.85) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================
   VIDEO BACKGROUND
   =================================== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-primary);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

/* ===================================
   HEADER
   =================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.logo img {
    height: 60px;
    width: auto;
}

/* ===================================
   MAIN CONTENT
   =================================== */
.main-content {
    padding: 2rem 0 4rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   FORM SECTION
   =================================== */
.form-section {
    padding: 3rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
}

/* Group Image */
.group-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.group-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 3px solid var(--light-gray);
}

.progress-step.active .step-circle {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(214, 40, 40, 0.3);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: var(--primary-dark);
    font-weight: 600;
}

.progress-line {
    width: 150px;
    height: 3px;
    background: var(--light-gray);
    position: relative;
    margin: 0 1rem;
}

.progress-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.progress-step.active ~ .progress-line::before {
    width: 0%;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-description {
    color: var(--gray);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* Business Options */
.business-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-content {
    background: var(--light-gray);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    height: 100%;
}

.option-card:hover .option-content {
    background: rgba(214, 40, 40, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.option-card input[type="radio"]:checked ~ .option-content {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.option-card input[type="radio"]:checked ~ .option-content .option-icon {
    color: var(--white);
}

.option-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.option-card input[type="radio"]:checked ~ .option-content h3 {
    color: var(--white);
}

.option-content p {
    font-size: 0.875rem;
    color: var(--gray);
}

.option-card input[type="radio"]:checked ~ .option-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Form Fields */
.form-fields {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

.btn-next,
.btn-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.125rem;
}

.form-buttons {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.btn-loader {
    display: none;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.success-message h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===================================
   WHY JOIN SECTION
   =================================== */
.why-join-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    margin: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.btn-cta {
    animation: pulse 2s infinite;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.animate-slide-up {
    animation: fadeInUp 0.8s ease;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.1s;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.2s;
}

.animate-slide-up.delay-3 {
    animation-delay: 0.3s;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .group-image-container {
        margin-bottom: 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .group-image {
        max-height: 250px;
    }
    
    .progress-bar {
        margin-bottom: 2rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .progress-line {
        width: 80px;
    }
    
    .business-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-buttons {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .option-content {
        padding: 1.5rem 1rem;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
