:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --neon-pink: #ff0080;
    --neon-cyan: #00f2ff;
    --card-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Scroll Smoothing */
html {
    scroll-behavior: smooth;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.progress-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem auto 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--neon-pink), var(--neon-cyan));
    transition: width 0.3s;
}

#loading-text {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-text-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5), 0 0 20px rgba(255, 0, 128, 0.3);
}

.neon-text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5), 0 0 20px rgba(0, 242, 255, 0.3);
}

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

.text-center {
    text-align: center;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(10px);
}

.nav-left { justify-self: start; }
.nav-center { justify-self: center; }
.nav-right { 
    justify-self: end; 
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.glow-button {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--neon-pink);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 0, 128, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3), inset 0 0 10px rgba(255, 0, 128, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glow-button:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.6), 0 0 50px rgba(255, 0, 128, 0.3);
    transform: translateY(-2px);
}

.glow-button .arrow-icon {
    width: 18px;
    height: 18px;
}

.desktop-only {
    display: flex;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu-content a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.mobile-menu-content a:hover {
    color: var(--neon-pink);
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
}

.lang-switch a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.lang-switch a.active, .lang-switch a:hover {
    color: white;
}

/* 3D Canvas Container */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none; /* Let clicks pass through to UI */
}

#three-canvas {
    width: 100%;
    height: 100%;
}

/* NeuralGlow Background System */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: #000;
}

.global-scroll-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%; /* Extra height for scroll effect */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('insta_glow.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    z-index: -1;
}

#neural-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.7; /* Reduced to show bg through */
}

/* Flying Logo */
.flying-logo-container {
    position: fixed;
    top: 50%;
    right: -20%;
    width: 80px; 
    z-index: 5;
    pointer-events: none;
    opacity: 0.4;
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.3));
    transform: translateY(-50%);
}

.flying-logo-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.2);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Contain parallax bg */
}

.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85) 20%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%), url('smartphone_higru.jpeg');
    background-size: cover;
    background-position: 80% center; /* Shifts the smartphone focus to the right */
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
    transition: transform 0.1s ease-out;
}

.hero-content {
    max-width: 700px; /* Increased to allow one-line headlines */
}

.hero-glass-box {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    animation: glass-reveal 2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes glass-reveal {
    0% { opacity: 0; transform: translateX(-80px) scale(0.98); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-content h1 {
    font-size: 3.8rem; /* Reduced from 5rem to ensure it fits in one line */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    white-space: nowrap; /* Forces "Social Media" and "Reels & Content" to stay on one line each */
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 0.95rem;
    color: var(--neon-cyan);
    margin-bottom: 0; /* No margin at bottom of glass box */
    font-weight: 300;
    max-width: 100%;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

/* Services Section */
.services-section {
    min-height: 200vh;
    position: relative;
    z-index: 2;
    padding: 10vh 0;
}

.service-points {
    display: flex;
    flex-direction: column;
    gap: 40vh; /* Large gap for scrollytelling */
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px); /* Increased blur */
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Added shadow for separation */
}

.service-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.service-card.reveal-right {
    align-self: flex-end;
}

.service-card h2 {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    perspective: 1000px;
    text-align: center; /* Ensure text internal centering */
}

.cta-section h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #ffffff;
    max-width: 600px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.neon-button {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
    border-radius: 8px;
    position: relative;
    transform-style: preserve-3d;
    animation: button-float 4s ease-in-out infinite;
    display: block; /* Ensure margin auto works */
    margin: 0 auto;
}

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

.neon-button:hover {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.8);
    transform: translateZ(80px) scale(1.1) rotateY(10deg);
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neon-pink);
    filter: blur(40px);
    opacity: 0.3;
    transform: translateZ(-20px);
    transition: opacity 0.5s;
}

.neon-button:hover::before {
    opacity: 0.8;
}

.cta-teaser {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 1;
    transform-style: preserve-3d;
    animation: teaser-float 5s ease-in-out infinite;
    cursor: default;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@keyframes teaser-float {
    0%, 100% { transform: translateZ(10px) rotateY(-10deg) translateY(0); }
    50% { transform: translateZ(30px) rotateY(10deg) translateY(-10px); }
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
    background: var(--bg-color);
}

.footer-info {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-links .divider {
    color: #ffffff;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--neon-pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
        grid-template-columns: 1fr auto auto;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-center {
        justify-self: end;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem; /* Slightly smaller to fit Reels & Content */
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .navbar {
        grid-template-columns: 1fr auto;
    }
    
    .nav-center {
        display: none; /* Hide business button on small mobile to save space */
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.4rem; 
        white-space: normal; /* Allow wrapping on very small mobile if necessary */
    }
    
    .hero-glass-box {
        padding: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}
