:root {
    --bg-light: #f4f7f9;
    /* Atera's clean off-white base */
    --accent-magenta: #e91e63;
    /* Atera CTA pink */
    --accent-magenta-hover: #d81b60;
    --accent-cyan: #00b4d8;
    /* Tech blue */
    --text-main: #0f172a;
    /* Very dark slate for readability */
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.7);
    /* White frosted glass */
    --glass-border: rgba(0, 0, 0, 0.05);
    /* Very thin, subtle border */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    /* Wide, soft shadow */
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Organic Background Orbs - Light Pastel Edits */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.8;
    animation: drift 20s infinite alternate ease-in-out;
}

.orb-1.light {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.15), transparent 70%);
    /* Soft Pastel Pink */
}

.orb-2.light {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15), transparent 70%);
    /* Soft Tech Blue */
    animation-delay: -10s;
}

.orb-3.light {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08), transparent 70%);
    /* Extremely pale violet */
    animation-duration: 25s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -50px) scale(1.1);
    }
}

/* Cyber Grid - Light Mode */
.cyber-grid.light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
}

/* Layout */
.relative {
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
    color: var(--text-main);
    position: relative;
    padding-left: 64px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    position: absolute;
    left: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-magenta);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-magenta);
    color: #fff;
    box-shadow: 0 4px 14px rgba(233, 30, 99, 0.4);
}

.btn-primary:hover {
    background: var(--accent-magenta-hover);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.6);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-light);
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    gap: 60px;
    padding: 60px 0;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(233, 30, 99, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.2);
    color: var(--accent-magenta);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-gradient {
    /* Gradient inspired by Atera's subtle pastels */
    background: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

/* Hero Visuals */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.glass-pane {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    position: absolute;
    box-shadow: var(--shadow-soft);
}

.pane-1 {
    padding: 30px;
    width: 340px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* IDE Light Mode styling */
.ide-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.code-line {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    display: inline-block;
    color: #334155;
}

.code-line.keyword {
    color: #db2777;
    /* Pink keyword */
    font-weight: 600;
}

.code-line.function {
    color: #2563eb;
    /* Blue function */
}

.code-line.comment {
    color: #94a3b8;
    font-style: italic;
    display: block;
    margin-top: 12px;
}

.code-line.indent {
    margin-left: 20px;
}

.pane-2 {
    padding: 20px 30px;
    bottom: 100px;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--accent-magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent-magenta);
    font-size: 14px;
}

/* Services */
.services-section {
    padding: 80px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.glass-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.glass-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
}

footer .logo {
    justify-content: center;
    margin-bottom: 16px;
}

footer p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-cta {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero-visual {
        width: 100%;
        height: 350px;
    }
}