/* ============================================
   AutomizeLabs — Cyberpunk neon landing
   ============================================ */

:root {
    --bg-0: #050510;
    --bg-1: #0a0a18;
    --bg-2: #0f0f24;
    --bg-card: rgba(15, 15, 36, 0.55);
    --bg-elev: rgba(20, 20, 45, 0.7);

    --neon-green: #00ff88;
    --neon-green-2: #39ff14;
    --neon-cyan: #00f0ff;
    --neon-cyan-2: #00d4ff;
    --neon-pink: #ff2ec7;

    --text-primary: #e6fff5;
    --text-secondary: #8a9bb3;
    --text-muted: #5a6a82;

    --border: rgba(0, 240, 255, 0.12);
    --border-strong: rgba(0, 240, 255, 0.35);

    --glow-green: 0 0 24px rgba(0, 255, 136, 0.45), 0 0 60px rgba(0, 255, 136, 0.18);
    --glow-cyan: 0 0 24px rgba(0, 240, 255, 0.45), 0 0 60px rgba(0, 240, 255, 0.18);

    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    --max-w: 1240px;
    --radius: 4px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-display);
    background: var(--bg-0);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 240, 255, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 90%, rgba(0, 255, 136, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 10% 60%, rgba(255, 46, 199, 0.05), transparent);
    background-attachment: fixed;
}

/* ---- Background layers ---- */
#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 80%);
}

.scanlines {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.accent-green { color: var(--neon-green); text-shadow: 0 0 12px rgba(0, 255, 136, 0.5); }
.accent-cyan { color: var(--neon-cyan); text-shadow: 0 0 12px rgba(0, 240, 255, 0.5); }

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(5, 5, 16, 0.65);
    border-bottom: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 16, 0.92);
    border-bottom-color: var(--border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: filter 0.3s;
}

.logo:hover { filter: drop-shadow(0 0 8px var(--neon-cyan)); }

.logo-bracket {
    color: var(--neon-cyan);
    font-weight: 400;
}

.logo-cursor {
    color: var(--neon-green);
    animation: blink 1s infinite step-end;
    margin-left: 2px;
}

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

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}

.nav-links a::before {
    content: attr(data-num);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin-right: 6px;
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    transition: width 0.3s var(--ease);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon-green);
    transform: translateX(-101%);
    transition: transform 0.3s var(--ease);
    z-index: -1;
}

.nav-cta:hover {
    color: var(--bg-0);
    box-shadow: var(--glow-green);
}

.nav-cta:hover::before {
    transform: translateX(0);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 10px 8px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--neon-cyan);
    transition: all 0.3s;
}

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

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 60%);
    filter: blur(60px);
    z-index: 1;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.15); }
}

.hero-inner {
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    background: rgba(0, 240, 255, 0.04);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--neon-cyan);
    margin-bottom: 36px;
    letter-spacing: 0.05em;
    animation: tag-appear 0.8s var(--ease) 0.1s both;
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse-dot 2s infinite;
}

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

@keyframes tag-appear {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero-line-1, .hero-line-2 {
    display: block;
    animation: line-up 1s var(--ease) both;
}

.hero-line-1 {
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
    animation-delay: 0.2s;
}

.hero-line-2 {
    animation-delay: 0.4s;
    background: linear-gradient(120deg, var(--neon-cyan) 0%, var(--neon-green) 50%, var(--neon-cyan) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: line-up 1s var(--ease) 0.4s both, gradient-shift 6s linear infinite;
    filter: drop-shadow(0 0 24px rgba(0, 240, 255, 0.4));
}

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

@keyframes gradient-shift {
    to { background-position: 200% center; }
}

.strike {
    position: relative;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
    font-weight: 600;
}

.strike::after {
    content: '';
    position: absolute;
    left: -4%;
    right: -4%;
    top: 50%;
    height: 4px;
    background: var(--neon-pink);
    box-shadow: 0 0 12px var(--neon-pink);
    transform: rotate(-3deg);
    animation: strike-in 0.6s var(--ease) 1.2s both;
    transform-origin: left;
}

@keyframes strike-in {
    from { transform: rotate(-3deg) scaleX(0); }
    to { transform: rotate(-3deg) scaleX(1); }
}

.hero-typed-wrap {
    display: inline-block;
    margin-left: 12px;
}

.caret {
    color: var(--neon-green);
    animation: blink 0.8s infinite step-end;
    font-weight: 300;
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: line-up 1s var(--ease) 0.6s both;
}

.hero-sub strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: line-up 1s var(--ease) 0.8s both;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    background: transparent;
}

.btn-primary {
    color: var(--bg-0);
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    font-weight: 700;
}

.btn-primary .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.7), 0 0 80px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-ghost {
    color: var(--neon-cyan);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    color: var(--text-primary);
}

/* ---- Hero stats ---- */
.hero-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: line-up 1s var(--ease) 1s both;
}

.stat-sep {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, var(--border-strong), transparent);
}

.stat-num {
    font-family: var(--font-mono);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
    line-height: 1;
}

.stat-num span {
    color: var(--neon-green);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
    font-family: var(--font-mono);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    background: var(--neon-cyan);
    top: -12px;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: scroll-down 2s var(--ease) infinite;
}

@keyframes scroll-down {
    0% { top: -12px; }
    100% { top: 100%; }
}

