/* =====================
   Base
===================== */

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

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, #1b1430 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, #0a1a24 0%, transparent 45%),
        #0b0d12;
    color: #eaeaf0;
    line-height: 1.7;
}

.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}

/* =====================
   Header
===================== */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(11,13,18,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================
   Buttons
===================== */

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #22d3ee);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(139,92,246,0.35);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 60px rgba(34,211,238,0.45);
}

.btn-secondary {
    border: 1px solid rgba(139,92,246,0.6);
    color: #eaeaf0;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    color: #eaeaf0;
}

/* =====================
   Hero
===================== */

.hero {
    padding: 0;
}

.hero .container,
.services .container,
.contact .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero img {
    width: 700px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero h1 span {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 720px;
    font-size: 19px;
    color: #cfd3ff;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* =====================
   Sections
===================== */

section {
    padding: 120px 0;
}

h2 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
}

/* =====================
   Services
===================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.service-card {
    position: relative;
    padding: 36px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    transition: 0.4s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, transparent, rgba(139,92,246,0.35), transparent);
    opacity: 0;
    transition: 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #22d3ee, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================
   About
===================== */

.about p {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
    color: #cfd3ff;
    font-size: 18px;
}

/* =====================
   Contact
===================== */

.contact {
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(139,92,246,0.25), transparent 60%);
}

.contact p {
    font-size: 18px;
    margin-bottom: 32px;
    color: #cfd3ff;
    max-width: 700px;
}

/* =====================
   Footer
===================== */

.footer {
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #8f94c5;
}



@media (max-width:900px) {
    .hero .container, .services .container, .contact .container {
        flex-direction: column;
    }

    img {
        width: 90% !important;
        margin: 0 auto;
    }

    section,
    .hero {
        padding: 32px 0;
    }
}