/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor on desktop */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    background-color: #000000;
    color: #e0e0e0;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Creative Custom Cursor */
* {
    cursor: none;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

/* Core cursor element */
.cursor-core {
    width: 12px;
    height: 12px;
    position: absolute;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #ff00ff 0%, #e91e63 50%, #c2185b 100%);
    border-radius: 50%;
    z-index: 10003;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(255, 0, 255, 0.4),
        0 0 30px rgba(255, 0, 255, 0.2);
    animation: pulse-core 2s ease-in-out infinite alternate;
}

@keyframes pulse-core {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 10px rgba(255, 0, 255, 0.8),
            0 0 20px rgba(255, 0, 255, 0.4),
            0 0 30px rgba(255, 0, 255, 0.2);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 15px rgba(233, 30, 99, 0.8),
            0 0 25px rgba(233, 30, 99, 0.4),
            0 0 35px rgba(233, 30, 99, 0.2);
    }
}

/* Animated rings */
.cursor-rings {
    position: absolute;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #ff00ff, #e91e63, #c2185b, #ff00ff) border-box;
    background-clip: padding-box, border-box;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 0, 255, 0.6);
    animation: rotate-ring-1 4s linear infinite, pulse-ring 2s ease-in-out infinite alternate;
}

.ring-2 {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(233, 30, 99, 0.4);
    animation: rotate-ring-2 6s linear infinite reverse, pulse-ring 2.5s ease-in-out infinite alternate;
}

.ring-3 {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(194, 24, 91, 0.3);
    animation: rotate-ring-3 8s linear infinite, pulse-ring 3s ease-in-out infinite alternate;
}

@keyframes rotate-ring-1 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-ring-2 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes rotate-ring-3 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-ring {
    0% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Particle effects */
.cursor-particles {
    position: absolute;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cursor-particles::before,
.cursor-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff00ff, transparent);
    border-radius: 50%;
    animation: float-particles 3s ease-in-out infinite;
}

