:root {
    --bg-dark: #0a0a0a;
    --bg-charcoal: #121212;
    --text-main: #ffffff;
    --text-dim: #a1a1a1;
    --accent-gray: #777777;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* Nav */
#main-header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 4px;
    mix-blend-mode: screen;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-text .ais {
    color: var(--text-dim);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--accent-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--accent-gray);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--text-main);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 220px;
    background: #141414;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    list-style: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 200;
    margin: 0;
}

.nav-dropdown-menu[hidden] {
    display: none !important;
}

.nav-dropdown-menu.open {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: var(--text-dim);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--glass);
    color: var(--text-main);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
}

/* Hero */
#hero {
    height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 5;
}

#hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

#hero h1 .accent {
    color: var(--text-dim);
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Cyborg Image */
.hero-cyborg-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1; /* Behind the content */
    pointer-events: none;
    overflow: hidden;
}

.hero-cyborg-img {
    height: 110%; /* Slightly larger to bleed off edges */
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen; /* Blends better with dark background */
    opacity: 0.8;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--glass);
}

/* Background Effects */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-sphere {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    filter: blur(60px);
}

/* General Section Components */
.section-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gray);
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.section-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

#hero h1, #problem h3, #solution h3, #proposition h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--text-dim);
}

.section-footer {
    text-align: center;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    font-size: 1.1rem;
    color: var(--text-dim);
    font-style: italic;
}

/* Problem Section */
#problem {
    padding: 10rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-charcoal));
}

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

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.problem-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.problem-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.split-visual .image-box {
    border: 1px solid var(--border);
    padding: 1rem;
    background: var(--glass);
    border-radius: 8px;
}

.split-visual img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(0.5) contrast(1.2);
}

/* Solution Section */
#solution {
    padding: 10rem 0;
}

.solution-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.pillar-icon {
    height: 120px;
    width: auto;
    margin-bottom: 2.5rem;
    mix-blend-mode: screen;
}

.pillar h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pillar ul {
    list-style: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pillar ul li {
    margin-bottom: 0.5rem;
}

.pillar-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--accent-gray);
    font-weight: 600;
}

/* Proposition Section */
#proposition {
    padding: 10rem 0;
    background-color: var(--bg-charcoal);
}

.proposition-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.prop-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.prop-marker {
    flex-shrink: 0;
}

.check-icon {
    width: 32px;
    height: 32px;
    color: #4ade80; /* Success Green */
}

.prop-main {
    margin-bottom: 1.5rem;
}

.prop-main h4 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.prop-main p {
    color: var(--text-main);
    font-weight: 500;
    font-style: italic;
    opacity: 0.8;
}

.prop-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.prop-details li::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--accent-gray);
}

.padding-y {
    padding: 10rem 0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-card.form-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-header {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.to-label {
    color: var(--accent-gray);
    font-weight: 600;
}

.to-email {
    color: var(--text-main);
    font-family: monospace;
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Floating Label Inputs */
.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 1.25rem 1rem 0.75rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.input-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--accent-gray);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-main);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    left: 1rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
}

.info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.trust-badge {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #4ade80;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.contact-footer-info h5 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.contact-footer-info p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.contact-footer-info a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Success State */
.hidden {
    display: none !important;
}

#contact-success {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

/* Utilities */
.w-100 { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .split-layout, .solution-pillars {
        grid-template-columns: 1fr;
    }
    
    .split-layout {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-cyborg-container {
        width: 60%;
        opacity: 0.5;
    }
    
    #hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    #main-header {
        height: 70px;
    }
    
    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #0a0a0a;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--border);
        gap: 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.25rem 0 0 0.75rem;
        display: none;
    }

    .nav-dropdown-menu.open {
        display: block;
    }
    
    #hero {
        height: auto;
        padding: 8rem 0;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    #hero h1 {
        font-size: 3.5rem;
    }
    
    #hero p {
        margin: 0 auto 3rem auto;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-cyborg-container {
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        justify-content: center;
        opacity: 0.15; /* Subtle background aura on mobile */
        z-index: 0;
    }
    
    .hero-cyborg-img {
        height: 100%;
        width: auto;
        position: absolute;
        right: -20%; /* Offset for artistic effect */
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