/* ---- Section heads ---- */
.section-head {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-head-left {
    text-align: left;
    margin-left: 0;
    margin-bottom: 40px;
}

.section-num {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---- Services ---- */
.services {
    padding: 120px 0;
    position: relative;
}

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

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 240, 255, 0.04) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green), var(--neon-cyan));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    animation: gradient-shift 4s linear infinite;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.15);
}

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

.service-card-featured {
    border-color: var(--border-strong);
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.05), var(--bg-card));
}

.service-card-featured::before {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08) 0%, transparent 50%, rgba(0, 240, 255, 0.08) 100%);
    opacity: 1;
}

.service-card-featured:hover {
    border-color: var(--neon-green);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.25);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    background: var(--neon-green);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.card-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
    transition: all 0.4s var(--ease);
}

.service-card-featured .card-icon {
    color: var(--neon-green);
    filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.5));
}

.service-card:hover .card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}

.card-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-family: var(--font-mono);
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 700;
}

.service-card-featured .card-list li::before { color: var(--neon-green); }
.service-card .card-list li::before { color: var(--neon-cyan); }

.card-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-cyan);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.service-card-featured .card-corner {
    border-color: var(--neon-green);
    opacity: 0.5;
}

/* ---- Tech stack ---- */
.tech-stack {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.stack-label {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.stack-items {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.stack-items span {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: all 0.3s;
    cursor: default;
}

.stack-items span:hover {
    color: var(--neon-green);
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.6);
}

.stack-items i {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    opacity: 0.4;
}

/* ---- About ---- */
.about {
    padding: 120px 0;
    position: relative;
}

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

.about-lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-lead strong {
    color: var(--neon-cyan);
    font-weight: 700;
}

.about-text > p:not(.about-lead) {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-pillars {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.pillar {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    align-items: start;
    padding: 16px;
    border-left: 2px solid var(--border-strong);
    transition: all 0.3s var(--ease);
}

.pillar:hover {
    border-left-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.03);
    transform: translateX(4px);
}

.pillar-icon {
    color: var(--neon-cyan);
    font-size: 1.3rem;
    text-shadow: 0 0 12px var(--neon-cyan);
}

.pillar:nth-child(2) .pillar-icon { color: var(--neon-green); text-shadow: 0 0 12px var(--neon-green); }
.pillar:nth-child(3) .pillar-icon { color: var(--neon-pink); text-shadow: 0 0 12px var(--neon-pink); }

.pillar h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pillar p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ---- Terminal ---- */
.about-terminal {
    background: var(--bg-1);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.08);
    position: relative;
}

.about-terminal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent 50%);
    pointer-events: none;
}

.terminal-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

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

.terminal-head .red { background: #ff5f57; }
.terminal-head .yellow { background: #febc2e; }
.terminal-head .green { background: #28c840; }

.terminal-title {
    margin-left: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px 20px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.terminal-body p {
    margin: 0;
    line-height: 1.7;
}

.term-prompt {
    color: var(--neon-green);
    font-weight: 700;
}

.term-out {
    color: var(--text-primary);
}

.term-cursor {
    color: var(--neon-green);
    animation: blink 1s infinite step-end;
}

/* ---- Contact ---- */
.contact {
    padding: 120px 0;
    position: relative;
}

.contact-card {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    padding: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-green), var(--neon-cyan), transparent);
    background-size: 200% 100%;
    animation: gradient-shift 4s linear infinite;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    text-decoration: none;
    margin-bottom: 14px;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--neon-cyan);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s var(--ease);
}

.contact-btn:hover::before {
    transform: scaleY(1);
}

.contact-btn.whatsapp:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.contact-btn.whatsapp:hover::before { background: var(--neon-green); }

.contact-btn.email:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.contact-btn-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-strong);
    color: var(--neon-cyan);
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-btn.whatsapp .contact-btn-icon { color: var(--neon-green); }

.contact-btn:hover .contact-btn-icon {
    box-shadow: 0 0 16px currentColor;
}

.contact-btn-content {
    flex: 1;
    min-width: 0;
}

.contact-btn-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-btn-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-btn-arrow {
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.contact-btn:hover .contact-btn-arrow {
    color: var(--neon-cyan);
    transform: translate(4px, -4px);
}

.contact-btn.whatsapp:hover .contact-btn-arrow { color: var(--neon-green); }

.contact-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding-left: 40px;
    border-left: 1px solid var(--border);
}

.contact-side-block .label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon-cyan);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.05em;
}

.contact-side-block strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-online .pulse {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--neon-green);
    animation: pulse-dot 1.5s infinite;
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-brand {
    color: var(--text-primary);
    font-weight: 700;
}

.footer-brand .logo-bracket { color: var(--neon-cyan); }

/* ---- Animations on scroll ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .contact-side {
        padding-left: 0;
        padding-top: 28px;
        border-left: none;
        border-top: 1px solid var(--border);
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 18px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }

    .nav-toggle { display: flex; }

    .nav-cta span { display: none; }

    .hero-stats {
        gap: 20px;
    }

    .stat-sep { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .hero { padding: 120px 0 80px; }
    .services, .about, .contact { padding: 80px 0; }
    .section-head { margin-bottom: 56px; }

    .hero-ctas .btn { padding: 14px 24px; font-size: 0.85rem; }

    .contact-btn { padding: 16px; gap: 14px; }
    .contact-btn-value { font-size: 0.95rem; }

    .footer-inner { justify-content: center; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---- Skip link (a11y) ---- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--neon-cyan);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    box-shadow: var(--glow-cyan);
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}
