/* ========================================
   STEP 1: RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

/* ========================================
   STEP 2: ANIMATED BACKGROUND
======================================== */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 50%, #1a0b2e 0%, #0a0a0f 50%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}
.glow-orb {
    will-change: transform;
    transform: translate3d(0,0,0); /* Forces GPU acceleration */
}
.orb1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #00d4ff, #7b2ff7);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f72585, #7b2ff7);
    bottom: -200px;
    left: -200px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 100px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ========================================
   STEP 3: NAVIGATION BAR
======================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #00d4ff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========================================
   STEP 4: HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden; /* Prevents logo from spilling out */
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    position: relative; /* Anchor for the absolute logo */
    z-index: 1;
}

/* --- THE LOGO BACKGROUND STYLE --- */
.hero-bg-logo {
    position: fixed;
    top: 61%; /* Slightly higher to center behind the text */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;         /* Size of the watermark */
    opacity: 0.08;       /* Makes it subtle */
    z-index: -1;         /* Pushes it behind the text */
    pointer-events: none;/* Users can click "through" it */
    filter: blur(2px);   /* Softens the edges like your example image */
    transition: opacity 0.3s ease-out;
}
@media (max-width: 768px) {
    .hero-bg-logo {
        width: 900px;
    }
}
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 0.08; transform: translateY(0); }
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}
.hero .subtitle {
    font-size: 24px;
    color: #b0b0c8;
    margin-bottom: 50px;
    line-height: 1.6;
    /* THE GLOW EFFECT */
    /* Syntax: x-offset y-offset blur-radius color */
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3), 
                 0 0 5px rgba(255, 255, 255, 0.1);
                 
    /* Optional: Slight letter spacing makes glowing text more readable */
    letter-spacing: 0.2px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   STEP 5: BUTTON STYLES
======================================== */
.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00d4ff;
}

/* ========================================
   STEP 6: SECTIONS & SERVICE CARDS
======================================== */
section { padding: 100px 50px; position: relative; }

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.service-card:hover::before { opacity: 1; }

.service-icon { font-size: 48px; margin-bottom: 20px; position: relative; z-index: 1; }

.service-card h3, .service-card p { position: relative; z-index: 1; }

.service-card h3 { font-size: 24px; margin-bottom: 15px; }

.service-card p { color: #b0b0c8; line-height: 1.8; }

/* ========================================
   STEP 7: STATS
======================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-item p { color: #b0b0c8; font-size: 16px; }

/* ========================================
   STEP 8: FOOTER
======================================== */
footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 50px 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b0b0c8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover { color: #00d4ff; }

.contact-info { margin: 40px 0; color: #b0b0c8; }

.contact-info p { margin: 10px 0; }

/* ========================================
   STEP 9: RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .hero .subtitle { font-size: 18px; }
    nav { padding: 15px 20px; }
    .nav-links { gap: 20px; font-size: 14px; }
    section { padding: 60px 20px; }
    .section-title { font-size: 32px; }
}
