:root {
    --bg-primary: #0b0f14;
    --bg-secondary: #0f1620;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: #6b9ab0;
    --accent-light: #8ab4c2;
    --accent-dark: #4a7080;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 14px;
    --max-width: 1200px;
    --transition: 0.25s ease;

    /* Service card accent colors */
    --c-db: #f59e0b;
    --c-cloud: #38bdf8;
    --c-perf: #f472b6;
    --c-monitor: #34d399;
    --c-data: #a78bfa;
    --c-migration: #fb7185;
    --c-train: #2dd4bf;
    --c-security: #f87171;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient background */
.noise {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float 12s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 20, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 52px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(107, 154, 176, 0.4));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a:not(.btn) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(107, 154, 176, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107, 154, 176, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    box-shadow: 0 0 20px rgba(107, 154, 176, 0.15);
}

.btn-lg {
    padding: 14px 32px;
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 154, 176, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 154, 176, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px);
    }
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.5;
}

.glow-1 {
    top: 15%;
    left: 55%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 60%);
    animation: pulse 8s ease-in-out infinite;
}

.glow-2 {
    bottom: 10%;
    right: 60%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.22), transparent 60%);
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    max-width: 760px;
    animation: fadeInUp 1s ease forwards;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-visual {
    display: block;
    position: relative;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    margin-top: 50px;
}

@media (min-width: 1024px) {
    .hero-visual {
        margin-top: 0;
    }
}

