/* ============================================
   SMARTEREST INC. - Computational Biology Noir
   ============================================ */

:root {
    /* ============================================
       Smarterest Inc. Design System
       ============================================ */
    
    /* Color Palette */
    --bg-void: #050508;
    --bg-card: rgba(19, 22, 28, 0.6);
    --accent-cyan: #38BDF8;
    --accent-purple: #C084FC;
    --text-main: #F8FAFC;
    --text-muted: #A7B5CA;
    --grid-color: #1F2937;
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-strong: rgba(255, 255, 255, 0.12);
    --shadow-cyan: rgba(56, 189, 248, 0.25);
    --shadow-purple: rgba(192, 132, 252, 0.25);
    
    /* Additional Color Variations */
    --ambient-glow: rgba(56, 189, 248, 0.16);
    --grid-overlay-opacity: 0.10;
    --credline-bg: rgba(0, 0, 0, 0.25);
    --credline-text: rgba(248, 250, 252, 0.72);
    --agent-node-bg: rgba(0, 0, 0, 0.82);
    --agent-node-border: rgba(255, 255, 255, 0.18);
    --circuit-overlay-cyan: rgba(56, 189, 248, 0.12);
    --circuit-overlay-purple: rgba(192, 132, 252, 0.10);
    
    /* Typography */
    --font-head: "Inter", sans-serif;
    --font-tech: "Space Mono", monospace;
    
    /* Spacing */
    --section-padding: 120px 0;
    
    /* Effects */
    --backdrop-blur: blur(12px);
    
    /* Legacy support for compatibility */
    --deep-space-black: var(--bg-void);
    --card-surface: var(--bg-card);
    --grid-lines: var(--grid-color);
    --electric-cyan: var(--accent-cyan);
    --neon-purple: var(--accent-purple);
    --headline-white: var(--text-main);
    --muted-grey: var(--text-muted);
    --text-primary: var(--text-main);
    --text-secondary: var(--text-muted);
    --glow-blue: var(--shadow-cyan);
    --glow-purple: var(--shadow-purple);
    --font-mono: var(--font-tech);
    --font-sans: var(--font-head);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed navigation */
}

/* Additional smooth scrolling for all elements */
* {
    scroll-margin-top: 80px;
}

body {
    font-family: var(--font-head);
    background-color: var(--bg-void);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Background Grid Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: var(--grid-overlay-opacity);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   Navigation
   ============================================ */

#mainNav {
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(19, 22, 28, 0.95);
    box-shadow: 0 2px 20px var(--glow-blue);
}

.navbar-brand {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--text-main) !important;
    text-decoration: none;
}

.brand-text {
    color: var(--text-main);
    font-weight: 700;
}

.brand-subtitle {
    color: var(--accent-cyan);
    font-weight: 400;
    margin-left: 0.5rem;
}

.nav-link {
    font-family: var(--font-head);
    font-weight: 400;
    color: var(--text-muted) !important;
    margin: 0 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle, var(--ambient-glow) 0%, var(--bg-void) 70%);
    z-index: 1;
}

/* Hero Background Image Placeholder */
.hero-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(2px) brightness(0.3);
}

/* Show placeholder when image is missing */
.hero-image-placeholder img[src=""],
.hero-image-placeholder img:not([src]) {
    display: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.molecule-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.7;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.molecule-container.locked {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.85);
}

.molecule-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px var(--shadow-cyan));
}

/* Conic gradient effect for molecule (simulated with CSS) */
.molecule-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: conic-gradient(from 0deg, var(--accent-purple), transparent, var(--accent-cyan), transparent, var(--accent-purple));
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateMolecule 25s linear infinite;
    z-index: -1;
}

.molecule-group {
    animation: rotateMolecule 25s linear infinite;
    transform-origin: 300px 300px;
}

.molecule-container.locked .molecule-group {
    animation: none;
}

