/* ====================================
   GLOBAL STYLES & VARIABLES
   ==================================== */
:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --primary-light: #3d95ff;
    --secondary: #1a1a2e;
    --accent: #00d4ff;
    --accent-warm: #ff6b35;
    --success: #00c48f;
    --warning: #ffa500;
    --danger: #ff0055;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --bg-dark: #0a0e27;
    --bg-darker: #050811;
    --border-color: rgba(0, 100, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    color: var(--text-secondary);
}

.btn-register {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-register:hover {
    background: var(--primary);
    color: var(--text-primary);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: rgba(0, 100, 255, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 100, 255, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    bottom: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--accent-warm), var(--primary));
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text .highlight {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

/* ====================================
   STATS SECTION
   ==================================== */
.stats {
    padding: 4rem 0;
    background: rgba(0, 100, 255, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(0, 100, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(0, 100, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ====================================
   SECTION STYLES
   ==================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission,
.vision,
.quotes,
.about,
.cta {
    padding: 5rem 0;
}

.mission {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.05), rgba(0, 212, 255, 0.03));
}

.vision {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 100, 255, 0.03));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quotes {
    background: rgba(0, 100, 255, 0.05);
}

.about {
    border-top: 1px solid var(--border-color);
}

/* ====================================
   MISSION CARDS
   ==================================== */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-card {
    padding: 2.5rem;
    border-radius: 15px;
    background: rgba(0, 100, 255, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover {
    background: rgba(0, 100, 255, 0.12);
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ====================================
   VISION SECTION
   ==================================== */
.vision-content {
    display: grid;
    gap: 3rem;
}

.vision-quote {
    text-align: center;
    padding: 3rem;
    border-radius: 15px;
    background: rgba(0, 100, 255, 0.08);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.vision-quote h3 {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 700;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.pillar {
    padding: 2rem;
    border-radius: 15px;
    background: rgba(0, 100, 255, 0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.pillar:hover {
    background: rgba(0, 100, 255, 0.1);
    transform: translateY(-5px);
}

.pillar-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.pillar p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====================================
   QUOTES SECTION
   ==================================== */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.quote-card {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-secondary);
    position: relative;
}

.quote-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
}

.quote-card:hover {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.15), rgba(0, 212, 255, 0.1));
    transform: translateY(-5px);
    border-color: var(--accent);
}

.quote-large {
    grid-column: span 2;
    font-size: 1.2rem;
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-text h4 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.commitment-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.commitment-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.commitment-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-size: 1.3rem;
    font-weight: bold;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta {
    background: linear-gradient(135deg, rgba(0, 100, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ====================================
   AUTH PAGES
   ==================================== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.auth-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.auth-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-wrapper {
    grid-template-columns: 1fr;
}

.auth-form-card {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.register-card {
    background: rgba(10, 14, 39, 0.95);
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ====================================
   FORM STYLES
   ==================================== */
.auth-form,
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(10, 14, 39, 0.85);
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
    background-position: calc(100% - 1.1rem) calc(50% - 0.2rem), calc(100% - 0.65rem) calc(50% - 0.2rem);
    background-size: 0.45rem 0.45rem, 0.45rem 0.45rem;
    background-repeat: no-repeat;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

.form-group select option {
    background: #12172b;
    color: var(--text-primary);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.form-group small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ====================================
   FORM STEPS
   ==================================== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-buttons .btn {
    flex: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.5rem;
}

.checkbox input {
    cursor: pointer;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--accent);
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-group label {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

/* ====================================
   AUTH DIVIDER & FOOTER
   ==================================== */
.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    background: rgba(10, 14, 39, 0.9);
    padding: 0 1rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--accent);
}

/* ====================================
   AUTH INFO
   ==================================== */
.auth-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    padding: 2rem;
    border-radius: 15px;
    background: rgba(0, 100, 255, 0.08);
    border: 1px solid var(--border-color);
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ====================================
   PROGRESS STEPS
   ==================================== */
.progress-steps {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.step-indicator span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 100, 255, 0.1);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step-indicator.active span {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
}

.step-indicator p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.step-indicator.active p {
    color: var(--primary);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .auth-form-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-info {
        order: -1;
        flex-direction: row;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .vision-quote h3 {
        font-size: 1.3rem;
    }

    .auth-form-card {
        padding: 2rem;
    }

    .register-card {
        padding: 1.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .stats-grid,
    .mission-cards,
    .vision-pillars,
    .quotes-grid {
        grid-template-columns: 1fr;
    }

    .quote-large {
        grid-column: span 1;
    }

    .commitment-list {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .auth-form-card,
    .register-card {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
