/* Global Reset & Variables */
:root {
    --bg-dark: #05050A;
    --bg-card: #0F101A;
    --primary: #00F0FF;
    /* Neon Cyan */
    --secondary: #00FF94;
    /* Neon Green */
    --accent: #FFFFFF;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --gradient-main: linear-gradient(135deg, #00F0FF 0%, #00FF94 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(0, 240, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-text {
    text-align: center;
}

.margin-top-60 {
    margin-top: 60px;
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav a:not(.btn):hover {
    color: var(--text-main);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #05050A;
    /* Dark text for contrast against neon */
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 255, 148, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.btn-primary:hover.glow-effect::after {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(0, 240, 255, 0.15), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.vsl-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.unmute-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    backdrop-filter: blur(4px);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    display: none;
    /* Hidden by default */
    transition: opacity 0.3s;
}

.unmute-overlay:hover {
    background: rgba(0, 240, 255, 0.2);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vsl-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1b2e, #0F101A);
    color: var(--text-muted);
    cursor: pointer;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 18px solid #05050A;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Testimonials Carousel */
.testimonials {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05), transparent 40%);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 350px;
}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 40px 60px;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.carousel-button--left {
    left: -70px;
}

.carousel-button--right {
    right: -70px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.current-slide {
    background: var(--primary);
    transform: scale(1.2);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
    /* Center items vertically relative to row */
}

.video-container {
    position: relative;
    width: 100%;
    background: #000;
}

.portfolio-item {
    padding: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    group: hover;
}

.video-placeholder-box {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(180deg, #1a1b2e 0%, #0F101A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

/* Make every other item wider or different ratio if desired, 
   but for now a uniform grid of vertical videos (shorts/reels style) is distinct. */

.play-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.portfolio-item:hover .video-placeholder-box {
    filter: brightness(1.2);
}

.portfolio-item:hover .play-icon {
    color: var(--secondary);
}

.portfolio-info {
    padding: 20px;
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
}

.portfolio-info h4 {
    color: var(--text-main);
    margin-bottom: 5px;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 100px 0 150px;
}

.cta-box {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5), transparent), var(--glass-bg);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.glow-border {
    position: relative;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 15px;
    font-weight: 700;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .carousel-button {
        display: none;
        /* Hide arrows on tablets/mobile, use swipe or dots */
    }

    .carousel-container {
        pointer-events: auto;
        /* Ensure touch events work */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title,
    .cta-box h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}