@keyframes rotateMolecule {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    .hero-headline {
        font-size: 3.1rem;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
}

.headline-main {
    display: block;
    color: var(--text-main);
    font-weight: 400;
}

.headline-accent {
    display: block;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.hero-subheadline {
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subheadline {
        font-size: 1.1rem;
    }
}

.hero-scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-text {
    font-family: var(--font-tech);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-cyan), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ============================================
   Thesis Section
   ============================================ */

.thesis-section {
    padding: var(--section-padding);
    background: #06060e;
    position: relative;
}

.thesis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.section-label {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.section-headline {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.thesis-text {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 3rem;
}

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

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

.stat-item {
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-cyan);
    background: var(--circuit-overlay-cyan);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--shadow-cyan);
}

.stat-number {
    font-family: var(--font-tech);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Thesis Diagram Image Placeholder */
.thesis-section .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.thesis-image-placeholder {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -120px;
    margin-bottom: -120px;
    overflow: hidden;
}

.thesis-diagram-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide placeholder when image is missing */
.thesis-image-placeholder img[src=""],
.thesis-image-placeholder img:not([src]) {
    display: none;
}

.diagram-container {
    padding: 2rem;
}

.differentiation-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.diagram-node {
    position: relative;
    width: 200px;
    height: 80px;
    border: 2px solid var(--electric-cyan);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-blue);
}

.diagram-node:hover {
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 25px var(--glow-blue);
    transform: scale(1.05);
}

.diagram-node.aggression {
    border-color: var(--neon-purple);
    background: rgba(192, 132, 252, 0.1);
    box-shadow: 0 0 15px var(--glow-purple);
}

.diagram-node.aggression:hover {
    background: rgba(192, 132, 252, 0.2);
    box-shadow: 0 0 25px var(--glow-purple);
}

.node-label {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: var(--text-main);
    text-align: center;
    z-index: 2;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: var(--bioluminescent-blue);
    opacity: 0;
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.diagram-arrow {
    width: 100px;
    height: 20px;
    color: var(--electric-cyan);
}

.diagram-arrow svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Engine Section
   ============================================ */

.engine-section {
    padding: var(--section-padding);
    background: var(--bg-void);
    position: relative;
}

.engine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.engine-subtitle {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 900px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.agent-card {
    position: relative;
    padding: 2.5rem 2rem;
    border: 1px solid var(--agent-node-border);
    border-radius: 12px;
    background: var(--agent-node-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    box-shadow: 0 0 15px var(--shadow-cyan);
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(192, 132, 252, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.agent-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--shadow-cyan), 0 10px 40px rgba(56, 189, 248, 0.4);
}

.agent-card:hover::before {
    opacity: 1;
}

.agent-card:hover .agent-glow {
    opacity: 1;
}

.agent-number {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.agent-name {
    font-family: var(--font-tech);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.agent-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.agent-description {
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.65);
}

.agent-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    filter: blur(40px);
}

/* Engine Infrastructure Image Placeholder */
.engine-image-placeholder {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border-strong);
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: 0 0 30px var(--shadow-cyan);
}

.engine-infrastructure-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
}

/* Hide placeholder when image is missing */
.engine-image-placeholder img[src=""],
.engine-image-placeholder img:not([src]) {
    display: none;
}

.agent-network {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 4rem;
    border: 1px solid var(--card-border-strong);
    border-radius: 12px;
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    overflow: hidden;
    box-shadow: 0 0 20px var(--shadow-cyan);
}

.network-svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   Contact Form Section
   ============================================ */

.contact-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-void) 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-label {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 1rem 0;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--card-border);
    border-radius: 0;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-bottom-color: var(--accent-cyan);
    background: var(--circuit-overlay-cyan);
    padding-left: 1rem;
    padding-right: 1rem;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

.form-control:focus + .form-line {
    width: 100%;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 4px;
}

textarea.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--shadow-cyan);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid var(--card-border);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--shadow-cyan);
}

.form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--void-black);
    font-weight: bold;
    font-size: 14px;
}

.form-check-label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.form-message {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--circuit-overlay-cyan);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.btn-submit {
    position: relative;
    padding: 1.2rem 3rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--headline-white);
    background: transparent;
    border: 2px solid var(--electric-cyan);
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 200px;
    box-shadow: 0 0 15px var(--glow-blue);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover:not(:disabled) {
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px var(--glow-blue), 0 0 50px var(--glow-purple);
    transform: translateY(-2px);
}

.btn-submit:hover:not(:disabled)::before {
    left: 100%;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit .btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--electric-cyan) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: blur(20px);
}

.btn-submit:hover:not(:disabled) .btn-glow {
    opacity: 0.5;
}

/* ============================================
   Footer Section
   ============================================ */

.footer-section {
    padding: var(--section-padding);
    background: var(--bg-void);
    position: relative;
    border-top: 1px solid var(--card-border);
}

.footer-headline {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-tagline {
    font-family: var(--font-tech);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 3rem;
}

.btn-partnership {
    position: relative;
    padding: 1.2rem 3rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--headline-white);
    background: transparent;
    border: 2px solid var(--electric-cyan);
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--glow-blue);
}

.btn-partnership::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-partnership:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px var(--glow-blue), 0 0 50px var(--glow-purple);
    transform: translateY(-2px);
}

.btn-partnership:hover::before {
    left: 100%;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--bioluminescent-blue) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: blur(20px);
}

.btn-partnership:hover .btn-glow {
    opacity: 0.5;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.mono-text {
    font-family: var(--font-mono);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 992px) {
    .molecule-container {
        width: 400px;
        height: 400px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .diagram-node {
        width: 180px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .molecule-container {
        width: 300px;
        height: 300px;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .agent-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 0 1rem;
    }
    
    .btn-submit {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .molecule-container {
        width: 250px;
        height: 250px;
    }
    
    .nav-link {
        margin: 0 0.5rem;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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