.cursor-particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.cursor-particles::after {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes float-particles {
    0%, 100% { 
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    50% { 
        opacity: 1;
        transform: translate(10px, -10px) scale(1);
    }
}

/* Trail effect */
.cursor-trail {
    position: absolute;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: trail-pulse 1.5s ease-in-out infinite;
    z-index: 9998;
}

@keyframes trail-pulse {
    0% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* Hover effects - Enhanced */
.cursor.hover .cursor-core {
    transform: translate(-50%, -50%) scale(1.8);
    background: radial-gradient(circle, #ff00ff 0%, #e91e63 50%, #c2185b 100%);
    animation: hover-burst 0.6s ease-out;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.8),
        0 0 40px rgba(255, 0, 255, 0.4),
        0 0 60px rgba(233, 30, 99, 0.2);
}

.cursor.hover .cursor-ring {
    border-color: rgba(255, 0, 255, 0.8);
    animation-duration: 0.8s;
}

.cursor.hover .cursor-trail {
    background: radial-gradient(circle, rgba(255, 0, 255, 0.2) 0%, transparent 70%);
    animation-duration: 0.8s;
}

@keyframes hover-burst {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    }
    50% { 
        transform: translate(-50%, -50%) scale(2.2);
        box-shadow: 0 0 30px rgba(255, 0, 255, 1);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.8);
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }
}

/* Click effects - Explosive */
.cursor.click .cursor-core {
    transform: translate(-50%, -50%) scale(0.3);
    background: radial-gradient(circle, #e91e63 0%, #9c27b0 50%, #673ab7 100%);
    animation: click-explosion 0.4s ease-out;
}

.cursor.click .cursor-rings {
    animation: rings-explosion 0.6s ease-out;
}

.cursor.click .cursor-trail {
    background: radial-gradient(circle, rgba(233, 30, 99, 0.4) 0%, transparent 50%);
    animation: trail-explosion 0.5s ease-out;
}

@keyframes click-explosion {
    0% { 
        transform: translate(-50%, -50%) scale(1.8);
    }
    50% { 
        transform: translate(-50%, -50%) scale(0.1);
        box-shadow: 0 0 50px rgba(233, 30, 99, 1);
    }
    100% { 
        transform: translate(-50%, -50%) scale(0.3);
    }
}

@keyframes rings-explosion {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

@keyframes trail-explosion {
    0% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    100% { 
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Text selection cursor - Morphing beam */
.cursor.text .cursor-core {
    width: 3px;
    height: 24px;
    border-radius: 2px;
    background: linear-gradient(180deg, #ff00ff 0%, #e91e63 50%, #ff00ff 100%);
    animation: text-beam 1.2s ease-in-out infinite alternate;
    transform: translate(-50%, -50%);
}

.cursor.text .cursor-rings {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.5);
}

.cursor.text .cursor-trail {
    width: 60px;
    height: 60px;
    background: radial-gradient(ellipse 20px 40px, rgba(255, 0, 255, 0.2) 0%, transparent 70%);
}

@keyframes text-beam {
    0% { 
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    }
    100% { 
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(233, 30, 99, 0.4);
    }
}

/* Dynamic particle animations */
@keyframes particle-float {
    0% { 
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) translate(10px, -15px) scale(1.2) rotate(180deg);
    }
    100% { 
        opacity: 0;
        transform: translate(-50%, -50%) translate(20px, -30px) scale(0) rotate(360deg);
    }
}

/* Moving cursor state */
.cursor.moving .cursor-core {
    animation-duration: 0.8s;
    transform: translate(-50%, -50%) scale(1.15);
}

.cursor.moving .cursor-rings .cursor-ring {
    animation-duration: 1s;
}

.cursor.moving .cursor-trail {
    animation-duration: 0.6s;
    opacity: 0.8;
}

/* Special cursor state for logo and titles */
.cursor.special .cursor-core {
    animation: special-glow 1s ease-in-out infinite alternate;
    transform: translate(-50%, -50%) scale(1.3);
}

.cursor.special .cursor-rings .cursor-ring {
    border-color: rgba(255, 215, 0, 0.8);
    animation-duration: 1.5s;
}

@keyframes special-glow {
    0% { 
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 107, 53, 0.4),
            0 0 60px rgba(233, 30, 99, 0.2);
    }
    100% { 
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 50px rgba(255, 107, 53, 0.6),
            0 0 80px rgba(233, 30, 99, 0.4);
    }
}

/* Performance optimizations */
.cursor * {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Additional creative effects */
.cursor::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(100, 255, 218, 0.05) 0%, 
        rgba(156, 39, 176, 0.03) 50%, 
        transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ambient-glow 4s ease-in-out infinite alternate;
    z-index: 9997;
}

@keyframes ambient-glow {
    0% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

/* Loading Screen - Optimized */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.2s ease;
    will-change: opacity;
}

.loader {
    width: 60px;
    height: 60px;
}

.loader-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.loader-line-wrap {
    animation: spin 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
    box-sizing: border-box;
    height: 40px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform-origin: 50% 100%;
    width: 1px;
    will-change: transform;
}

.loader-line {
    border: 2px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 80px;
    left: 50%;
    margin: -40px 0 0 -40px;
    position: absolute;
    top: 50%;
    width: 80px;
}

.loader-line-wrap:nth-child(1) {
    animation-delay: -30ms;
    transform: rotate(36deg);
}

.loader-line-wrap:nth-child(2) {
    animation-delay: -60ms;
    transform: rotate(72deg);
}

.loader-line-wrap:nth-child(3) {
    animation-delay: -90ms;
    transform: rotate(108deg);
}

.loader-line-wrap:nth-child(4) {
    animation-delay: -120ms;
    transform: rotate(144deg);
}

.loader-line-wrap:nth-child(5) {
    animation-delay: -150ms;
    transform: rotate(180deg);
}

.loader-line-wrap:nth-child(1) .loader-line {
    border-color: #ff00ff;
    height: 70px;
    width: 70px;
    top: 5px;
}

.loader-line-wrap:nth-child(2) .loader-line {
    border-color: #e91e63;
    height: 60px;
    width: 60px;
    top: 10px;
}

.loader-line-wrap:nth-child(3) .loader-line {
    border-color: #c2185b;
    height: 50px;
    width: 50px;
    top: 15px;
}

.loader-line-wrap:nth-child(4) .loader-line {
    border-color: #ad1457;
    height: 40px;
    width: 40px;
    top: 20px;
}

.loader-line-wrap:nth-child(5) .loader-line {
    border-color: #880e4f;
    height: 30px;
    width: 30px;
    top: 25px;
}

@keyframes spin {
    0%, 15% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px -10px rgba(255, 0, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff00ff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff00ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ff00ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-greeting {
    color: #ff00ff;
    font-size: 1rem;
    margin-bottom: 20px;
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

.hero-name {
    color: #ffffff;
    font-size: clamp(40px, 8vw, 80px);
    margin: 10px 0;
    font-weight: 700;
    animation: fadeInUp 0.5s ease forwards 0.2s;
    opacity: 0;
}

.hero-title {
    color: #e0e0e0;
    font-size: clamp(30px, 6vw, 60px);
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease forwards 0.4s;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 540px;
    animation: fadeInUp 0.5s ease forwards 0.6s;
    opacity: 0;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.5s ease forwards 0.8s;
    opacity: 0;
}

.btn {
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
}

.btn-primary:hover {
    background: rgba(255, 0, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3);
}

.btn-secondary {
    background: #ff00ff;
    border: 2px solid #ff00ff;
    color: #000000;
}

.btn-secondary:hover {
    background: transparent;
    color: #ff00ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3);
}

/* Floating Shapes */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff00ff, #e91e63);
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 60%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 10%;
    right: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
    }
}

/* API Usage Section */
.api-usage {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 0, 20, 0.95) 100%);
}

.usage-header {
    text-align: center;
    margin-bottom: 3rem;
}

.usage-header h2 {
    font-size: 2.5rem;
    color: #ff00ff;
    margin-bottom: 1rem;
}

.usage-header p {
    color: #e0e0e0;
    font-size: 1.2rem;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.usage-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.5);
    box-shadow: 0 15px 40px rgba(255, 0, 255, 0.2);
}

.usage-card h3 {
    color: #ff00ff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Space Mono', monospace;
}

.code-block code {
    color: #ff00ff;
    font-size: 0.9rem;
    display: block;
    line-height: 1.4;
}

.code-block small {
    color: #e0e0e0;
    font-size: 0.8rem;
}

.usage-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 15px 0;
}

