/* ========================================
   MARCELO THIEME - WEBSITE
   ======================================== */

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

:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-bg-dark: #050505;
    --color-white: #ffffff;
    --color-gray: #888888;
    --color-gray-light: #cccccc;
    --color-accent: #9db7ce;
    --color-accent-dark: #253c54;
    --gradient-accent: linear-gradient(135deg, #253c54 0%, #9db7ce 100%);

    /* Typography */
    --font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --container-max: 1400px;
    --container-padding: 60px;
}

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

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header__brand {
    flex-shrink: 0;
}

.header__logo {
    height: 36px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.header__link:hover {
    color: var(--color-white);
}

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

.header__link:hover::after {
    width: 100%;
}

.header__cta {
    padding: 12px 24px;
    font-size: 0.8125rem;
}

.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header__menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu__link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--color-accent);
}

.mobile-menu__cta {
    margin-top: 20px;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade in up */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate-stagger].animate > *:nth-child(1) { transition-delay: 0s; }
[data-animate-stagger].animate > *:nth-child(2) { transition-delay: 0.1s; }
[data-animate-stagger].animate > *:nth-child(3) { transition-delay: 0.2s; }
[data-animate-stagger].animate > *:nth-child(4) { transition-delay: 0.3s; }
[data-animate-stagger].animate > *:nth-child(5) { transition-delay: 0.4s; }
[data-animate-stagger].animate > *:nth-child(6) { transition-delay: 0.5s; }

[data-animate-stagger].animate > * {
    opacity: 1;
    transform: translateY(0);
}

/* Scale in */
[data-animate="scale"] {
    opacity: 0;
    transform: scale(0.95);
}

[data-animate="scale"].animate {
    opacity: 1;
    transform: scale(1);
}

/* Fade in left */
[data-animate="left"] {
    opacity: 0;
    transform: translateX(-30px);
}

[data-animate="left"].animate {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in right */
[data-animate="right"] {
    opacity: 0;
    transform: translateX(30px);
}

[data-animate="right"].animate {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll reveal - suave individual */
[data-animate-scroll] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate-scroll].animate {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-scroll] .stats__number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

[data-animate-scroll].animate .stats__number {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-scroll] .stats__text {
    opacity: 0;
    transition: opacity 0.6s ease 0.4s;
}

[data-animate-scroll].animate .stats__text {
    opacity: 1;
}

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

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: url('../Prancheta 1.png') no-repeat center center;
    background-size: cover;
}

/* Scroll Indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 140px;
    right: 80px;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: fadeInUp 1s ease 1.5s both;
}

.hero__mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.hero__mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

.hero__scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, #000000 100%);
    pointer-events: none;
    z-index: 0;
}


/* Container */
.hero__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* Content */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Logo */
.hero__logo {
    margin-bottom: 16px;
}

.hero__logo-img {
    height: 56px;
    width: auto;
}

/* Title */
.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(to bottom, #c4c4c4 0%, #626262 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Description */
.hero__description {
    font-size: 1rem;
    color: var(--color-gray-light);
    max-width: 480px;
    line-height: 1.7;
}

/* CTA Buttons */
.hero__cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
}

.btn {
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: none;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #3a5a7c 0%, #b8cfe0 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 60, 84, 0.3);
}

.btn--link {
    color: var(--color-white);
    font-size: 0.8rem;
    position: relative;
}

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

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

/* Tags */
.hero__pillars {
    margin-top: auto;
    padding-top: 85px;
}

.hero__pillars-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hero__pillars-title {
    font-size: 0.9rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 4px;
}

.hero__pillars-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
}

.hero__pillars-arrow {
    color: var(--color-gray);
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.hero__tags-marquee {
    overflow: hidden;
    max-width: 400px;
}

.hero__tags-track {
    display: flex;
    gap: 32px;
    animation: marqueeLeft 12s linear infinite;
}

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

.hero__tag {
    font-size: 0.875rem;
    color: var(--color-gray);
    position: relative;
    white-space: nowrap;
}

.hero__tag:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 50%;
}


/* ========================================
   MARQUEE SECTION
   ======================================== */

.marquee-section {
    position: relative;
    padding: 60px 0;
    background-color: #000000;
    overflow: hidden;
    margin-top: -200px;
    z-index: 2;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee__inner {
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

.marquee__item {
    position: relative;
    width: 280px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card */
.marquee__card {
    width: 320px;
    height: 360px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marquee__card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.48);
}

.marquee__card-title {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-white);
}

.marquee__card-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee__card-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.marquee__card-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.marquee__card-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.64);
}

