/* ================================================
   GIGO — The Signal Brand Identity
   ================================================
   Color Palette:
   - Deep Black: #0A0A0A
   - Off White: #F5F5F0
   - Electric Blue: #00A3FF
   - Deep Navy: #003A5C
   ================================================ */

/* ================================================
   RESET & BASE STYLES
   ================================================ */

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

:root {
    --color-black: #0A0A0A;
    --color-off-white: #F5F5F0;
    --color-electric-blue: #00A3FF;
    --color-deep-navy: #003A5C;
    --color-signal-glow: rgba(0, 163, 255, 0.4);
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--color-electric-blue);
    color: var(--color-black);
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ================================================
   LAYOUT UTILITIES
   ================================================ */

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ================================================
   SECTION HEADERS
   ================================================ */

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-electric-blue);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-description {
    color: rgba(245, 245, 240, 0.7);
    font-size: 1.25rem;
    line-height: 1.7;
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-electric-blue);
    color: var(--color-black);
}

.btn-primary:hover {
    background-color: #00c8ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-off-white);
    color: var(--color-black);
}

/* ================================================
   NAVIGATION
   ================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 163, 255, 0.1);
    transition: var(--transition-smooth);
}

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

.nav-logo {
    position: relative;
}

.logo-wordmark {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--color-off-white);
}

.logo-signal {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--color-electric-blue);
    opacity: 0.8;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-off-white);
    position: relative;
}

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

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

.nav-link-cta {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-electric-blue);
    color: var(--color-black);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background-color: #00c8ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-off-white);
    transition: var(--transition-smooth);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(0, 163, 255, 0.2);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link-cta {
        width: 100%;
        text-align: center;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Slideshow */
.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    transform: scale(1);
}

.hero-bg-slide.active {
    opacity: 1;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

/* Ken Burns zoom effect for dynamic movement */
@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.75) 50%,
        rgba(0, 58, 92, 0.65) 100%
    );
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    z-index: 2;
}

.hero-wordmark {
    position: relative;
    margin-bottom: 2rem;
}

.hero-wordmark h1 {
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--color-off-white);
    position: relative;
    z-index: 1;
}

.hero-signal-line {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-electric-blue) 0%, transparent 100%);
    animation: signalPulse 3s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% { opacity: 0.8; width: 100%; }
    50% { opacity: 1; width: 110%; }
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(245, 245, 240, 0.9);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(245, 245, 240, 0.7);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.waveform-container {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(245, 245, 240, 0.5);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-electric-blue) 0%, transparent 100%);
    animation: scrollIndicate 2s ease-in-out infinite;
}

@keyframes scrollIndicate {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-visual {
        order: -1;
    }

    .waveform-container {
        height: 250px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================================
   SERVICES SECTION
   ================================================ */

.services {
    padding: 8rem 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, var(--color-electric-blue) 100%);
}

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

.service-card {
    padding: 2.5rem;
    background-color: rgba(245, 245, 240, 0.03);
    border: 1px solid rgba(0, 163, 255, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-electric-blue);
    transition: width 0.4s ease;
}

.service-card:hover {
    border-color: var(--color-electric-blue);
    background-color: rgba(0, 163, 255, 0.05);
    transform: translateY(-5px);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-off-white);
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 245, 240, 0.7);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   PROCESS SECTION
   ================================================ */

.process {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-black) 0%, rgba(0, 58, 92, 0.1) 100%);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding-left: 120px;
    margin-bottom: 4rem;
}

.process-step:last-child .process-connector {
    display: none;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-electric-blue);
    line-height: 1;
    opacity: 0.3;
}

.process-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-off-white);
}

.process-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(245, 245, 240, 0.7);
}

.process-connector {
    position: absolute;
    left: 28px;
    top: 80px;
    width: 2px;
    height: calc(100% + 2rem);
    background: linear-gradient(180deg, var(--color-electric-blue) 0%, transparent 100%);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .process-step {
        padding-left: 80px;
    }

    .process-number {
        font-size: 2rem;
    }

    .process-connector {
        left: 18px;
    }
}

/* ================================================
   CLIENTS & MUSICIANS SECTIONS
   ================================================ */

.clients, .musicians {
    padding: 8rem 0;
}

.musicians {
    background: linear-gradient(180deg, rgba(0, 58, 92, 0.05) 0%, var(--color-black) 100%);
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-content-reverse {
    direction: rtl;
}

.split-content-reverse > * {
    direction: ltr;
}

.split-text {
    max-width: 600px;
}

.split-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(245, 245, 240, 0.8);
    margin: 2rem 0 3rem;
}

.client-types, .musician-benefits {
    margin: 3rem 0;
}

.client-type {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-electric-blue);
}

.client-type h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-off-white);
}

.client-type p {
    font-size: 1rem;
    color: rgba(245, 245, 240, 0.7);
}

.musician-benefits h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-off-white);
}

.musician-benefits p {
    margin-bottom: 1rem;
    color: rgba(245, 245, 240, 0.7);
}

.split-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-box {
    width: 100%;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.05) 0%, rgba(0, 58, 92, 0.1) 100%);
    border: 1px solid rgba(0, 163, 255, 0.2);
    border-radius: 4px;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 163, 255, 0.2);
}

.stat-card:last-child {
    border-bottom: none;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-electric-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 245, 240, 0.7);
}

.visual-box-musicians {
    background: linear-gradient(135deg, rgba(0, 58, 92, 0.1) 0%, rgba(0, 163, 255, 0.05) 100%);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.feature-item svg {
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .split-content,
    .split-content-reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .split-text {
        max-width: none;
    }
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-black) 0%, rgba(0, 58, 92, 0.1) 100%);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.contact-form {
    background-color: rgba(245, 245, 240, 0.03);
    border: 1px solid rgba(0, 163, 255, 0.1);
    padding: 3rem;
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: var(--color-off-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(245, 245, 240, 0.2);
    color: var(--color-off-white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-electric-blue);
    background-color: rgba(0, 163, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00FF88;
}

.form-message.error {
    display: block;
    background-color: rgba(255, 0, 68, 0.1);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: #FF0044;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    border: 1px solid rgba(0, 163, 255, 0.1);
}

.contact-info-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-electric-blue);
}

.contact-info-item a {
    font-size: 1.125rem;
    color: var(--color-off-white);
}

.contact-info-item a:hover {
    color: var(--color-electric-blue);
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background-color: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(0, 163, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    position: relative;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(245, 245, 240, 0.5);
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--color-electric-blue);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    font-size: 0.9rem;
    color: rgba(245, 245, 240, 0.7);
}

.footer-column a:hover {
    color: var(--color-electric-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 245, 240, 0.1);
    font-size: 0.875rem;
    color: rgba(245, 245, 240, 0.5);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--color-electric-blue);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ================================================
   ANIMATIONS & UTILITIES
   ================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Smooth scrolling offset for fixed nav */
section {
    scroll-margin-top: 80px;
}