/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333333;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #ff00ff 100%);
    --gradient-2: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #ff00ff 0%, #00ff88 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Global single-sheet feel: subtle texture and inner vignette */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px) 0 0/3px 3px,
      radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px) 1px 2px/6px 6px;
    opacity: 0.05;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset, 0 0 80px rgba(0,0,0,0.6) inset;
    z-index: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    position: relative;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(40px);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.2); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}
.hero::after { height: 0; background: none; }

/* Centered homepage hero variant */
.hero.center-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.hero.center-hero .hero-visual {
    position: absolute;
    right: -6%;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    opacity: 0.2;
    filter: saturate(0.9) drop-shadow(0 10px 30px rgba(0, 212, 255, 0.15));
    pointer-events: none;
    z-index: 1;
}

.hero.center-hero .hero-text {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero.center-hero .hero-title {
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1.02;
    letter-spacing: -1px;
}

.hero.center-hero .hero-buttons {
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--gradient-3);
    bottom: 20%;
    left: 60%;
    animation-delay: 4s;
}

/* Complex background visuals (replaces old orbs/hologram on homepage hero) */
.hero.center-hero .hero-visual { display: none; }

.hero .complex-bg {
    display: none; /* disable complex visuals for single-sheet look */
}

.hero .complex-bg .bg-grid {
    position: absolute;
    inset: -10%;
    background-image:
        radial-gradient(ellipse at center, rgba(0, 200, 255, 0.18) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(ellipse at 30% 20%, rgba(255, 0, 200, 0.15) 0%, rgba(0, 0, 0, 0) 55%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 255, 170, 0.12) 0%, rgba(0, 0, 0, 0) 55%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 40px);
    filter: blur(0.3px) saturate(1.05);
    transform: translateZ(0);
    animation: gridDrift 28s linear infinite;
}

.hero .complex-bg .bg-rings {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(70vw, 900px);
    height: min(70vw, 900px);
}

.hero .complex-bg .ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.15), inset 0 0 60px rgba(0, 200, 255, 0.1);
    backdrop-filter: blur(1px);
}

.hero .complex-bg .ring-1 { width: 30%; height: 30%; animation: ringPulse 9s ease-in-out infinite; }
.hero .complex-bg .ring-2 { width: 55%; height: 55%; animation: ringPulse 12s ease-in-out infinite reverse; }
.hero .complex-bg .ring-3 { width: 80%; height: 80%; animation: ringPulse 15s ease-in-out infinite; }

.hero .complex-bg .bg-nodes { position: absolute; inset: 0; }
.hero .complex-bg .bg-nodes .node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.65), rgba(0, 255, 170, 0.05));
    box-shadow: 0 0 12px rgba(0, 255, 170, 0.55);
    animation: nodeDrift 22s ease-in-out infinite;
}

/* Seed node positions for visual variation */
.hero .complex-bg .bg-nodes .node:nth-child(1) { left: 18%; top: 22%; animation-delay: -2s; }
.hero .complex-bg .bg-nodes .node:nth-child(2) { left: 72%; top: 28%; animation-delay: -6s; }
.hero .complex-bg .bg-nodes .node:nth-child(3) { left: 62%; top: 64%; animation-delay: -10s; }
.hero .complex-bg .bg-nodes .node:nth-child(4) { left: 26%; top: 66%; animation-delay: -14s; }
.hero .complex-bg .bg-nodes .node:nth-child(5) { left: 44%; top: 36%; animation-delay: -18s; }
.hero .complex-bg .bg-nodes .node:nth-child(6) { left: 82%; top: 72%; animation-delay: -22s; }
.hero .complex-bg .bg-nodes .node:nth-child(7) { left: 10%; top: 78%; animation-delay: -26s; }
.hero .complex-bg .bg-nodes .node:nth-child(8) { left: 90%; top: 16%; animation-delay: -30s; }

/* Keyframes for complex visuals */
@keyframes gridDrift {
    0%   { transform: translate(-2%, -2%) scale(1.02); opacity: 0.9; }
    50%  { transform: translate(2%, 2%) scale(1.03); opacity: 1; }
    100% { transform: translate(-2%, -2%) scale(1.02); opacity: 0.9; }
}