.marquee__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.marquee__card-link svg {
    transition: transform 0.3s ease;
}

.marquee__card-link:hover svg {
    transform: translateX(4px);
}

/* Video Card */
.marquee__card--video {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.marquee__card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.marquee__card-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(37, 60, 84, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.marquee__card--video .marquee__card-top,
.marquee__card--video .marquee__card-bottom {
    position: relative;
    z-index: 2;
}

/* Shadows */
.marquee__shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee__shadow--left {
    left: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.marquee__shadow--right {
    right: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

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

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 60px 0 100px 0;
    background-color: #000000;
}

.about__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image img {
    width: 100%;
    height: auto;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

.about__title--highlight {
    background: linear-gradient(to bottom, #c4c4c4 0%, #626262 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__text p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #999999;
}

/* ========================================
   SECTION SEPARATOR
   ======================================== */

.section-separator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 32px 0;
    padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
    padding-right: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
    background-color: #000000;
}

.section-separator__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(157, 183, 206, 0.3) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.section-separator__line:first-child {
    display: none;
}

.section-separator__glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
    animation: separatorGlow 3s ease-in-out infinite;
}

.section-separator__line:last-of-type .section-separator__glow {
    animation-direction: reverse;
}

@keyframes separatorGlow {
    0% {
        left: -60%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.section-separator__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(37, 60, 84, 0.4) 0%, rgba(37, 60, 84, 0.1) 100%);
    border: 1px solid rgba(157, 183, 206, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    animation: separatorPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

.section-separator__icon img {
    width: 22px;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

@keyframes separatorPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(157, 183, 206, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 12px 2px rgba(157, 183, 206, 0.15);
    }
}

/* ========================================
   SERVICES SECTION - Vertical Tabs
   ======================================== */

.services-v2 {
    padding: 120px 0;
    background-color: #000000;
}

.services-v2__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.services-v2__headline {
    margin-bottom: 60px;
}

.services-v2__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.48);
    display: block;
    margin-bottom: 24px;
}

.services-v2__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
    max-width: 800px;
}

.services-v2__content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: stretch;
}

.services-v2__tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.services-v2__tab {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-family: inherit;
}

.services-v2__tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.services-v2__tab.active {
    background: linear-gradient(135deg, #253c54 0%, #3a5a7c 50%, #253c54 100%);
    background-size: 200% 200%;
    animation: tabGradientMove 3s ease infinite;
    border-color: transparent;
    transform: translateX(0);
    position: relative;
    overflow: hidden;
}

.services-v2__tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    animation: tabShine 2s ease-in-out infinite;
}

@keyframes tabGradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes tabShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.services-v2__tab-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.services-v2__tab.active .services-v2__tab-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.services-v2__tab-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.services-v2__tab-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease;
    line-height: 1.3;
}

.services-v2__tab-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.services-v2__tab.active .services-v2__tab-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* CTA Card */
.services-v2__cta-card {
    margin-top: auto;
    padding: 32px;
    background: linear-gradient(145deg, rgba(37, 60, 84, 0.3) 0%, rgba(37, 60, 84, 0.1) 100%);
    border: 1px solid rgba(157, 183, 206, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.services-v2__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.services-v2__cta-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
}

.services-v2__cta-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.services-v2__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-accent);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.services-v2__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 60, 84, 0.4);
}

.services-v2__cta-button svg {
    transition: transform 0.3s ease;
}

.services-v2__cta-button:hover svg {
    transform: translateX(4px);
}

.services-v2__panels {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
}

.services-v2__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.services-v2__panel.active {
    opacity: 1;
    visibility: visible;
}

.services-v2__panel-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.services-v2__panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.services-v2__panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

.services-v2__panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.services-v2__panel-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
}

.services-v2__panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 12px;
    transition: all 0.3s ease;
    width: fit-content;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.services-v2__panel-cta:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.services-v2__panel-cta svg {
    transition: transform 0.3s ease;
}

.services-v2__panel-cta:hover svg {
    transform: translateX(6px);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats {
    padding: 120px 0;
    background-color: #000000;
}

.stats__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.stats__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.stats__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.48);
}

.stats__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
}

.stats__description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #888888;
    max-width: 320px;
}

.btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: transparent;
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
}

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

.stats__right {
    display: flex;
    flex-direction: column;
}

.stats__item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats__item:first-child {
    padding-top: 0;
}

