:root {
    --bg-color: #0b0c10;
    --bg-surface: #1f2833;
    --text-primary: #ffffff;
    --text-secondary: #a3abb8;
    --accent: #5e17eb; /* Deep vibrant purple */
    --accent-glow: rgba(94, 23, 235, 0.4);
    --accent-secondary: #00d2ff; /* Electric blue for gradients */
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Background Glows */
.glow-bg, .glow-bg-2 {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-bg {
    top: -10vw;
    left: -10vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.glow-bg-2 {
    top: 40vw;
    right: -20vw;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}

.services, .process, .comparison {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--accent-secondary);
}

.accent-gradient {
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-secondary);
    background: rgba(0, 210, 255, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(11, 12, 16, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.wireframe-box {
    position: absolute;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    background: rgba(31, 40, 51, 0.4);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 210, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.box-1 {
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    z-index: 2;
    animation-delay: 0s;
}

.box-2 {
    width: 60%;
    height: 40%;
    top: 10%;
    right: 5%;
    z-index: 1;
    border-color: rgba(94, 23, 235, 0.3);
    animation-delay: 1s;
}

.box-3 {
    width: 70%;
    height: 35%;
    bottom: 10%;
    left: 5%;
    z-index: 3;
    animation-delay: 2s;
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: float 8s ease-in-out infinite alternate;
}

.orb-1 {
    width: 100px;
    height: 100px;
    background: var(--accent);
    top: 10%;
    left: 20%;
    opacity: 0.6;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-secondary);
    bottom: 20%;
    right: 15%;
    opacity: 0.4;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translateY(0) translateZ(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-20px) translateZ(50px) rotateX(5deg) rotateY(10deg); }
    100% { transform: translateY(0) translateZ(0) rotateX(0) rotateY(0); }
}

/* Services / Problem Solution */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(94, 23, 235, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(94, 23, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Comparison Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.comparison-before {
    width: 100%;
    clip-path: inset(0 50% 0 0);
    z-index: 2;
    background-color: #e0e5ec;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    opacity: 0;
    cursor: ew-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slider-button::after {
    content: '';
    position: absolute;
    top: -500px;
    bottom: -500px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--text-primary);
    z-index: -1;
}

.label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-label {
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
}

.after-label {
    right: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Mock UIs for Slider */
.mock-ui {
    width: 100%;
    height: 100%;
    padding: 2rem;
    position: absolute;
    top: 0;
    left: 0;
}

.after-ui {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mock-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mock-logo { width: 120px; height: 24px; background: linear-gradient(90deg, var(--accent), var(--accent-secondary)); border-radius: 4px; }
.mock-links { display: flex; gap: 1rem; }
.ml { width: 60px; height: 12px; background: rgba(255,255,255,0.2); border-radius: 4px; }

.mock-hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
.mh-text { width: 60%; height: 40px; background: white; border-radius: 8px; }
.mh-sub { width: 40%; height: 16px; background: rgba(255,255,255,0.4); border-radius: 4px; }
.mh-btn { width: 140px; height: 40px; background: var(--accent); border-radius: 20px; margin-top: 1rem; }

.mock-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    height: 100px;
}
.mc { background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }

/* Old UI Mock */
.before-ui {
    color: #333;
    font-family: 'Times New Roman', Times, serif;
}
.mock-nav-old { border-bottom: 2px solid #ccc; padding-bottom: 10px; font-size: 24px; font-weight: bold; }
.mock-hero-old { margin: 30px 0; border: 1px solid #999; padding: 20px; background: #f9f9f9; }
.mock-hero-old h1 { margin-bottom: 10px; color: #000; }
.mock-hero-old button { background: #eee; border: 2px solid #ccc; padding: 5px 15px; cursor: pointer; color: black; }
.mock-sidebar { float: left; width: 20%; border-right: 1px solid #ccc; height: 150px; padding-top: 20px; }
.mock-content-old { float: right; width: 75%; padding-top: 20px; }
.mock-content-old .box { width: 100%; height: 100px; background: #ccc; }


/* Process */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-secondary);
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Footer & Form */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}

.footer-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    background: rgba(0,0,0,0.2);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(255,255,255,0.08);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.direct-contact {
    margin-top: 3rem;
}

.direct-contact h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(94, 23, 235, 0.3);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    background: rgba(94, 23, 235, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
}

.contact-method-info {
    display: flex;
    flex-direction: column;
}

.contact-method-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method-info strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.2s;
}

.reveal-delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-cta {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
