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

:root {
    --bg-dark: #0a0c10;
    --bg-darker: #050608;
    --accent: #2dd4bf;
    /* Teal 400 */
    --accent-glow: rgba(45, 212, 191, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 100%);
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 100px;
}

/* Header & Nav */
header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(10, 12, 16, 0.8), rgba(10, 12, 16, 0.8)),
        url('assets/images/contact_bg.jpg') no-repeat center center / cover,
        var(--bg-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px var(--accent-glow);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Section specific */
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-with-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 12, 16, 0.85);
    z-index: 1;
}

.section-with-bg .container {
    position: relative;
    z-index: 2;
}

.bg-one {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-roots {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-today {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-agentic {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-philosophy {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-contact {
    background-image: url('assets/images/contact_bg.jpg');
}

.bg-two {
    background-image: url('assets/images/contact_bg.jpg');
}

.roots-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-title {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */

.contact-info {
    font-size: 1.5rem;
    margin: 2rem 0;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.email-at-symbol {
    height: 1em;
    vertical-align: middle;
    margin: 0 0.1em;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.imprint-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
}

.imprint-link:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 0;
    }

    nav ul {
        display: none;
    }

    /* Mobile menu would go here */
}