.stats__number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    background: linear-gradient(to bottom, #c4c4c4 0%, #626262 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stats__text {
    font-size: 0.9375rem;
    color: #888888;
    line-height: 1.6;
}

/* ========================================
   MEDIA SECTION
   ======================================== */

.media {
    padding: 100px 0;
    background-color: #000000;
}

.media__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.media__top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end;
    margin-bottom: 48px;
}

.media__header {
    max-width: 500px;
}

.media__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.48);
    display: block;
    margin-bottom: 20px;
}

.media__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-white);
}

/* Tabs */
.media__tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
}

.media__tab {
    padding: 12px 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.media__tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.media__tab.active {
    color: var(--color-white);
}

.media__tab.active::after {
    width: 100%;
}

/* Panels */
.media__panel {
    display: none;
    animation: fadeInPanel 0.5s ease;
}

.media__panel.active {
    display: block;
}

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

.media__description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin-bottom: 32px;
}

/* Grid */
.media__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.media__grid--books {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Cards */
.media__card {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.media__card:hover {
    border-color: rgba(157, 183, 206, 0.2);
    transform: translateY(-4px);
}

.media__card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.media__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.media__card:hover .media__card-image img {
    transform: scale(1.05);
}

.media__card-content {
    padding: 20px;
}

.media__card-tag {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
}

.media__card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: 8px;
}

.media__card-excerpt {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Books */
.media__book {
    display: flex;
    gap: 32px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.media__book-cover {
    flex-shrink: 0;
    width: 150px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.media__book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media__book-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media__book-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.media__book-author {
    font-size: 0.875rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.media__book-description {
    font-size: 0.9375rem;
    color: #888888;
    line-height: 1.6;
    flex-grow: 1;
}

.btn--small {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

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

.contact {
    padding: 120px 0;
    background-color: #000000;
}

.contact__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.contact__left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.48);
}

.contact__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-white);
}

.contact__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #888888;
    max-width: 400px;
}

/* Team */
.contact__team {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__team-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.contact__team-member {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.contact__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact__member-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.contact__member-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #888888;
}

.contact__dot {
    color: #555555;
}

.contact__email {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact__email:hover {
    opacity: 0.8;
}

/* Right */
.contact__right {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
}

.contact__image {
    position: absolute;
    inset: 0;
}

.contact__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__video {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contact__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__tiles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 48px);
    max-width: 400px;
}

.contact__tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__tile-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.contact__tile-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact__tile-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.contact__tile-value {
    font-size: 0.9375rem;
    color: var(--color-white);
}

.contact__tile-value a {
    color: var(--color-white);
    text-decoration: none;
}

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

.footer {
    background-color: #000000;
}

.footer__container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer__main {
    padding: 80px 0;
}

.footer__divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer__brand {
    display: inline-block;
}

.footer__logo {
    height: 40px;
    width: auto;
}

/* Newsletter */
.footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__newsletter-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__newsletter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.48);
}

.footer__newsletter-field {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.footer__newsletter-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.9375rem;
    outline: none;
}

.footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-btn {
    padding: 14px 20px;
    background: var(--gradient-accent);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer__newsletter-btn:hover {
    background: linear-gradient(135deg, #3a5a7c 0%, #b8cfe0 100%);
}

.footer__newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.48);
}

/* Footer Right - Columns */
.footer__right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__column-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.48);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 0.9375rem;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Footer Marquee */
.footer__marquee {
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__marquee-track {
    display: flex;
    animation: footerMarquee 8s linear infinite;
}

.footer__marquee-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.footer__marquee-logo {
    height: 120px;
    width: auto;
}

.footer__marquee-separator {
    font-size: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes footerMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Footer Bottom */
.footer__bottom {
    padding: 32px 0;
}

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

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: var(--color-white);
}

.footer__copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.48);
}

