/* ============================================
   VS Tech & Design — Global Styles
   ============================================ */

/* ---------- Glow & Glass ---------- */
.glow-sm {
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.glow-md {
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

.glass-surface {
    backdrop-filter: blur(12px);
    background: rgba(13, 25, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Accent Colors ---------- */
.teal-accent {
    color: #2dd4bf;
}

.teal-border {
    border-color: #2dd4bf;
}

.teal-bg {
    background-color: #2dd4bf;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

/* ============================================
   HERO — ANIMATED BACKGROUND GRID
   ============================================ */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridDrift 20s linear infinite;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 48px 48px; }
}

/* Scanlines overlay */
.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.04) 2px,
        rgba(0, 0, 0, 0.04) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   TYPEWRITER EFFECT
   ============================================ */
.typewriter-cursor::after {
    content: '|';
    color: #2dd4bf;
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
}

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

/* ============================================
   FLOATING METRIC CARDS (Hero)
   ============================================ */
.metric-card {
    backdrop-filter: blur(16px);
    background: rgba(13, 25, 45, 0.85);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatY 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.08);
}

.metric-card:nth-child(2) { animation-delay: -1.3s; }
.metric-card:nth-child(3) { animation-delay: -2.6s; }

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

.metric-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.8);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: fadeInUp 2s ease 1.5s both;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(45, 212, 191, 0.6);
    font-family: 'Inter', sans-serif;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(45, 212, 191, 0.4);
    border-radius: 11px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-mouse::before {
    content: '';
    width: 3px;
    height: 8px;
    background: #2dd4bf;
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stat-card {
    text-align: center;
    padding: 32px 16px;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(45, 212, 191, 0.3), transparent);
}

.stat-card:last-child::after {
    display: none;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: #2dd4bf;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(45, 212, 191, 0.4);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(198, 198, 204, 0.8);
    margin-top: 8px;
}

.stats-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 212, 191, 0.4), transparent);
    margin: 0 auto;
    width: 80%;
}

/* ============================================
   PROCESS / HOW WE WORK SECTION
   ============================================ */
.process-line {
    position: absolute;
    top: 28px;
    left: 50%;
    right: -50%;
    height: 1px;
    background: linear-gradient(to right, rgba(45, 212, 191, 0.5), rgba(45, 212, 191, 0.1));
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.process-icon-wrap {
    width: 56px;
    height: 56px;
    border: 2px solid rgba(45, 212, 191, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    background: #081425;
    transition: all 0.4s ease;
}

.process-icon-wrap:hover {
    border-color: #2dd4bf;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
    background: rgba(45, 212, 191, 0.05);
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #2dd4bf;
    color: #081425;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2dd4bf;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(8, 20, 37, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(45, 212, 191, 0.15);
    z-index: 150;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 32px;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #c6c6cc;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 16px;
}

.mobile-nav a:hover {
    color: #2dd4bf;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 140;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   CARDS — Gradient Border on Hover
   ============================================ */
.pillar-card {
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #2dd4bf, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

/* ============================================
   SOCIAL FLOATING BUTTONS — Pulse Animation
   ============================================ */
.float-btn {
    transition: transform 0.3s ease;
}

.float-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: ringPulse 2.5s ease-out infinite;
}

.float-btn-wa::before { background: rgba(37, 211, 102, 0.3); }
.float-btn-tg::before { background: rgba(0, 136, 204, 0.3); }

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .desktop-nav,
    .desktop-cta {
        display: none !important;
    }

    .stat-card::after {
        display: none;
    }

    .stat-number {
        font-size: 40px;
    }

    .process-line {
        display: none;
    }

    .metric-card {
        display: none;
    }
}
