/* --- CORE VARIABLES --- */
:root {
    --bg-dark: #050507;
    --bg-panel: #131316;
    --primary: #6366f1;
    --primary-glow: #6366f180;
    --accent: #ec4899;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-color: #27272a;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1200px;
}

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- BACKGROUND EFFECTS --- */
.bg-grid {
    position: fixed;
    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: -2;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.4;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

section {
    scroll-margin-top: 100px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-separator {
    color: var(--primary);
    margin: 0 20px;
    opacity: 0.6;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dot {
    color: var(--primary);
    font-size: 2rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 40px);
    align-items: center;
}

.nav-links a {
    font-size: clamp(0.85rem, 1vw, 0.9rem);
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 6px;
    color: var(--text-main) !important;
    white-space: nowrap;
}

.btn-nav:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.mobile-menu-footer {
    display: none;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.hamburger:active {
    transform: scale(0.95);
}

/* Mobile menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* --- HERO --- */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-text {
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--text-main);
}

/* --- STATS / VALUES STRIP --- */
.stats-strip {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
    background: rgba(19, 19, 22, 0.5);
    backdrop-filter: blur(5px);
    margin-bottom: 80px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- CARDS (Services & Process) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.glass-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    transition: 0.4s;
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.glass-card p {
    color: var(--text-muted);
}

/* --- ADVANTAGE SECTION (Replaces Testimonials) --- */
.light-section {
    background: #0a0a0c;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.review-card {
    background: var(--bg-panel);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.advantage-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.review-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.review-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- TEAM --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--bg-panel);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.img-wrapper {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 150% 5%;
    transform: scale(1);
}

.team-info h3 {
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

.team-info .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.social-mini a {
    color: var(--text-muted);
    margin-right: 15px;
    font-size: 1.1rem;
}

.social-mini a:hover {
    color: white;
}

/* --- CONTACT --- */
.contact-section {
    padding-bottom: 0;
}

.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-text a {
    color: var(--primary);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.full-width {
    width: 100%;
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 40px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.f-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.f-col h5 {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.f-col a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    opacity: 0.7;
}

.f-col a:hover {
    opacity: 1;
    color: var(--primary);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* --- RESPONSIVE --- */

/* Mobile screens */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .logo {
        font-size: 1rem;
        white-space: nowrap;
    }

    .logo-separator {
        margin: 0 8px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .glass-panel {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(19, 19, 22, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        border-left: 1px solid var(--border-color);
        z-index: 999;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        animation: slideInMenu 0.4s ease forwards;
    }

    .nav-links li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-links li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-links li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-links li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-links li:nth-child(5) {
        animation-delay: 0.3s;
    }

    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
    }

    /* Mobile menu footer branding */
    .mobile-menu-footer {
        display: block;
        margin-top: auto;
        padding-top: 40px;
        border-top: 1px solid var(--border-color);
        text-align: center;
    }

    .mobile-logo {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin-bottom: 8px;
        color: var(--text-main);
    }

    .mobile-slogan {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 1px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hamburger {
        display: block;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-flex {
        flex-direction: column;
        gap: 40px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .logo {
        font-size: 0.75rem;
    }

    .logo-separator {
        margin: 0 5px;
    }
}