.footer__credit {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__credit:hover {
    opacity: 0.8;
}

/* Footer Legal */
.footer__legal {
    padding: 24px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__legal-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.32);
    line-height: 1.7;
    max-width: 900px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --container-padding: 40px;
    }

    .header__nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .header__menu-toggle {
        display: flex;
    }

    .hero {
        background-position: right center;
    }

    .hero__content {
        max-width: 500px;
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image {
        max-width: 400px;
        margin: 0 auto;
    }

    .stats__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats__left {
        position: static;
    }

    .marquee-section {
        margin-top: 0;
    }

    /* Services Responsive */
    .services-v2__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-v2__tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .services-v2__tabs::-webkit-scrollbar {
        display: none;
    }

    .services-v2__tab {
        flex-shrink: 0;
        min-width: 280px;
        padding: 20px 24px;
    }

    .services-v2__tab:hover {
        transform: none;
    }

    .services-v2__panels {
        min-height: 380px;
    }

    .services-v2__panel-content {
        padding: 28px;
    }

    .services-v2__panel-title {
        font-size: 1.375rem;
    }

    .services-v2__cta-card {
        display: none;
    }

    .section-separator {
        padding: 24px 20px;
        gap: 16px;
    }

    
    .section-separator__icon {
        width: 44px;
        height: 44px;
    }

    .section-separator__icon img {
        width: 18px;
    }

    .media__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .media__tabs {
        gap: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .media__tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .media__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .media__grid--books {
        grid-template-columns: 1fr;
    }

    .media__book {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
        gap: 24px;
    }

    .media__book-cover {
        width: 120px;
        height: 180px;
    }

    .media__book-content {
        align-items: center;
    }

    .media__book-title {
        font-size: 1.1rem;
    }

    .media__book-description {
        font-size: 0.875rem;
    }

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

    .contact {
        padding: 80px 0;
    }

    .contact__left {
        gap: 40px;
    }

    .contact__title {
        font-size: 2rem;
    }

    .contact__description {
        font-size: 1rem;
    }

    .contact__team-member {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact__member-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .contact__dot {
        display: none;
    }

    .contact__right {
        min-height: 350px;
    }

    .contact__tiles {
        width: 90%;
    }

    .contact__tile {
        padding: 14px 16px;
    }

    .contact__tile-value {
        font-size: 0.875rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__right {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hero__tags-marquee {
        overflow: hidden;
    }

    :root {
        --container-padding: 24px;
    }

    .hero {
        background: url('../bgmocile2.png') no-repeat center center;
        background-size: cover;
    }

    .hero__logo-img {
        max-width: 100px;
    }

    .hero__content {
        gap: 14px;
        padding-top: 10px;
    }

    .hero__title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0;
    }

    .hero__description {
        font-size: 15px;
        padding-right: 40px;
        line-height: 1.5;
    }

    .hero__cta {
        flex-direction: column;
        gap: 10px;
        margin-top: 5px;
    }

    .hero__cta .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero__pillars {
        padding-top: 12px;
    }

    .hero__pillars-header {
        margin-bottom: 10px;
        justify-content: center;
    }

    .hero__pillars-title {
        font-size: 0.7rem;
    }

    .hero__tags-marquee {
        max-width: 100%;
    }

    .hero__tags-track {
        gap: 20px;
    }

    .hero__tag {
        font-size: 0.8rem;
    }

    .hero__tag:not(:last-child)::after {
        display: block;
        right: -12px;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .marquee {
        overflow: hidden;
    }

    .marquee__item {
        width: 220px;
        height: 300px;
    }

    .marquee__card {
        width: 260px;
        height: 300px;
        padding: 20px;
    }

    .marquee__card-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }

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

    .marquee__card-stats {
        gap: 2px;
    }

    .marquee__card--video .marquee__card-top,
    .marquee__card--video .marquee__card-bottom {
        position: relative;
        z-index: 3;
    }

    .marquee__card-video-overlay {
        z-index: 2;
    }

    .hero::after {
        height: 75vh;
    }

    .services__tab-expanded {
        height: 220px;
    }

    .services__tab-item.active .services__tab-content {
        max-height: 220px;
    }

    /* Services Mobile */
    .services-v2__tabs {
        flex-direction: column;
        gap: 8px;
    }

    .services-v2__tab {
        min-width: auto;
        padding: 18px 20px;
        gap: 16px;
    }

    .services-v2__tab-icon {
        width: 44px;
        height: 44px;
    }

    .services-v2__tab-title {
        font-size: 0.9375rem;
    }

    .services-v2__tab-subtitle {
        font-size: 0.8125rem;
    }

    .services-v2__panels {
        min-height: 320px;
    }

    .services-v2__panel-content {
        padding: 24px;
        gap: 10px;
    }

    .services-v2__panel-title {
        font-size: 1.125rem;
    }

    .services-v2__panel-description {
        font-size: 0.875rem;
    }

    .section-separator {
        padding: 20px 16px;
        gap: 12px;
    }

    
    .section-separator__icon {
        width: 36px;
        height: 36px;
    }

    .section-separator__icon img {
        width: 14px;
    }

    .footer__marquee-track {
        animation: footerMarquee 4s linear infinite;
    }
}
