/* =========================================
   1. VARIABLES & RESET & FONTS
   ========================================= */
   :root {
    --primary-color: #FFD700; /* Gold */
    --primary-glow: rgba(255, 215, 0, 0.4);
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(26, 26, 26, 0.6);
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif; /* Modern Tech Font */
    --font-body: 'Space Grotesk', sans-serif; /* Clean readable font */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--darker-bg); }
::-webkit-scrollbar-thumb { 
    background: #333; 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* Custom Cursor Styles */
.cursor-dot {
    width: 5px; height: 5px;
    background-color: var(--primary-color);
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 30px; height: 30px;
    border: 1px solid var(--primary-color);
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: transform 0.2s, background-color 0.2s;
}

/* Background Ambient Light */
.ambient-light {
    position: fixed;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    animation: pulseLight 10s infinite alternate;
}

@keyframes pulseLight {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.bg-dark { background-color: var(--darker-bg); }

/* Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }

.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }

/* Modern Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { 
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); 
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    margin-left: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255,215,0,0.05);
}

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-heading); color: #fff; }

.sub-heading {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 20px;
}

.heading {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.logo { font-size: 1.8rem; font-weight: 700; color: #fff; letter-spacing: -1px; }
.logo span { color: var(--primary-color); }
.logo .dot { color: var(--primary-color); animation: blink 2s infinite; }

@keyframes blink { 50% { opacity: 0; } }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.9rem; color: #ccc; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.btn-nav {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 8px 20px;
    border-radius: 4px;
}
.btn-nav:hover { background: var(--primary-color); color: #000 !important; }

.hamburger { display: none; font-size: 1.5rem; color: #fff; }

/* =========================================
   3. HERO SECTION (VIBRANT)
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-text { flex: 1; z-index: 2; }

.badge-container { margin-bottom: 20px; }
.badge {
    background: rgba(255, 215, 0, 0.08);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: inline-flex; align-items: center; gap: 8px;
}

.hero-text h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; max-width: 550px; }

.trust-indicators { margin-top: 40px; display: flex; gap: 30px; font-size: 0.9rem; color: #888; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; }
.trust-indicators i { color: var(--primary-color); margin-right: 5px; }

/* Tech Visual & Animations */
.hero-visual { flex: 1; display: flex; justify-content: center; height: 500px; align-items: center; perspective: 1000px; }

.tech-circle-container { position: relative; width: 450px; height: 450px; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; }

.circle-outer {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    animation: spin 15s linear infinite;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.05);
}

.circle-middle {
    position: absolute; width: 70%; height: 70%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    animation: spinReverse 20s linear infinite;
}

.circle-inner {
    position: absolute; width: 40%; height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.center-icon { font-size: 4rem; color: var(--primary-color); filter: drop-shadow(0 0 15px var(--primary-color)); animation: floatIcon 4s ease-in-out infinite; }

.floating-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex; align-items: center; gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}
.card-1 { top: 10%; left: -20px; }
.card-2 { bottom: 15%; right: -20px; animation-delay: 2s; }
.icon-wrapper { width: 45px; height: 45px; background: rgba(255,215,0,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color); }
.card-text span { display: block; font-weight: 700; color: #fff; font-size: 1.1rem; }
.card-text small { color: #888; font-size: 0.8rem; }

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.2; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* =========================================
   4. STATS SECTION (LIVE)
   ========================================= */
.stats { padding: 80px 0; background: #000; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; }
.stat-box { text-align: center; }
.stat-box h2 { font-size: 4rem; color: #fff; font-weight: 800; -webkit-text-stroke: 1px rgba(255,255,255,0.2); }
.stat-box p { color: var(--primary-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: -10px; }

/* =========================================
   5. SERVICES & CARDS (INTERACTIVE)
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Card Glow Effect */
.card-glow {
    position: absolute; width: 150px; height: 150px; background: var(--primary-color); filter: blur(80px); opacity: 0;
    top: -50px; right: -50px; transition: opacity 0.5s; pointer-events: none;
}
.service-card:hover .card-glow { opacity: 0.15; }
.service-card:hover { transform: translateY(-10px); border-color: rgba(255, 215, 0, 0.3); }

.icon-box { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 25px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* About Section Enhancements */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.features-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; color: #ddd; font-size: 1.1rem; }
.features-list i { color: #000; background: var(--primary-color); width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

.skill-bar { margin-bottom: 25px; }
.skill-bar .info { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: #fff; }
.skill-bar .bar { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.skill-bar .bar span { display: block; height: 100%; background: var(--primary-color); border-radius: 10px; position: relative; }
.skill-bar .bar span::after {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* =========================================
   6. PROCESS & FOOTER
   ========================================= */
.timeline { position: relative; max-width: 800px; margin: 60px auto 0; padding-left: 30px; border-left: 2px solid rgba(255,255,255,0.1); }
.timeline-item { position: relative; padding-left: 40px; margin-bottom: 50px; }
.timeline-item::before {
    content: ''; position: absolute; left: -9px; top: 5px; width: 16px; height: 16px;
    background: var(--dark-bg); border: 2px solid var(--primary-color); border-radius: 50%; z-index: 1;
}
.step-number { position: absolute; left: -60px; top: 0; font-family: var(--font-heading); font-weight: 800; font-size: 3rem; color: rgba(255,255,255,0.05); line-height: 1; }
.timeline-item h3 { color: var(--primary-color); font-size: 1.4rem; margin-bottom: 10px; }

.cta-section { 
    background: linear-gradient(180deg, var(--dark-bg) 0%, #151515 100%); 
    padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05); 
}
.cta-section h2 { margin-bottom: 20px; font-size: 3rem; }

footer { background: #000; padding-top: 80px; border-top: 1px solid #1a1a1a; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-contact ul li { margin-bottom: 15px; color: #aaa; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary-color); }
.footer-bottom { border-top: 1px solid #111; padding: 20px 0; color: #555; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; } /* Disable custom cursor on touch */
    * { cursor: auto; }
    
    .nav-links { position: fixed; top: 70px; right: -100%; width: 100%; height: calc(100vh - 70px); background: #000; flex-direction: column; padding-top: 50px; transition: 0.3s; }
    .nav-links.active { right: 0; }
    .hamburger { display: block; }
    
    .hero-text h1 { font-size: 2.8rem; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-visual { width: 100%; height: 350px; }
    .tech-circle-container { width: 300px; height: 300px; }
    .floating-card { display: none; }
    
    .stats-grid { flex-direction: column; gap: 40px; }
    .about-grid, .footer-content { grid-template-columns: 1fr; }
    .timeline { border-left: none; padding-left: 0; }
    .timeline-item { padding-left: 0; text-align: center; }
    .timeline-item::before { display: none; }
    .step-number { display: none; }
}