@keyframes ringPulse {
    0%   { transform: translate(-50%, -50%) scale(0.98); opacity: 0.8; }
    50%  { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.98); opacity: 0.8; }
}

@keyframes nodeDrift {
    0%   { transform: translate(0, 0); opacity: 0.85; }
    33%  { transform: translate(6px, -10px); opacity: 1; }
    66%  { transform: translate(-8px, 8px); opacity: 0.95; }
    100% { transform: translate(0, 0); opacity: 0.85; }
}

/* Mobile: keep visuals subtle and non-obstructive */
@media (max-width: 768px) {
    .hero .complex-bg .bg-grid { opacity: 0.4; }
    .hero .complex-bg .bg-rings { display: none; }
    .hero .complex-bg .bg-nodes .node { opacity: 0.7; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-main {
    display: block;
    color: var(--text-primary);
}

.title-accent {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    color: #d6d6d6;
    max-width: 900px;
    margin: 1.2rem auto 2.6rem;
    line-height: 1.75;
    letter-spacing: 0.2px;
}

/* Make hero paragraph feel fuller without changing content */
.hero-description.matrix-text {
    font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    color: #d6d6d6;
    max-width: 900px;
    margin: 0 auto 2.2rem;
    line-height: 1.8;
    letter-spacing: 0.2px;
    text-wrap: balance;
}
.hero-description.matrix-text::before { display: none; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.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: left 0.5s;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: fadeInRight 1s ease-out 0.5s both;
}

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

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: cardFloat 4s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    animation-delay: 3s;
}

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

.card-icon {
    font-size: 2rem;
}

.floating-card span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 18px solid var(--primary-color);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.cyber-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--primary-color-glow);
}

@keyframes cyberGlow {
    0% { text-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
    100% { text-shadow: 0 0 50px rgba(255, 0, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.8); }
}

.matrix-text {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: #b0b0b0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    line-height: 1.75;
}

.matrix-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    animation: matrixScan 4s linear infinite;
}

@keyframes matrixScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section-particles::before,
.section-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.section-particles::after {
    background: #ff00ff;
    animation-delay: -3s;
    left: 50px;
    top: 30px;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 1; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.5; }
}

/* Advanced Service Showcase */
.service-showcase {
    margin-bottom: 100px;
    position: relative;
    z-index: 3;
}

.showcase-container {
    position: relative;
    height: 500px;
    margin-bottom: 40px;
    perspective: 1000px;
}

