/* ========================================
   NEODESIA - ROOT LANDING PAGE STYLE
   Theme: Innovation, Future, Lab, Premium, Dark
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #3b82f6;
    /* Electric Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --spacing-section: 120px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 4rem;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* ========================================
   HERO SECTION (Manifesto)
   ======================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 180px;
    /* Increased to clear the fixed header comfortably */
    background: #020205;
    /* Ultra dark background */
    overflow: hidden;
    /* Static Tech Grid Pattern */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Rotating Radar Scanner Beam */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vw;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(59, 130, 246, 0.25) 20deg,
            rgba(59, 130, 246, 0.05) 45deg,
            transparent 60deg);
    transform: translate(-50%, -50%);
    animation: radar-scan 10s linear infinite;
    z-index: 0;
    pointer-events: none;
}

/* Dark Vignette Overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(2, 2, 5, 0.9) 100%);
    z-index: 1;
    pointer-events: none;
}

@keyframes radar-scan {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    /* Ensure content is above the background effects */
}


/* ========================================
   DOMAINS SECTION
   ======================================== */
.domains {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.domains .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.domain-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.domain-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

.domain-content {
    padding: 2rem;
}

.domain-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.domain-card:hover .domain-image {
    transform: scale(1.05);
}

/* Old Icon style removal or adaptation if needed */
.domain-icon {
    display: none;
    /* We use images now */
}

.hero-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    padding-bottom: 3rem;
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */
.philosophy {
    padding: var(--spacing-section) 0;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.philosophy .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.philosophy-quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    font-family: var(--font-heading);
}

/* ========================================
   DOMAINS SECTION
   ======================================== */
.domains {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.domains .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
    /* Keep cards content left-aligned if desired, or remove to center everything */
}

.domain-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.domain-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.domain-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.domain-text {
    color: var(--text-secondary);
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */
.methodology {
    padding: var(--spacing-section) 0;
    background: var(--bg-secondary);
    text-align: center;
}

.methodology .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

/* Ligne connectrice */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    z-index: 0;
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--accent-primary);
    position: relative;
}

.step-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    opacity: 0.3;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Responsive steps */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .steps-grid::before {
        display: none;
    }
}

/* ========================================
   COMPLIANCE SECTION
   ======================================== */
.compliance {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.compliance-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.compliance-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #000;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}