/* =================================
   VARIABLES
   ================================= */
:root {
    --bg: #050505;
    --card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --accent: #a855f7;
    --text: #ffffff;
    --text-dim: #9ca3af;
    --nav-height: 80px;
    --max-width: 1100px;
}

/* =================================
   RESET & BASE
   ================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
   FOCUS STATES (Accessibility)
   ================================= */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* =================================
   NAVIGATION
   ================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

@supports (backdrop-filter: blur(12px)) {
    .navbar {
        backdrop-filter: blur(12px);
        background: rgba(5, 5, 5, 0.8);
    }
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 30px;
}

.nav-col {
    flex: 1;
    display: flex;
}

.align-left {
    justify-content: flex-start;
}

.align-center {
    justify-content: center;
}

.align-right {
    justify-content: flex-end;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent);
}

.logo span {
    color: var(--accent);
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* =================================
   BUTTONS
   ================================= */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: black;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-glass {
    background: var(--card);
    border: 1px solid var(--border);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: inline-block;
}

.btn-glass:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

/* =================================
   HERO SECTION
   ================================= */
.hero {
    padding: 180px 0 40px;
    text-align: center;
}

.badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =================================
   SERVICES SECTION (Bento Grid)
   ================================= */
.services {
    padding: 40px 0 80px;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 40px;
    font-weight: 800;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 32px;
    transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.span-2 {
    grid-column: span 2;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.icon svg {
    width: 40px;
    height: 40px;
}

.card h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-link {
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.arrow-link:hover {
    transform: scale(1.1) rotate(45deg);
    background: #9333ea;
}

/* =================================
   FOOTER
   ================================= */
.footer {
    padding: 100px 0 60px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.footer-text {
    color: var(--text-dim);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    max-width: 500px;
    margin: 0 auto 30px;
}

.footer-email {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-bottom: 60px;
}

.footer-email:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.copyright {
    color: #444;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .hero {
        padding: 140px 0 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .cta-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .card {
        padding: 30px;
    }

    .nav-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}