.showcase-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateZ(-100px) rotateY(15deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.showcase-item.active {
    display: flex;
    opacity: 1;
    transform: translateZ(0) rotateY(0deg);
    pointer-events: all;
}

.showcase-visual {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-content {
    flex: 1;
    padding: 40px;
}

.showcase-content h3 {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.showcase-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tech-item {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #00d4ff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

/* Hologram Projector */
.hologram-projector {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.projector-beam {
    position: absolute;
    bottom: -50px;
    left: 50%;
    width: 4px;
    height: 200px;
    background: linear-gradient(to top, transparent, #00d4ff, transparent);
    transform: translateX(-50%);
    animation: beamPulse 2s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleY(1.2); }
}

.projected-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: hologramFloat 4s ease-in-out infinite;
}

@keyframes hologramFloat {
    0%, 100% { transform: translate(-50%, -50%) rotateX(0deg); }
    50% { transform: translate(-50%, -55%) rotateX(5deg); }
}

.brand-visualization {
    padding: 30px;
    text-align: center;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    background: var(--color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color);
    animation: colorPulse 3s ease-in-out infinite;
}

.color-swatch:nth-child(2) { animation-delay: -1s; }
.color-swatch:nth-child(3) { animation-delay: -2s; }

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

.logo-variants {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.logo-variant {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    animation: logoRotate 4s linear infinite;
}

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

@keyframes logoRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Content Matrix */
.content-matrix {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.matrix-cell {
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    animation: cellActivate 2s ease-in-out infinite;
}

.matrix-cell:nth-child(2) { animation-delay: -0.5s; }
.matrix-cell:nth-child(3) { animation-delay: -1s; }
.matrix-cell:nth-child(4) { animation-delay: -1.5s; }

@keyframes cellActivate {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.matrix-cell::before {
    content: attr(data-content);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    color: #ff00ff;
    text-transform: uppercase;
    font-weight: bold;
}

.content-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: flowThrough 3s linear infinite;
}

.flow-particle:nth-child(2) {
    animation-delay: -1s;
    background: #00d4ff;
}

.flow-particle:nth-child(3) {
    animation-delay: -2s;
    background: #ff00ff;
}

@keyframes flowThrough {
    0% { top: 0; left: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; left: 100%; opacity: 0; }
}

/* AI Neural Network */
.ai-neural-network {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-layers {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.layer {
    display: flex;
    gap: 20px;
}

.neuron {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #00ff88, #00d4ff);
    border-radius: 50%;
    box-shadow: 0 0 20px #00ff88;
    animation: neuralPulse 2s ease-in-out infinite;
}

.layer:nth-child(2) .neuron {
    animation-delay: -0.5s;
}

.layer:nth-child(3) .neuron {
    animation-delay: -1s;
}

@keyframes neuralPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.network-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.network-connections::before,
.network-connections::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #00ff88, transparent);
    animation: connectionFlow 3s linear infinite;
}

.network-connections::before {
    top: 60px;
    left: 80px;
    transform: rotate(45deg);
}

.network-connections::after {
    top: 60px;
    right: 80px;
    transform: rotate(-45deg);
    animation-delay: -1.5s;
}

@keyframes connectionFlow {
    0% { opacity: 0; transform: rotate(45deg) scaleY(0); }
    50% { opacity: 1; transform: rotate(45deg) scaleY(1); }
    100% { opacity: 0; transform: rotate(45deg) scaleY(0); }
}

/* Showcase Controls */
.showcase-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.control-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.control-btn i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.control-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    transform: translateY(-5px);
}

.control-btn.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.control-btn.active i {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* Traditional Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .showcase-container { height: 420px; }
    .showcase-item { gap: 30px; }
    .showcase-content { padding: 20px; }
    .showcase-content h3 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .showcase-container { height: auto; }
    .showcase-item { position: relative; top: auto; left: auto; height: auto; transform: none; }
    .showcase-item.active { display: flex; flex-direction: column; padding: 20px 0; opacity: 1; }
    .showcase-visual, .showcase-content { width: 100%; }
    .services { padding: 70px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Light theme removed */

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.service-btn:hover {
    background: rgba(0, 212, 255, 0.10);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.18);
}

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

.service-btn:active {
    transform: translateY(-1px);
}

.service-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.35);
    border-color: var(--primary-color);
}
/* About Section */
.about {
    padding: 8rem 0;
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--border-color);
    border-radius: 50%;
    border: 3px solid var(--dark-card);
}

.timeline-item.active .timeline-dot {
    background: var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(180deg, #111111 0%, var(--dark-bg) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-form {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0 1.5rem;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        z-index: 1001;
    }
    
    .nav-menu.active .nav-link {
        color: var(--text-primary);
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .floating-card {
        position: relative;
        margin-bottom: 1rem;
        animation: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
} 

/* Mobile refinements */
@media (max-width: 640px) {
  /* Hero tweaks */
  .hero-title {
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
  }
  .hero-description {
    font-size: 1.05rem;
    max-width: 92%;
    margin: 0 auto 1.2rem;
  }
  .hero-visual {
    display: none; /* simplify mobile above-the-fold */
  }
  .hero-buttons {
    gap: 10px;
  }
  .hero-buttons .btn,
  .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Section headers */
  .section-header .section-title {
    font-size: 2rem;
  }

  /* Services: simplify showcase and polish cards */
  .service-showcase {
    display: none;
  }
  .services-grid {
    gap: 16px;
  }
  .service-card {
    padding: 16px;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card p {
    font-size: 0.95rem;
  }
  .service-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .service-features li {
    font-size: 0.9rem;
  }

  /* Journey stats */
  .stats {
    gap: 16px;
  }
  .stat-item .stat-number {
    font-size: 1.6rem;
  }
  .stat-item .stat-label {
    font-size: 0.85rem;
  }

  /* Contact */
  .contact-content {
    gap: 20px;
  }
  .contact-form form input,
  .contact-form form select,
  .contact-form form textarea {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .btn {
    max-width: 280px;
  }
  .service-card {
    border-radius: 12px;
  }
}