.hero-visual svg {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

@media (max-width: 768px) {
    .hero-visual svg {
        max-width: 100%;
    }
}

.chart-card {
    background: linear-gradient(135deg, rgba(15, 22, 32, 0.9), rgba(11, 15, 20, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(56, 189, 248, 0.1);
    backdrop-filter: blur(10px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    animation: chartFloat 6s ease-in-out infinite;
}

@keyframes chartFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(-10px); }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-status {
    color: var(--c-monitor);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-monitor);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-monitor);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.chart-grid {
    stroke: rgba(255,255,255,0.06);
    stroke-width: 1;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.chart-area {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.perf-area { fill: url(#perfGradient); }
.cost-area { fill: url(#costGradient); }

.chart-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

.perf-line {
    stroke: #38bdf8;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
    animation: drawLine 2s ease 0.3s forwards;
}

.cost-line {
    stroke: #34d399;
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
    animation: drawLine 2s ease 0.6s forwards;
}

.chart-dot {
    opacity: 0;
    animation: popDot 0.4s ease forwards;
}

.chart-dot:nth-child(10) { animation-delay: 0.8s; }
.chart-dot:nth-child(11) { animation-delay: 1.0s; }
.chart-dot:nth-child(12) { animation-delay: 1.2s; }
.chart-dot:nth-child(13) { animation-delay: 1.1s; }
.chart-dot:nth-child(14) { animation-delay: 1.3s; }

.chart-dot-pulse {
    fill: #38bdf8;
    stroke: #38bdf8;
    stroke-width: 3;
    animation: popDot 0.4s ease 1.2s forwards, dotPulse 2s ease-in-out 1.6s infinite;
}

.cost-dot {
    fill: #0b0f14;
    stroke: #34d399;
    stroke-width: 3;
}

.cost-dot-pulse {
    fill: #34d399;
    stroke: #34d399;
    stroke-width: 3;
    animation: popDot 0.4s ease 1.3s forwards, dotPulseGreen 2s ease-in-out 1.7s infinite;
}

@keyframes dotPulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
}

.chart-legend {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-item::before {
    content: '';
    width: 12px;
    height: 3px;
    border-radius: 2px;
}

.legend-perf::before { background: #38bdf8; }
.legend-cost::before { background: #34d399; }

@keyframes popDot {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-visual text {
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: glowText 3s ease-in-out infinite;
}

@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 0 transparent;
    }
    50% {
        text-shadow: 0 0 12px rgba(107, 154, 176, 0.4);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--accent-light) 60%, var(--c-cloud) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
}

@media (max-width: 1100px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 28px;
    }
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-light), var(--c-cloud));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stats span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Sections */
section {
    padding: 110px 0;
}

.section-header {
    max-width: 720px;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Services */
.services {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

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

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

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

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(
        600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

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

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(107, 154, 176, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 30px rgba(107, 154, 176, 0.08);
}

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

.service-db { border-color: rgba(245, 158, 11, 0.35); }
.service-cloud { border-color: rgba(56, 189, 248, 0.35); }
.service-perf { border-color: rgba(244, 114, 182, 0.35); }
.service-monitor { border-color: rgba(52, 211, 153, 0.35); }
.service-data { border-color: rgba(167, 139, 250, 0.35); }
.service-migration { border-color: rgba(251, 113, 133, 0.35); }
.service-train { border-color: rgba(45, 212, 191, 0.35); }
.service-security { border-color: rgba(248, 113, 113, 0.35); }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 154, 176, 0.12);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--accent-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-4deg);
    background: rgba(107, 154, 176, 0.2);
    box-shadow: 0 0 20px rgba(107, 154, 176, 0.2);
}

/* Colored service cards */
.service-db .service-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0.12)); color: #fbbf24; }
.service-db:hover { border-color: rgba(245, 158, 11, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(245, 158, 11, 0.18); }
.service-db:hover .service-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.38), rgba(245, 158, 11, 0.2)); box-shadow: 0 0 28px rgba(245, 158, 11, 0.4); }
.service-db:hover::before { background: linear-gradient(90deg, transparent, var(--c-db), transparent); }

.service-cloud .service-icon { background: linear-gradient(135deg, rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0.12)); color: #7dd3fc; }
.service-cloud:hover { border-color: rgba(56, 189, 248, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(56, 189, 248, 0.18); }
.service-cloud:hover .service-icon { background: linear-gradient(135deg, rgba(56, 189, 248, 0.38), rgba(56, 189, 248, 0.2)); box-shadow: 0 0 28px rgba(56, 189, 248, 0.4); }
.service-cloud:hover::before { background: linear-gradient(90deg, transparent, var(--c-cloud), transparent); }

.service-perf .service-icon { background: linear-gradient(135deg, rgba(244, 114, 182, 0.28), rgba(244, 114, 182, 0.12)); color: #f9a8d4; }
.service-perf:hover { border-color: rgba(244, 114, 182, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(244, 114, 182, 0.18); }
.service-perf:hover .service-icon { background: linear-gradient(135deg, rgba(244, 114, 182, 0.38), rgba(244, 114, 182, 0.2)); box-shadow: 0 0 28px rgba(244, 114, 182, 0.4); }
.service-perf:hover::before { background: linear-gradient(90deg, transparent, var(--c-perf), transparent); }

.service-monitor .service-icon { background: linear-gradient(135deg, rgba(52, 211, 153, 0.28), rgba(52, 211, 153, 0.12)); color: #6ee7b7; }
.service-monitor:hover { border-color: rgba(52, 211, 153, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(52, 211, 153, 0.18); }
.service-monitor:hover .service-icon { background: linear-gradient(135deg, rgba(52, 211, 153, 0.38), rgba(52, 211, 153, 0.2)); box-shadow: 0 0 28px rgba(52, 211, 153, 0.4); }
.service-monitor:hover::before { background: linear-gradient(90deg, transparent, var(--c-monitor), transparent); }

.service-data .service-icon { background: linear-gradient(135deg, rgba(167, 139, 250, 0.28), rgba(167, 139, 250, 0.12)); color: #c4b5fd; }
.service-data:hover { border-color: rgba(167, 139, 250, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(167, 139, 250, 0.18); }
.service-data:hover .service-icon { background: linear-gradient(135deg, rgba(167, 139, 250, 0.38), rgba(167, 139, 250, 0.2)); box-shadow: 0 0 28px rgba(167, 139, 250, 0.4); }
.service-data:hover::before { background: linear-gradient(90deg, transparent, var(--c-data), transparent); }

.service-migration .service-icon { background: linear-gradient(135deg, rgba(251, 113, 133, 0.28), rgba(251, 113, 133, 0.12)); color: #fda4af; }
.service-migration:hover { border-color: rgba(251, 113, 133, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(251, 113, 133, 0.18); }
.service-migration:hover .service-icon { background: linear-gradient(135deg, rgba(251, 113, 133, 0.38), rgba(251, 113, 133, 0.2)); box-shadow: 0 0 28px rgba(251, 113, 133, 0.4); }
.service-migration:hover::before { background: linear-gradient(90deg, transparent, var(--c-migration), transparent); }

.service-train .service-icon { background: linear-gradient(135deg, rgba(45, 212, 191, 0.28), rgba(45, 212, 191, 0.12)); color: #5eead4; }
.service-train:hover { border-color: rgba(45, 212, 191, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(45, 212, 191, 0.18); }
.service-train:hover .service-icon { background: linear-gradient(135deg, rgba(45, 212, 191, 0.38), rgba(45, 212, 191, 0.2)); box-shadow: 0 0 28px rgba(45, 212, 191, 0.4); }
.service-train:hover::before { background: linear-gradient(90deg, transparent, var(--c-train), transparent); }

.service-security .service-icon { background: linear-gradient(135deg, rgba(248, 113, 113, 0.28), rgba(248, 113, 113, 0.12)); color: #fca5a5; }
.service-security:hover { border-color: rgba(248, 113, 113, 0.55); box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 32px rgba(248, 113, 113, 0.18); }
.service-security:hover .service-icon { background: linear-gradient(135deg, rgba(248, 113, 113, 0.38), rgba(248, 113, 113, 0.2)); box-shadow: 0 0 28px rgba(248, 113, 113, 0.4); }
.service-security:hover::before { background: linear-gradient(90deg, transparent, var(--c-security), transparent); }

.service-icon, .service-card h3, .service-card p {
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-quote {
    font-size: 1.25rem;
    color: var(--accent-light);
    font-weight: 600;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
}

.about-list {
    list-style: none;
    margin-top: 28px;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--c-monitor);
    font-weight: 700;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.terminal {
    width: 100%;
    max-width: 460px;
    background: rgba(10, 14, 18, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(56, 189, 248, 0.08);
    transition: var(--transition);
    animation: floatTerminal 6s ease-in-out infinite;
}

@keyframes floatTerminal {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.terminal-header {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.terminal-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-dark);
    transition: var(--transition);
}

.terminal-header span:nth-child(1) { background: #ff5f56; }
.terminal-header span:nth-child(2) { background: #ffbd2e; }
.terminal-header span:nth-child(3) { background: #27c93f; }

.terminal:hover .terminal-header span:nth-child(1) { box-shadow: 0 0 10px #ff5f56; }
.terminal:hover .terminal-header span:nth-child(2) { box-shadow: 0 0 10px #ffbd2e; }
.terminal:hover .terminal-header span:nth-child(3) { box-shadow: 0 0 10px #27c93f; }

.terminal pre {
    padding: 24px;
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: auto;
    min-height: 220px;
    white-space: pre-wrap;
    word-break: break-word;
}

.cursor {
    display: inline-block;
    width: 8px;
    background: var(--accent-light);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Stack */
.stack {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.stack-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.stack-intro {
    max-width: 420px;
}

.stack-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.stack-orbit {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 460px;
    margin: 0 auto;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fcd34d, #f59e0b, #ea580c);
    border: 2px solid rgba(252, 211, 77, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.orbit-center strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.orbit-center span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring-1 {
    width: 260px;
    height: 260px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.orbit-ring-2 {
    width: 420px;
    height: 420px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 9px 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #fff;
    white-space: nowrap;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.orbit-item:hover {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 20;
}

/* Anel interno: cores sistema solar */
.orbit-ring-1 .orbit-item:nth-child(1) { background: linear-gradient(135deg, #f97316, #ea580c); border-color: rgba(249, 115, 22, 0.6); box-shadow: 0 0 14px rgba(249, 115, 22, 0.35); animation: orbit1 22s linear infinite; }
.orbit-ring-1 .orbit-item:nth-child(2) { background: linear-gradient(135deg, #ef4444, #b91c1c); border-color: rgba(239, 68, 68, 0.6); box-shadow: 0 0 14px rgba(239, 68, 68, 0.35); animation: orbit1 22s linear infinite -3.66s; }
.orbit-ring-1 .orbit-item:nth-child(3) { background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 14px rgba(59, 130, 246, 0.35); animation: orbit1 22s linear infinite -7.33s; }
.orbit-ring-1 .orbit-item:nth-child(4) { background: linear-gradient(135deg, #10b981, #047857); border-color: rgba(16, 185, 129, 0.6); box-shadow: 0 0 14px rgba(16, 185, 129, 0.35); animation: orbit1 22s linear infinite -11s; }
.orbit-ring-1 .orbit-item:nth-child(5) { background: linear-gradient(135deg, #8b5cf6, #6d28d9); border-color: rgba(139, 92, 246, 0.6); box-shadow: 0 0 14px rgba(139, 92, 246, 0.35); animation: orbit1 22s linear infinite -14.66s; }
.orbit-ring-1 .orbit-item:nth-child(6) { background: linear-gradient(135deg, #ec4899, #be185d); border-color: rgba(236, 72, 153, 0.6); box-shadow: 0 0 14px rgba(236, 72, 153, 0.35); animation: orbit1 22s linear infinite -18.33s; }

/* Anel externo: cores sistema solar, sentido contrario */
.orbit-ring-2 .orbit-item:nth-child(1) { background: linear-gradient(135deg, #f59e0b, #d97706); border-color: rgba(245, 158, 11, 0.6); box-shadow: 0 0 14px rgba(245, 158, 11, 0.35); animation: orbit2 32s linear infinite reverse; }
.orbit-ring-2 .orbit-item:nth-child(2) { background: linear-gradient(135deg, #06b6d4, #0891b2); border-color: rgba(6, 182, 212, 0.6); box-shadow: 0 0 14px rgba(6, 182, 212, 0.35); animation: orbit2 32s linear infinite reverse -6.4s; }
.orbit-ring-2 .orbit-item:nth-child(3) { background: linear-gradient(135deg, #84cc16, #65a30d); border-color: rgba(132, 204, 22, 0.6); box-shadow: 0 0 14px rgba(132, 204, 22, 0.35); animation: orbit2 32s linear infinite reverse -12.8s; }
.orbit-ring-2 .orbit-item:nth-child(4) { background: linear-gradient(135deg, #6366f1, #4338ca); border-color: rgba(99, 102, 241, 0.6); box-shadow: 0 0 14px rgba(99, 102, 241, 0.35); animation: orbit2 32s linear infinite reverse -19.2s; }
.orbit-ring-2 .orbit-item:nth-child(5) { background: linear-gradient(135deg, #f43f5e, #e11d48); border-color: rgba(244, 63, 94, 0.6); box-shadow: 0 0 14px rgba(244, 63, 94, 0.35); animation: orbit2 32s linear infinite reverse -25.6s; }

@keyframes orbit1 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(130px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(130px) rotate(-360deg); }
}

@keyframes orbit2 {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(210px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(210px) rotate(-360deg); }
}

@media (max-width: 1024px) {
    .stack-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stack-intro {
        max-width: 100%;
        text-align: center;
    }

    .stack-orbit {
        order: -1;
        max-width: 480px;
        height: 400px;
    }

    .orbit-ring-1 {
        width: 220px;
        height: 220px;
    }

    .orbit-ring-2 {
        width: 360px;
        height: 360px;
    }

    @keyframes orbit1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(110px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(110px) rotate(-360deg); }
    }

    @keyframes orbit2 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(180px) rotate(-360deg); }
    }
}

@media (max-width: 768px) {
    .stack-orbit {
        max-width: 340px;
        height: 300px;
    }

    .orbit-center {
        width: 80px;
        height: 80px;
    }

    .orbit-center strong {
        font-size: 0.85rem;
    }

    .orbit-center span {
        font-size: 0.65rem;
    }

    .orbit-ring-1 {
        width: 160px;
        height: 160px;
    }

    .orbit-ring-2 {
        width: 260px;
        height: 260px;
    }

    .orbit-item {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    @keyframes orbit1 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg); }
    }

    @keyframes orbit2 {
        from { transform: translate(-50%, -50%) rotate(0deg) translateX(130px) rotate(0deg); }
        to { transform: translate(-50%, -50%) rotate(360deg) translateX(130px) rotate(-360deg); }
    }
}

.clients-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.clients-logos span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.8;
    transition: var(--transition);
}

.clients-logos span:hover {
    opacity: 1;
    color: var(--accent-light);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-list {
    list-style: none;
    margin-bottom: 32px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.contact-list a {
    color: var(--accent-light);
    transition: var(--transition);
}

.contact-list a:hover {
    color: var(--text-primary);
}

.contact-list svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--accent);
}

.social a {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social a:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-3px);
}

.social svg {
    width: 20px;
    height: 20px;
}

/* Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(
        600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
        rgba(107, 154, 176, 0.08),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-form:hover::after {
    opacity: 1;
}

.contact-form:hover {
    border-color: rgba(107, 154, 176, 0.2);
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.honeypot {
    display: none !important;
}

.h-captcha {
    display: flex;
    justify-content: center;
    margin: 8px 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(107, 154, 176, 0.1);
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo img {
    height: 44px;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(107, 154, 176, 0.4));
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-dev {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.6;
}

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

    .about-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(11, 15, 20, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a:not(.btn) {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .nav-menu .btn {
        margin-top: 8px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-grid {
        animation: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        gap: 28px;
    }

    section {
        padding: 80px 0;
    }

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

    .contact-form {
        padding: 28px;
    }

    .terminal {
        max-width: 100%;
    }

    .terminal pre {
        padding: 16px;
        font-size: 0.75rem;
        min-height: 180px;
    }

    .about-visual {
        width: 100%;
        overflow: hidden;
    }
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
