/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e8a3e;
    --primary-light: #4caf50;
    --primary-dark: #15692e;
    --primary-glow: rgba(30, 138, 62, 0.3);
    --accent: #7ccb44;
    --bg: #09090b;
    --bg-card: #111114;
    --bg-card-hover: #18181c;
    --bg-elevated: #1c1c22;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 44px;
}

.logo-img {
    height: 160px;
    width: auto;
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

[data-theme="light"] .lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-chevron {
    transition: transform 0.2s ease;
}

.lang-selector.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px;
    min-width: 148px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    z-index: 2000;
}

.lang-selector.open .lang-dropdown {
    display: flex;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

[data-theme="light"] .lang-option:hover {
    background: rgba(0, 0, 0, 0.04);
}

.lang-option.active {
    color: var(--primary-light);
    background: rgba(30, 138, 62, 0.08);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--border-hover);
}

.icon-moon { display: block; }
.icon-sun  { display: none;  }

[data-theme="light"] .icon-moon { display: none;  }
[data-theme="light"] .icon-sun  { display: block; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTON KEYFRAMES ===== */
@keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(250%) skewX(-15deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-glow), 0 0 40px transparent; }
    50% { box-shadow: 0 0 30px var(--primary-glow), 0 0 60px var(--primary-glow); }
}

@keyframes ghost-border-glow {
    0%, 100% { box-shadow: 0 0 0px transparent; }
    50% { box-shadow: 0 0 12px rgba(255,255,255,0.12); }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px) scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

/* Shimmer overlay — visible on hover for primary/white/nav */
.btn-primary::before,
.btn-white::before,
.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-100%) skewX(-15deg);
    pointer-events: none;
}

.btn-primary:hover::before,
.btn-white:hover::before,
.btn-nav:hover::before {
    animation: shimmer 0.55s ease forwards;
}

/* Icon inside button animates on hover */
.btn svg,
.btn .btn-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover svg,
.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ── Primary ── */
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 0 40px var(--primary-glow), 0 8px 24px rgba(0,0,0,0.3);
    transform: translateY(-4px) scale(1.03);
    animation: none;
}

/* ── Ghost ── */
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
    animation: ghost-border-glow 3.5s ease-in-out infinite;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--text-muted);
    transform: translateY(-3px) scale(1.02);
    animation: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── White ── */
.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(255,255,255,0.15);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(255,255,255,0.25);
}

/* ── Nav ── */
.btn-nav {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 0 12px var(--primary-glow);
}

.btn-nav:hover {
    background: var(--primary-light);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 24px var(--primary-glow);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2d8f47 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3ba55d 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: float 12s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(30, 138, 62, 0.1);
    border: 1px solid rgba(30, 138, 62, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-glow);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 0 12px var(--primary-light));
}

.stat:hover .stat-plus {
    animation: plus-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes plus-pop {
    0% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.4) rotate(90deg); }
    100% { transform: scale(1) rotate(0); }
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--text-dim);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(6px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text) 0%, var(--text) 35%, var(--primary-light) 50%, var(--text) 65%, var(--text) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heading-sheen 6s ease-in-out infinite;
}

@keyframes heading-sheen {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -100% 0; }
}

.section-tag {
    position: relative;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--primary-light);
    animation: pulse-dot 1.8s ease-in-out infinite;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

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

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-info p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    border-top: 1px solid var(--border);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 138, 62, 0.1);
    border: 1px solid rgba(30, 138, 62, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.about-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.about-feature p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    color: var(--text-dim) !important;
}

/* Code Window Visual */
.visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), #3ba55d, var(--primary-dark));
    border-radius: var(--radius-lg);
    opacity: 0.5;
    filter: blur(20px);
}

.visual-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.code-window {
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.code-body {
    padding: 24px;
    font-size: 0.9rem;
    line-height: 2;
}

.code-keyword { color: #4caf50; }
.code-var { color: #60a5fa; }
.code-prop { color: #66bb6a; }
.code-string { color: #34d399; }

/* ===== SERVICES ===== */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

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

.service-card.featured {
    border-color: rgba(30, 138, 62, 0.3);
    background: linear-gradient(135deg, rgba(30, 138, 62, 0.08), rgba(30, 138, 62, 0.02));
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(30, 138, 62, 0.1);
    border: 1px solid rgba(30, 138, 62, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 24px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                box-shadow 0.4s ease;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--primary-light) 90deg, transparent 180deg, var(--accent) 270deg, transparent 360deg);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: spin-halo 4s linear infinite;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: var(--bg-card);
    z-index: 0;
}

.service-icon svg {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon svg {
    transform: rotate(-8deg) scale(1.1);
}

@keyframes spin-halo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: color 0.3s ease, gap 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--accent);
}

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

.service-link svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--primary-dark), #1b6b2e);
    text-align: center;
}

.cta-bg .gradient-orb {
    opacity: 0.3;
}

.orb-cta-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #66bb6a 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-cta-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2e7d32 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===== CAREERS ===== */
.careers {
    border-top: 1px solid var(--border);
}

.career-perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 32px;
}

.career-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.career-perks svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

