:root {
    --primary: #00b4d8;
    --primary-light: #90e0ef;
    --accent: #0077b6;
    --dark: #0a0e17;
    --dark-surface: #111827;
    --dark-card: #1a2332;
    --light: #f0f4f8;
    --muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(0, 180, 216, 0.3);
    --gradient-primary: linear-gradient(135deg, #00b4d8, #0077b6);
    --gradient-hero: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(0, 119, 182, 0.05));
    --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.15);
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.7;
    cursor: none;
}

/* ==================== CUSTOM CURSOR (Water Droplet) ==================== */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%) rotate(135deg);
    mix-blend-mode: difference;
    filter: drop-shadow(0 0 4px rgba(0, 180, 216, 0.6));
}

.cursor-follower {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(0, 180, 216, 0.5);
    border-radius: 50% 50% 50% 0;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%) rotate(135deg);
    transition: width 0.3s var(--transition-smooth),
                height 0.3s var(--transition-smooth),
                border-color 0.3s var(--transition-smooth),
                background 0.3s var(--transition-smooth);
}

.cursor-follower.hovering {
    width: 52px;
    height: 52px;
    background: rgba(0, 180, 216, 0.1);
    border-color: var(--primary);
    border-radius: 50% 50% 50% 0;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 5%;
    z-index: 10000;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s var(--transition-smooth);
}

.navbar.scrolled .navbar-inner {
    height: 65px;
}

/* Logo */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.nav-brand img {
    height: 50px;
    transition: height 0.4s var(--transition-smooth);
    filter: drop-shadow(0 2px 8px rgba(0, 180, 216, 0.2));
}

.navbar.scrolled .nav-brand img {
    height: 40px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.nav-links li a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s var(--transition-smooth);
}

.nav-links li a:hover {
    color: #fff;
}

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

.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a.active::after {
    width: 60%;
}

/* CTA Button */
.nav-cta {
    margin-left: 1.5rem;
    padding: 0.6rem 1.8rem !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.4s var(--transition-smooth) !important;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.25);
}

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

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.4) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10001;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--transition-smooth);
    transform-origin: center;
}

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

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

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

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, rgba(10, 14, 23, 0.3) 0%, rgba(10, 14, 23, 0.1) 40%, rgba(10, 14, 23, 0.7) 80%, var(--dark) 100%),
        radial-gradient(ellipse at center, transparent 0%, var(--dark) 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-badge i {
    font-size: 0.65rem;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
}

.hero-content h1 .text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    color: var(--muted);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.3);
    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.6s var(--transition-smooth);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 180, 216, 0.45);
}

.btn-outline {
    padding: 1rem 2.5rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 180, 216, 0.05);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s infinite;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

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

/* ==================== SECTIONS ==================== */
section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

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

.service-card:hover {
    background: var(--glass-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--transition-smooth);
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==================== FEATURE SECTION ==================== */
.feature-section {
    background: var(--dark-surface);
}

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

.feature-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

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

.feature-text p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--primary);
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Outer animated frame */
.feature-slider-frame {
    position: relative;
    width: 386px;
    aspect-ratio: 0.7;
    border-radius: 26px;
    overflow: hidden;
    padding: 3px;
}

.feature-slider-frame::before,
.feature-slider-frame::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary), #00d2ff, transparent 30%);
    animation: waveRotate 4s linear infinite;
}

.feature-slider-frame::after {
    background: conic-gradient(from 180deg, transparent, #0072ff, var(--primary), transparent 30%);
    animation: waveRotate 6s linear reverse infinite;
}

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

/* Inner container sits on top, masking the center */
.feature-slider-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: #0a0e17;
    z-index: 1;
}

.feature-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    height: 100%;
    object-fit: cover;
    transition: transform 8s linear;
}

.slide.active img {
    transform: scale(1.1);
}

.slide-caption-below {
    text-align: center;
    margin-top: 0.5rem;
    color: #fff;
}

.slide-caption-below span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.85;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

/* ==================== STATS ==================== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 5rem auto 0;
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-item-text strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 2px;
}

.contact-item-text span {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-info a.contact-item {
    text-decoration: none;
    transition: transform 0.3s var(--transition-smooth);
}

.contact-info a.contact-item:hover {
    transform: translateX(5px);
}

.contact-info a.contact-item:hover .contact-item-icon {
    background: var(--primary);
}

.contact-info a.contact-item:hover .contact-item-icon i {
    color: #fff;
}

.map-container {
    margin-top: 2rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    position: relative;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 180, 216, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

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

/* ==================== FOOTER ==================== */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    text-align: center;
}

/* ==================== PRODUCTS PAGE ==================== */
.products-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    padding-top: 100px;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    padding: 0 5%;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 8rem;
}

.product-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all 0.5s var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.product-features li {
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--primary);
    font-size: 0.7rem;
}

.product-actions {
    margin-top: auto;
}

.btn-whatsapp {
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-smooth);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

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

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        transition: right 0.4s var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-links li a {
        font-size: 1rem;
        padding: 1rem;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    section {
        padding: 5rem 5%;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

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

    .stats-bar {
        grid-template-columns: 1fr;
    }
}

/* ==================== PARTICLES ==================== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) scale(1);
    }
}

/* ==================== MAGNETIC HOVER ==================== */
.magnetic {
    transition: transform 0.3s var(--transition-smooth);
}

/* ==================== REVEAL ANIMATIONS ==================== */
/* Elements are VISIBLE by default (safe fallback if JS fails) */
/* JS adds .reveal-hidden on load, then ScrollTrigger swaps to .reveal-visible */
.reveal-hidden {
    opacity: 0 !important;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Stagger delays for grouped items */
.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.3s; }

.contact-grid .reveal:nth-child(1) { transition-delay: 0s; }
.contact-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
