﻿:root {
    --primary: #1E1B4B; /* Deep Indigo */
    --secondary: #10B981; /* Emerald Tech Green */
    --accent: #4F46E5; /* Bright Indigo */
    --text-dark: #0F172A;
    --text-gray: #475569;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --success: #059669;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    color: var(--primary);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.large-text {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo span { color: var(--text-gray); font-weight: 400; }
.logo i { color: var(--secondary); }

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover { color: var(--accent); }

/* Hero Section */
.hero-section {
    padding: 7rem 0;
    background-color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ECFDF5;
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid #A7F3D0;
}

.hero-text h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    text-transform: uppercase;
}

.accent-text { color: var(--accent); }

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}

/* Stats Random Section */
.random-section {
    background-color: var(--primary);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card h3 {
    color: var(--secondary);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--bg-light);
    font-weight: 500;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.code-window {
    background: var(--text-dark);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.code-window img {
    width: 100%;
    border-radius: 8px;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
}

.icon-container {
    width: 50px;
    height: 50px;
    background: #EEF2FF;
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-list p { color: var(--text-gray); }

/* Form Section */
.form-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #312E81 100%);
    color: var(--bg-white);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    color: var(--text-dark);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.form-header p { color: var(--text-gray); }

.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.input-group { margin-bottom: 1.5rem; }

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-light);
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.checkbox-group input { margin-top: 0.3rem; width: 16px; height: 16px; accent-color: var(--accent);}
.checkbox-group a { color: var(--accent); font-weight: 600; }

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.success-message h3 { margin-bottom: 1rem; font-size: 2rem; color: var(--primary); }
.success-message p { color: var(--text-gray); font-size: 1.1rem; }
.hidden { display: none !important; }

/* Methodology Section */
.methodology-section { padding: 6rem 0; background: var(--bg-white); }

.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.step i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.step h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.step p { color: var(--text-gray); }

/* FAQ Section */
.faq-section { padding: 8rem 0; background: var(--bg-light); }

.faq-accordion { max-width: 800px; margin: 3rem auto 0; }

details {
    background: var(--bg-white);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

summary {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(180deg); }

details p { padding: 0 2rem 1.5rem; color: var(--text-gray); }

/* Footer */
.main-footer {
    background: #020617;
    color: var(--bg-white);
    padding: 5rem 0 2rem;
}

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

.footer-brand .logo { color: var(--bg-white); }
.footer-brand p { margin-top: 1.5rem; color: #94A3B8; max-width: 300px; }

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a, .footer-contact a { color: #94A3B8; text-decoration: none; transition: color 0.3s;}
.footer-links a:hover, .footer-contact a:hover { color: var(--secondary); }
.footer-contact p { color: #94A3B8; margin-bottom: 0.5rem; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1E293B;
    color: #64748B;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    border: 1px solid var(--border-color);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
}

.cookie-content p { font-size: 0.95rem; color: var(--text-gray); }
.cookie-content a { color: var(--accent); font-weight: 600;}
.cookie-buttons { display: flex; gap: 1rem; flex-shrink: 0; }

/* Legal Pages Shared Styles */
.legal-page { padding: 5rem 0; background: var(--bg-light); }
.legal-container {
    background: var(--bg-white);
    padding: 5rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}
.legal-container h1 { margin-bottom: 2.5rem; font-size: 2.8rem; }
.legal-container h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem; }
.legal-container p, .legal-container ul { margin-bottom: 1.2rem; color: var(--text-gray); font-size: 1.05rem; }
.legal-container ul { margin-left: 2rem; }

/* Contact Page Styles */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { background: var(--bg-white); padding: 4rem; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-info h2 { margin-bottom: 1.5rem; color: var(--primary); }
.contact-info p { margin-bottom: 1rem; font-size: 1.1rem; color: var(--text-gray); }
.contact-info i { color: var(--accent); margin-right: 12px; width: 24px; text-align: center; }
.map-container { border-radius: 24px; overflow: hidden; height: 100%; min-height: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid, .features-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .features-image { order: -1; }
    .desktop-nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-brand p { margin: 1.5rem auto 0; }
}

@media (max-width: 768px) {
    .stats-grid, .method-steps { grid-template-columns: 1fr; }
    .input-row { grid-template-columns: 1fr; gap: 0; }
    .cookie-content { flex-direction: column; text-align: center; }
    .legal-container, .form-container, .contact-info { padding: 2.5rem 1.5rem; }
}
