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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #e8f5e8 0%, #f5f5f5 50%, #e8f4f8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
}

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


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: #27ae60;
    color: white;
}

.btn-primary:hover {
    background: #229954;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Hero Section */
.hero {
    padding: 100px 0 40px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #ffebb7f5;
    color: #8b5a00;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #2c3e50;
}

.hero-title-accent {
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(48px, 8vw, 70px);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 32px;
    line-height: 1.1;
    text-align: left;
}

.section-subtitle {
    font-size: 20px;
    color: #6b7280;
}



/* Capabilities Section */
.capabilities {
    background: transparent;
}

.capabilities h2 {
    font-size: clamp(48px, 8vw, 70px);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 48px;
    text-align: left;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.capability-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.15);
    border-color: rgba(39, 174, 96, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.capability-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.capability-icon i {
    font-size: 28px;
    color: white;
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.capability-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

/* How It Works Section */
.how-it-works {
    background: transparent;
}

.how-it-works h2 {
    font-size: clamp(48px, 8vw, 70px);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 48px;
    text-align: left;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
    background: rgba(255, 255, 255, 0.9);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}

.step-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}





/* Early Access Section */
.early-access {
    background: transparent;
    padding: 40px 0 20px;
}

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


.early-access-form-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 32px;
    border-radius: 16px;
    margin-top: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.early-access-form {
    display: grid;
    gap: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #1a1a1a;
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group select option {
    background: white;
    color: #1a1a1a;
}

.checkbox-group {
    margin: 8px 0;
}


.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #27ae60;
}

.privacy-link {
    color: #27ae60;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.privacy-link:hover {
    color: #229954;
    text-decoration: none;
}



/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
        padding: 40px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: #9ca3af;
    margin-bottom: 8px;
    line-height: 1.6;
}


.legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar .container {
        padding: 12px 16px;
    }
    
    .nav-menu {
        gap: 16px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .hero {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 64px);
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .capabilities-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .early-access-form-container {
        padding: 32px 24px;
    }
    
    .early-access h2 {
        font-size: 32px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f4f6;
    border-radius: 50%;
    border-top-color: #1a1a1a;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #f3f4f6;
    background: linear-gradient(135deg, #27ae60 0%, #3498db 100%);
    color: white;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.privacy-content {
    padding: 32px;
    line-height: 1.6;
    color: #2c3e50;
}

.privacy-content h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    border-bottom: 2px solid #27ae60;
    padding-bottom: 8px;
}

.privacy-content h4 {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.privacy-content p {
    margin-bottom: 16px;
    color: #4a5568;
}

.privacy-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: #4a5568;
}

.privacy-content strong {
    color: #2c3e50;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .privacy-content {
        padding: 24px 20px;
    }
    
    .privacy-content h3 {
        font-size: 16px;
    }
}

/* Success/Error Messages */
.success-message {
    background: #10b981;
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.error-message {
    background: #ef4444;
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}