:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --product-hue: 210; /* Neon Blue */
    --service-hue: 150; /* Emerald Green */
    --font-main: 'Inter', sans-serif;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography & Utilities */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, hsl(210, 100%, 60%), hsl(270, 100%, 60%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Navigation - Sticky & Glassmorphism */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(5, 5, 5, 0.1);
}

#navbar.scrolled {
    height: 60px;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo span {
    color: hsl(210, 100%, 60%);
}

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

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

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

/* Magnetic Button Effects */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: #fff;
    color: #000;
}

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

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.reveal-text {
    font-size: clamp(3rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
}

.reveal-line {
    display: block;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(50px);
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.fade-up {
    animation: fadeUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.fade-up.delay-1 {
    animation-delay: 0.8s;
}

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split Section (Product vs Service) */
.split-section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.split-container {
    display: flex;
    gap: 2rem;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
        height: auto;
    }
}

.split-card {
    flex: 1;
    position: relative;
    background: #111;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.split-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.split-card.product-card:hover {
    flex: 1.2;
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 0 80px rgba(0, 102, 255, 0.1) inset;
    border-color: rgba(0, 102, 255, 0.3);
}

.split-card.product-card:hover::before {
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.split-card.service-card:hover {
    flex: 1.2;
    background: rgba(0, 255, 153, 0.05); /* Emerald Green */
    box-shadow: 0 0 80px rgba(0, 255, 153, 0.1) inset;
    border-color: rgba(0, 255, 153, 0.3);
}

.split-card.service-card:hover::before {
    background: radial-gradient(circle at center, rgba(0, 255, 153, 0.15) 0%, transparent 70%);
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.split-card:hover .card-content {
    transform: scale(1.05);
}

.split-card h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

.split-card.product-card:hover h2 {
    color: hsl(210, 100%, 70%);
}

.split-card.service-card:hover h2 {
    color: hsl(150, 100%, 70%);
}

.split-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.learn-more {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow {
    transition: transform 0.3s ease;
}

.split-card:hover .arrow {
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.feature-box:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-secondary);
}

/* Scroll Animation Utilities */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-anim.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-anim.delay-1 {
    transition-delay: 0.1s;
}

.scroll-anim.delay-2 {
    transition-delay: 0.2s;
}

/* Footer */
.footer {
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

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

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Custom Product/Service Box Hovers */
.product-box:hover {
    background: rgba(0, 102, 255, 0.05);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.product-box:hover .feature-icon {
    color: hsl(210, 100%, 70%);
}

.service-box:hover {
    background: rgba(0, 255, 153, 0.05);
    border-color: rgba(0, 255, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 255, 153, 0.15);
}

.service-box:hover .feature-icon {
    color: hsl(150, 100%, 70%);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b4961e;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(180, 150, 30, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
