/* ========================================
   MY SUCCESSFUL MEDIA — Design System
   Inspired by agence-business-partner.com
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #09090b;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

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

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

p {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.7;
}

.text-muted {
    color: rgba(255, 255, 255, 0.4);
}

.hero-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Tag */
.section-tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(0, 64, 255);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 4px;
    cursor: pointer;
    gap: 0;
    font-family: inherit;
}

.lang-option {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.lang-option.active {
    background: rgb(0, 64, 255);
    color: #fff;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 14px;
    padding: 10px 24px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgb(0, 64, 255);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 64, 255, 0.3);
}

.btn-primary:hover {
    background: rgb(20, 80, 255);
    box-shadow: 0 0 40px rgba(0, 64, 255, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    margin-top: 24px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 64, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero-tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* ========================================
   CLIENT MARQUEE
   ======================================== */
.clients {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 120px;
}

.marquee-item img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.marquee-item img:hover {
    opacity: 0.8;
}

/* Fallback text for missing logos */
.marquee-item .logo-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.marquee-item .logo-text:hover {
    color: rgba(255, 255, 255, 0.8);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-label {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 24px;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 120px 0;
}

.services h2 {
    margin-bottom: 24px;
}

.section-intro {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    line-height: 1.8;
    margin-bottom: 64px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ========================================
   5 PILLARS
   ======================================== */
.pillars {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pillars h2 {
    margin-bottom: 24px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
}

.pillar-card:hover {
    background: rgba(0, 64, 255, 0.05);
    border-color: rgba(0, 64, 255, 0.2);
    transform: translateY(-4px);
}

.pillar-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 64, 255, 0.2);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.pillar-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.service-card-featured {
    border-color: rgba(0, 64, 255, 0.3);
    background: rgba(0, 64, 255, 0.05);
}

.service-card-featured:hover {
    border-color: rgba(0, 64, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 64, 255, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 64, 255, 0.1);
    border-radius: 12px;
    color: rgb(0, 64, 255);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 8px;
    color: #fff;
}

.service-flag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(0, 64, 255);
    background: rgba(0, 64, 255, 0.1);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
    width: fit-content;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.service-features {
    list-style: none;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-features li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(0, 64, 255);
}

/* ========================================
   PHILOSOPHY
   ======================================== */
.philosophy {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.philosophy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.philosophy-quote {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.quote-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    color: rgb(0, 64, 255);
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    padding-top: 24px;
}

.philosophy-text h2 {
    margin-bottom: 24px;
}

.philosophy-text p {
    font-size: 1rem;
    margin-bottom: 16px;
}

/* ========================================
   EXPERTISE
   ======================================== */
.expertise {
    padding: 120px 0;
}

.expertise h2 {
    margin-bottom: 64px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.expertise-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.expertise-fill {
    height: 100%;
    background: linear-gradient(90deg, rgb(0, 64, 255), rgba(0, 64, 255, 0.6));
    border-radius: 4px;
    transition: width 1s ease;
}

.expertise-card h4 {
    color: #fff;
    margin-bottom: 8px;
}

.expertise-card p {
    font-size: 0.9375rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 120px 0;
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 48px;
    background: rgba(0, 64, 255, 0.04);
    border: 1px solid rgba(0, 64, 255, 0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 64, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    margin-bottom: 32px;
    position: relative;
}

.cta-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    position: relative;
}

.cta-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.cta-point svg {
    flex-shrink: 0;
    color: rgb(0, 64, 255);
    margin-top: 2px;
}

.cta-section .btn {
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

@media (max-width: 768px) {
    .hero {
        padding: 100px 16px 60px;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .cta-inner {
        padding: 48px 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .marquee-track {
        gap: 40px;
    }
}
