:root {
    --primary: #000000;
    --secondary: #ffffff;
    --accent: #00bcd4;
    --accent-light: #4dd0e1;
    --accent-dark: #00838f;
    --dark: #000000;
    --light: #ffffff;
    --gray: #9e9e9e;
    --gray-light: #f5f5f5;
    --gradient-1: linear-gradient(135deg, #000000 0%, #212121 100%);
    --gradient-2: linear-gradient(135deg, #00bcd4 0%, #00acc1 100%);
    --gradient-3: linear-gradient(135deg, #000000 0%, #00bcd4 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light);
    overflow-x: hidden;
    background: var(--dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: 4px;
    font-family: 'Montserrat', sans-serif;
}

.logo-a {
    display: inline-block;
    position: relative;
}

.logo-a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 35px solid var(--accent);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Music Wave Menu Icon */
.hamburger {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    height: 30px;
    padding: 5px;
    position: relative;
}

/* Hover effect - subtle opacity change */
.hamburger:hover .bar {
    opacity: 0.8;
}

.bar {
    width: 4px;
    background: white;
    transition: all 0.4s ease;
    border-radius: 2px;
    position: relative;
}

/* Initial different heights for visual interest */
.bar:nth-child(1) {
    height: 14px;
}

.bar:nth-child(2) {
    height: 22px;
}

.bar:nth-child(3) {
    height: 14px;
}

/* When menu is active, bars animate and change color smoothly */
.hamburger.active .bar {
    background: var(--accent);
    box-shadow: 0 0 5px rgba(0, 188, 212, 0.3);
}

.hamburger.active .bar:nth-child(1) {
    animation: wave1 0.8s ease-in-out infinite;
}

.hamburger.active .bar:nth-child(2) {
    animation: wave2 0.8s ease-in-out infinite;
    animation-delay: 0.1s;
}

.hamburger.active .bar:nth-child(3) {
    animation: wave3 0.8s ease-in-out infinite;
    animation-delay: 0.2s;
}

/* After menu closes, clean color after delay */
.hamburger:not(.active) .bar {
    animation: none;
}

/* Add subtle glow when active */
.hamburger.active {
    filter: drop-shadow(0 0 3px rgba(0, 188, 212, 0.4));
}

/* Smooth wave animations using height */
@keyframes wave1 {
    0%, 100% {
        height: 14px;
    }
    50% {
        height: 20px;
    }
}

@keyframes wave2 {
    0%, 100% {
        height: 22px;
    }
    50% {
        height: 28px;
    }
}

@keyframes wave3 {
    0%, 100% {
        height: 14px;
    }
    50% {
        height: 20px;
    }
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    opacity: 0.2;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-2);
    bottom: -150px;
    right: -150px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-light);
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(-30px, 50px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
    margin: 0 auto 80px auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Remove letter-spacing from logo image */
.hero-title img {
    letter-spacing: 0;
    display: block;
    margin: 0 auto;
}

.hero-title .accent {
    color: var(--accent);
}

.title-line-1 {
    display: block;
    animation: slideInLeft 0.8s ease;
}

.title-line-2 {
    display: block;
    color: var(--accent);
    animation: slideInRight 0.8s ease 0.2s both;
    font-size: 0.7em;
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease 0.4s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.4);
    background: var(--accent-light);
}

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

.btn-secondary:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.btn-light {
    background: white;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent);
    border-radius: 60px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--dark);
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    color: var(--secondary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 188, 212, 0.1);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: linear-gradient(135deg, #111 0%, #222 100%);
}

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

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.feature-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--secondary);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.visual-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 100px;
}

.waveform span {
    display: block;
    width: 4px;
    background: var(--gradient-2);
    border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { animation-delay: 0s; height: 40px; }
.waveform span:nth-child(2) { animation-delay: 0.1s; height: 60px; }
.waveform span:nth-child(3) { animation-delay: 0.2s; height: 45px; }
.waveform span:nth-child(4) { animation-delay: 0.3s; height: 70px; }
.waveform span:nth-child(5) { animation-delay: 0.4s; height: 55px; }
.waveform span:nth-child(6) { animation-delay: 0.5s; height: 80px; }
.waveform span:nth-child(7) { animation-delay: 0.6s; height: 65px; }
.waveform span:nth-child(8) { animation-delay: 0.7s; height: 90px; }
.waveform span:nth-child(9) { animation-delay: 0.8s; height: 75px; }
.waveform span:nth-child(10) { animation-delay: 0.9s; height: 85px; }
.waveform span:nth-child(11) { animation-delay: 1s; height: 70px; }
.waveform span:nth-child(12) { animation-delay: 1.1s; height: 60px; }
.waveform span:nth-child(13) { animation-delay: 1.2s; height: 50px; }
.waveform span:nth-child(14) { animation-delay: 1.3s; height: 45px; }
.waveform span:nth-child(15) { animation-delay: 1.4s; height: 35px; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient-2);
    text-align: center;
    color: var(--dark);
}

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

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3, .footer h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer ul {
    list-style: none;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 4rem 0;
    background: var(--gradient-3);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .hamburger {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-content {
        margin-bottom: 60px; /* Space for scroll indicator on mobile */
    }
}

/* Media query for low height viewports (laptops, wide screens) */
@media (max-height: 850px) and (min-width: 769px) {
    .hero-content {
        margin-bottom: 70px;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    .scroll-indicator .mouse {
        width: 28px;
        height: 45px;
    }

    .hero-logo-img {
        height: 140px !important;
    }

    .hero-slogan {
        margin-top: 2rem !important;
        margin-bottom: 2.5rem !important;
    }
}

@media (max-height: 750px) and (min-width: 769px) {
    .hero-content {
        margin-bottom: 0; /* Remove margin on low screens */
    }

    .scroll-indicator {
        display: none; /* Hide on low height screens */
    }

    .hero-logo-img {
        height: 120px !important;
    }

    .hero-slogan {
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
        font-size: 1rem !important;
    }
}

/* Only hide on extremely low heights */
@media (max-height: 650px) and (min-width: 769px) {
    .scroll-indicator {
        display: none;
    }

    .hero-content {
        margin-bottom: 0; /* Remove margin when indicator is hidden */
    }
}

/* Ensure scroll indicator doesn't overlap on mobile landscape */
@media (max-height: 600px) and (max-width: 768px) {
    .hero-content {
        margin-bottom: 0; /* Remove margin when indicator is hidden */
    }

    .scroll-indicator {
        display: none;
    }

    .hero-logo-img {
        height: 80px !important;
    }

    .hero-slogan {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* Ultra-wide screens with limited height */
@media (min-aspect-ratio: 2/1) and (max-height: 900px) and (min-height: 750px) {
    .hero-content {
        margin-bottom: 90px;
    }

    .scroll-indicator {
        bottom: 40px;
    }
}