/* VARiS — Full-bleed · CI: Teal + Gold on Mono · MAX IMPACT */
:root {
    --bg: #0a0a0a;
    --bg-alt: #0f0f0f;
    --card-bg: #141414;
    --text: #f0f0f0;
    --text-dim: #f0b030;
    --text-mid: #bbb;
    --ci-teal: #10b0d0;
    --ci-gold: #f0b030;
    --border: rgba(255,255,255,0.3);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

#bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* Navigation */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid var(--border);
}
.nav-inner {
    padding: 20px 5vw;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 2;
}
.logo-img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    color: var(--text-dim); text-decoration: none; font-size: 13px;
    font-weight: 500; letter-spacing: 2px; transition: color 0.2s;
    text-transform: uppercase;
}
.nav-links a:hover { color: #fff; }

.lang-btn {
    background: transparent;
    border: none;
    color: #bbb;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px; letter-spacing: 1px; font-weight: 700;
    transition: all 0.3s;
}
.lang-btn:hover { color: #fff; background: rgba(16,176,208,0.15); }

/* Hero */
.hero {
    position: relative; z-index: 1;
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 5vw 80px;
}
.hero-inner { width: 100%; }

.hero-logo {
    width: min(520px, 85vw);
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 60px rgba(16,176,208,0.35));
}

.hero-tagline {
    font-size: clamp(20px, 3vw, 28px); color: var(--ci-teal); margin-top: 0;
    letter-spacing: 3px; font-weight: 500; line-height: 1.3;
}

/* Hero accents */
.hero-geo { position: absolute; pointer-events: none; }
.hero-geo-1 {
    top: 18%; left: 8%; width: 200px; height: 200px;
    border: 4px solid rgba(255,255,255,0.2); border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
.hero-geo-2 {
    bottom: 22%; right: 10%; width: 130px; height: 130px;
    border: 4px solid rgba(240,176,48,0.2); transform: rotate(45deg);
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

.hero-sub {
    font-size: clamp(18px, 2vw, 23px); color: var(--ci-gold);
    font-weight: 300; margin: 0;
}

/* Scroll */
.scroll-indicator {
    position: absolute; bottom: 56px;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--ci-gold);
    animation: breathe 2.5s ease-in-out infinite;
}
.scroll-indicator svg {
    width: 25px; height: 25px;
}
@keyframes breathe {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(6px); }
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
    position: relative; z-index: 1;
    padding: clamp(80px, 12vh, 160px) 5vw;
}
.section-alt { background: var(--bg-alt); }
.section-inner { width: 100%; position: relative; }

.section-title {
    font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.5px;
    text-transform: uppercase; margin-bottom: clamp(48px, 7vh, 80px); text-align: center;
    color: var(--ci-teal);
}

/* === Services === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.service-card {
    background: var(--card-bg);
    border: 3px solid var(--border);
    padding: clamp(40px, 4vw, 72px) clamp(28px, 3vw, 56px) clamp(36px, 4vw, 64px);
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.service-card:hover {
    border-color: var(--ci-teal);
    background: #1a1a1a;
    transform: translateY(-8px);
    box-shadow: 0 12px 50px rgba(16,176,208,0.15);
}
.service-num {
    font-size: clamp(72px, 10vw, 130px); font-weight: 900; line-height: 1;
    color: rgba(255,255,255,0.06);
    position: absolute; top: 8px; right: 16px;
    pointer-events: none;
    font-family: "SF Mono", "Fira Code", monospace;
}
.service-card:hover .service-num { color: rgba(16,176,208,0.15); }
.service-card h3 {
    font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; margin-bottom: 24px;
    color: var(--ci-teal); position: relative; z-index: 1;
}
.service-card p {
    color: var(--text-dim); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.8;
    position: relative; z-index: 1; flex: 1;
}
.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ci-teal);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; }

/* === Tech === */
.tech-grid { display: flex; flex-direction: column; gap: 4px; }
.tech-item {
    display: flex; align-items: flex-start; gap: clamp(24px, 5vw, 70px);
    padding: clamp(32px, 3vw, 60px) clamp(28px, 4vw, 64px);
    border: 3px solid var(--border);
    background: var(--card-bg);
    transition: all 0.3s;
}
.tech-item:hover {
    border-color: var(--ci-teal);
    background: #1a1a1a;
}
.tech-marker {
    flex-shrink: 0; width: clamp(40px, 5vw, 70px); height: 4px;
    background: var(--ci-teal); margin-top: 16px;
}
.tech-body { flex: 1; }
.tech-body h3 {
    font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; color: var(--ci-teal); margin-bottom: 10px;
}
.tech-body p {
    color: var(--text-dim); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.7;
}

/* === About === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 120px);
    align-items: center;
}
.about-grid p {
    color: var(--text-dim); margin-bottom: 24px;
    font-size: clamp(16px, 1.5vw, 20px); line-height: 1.9; font-weight: 300;
}
.about-grid p strong { color: var(--ci-teal); font-weight: 700; }

.about-visual {
    position: relative; width: clamp(240px, 28vw, 400px); height: clamp(240px, 28vw, 400px);
    margin: 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.geo-ring {
    position: absolute; border: 4px dashed rgba(16,176,208,0.55);
    border-radius: 50%;
}
.geo-ring-1 { width: 100%; height: 100%; animation: spin 25s linear infinite; }
.geo-ring-2 {
    width: 70%; height: 70%; animation: spin 18s linear infinite reverse;
    border-width: 4px;
}
.geo-ring-3 {
    width: 40%; height: 40%; animation: spin 12s linear infinite;
    border-width: 4px;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-core {
    width: 12px; height: 12px;
    background: var(--ci-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--ci-gold), 0 0 60px rgba(240,176,48,0.5);
    position: relative; z-index: 2;
    animation: core-pulse 3s ease-in-out infinite;
}
@keyframes core-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.8); opacity: 1; }
}

/* === Contact === */
.contact-center { text-align: center; }
.contact-intro {
    color: var(--text-dim); font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 56px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 24px 64px;
    background: transparent;
    color: var(--ci-teal);
    text-decoration: none;
    font-size: 18px; font-weight: 800; letter-spacing: 1px;
    border: 3px solid var(--ci-teal);
    transition: all 0.35s;
}
.btn-primary:hover {
    background: var(--ci-teal);
    color: #000;
    box-shadow: 0 0 50px rgba(16,176,208,0.4);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    position: relative; z-index: 1;
    text-align: center; padding: 40px 5vw;
    border-top: 3px solid var(--border);
    color: var(--ci-teal); font-size: 13px; letter-spacing: 1px;
}

/* Reveal */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === MOBILE === */
@media (max-width: 768px) {
    .nav-inner { padding: 12px 4vw; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 11px; letter-spacing: 1px; }
    .logo-img { height: 26px; }

    .lang-btn {
        padding: 6px 12px; font-size: 11px; border-width: 2px;
    }

    .hero { padding: 100px 5vw 60px; }
    .hero-logo { width: min(280px, 75vw); }
    .hero-geo { display: none; }

    .section { padding: 64px 5vw; }

    .services-grid { grid-template-columns: 1fr; gap: 3px; }
    .service-card { padding: 40px 28px 36px; border-width: 2px; }
    .service-num { font-size: 70px; right: 12px; }

    .tech-item { flex-direction: column; gap: 14px; padding: 32px 28px; border-width: 2px; }
    .tech-marker { width: 36px; margin-top: 0; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { width: 200px; height: 200px; }

    .btn-primary { padding: 20px 48px; border-width: 2px; }
}