.careers-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 24px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float-card 6s ease-in-out infinite;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(30, 138, 62, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.card-1 {
    top: 20px;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 100px;
    right: 5%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 120px;
    left: 5%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 40px;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== CONTACT ===== */
.contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(30, 138, 62, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-card strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.contact-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-note {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-top: 2px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(30, 138, 62, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid var(--primary-light);
    opacity: 0;
    pointer-events: none;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.social-links a:hover::after {
    animation: social-ring 0.6s ease-out;
}

@keyframes social-ring {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.6); }
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
}

.form-group {
    position: relative;
}

.form-group label {
    transition: color 0.3s ease, transform 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary-light);
    transform: translateX(3px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow), 0 0 20px var(--primary-glow);
    background: var(--bg-card);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
}

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

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --bg: #f4f7f4;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f4f0;
    --bg-elevated: #e8f0e8;
    --text: #0f1f0f;
    --text-muted: #4a5e4a;
    --text-dim: #8a9e8a;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.14);
    --primary-glow: rgba(30, 138, 62, 0.18);
}

[data-theme="light"] body {
    background: var(--bg);
    color: var(--text);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(244, 247, 244, 0.88);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .orb-1,
[data-theme="light"] .orb-2,
[data-theme="light"] .orb-3 {
    opacity: 0.18;
}

[data-theme="light"] .hero h1,
[data-theme="light"] .section h2 {
    color: var(--text);
}

[data-theme="light"] .visual-content {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .code-header {
    background: rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-links {
    background: #ffffff;
    border-left-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .services {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(30, 138, 62, 0.06) 50%, var(--bg) 100%);
}

[data-theme="light"] .contact {
    background: linear-gradient(180deg, var(--bg) 0%, rgba(30, 138, 62, 0.06) 100%);
}

[data-theme="light"] .marquee-strip {
    background: rgba(30, 138, 62, 0.05);
}

[data-theme="light"] .service-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .service-card:hover {
    background: #f8fcf8;
    border-color: rgba(30, 138, 62, 0.3);
    box-shadow: 0 8px 32px rgba(30, 138, 62, 0.12);
}

[data-theme="light"] .service-card.featured {
    background: linear-gradient(135deg, rgba(30, 138, 62, 0.08), rgba(30, 138, 62, 0.03));
    border-color: rgba(30, 138, 62, 0.25);
}

[data-theme="light"] .contact-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-card:hover {
    background: #f8fcf8;
}

[data-theme="light"] .contact-form {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #f4f7f4;
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: var(--text-dim);
}

[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a9e8a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
}

[data-theme="light"] .floating-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-social a {
    background: #eff3ef;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .about,
[data-theme="light"] .careers {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .menu-toggle span {
    background: var(--text);
}

[data-theme="light"] .mouse {
    border-color: var(--text-dim);
}

[data-theme="light"] .wheel {
    background: var(--text-dim);
}

[data-theme="light"] .stat-divider {
    background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .cursor-ring {
    border-color: rgba(30, 138, 62, 0.4);
}

[data-theme="light"] .cursor-ring.hovered {
    border-color: rgba(30, 138, 62, 0.7);
}

/* ===== NEURAL NETWORK BACKGROUND ===== */
.neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.neural-bg.visible {
    opacity: 1;
}

/* All content layers float above the canvas */
.navbar        { z-index: 1000; }
.hero          { position: relative; z-index: 1; }
.marquee-strip { position: relative; z-index: 1; }
.section       { z-index: 1; }       /* already has position: relative */
.footer        { position: relative; z-index: 1; }
.back-to-top   { z-index: 500; }

/* ===== PAGE LOADER ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    z-index: 500;
    box-shadow: 0 4px 20px var(--primary-glow);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(76, 175, 80, 0.5);
    background: transparent;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    z-index: 9998;
}

.cursor-ring.hovered {
    width: 56px;
    height: 56px;
    border-color: rgba(76, 175, 80, 0.85);
}

@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ===== MARQUEE ===== */
.marquee-strip {
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(30, 138, 62, 0.03);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 28px;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.marquee-content span {
    cursor: default;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.marquee-content span:hover {
    color: var(--primary-light);
    text-shadow: 0 0 12px var(--primary-light), 0 0 24px var(--primary-glow);
    transform: scale(1.15);
}

.marquee-content .msep {
    font-size: 0.55rem;
    color: var(--primary);
    letter-spacing: 0;
    text-transform: none;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== SERVICES BENTO ===== */
.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1200px;
}

.service-card.bento-lg {
    grid-column: span 2;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.service-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(30, 138, 62, 0.1);
    border: 1px solid rgba(30, 138, 62, 0.2);
    color: var(--primary-light);
    letter-spacing: 0.02em;
}

/* ===== GLASSMORPHISM CARDS ===== */
.service-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(30, 138, 62, 0.12), rgba(30, 138, 62, 0.04));
    border-color: rgba(30, 138, 62, 0.25);
}

/* ===== ACTIVE NAV ===== */
.nav-links a.nav-active:not(.btn) {
    color: var(--text);
}

.nav-links a.nav-active:not(.btn)::after {
    width: 100%;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-grid.reverse {
        direction: ltr;
    }

    .services-bento {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: 1.9rem;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-content h2 {
        font-size: 1.7rem;
    }

    .services-bento {
        grid-template-columns: 1fr;
    }

    .service-card.bento-lg {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .careers-visual {
        height: 300px;
    }

    .floating-card {
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .fc-icon {
        width: 32px;
        height: 32px;
    }

    .card-1 { top: 10px;  left: 5%;  }
    .card-2 { top: 80px;  right: 2%; }
    .card-3 { bottom: 90px; left: 2%; }
    .card-4 { bottom: 20px; right: 10%; }

    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .contact-info-cards {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .about-features {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 48px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-badge {
        font-size: 0.78rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.65rem;
    }

    .service-card {
        padding: 28px 24px;
    }

    .careers-visual {
        height: 260px;
    }

    .floating-card {
        padding: 10px 14px;
    }

    .code-body {
        font-size: 0.8rem;
        overflow-x: auto;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo {
        height: 26px;
    }

    .marquee-content span {
        font-size: 0.72rem;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    box-shadow: 0 0 12px var(--primary-glow), 0 0 24px var(--primary-glow);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}
