:root {
    --bg-color: #030305;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary-color: #00f2ea;
    --secondary-color: #ff0050;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --font-main: 'Outfit', sans-serif;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    --gradient-text: linear-gradient(90deg, #00f2ea, #ffffff, #ff0050);
    --nav-height: 80px;
    --orb-opacity: 0.25;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    background-size: 200% auto;
    color: #fff;
    border: none;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.4);
    background-position: right center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.2);
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- HEADER --- */
.main-header {
    height: var(--nav-height);
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: var(--glass-border);
    transition: background 0.3s ease;
}

.main-header.scrolled {
    background: rgba(3, 3, 5, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-cta-nav {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    color: #fff !important;
    background: rgba(255,255,255,0.05);
}

.btn-cta-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-cta-nav::after {
    display: none;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero_background_1768605572937.png') no-repeat center center/cover;
    z-index: -1;
    opacity: 0.5;
    background-color: var(--bg-color); /* Fallback/Blend */
    background-blend-mode: overlay;
}

.hero-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3,3,5,0.8) 0%, rgba(3,3,5,0.95) 100%);
    z-index: 0;
}

/* Updated Orbs for better performance and look */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: var(--orb-opacity);
    animation: pulse-glow 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -10%;
    right: -10%;
}

.orb-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

@keyframes pulse-glow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
    100% { transform: scale(1.1) translate(20px, -20px); opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -40px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.text-gradient {
    background-image: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 650px;
    line-height: 1.7;
}

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

/* --- SECTIONS COMMON --- */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- GLASS PANEL --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Softer border */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-panel:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-img {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card .icon-box {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    background: rgba(0, 242, 234, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: #000;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    flex-grow: 1;
}

/* --- ABOUT SECTION --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.feature-list {
    margin-top: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.02);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.feature-list li:hover {
    border-color: var(--border-glass);
    background: rgba(255,255,255,0.05);
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glass-card-visual {
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 1.8rem;
    font-weight: 800;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    font-size: 1.3rem;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    font-size: 1.8rem;
    opacity: 0.6;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    opacity: 1;
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.1);
}

/* --- FOOTER --- */
.main-footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-color);
}

/* --- ANIMATIONS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s ease;
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5,5,10,0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        padding: 40px;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 40px;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        order: 2;
    }
    
    .about-visual {
        order: 1;
        margin-bottom: 40px;
    }

    .feature-list li {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}
