/* ====================================
   67GEN.ORG - PARENT PORTAL
   Clean, trustworthy, professional design
   ==================================== */

/* CSS Variables */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #06b6d4;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --border: #e5e7eb;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ====================================
   HEADER
   ==================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-67 {
    color: var(--primary);
}

.logo-org {
    color: var(--secondary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--text-medium);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav .student-link {
    color: var(--secondary);
}

.btn-header {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-header:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
    text-decoration: none;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.hero-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 0;
}

/* ====================================
   TRUST BAR
   ==================================== */
.trust-bar {
    background: var(--text-dark);
    padding: 20px 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.trust-icon {
    font-size: 18px;
}

/* ====================================
   SECTION STYLES
   ==================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* ====================================
   ABOUT SECTION
   ==================================== */
.about-section {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.card-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.7;
}

/* ====================================
   HOW IT WORKS
   ==================================== */
.how-section {
    background: var(--bg-light);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    max-width: 220px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 24px;
    color: var(--text-muted);
    padding-top: 40px;
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.features-section {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ====================================
   SAFETY SECTION
   ==================================== */
.safety-section {
    background: var(--bg-light);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
    align-items: start;
}

.safety-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.safety-text > p {
    color: var(--text-medium);
    margin-bottom: 32px;
}

.safety-list {
    list-style: none;
}

.safety-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.safety-list li:last-child {
    border-bottom: none;
}

.safety-list .check {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.safety-list strong {
    display: block;
    margin-bottom: 4px;
}

.safety-list p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.safety-badge {
    background: var(--bg-white);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.badge-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.safety-badge h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent);
}

.safety-badge p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.safety-badge a {
    font-size: 14px;
    font-weight: 600;
}

/* ====================================
   REGISTRATION SECTION
   ==================================== */
.register-section {
    background: var(--bg-white);
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.register-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.register-info > p {
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.7;
}

.info-box {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius);
    padding: 20px;
}

.info-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary);
}

.info-box p {
    font-size: 14px;
    color: var(--text-medium);
    margin: 0;
}

.register-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.register-form h3 {
    font-size: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group.checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.form-group.checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.form-group.checkbox label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-medium);
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ====================================
   FAQ SECTION
   ==================================== */
.faq-section {
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.faq-icon {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    background: var(--primary);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-section .btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* ====================================
   FOOTER
   ==================================== */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 6px 0;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .safety-content {
        grid-template-columns: 1fr;
    }
    
    .register-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .btn-header {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .about-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }
    
    .step-card {
        max-width: 100%;
        width: 100%;
    }
    
    .trust-items {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}