/* ====== RESET & BASE ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(10, 10, 30, 0.8);
    --cyan: #00f0ff;
    --purple: #7b2ff7;
    --pink: #e94560;
    --cyan-glow: rgba(0, 240, 255, 0.3);
    --purple-glow: rgba(123, 47, 247, 0.3);
    --text-primary: #e0e0f0;
    --text-secondary: #8888aa;
    --text-dim: #555570;
    --border: rgba(0, 240, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #00f0ff, #7b2ff7);
    --gradient-accent: linear-gradient(135deg, #7b2ff7, #e94560);
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

/* ====== CANVAS & BG EFFECTS ====== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 240, 255, 0.008) 2px,
        rgba(0, 240, 255, 0.008) 4px
    );
}

/* ====== NAVBAR ====== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    animation: rotateIcon 20s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--pink);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

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

.nav-link.glitch {
    animation: glitchText 0.3s ease;
}

@keyframes glitchText {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
}

.btn-nav {
    color: var(--cyan);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 24px;
    border: 1px solid var(--cyan);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-nav:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cyan);
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3), transparent);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 47, 247, 0.3), transparent);
    bottom: -5%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2), transparent);
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

.hex-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    opacity: 0.05;
}

.hex {
    position: absolute;
    width: 100px;
    height: 115px;
    background: transparent;
    border: 1px solid var(--cyan);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexPulse 4s ease-in-out infinite;
}

.hex:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.hex:nth-child(2) { top: 20%; left: 55%; animation-delay: 0.5s; }
.hex:nth-child(3) { top: 45%; left: 18%; animation-delay: 1s; }
.hex:nth-child(4) { top: 45%; left: 42%; animation-delay: 1.5s; }
.hex:nth-child(5) { top: 45%; left: 67%; animation-delay: 2s; }
.hex:nth-child(6) { top: 70%; left: 30%; animation-delay: 2.5s; }

@keyframes hexPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .line-1,
.hero-title .line-2 {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-primary);
}

.hero-title .line-3 {
    display: block;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: 3px;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #00f0ff 0%, #7b2ff7 50%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ====== BUTTONS ====== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-main);
    color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.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 ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3), 0 0 60px rgba(123, 47, 247, 0.15);
}

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

.btn-primary.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

/* ====== HERO STATS ====== */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

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

/* ====== SCROLL INDICATOR ====== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: fadeInUp 2s ease 1s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

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

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ====== SECTION SHARED ====== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--cyan);
    margin-bottom: 16px;
    opacity: 0.7;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 2px;
}

/* ====== SERVICES SECTION ====== */
.services {
    position: relative;
    padding: 120px 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

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

.service-card {
    position: relative;
    border-radius: 20px;
    padding: 2px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.service-card:hover .card-border {
    border-color: rgba(0, 240, 255, 0.3);
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    transition: background 0.3s ease;
}

.card-content {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 32px;
    z-index: 1;
}

.card-icon {
    color: var(--text-dim);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-card:hover .card-icon {
    color: var(--cyan);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    opacity: 0.3;
    letter-spacing: 2px;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover .card-content h3 {
    color: var(--cyan);
}

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

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-tags span {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-card:hover .card-tags span {
    border-color: rgba(0, 240, 255, 0.2);
    color: var(--cyan);
}

/* ====== ABOUT SECTION ====== */
.about {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

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

.about-text .section-tag,
.about-text .section-title,
.about-text .section-line {
    text-align: left;
    margin-left: 0;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 24px 0 32px;
}

.expertise-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.03);
}

.expertise-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gradient-main);
    flex-shrink: 0;
}

.expertise-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.expertise-item:hover span {
    color: var(--cyan);
}

/* Tech Frame Visual */
.tech-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 420px;
    margin: 0 auto;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--cyan);
    border-style: solid;
    opacity: 0.5;
}

.frame-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.frame-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.frame-content {
    position: absolute;
    inset: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-viz {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viz-ring {
    position: absolute;
    border: 1px solid;
    border-radius: 50%;
    animation: spinRing 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(0, 240, 255, 0.2);
    border-top-color: var(--cyan);
    animation-duration: 8s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-color: rgba(123, 47, 247, 0.2);
    border-right-color: var(--purple);
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-color: rgba(233, 69, 96, 0.2);
    border-bottom-color: var(--pink);
    animation-duration: 16s;
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.viz-core {
    position: relative;
    z-index: 2;
}

.floating-data {
    position: absolute;
    inset: 0;
}

.data-point {
    position: absolute;
    padding: 6px 14px;
    background: rgba(10, 10, 30, 0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cyan);
    white-space: nowrap;
    animation: floatData 6s ease-in-out infinite;
}

.dp-1 { top: 5%; right: 0; animation-delay: 0s; }
.dp-2 { bottom: 25%; right: -10%; animation-delay: 1.5s; }
.dp-3 { bottom: 5%; left: 5%; animation-delay: 3s; }
.dp-4 { top: 25%; left: -10%; animation-delay: 4.5s; }

@keyframes floatData {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(-8px); opacity: 1; }
}

/* ====== CONTACT SECTION ====== */
.contact {
    position: relative;
    padding: 120px 0;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pulse-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: pulseGrid 4s ease-in-out infinite;
}

@keyframes pulseGrid {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.contact-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.contact-content .section-title {
    max-width: 700px;
    margin: 0 auto 16px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 24px;
}

.contact-info span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ====== FOOTER ====== */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: rgba(5, 5, 16, 0.95);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-copy p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ====== SCROLL ANIMATIONS ====== */
.aos-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.aos-init[data-aos="fade-down"] {
    transform: translateY(-30px);
}

.aos-init[data-aos="fade-right"] {
    transform: translateX(-30px);
}

.aos-init[data-aos="fade-left"] {
    transform: translateX(30px);
}

.aos-init.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.aos-init[data-delay="100"].visible { transition-delay: 0.1s; }
.aos-init[data-delay="200"].visible { transition-delay: 0.2s; }
.aos-init[data-delay="300"].visible { transition-delay: 0.3s; }
.aos-init[data-delay="400"].visible { transition-delay: 0.4s; }
.aos-init[data-delay="600"].visible { transition-delay: 0.6s; }

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

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
    }

    .tech-frame {
        max-width: 320px;
    }

    .about-text .section-tag,
    .about-text .section-title,
    .about-text .section-line {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-description {
        text-align: center;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .expertise-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dp-2, .dp-4 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .contact-content .section-title {
        font-size: 1.6rem;
    }
}

/* ====== SELECTION ====== */
::selection {
    background: rgba(0, 240, 255, 0.2);
    color: var(--cyan);
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--cyan), var(--purple));
    border-radius: 3px;
}