.example {
    background: rgba(233, 30, 99, 0.1);
    border-left: 3px solid #e91e63;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.example strong {
    color: #e91e63;
    display: block;
    margin-bottom: 8px;
}

.example code {
    color: #ff00ff;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Free Fire Info Section */
.freefire-info {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
}

.freefire-info .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ff00ff;
    margin-bottom: 3rem;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.info-card h3 {
    color: #ff00ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

.info-card strong {
    color: #ff00ff;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #000000, #ff00ff, #000000);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #ff00ff;
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ff00ff;
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 24px;
    color: #ff00ff;
}

.service-card:hover .service-icon {
    background: #ff00ff;
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: #000000;
}

.service-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.api-url {
    background: #000000;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    color: #ff00ff;
    font-size: 0.9rem;
    border: 1px solid #1a1a1a;
    margin-bottom: 15px;
}

.service-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 0, 255, 0.1);
    color: #ff00ff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #000000;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    color: #ff00ff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #000000, #ff00ff, #000000);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-main h3 {
    color: #ff00ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-main p {
    color: #e0e0e0;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff00ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* Cursor adjustments for tablets */
    .cursor-dot {
        width: 6px;
        height: 6px;
    }
    
    .cursor-outline {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    /* Hide creative cursor on mobile devices */
    .cursor,
    .cursor *,
    .cursor::after,
    .dynamic-particle {
        display: none !important;
    }
    
    /* Restore default cursor on mobile */
    * {
        cursor: auto !important;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .stats {
        padding: 60px 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* Touch device detection and cursor hiding */
@media (hover: none) and (pointer: coarse) {
    .cursor,
    .cursor *,
    .cursor::after,
    .dynamic-particle {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    .cursor-core,
    .cursor-ring,
    .cursor-particles,
    .cursor-trail {
        animation: none !important;
    }
    
    .cursor * {
        transition: none !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff00ff;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
