:root {
    --primary-bg: #07131a;
    --secondary-bg: #0b1f29;
    --card-bg: rgba(12, 34, 44, 0.85);

    --cyan: #00e5ff;
    --cyan-soft: #57f4ff;

    --blue: #0077ff;
    --green: #00ffb3;
    --orange: #ff8f1f;

    --text: #d8f8ff;
    --text-soft: #8abec9;

    --border: rgba(0, 229, 255, 0.25);

    --shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

/* ======================================================
   RESET
====================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(rgba(5,10,15,0.92), rgba(5,10,15,0.95)),
        url('../assets/bbanner-illyadz77.png') center center/cover no-repeat fixed;

    color: var(--text);

    font-family: 'Rajdhani', sans-serif;

    min-height: 100vh;

    overflow-x: hidden;
}

/* ======================================================
   GRID BACKGROUND
====================================================== */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,229,255,0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(0,229,255,0.03) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

    pointer-events: none;

    z-index: 0;
}

/* ======================================================
   HEADER
====================================================== */

header {

    position: relative;

    z-index: 10;

    backdrop-filter: blur(10px);

    background: rgba(3, 12, 18, 0.82);

    border-bottom: 1px solid var(--border);

    padding: 20px 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo-container {

    display: flex;

    align-items: center;

    gap: 18px;
}

.logo-container img {

    width: 72px;

    height: 72px;

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow: var(--shadow);
}

.logo-title {

    font-family: 'Orbitron', sans-serif;
}

.logo-title h1 {

    font-size: 2rem;

    color: var(--cyan-soft);

    text-shadow: 0 0 12px rgba(0,229,255,0.6);
}

.logo-title p {

    color: var(--text-soft);

    font-size: 0.95rem;

    letter-spacing: 2px;
}

/* ======================================================
   NAVIGATION
====================================================== */

nav {

    display: flex;

    gap: 25px;
}

nav a {

    color: var(--text);

    text-decoration: none;

    font-weight: 600;

    letter-spacing: 1px;

    transition: 0.3s ease;
}

nav a:hover {

    color: var(--cyan);

    text-shadow: 0 0 12px var(--cyan);
}

/* ======================================================
   HERO SECTION
====================================================== */

.hero {

    position: relative;

    z-index: 2;

    min-height: 88vh;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 20px;
}

.hero-content {

    max-width: 1100px;
}

.hero h2 {

    font-family: 'Orbitron', sans-serif;

    font-size: 4rem;

    line-height: 1.1;

    color: white;

    text-shadow:
        0 0 10px rgba(0,229,255,0.6),
        0 0 25px rgba(0,229,255,0.4);

    margin-bottom: 25px;
}

.hero h2 span {

    color: var(--cyan);
}

.hero p {

    font-size: 1.4rem;

    line-height: 1.8;

    color: var(--text-soft);

    max-width: 900px;

    margin: auto auto 45px auto;
}

/* ======================================================
   BUTTONS
====================================================== */

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.btn {

    padding: 15px 32px;

    border-radius: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;

    transition: 0.35s ease;

    border: 1px solid transparent;
}

.btn-primary {

    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue)
    );

    color: #041017;

    box-shadow: 0 0 20px rgba(0,229,255,0.35);
}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: 0 0 30px rgba(0,229,255,0.65);
}

.btn-secondary {

    border: 1px solid var(--cyan);

    color: var(--cyan);

    background: rgba(0,0,0,0.2);
}

.btn-secondary:hover {

    background: rgba(0,229,255,0.08);

    box-shadow: var(--shadow);
}

/* ======================================================
   SERVICES
====================================================== */

.services {

    position: relative;

    z-index: 2;

    padding: 90px 50px;
}

.section-title {

    text-align: center;

    margin-bottom: 60px;
}

.section-title h3 {

    font-family: 'Orbitron', sans-serif;

    font-size: 2.5rem;

    color: var(--cyan-soft);

    margin-bottom: 15px;
}

.section-title p {

    color: var(--text-soft);

    font-size: 1.1rem;
}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.service-card {

    background: var(--card-bg);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px;

    transition: 0.35s ease;

    backdrop-filter: blur(12px);

    box-shadow: 0 0 18px rgba(0,0,0,0.35);
}

.service-card:hover {

    transform: translateY(-8px);

    border-color: rgba(0,229,255,0.7);

    box-shadow: 0 0 28px rgba(0,229,255,0.22);
}

.service-card h4 {

    font-family: 'Orbitron', sans-serif;

    color: var(--cyan);

    margin-bottom: 18px;

    font-size: 1.3rem;
}

.service-card p {

    color: var(--text-soft);

    line-height: 1.7;

    font-size: 1rem;
}

/* ======================================================
   TECH STACK
====================================================== */

.tech-stack {

    padding: 90px 50px;

    position: relative;

    z-index: 2;
}

.stack-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));

    gap: 20px;
}

.stack-item {

    background: rgba(5, 20, 28, 0.75);

    border: 1px solid rgba(255,255,255,0.08);

    padding: 20px;

    border-radius: 14px;

    text-align: center;

    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.3s;
}

.stack-item:hover {

    border-color: var(--green);

    color: var(--green);

    box-shadow: 0 0 15px rgba(0,255,179,0.25);
}

/* ======================================================
   FOOTER
====================================================== */

footer {

    position: relative;

    z-index: 2;

    padding: 35px;

    text-align: center;

    border-top: 1px solid var(--border);

    background: rgba(0,0,0,0.55);

    color: var(--text-soft);
}

footer span {

    color: var(--cyan);
}

/* ======================================================
   ANIMATIONS
====================================================== */

.fade-in {

    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.fade-in.visible {

    opacity: 1;

    transform: translateY(0);
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width: 900px) {

    header {

        flex-direction: column;

        gap: 20px;

        padding: 25px;
    }

    nav {

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h2 {

        font-size: 2.6rem;
    }

    .hero p {

        font-size: 1.1rem;
    }

    .services,
    .tech-stack {

        padding: 70px 25px;
    }
}