/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Colors */
    --color-primary: #00FFFF;
    --color-secondary: #6A0DAD;
    --color-bg: #1A1F33;
    --color-bg-elevated: #1E2438;
    --color-bg-card: rgba(255, 255, 255, 0.04);
    --color-fg: #E0E0E0;
    --color-fg-muted: #8A8A9A;
    --color-primary-fg: #000000;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(0, 255, 255, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00FFFF 0%, #6A0DAD 100%);
    --gradient-text: linear-gradient(90deg, #ffffff, #00FFFF, #6A0DAD);
    --gradient-hero-text: linear-gradient(135deg, #00FFFF 0%, #a855f7 50%, #6A0DAD 100%);

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-section: 7rem;

    /* Layout */
    --max-width: 1100px;
    --max-width-wide: 1400px;
    --header-height: 86px;
    --border-radius: 16px;
    --border-radius-sm: 10px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-fg);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: #ffffff;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--wide {
    max-width: var(--max-width-wide);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.gradient-text {
    background: var(--gradient-hero-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text--full {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-primary-fg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
    background: #33FFFF;
    color: var(--color-primary-fg);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.45), 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn--text {
    background: none;
    color: var(--color-primary);
    padding: 0;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    border-radius: 0;
    text-transform: none;
    font-weight: 500;
    align-self: flex-start;
    justify-content: flex-start;
}

.btn--text:hover {
    color: #ffffff;
}

.btn--text svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.btn--text:hover svg {
    transform: translateX(4px);
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.06), 0 0 0 1px rgba(0, 255, 255, 0.1);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(26, 31, 51, 0.9);
    backdrop-filter: blur(24px) saturate(1.1);
    -webkit-backdrop-filter: blur(24px) saturate(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
    background: rgba(26, 31, 51, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width-wide);
    padding: 0 3rem;
}

.site-logo img {
    height: 65px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu__list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu__list li a {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--color-fg);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color var(--transition-base);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu__list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-menu__list li a:hover {
    color: var(--color-primary);
}

.nav-menu__list li a:hover::after {
    width: 100%;
}

.nav-menu__list li.current-menu-item a,
.nav-menu__list li.current_page_item a {
    color: var(--color-primary);
}

.nav-menu__list li.current-menu-item a::after,
.nav-menu__list li.current_page_item a::after {
    width: 100%;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-fg);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
    background-color: #1A1F33;
    background-image:
        radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.55) 70%);
}

/* Grid pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 67px 67px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Bloom gradients with breathing animation */
.hero::after {
    content: '';
    position: absolute;
    inset: -15% 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 255, 240, 0.55) 0%, rgba(0, 255, 240, 0.20) 12%, transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(140, 40, 255, 0.60) 0%, rgba(140, 40, 255, 0.22) 12%, transparent 32%);
    opacity: 0.95;
    animation: breathe 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Hide decorative blobs (replaced by background gradients) */
.hero-blob {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: var(--space-lg);
}

/* Hero logo with rotating rings */
.hero-logo-wrapper {
    position: relative;
    width: 202px;
    height: 202px;
    margin-bottom: 32px;
}

.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: none;
    opacity: 1;
}

.hero-ring {
    position: absolute;
    pointer-events: none;
}

/* Outer ring – thin, static border */
.hero-ring--outer {
    inset: -18px;
    border-radius: 50%;
    border: 1.5px solid rgba(57, 246, 255, 0.18);
    z-index: 1;
}

/* Inner ring – thick gradient SVG, rotating */
.hero-ring--main {
    inset: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    z-index: 1;
    animation: spin-clockwise 14s linear infinite;
    filter: drop-shadow(0 0 12px rgba(57, 246, 255, 0.25));
    -webkit-mask-image: conic-gradient(
        from 0deg,
        transparent 0deg,
        white 70deg,
        white 110deg,
        transparent 180deg,
        white 250deg,
        white 290deg,
        transparent 360deg
    );
    mask-image: conic-gradient(
        from 0deg,
        transparent 0deg,
        white 70deg,
        white 110deg,
        transparent 180deg,
        white 250deg,
        white 290deg,
        transparent 360deg
    );
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.25rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #E8FFFF 0%, #39F6FF 30%, #4F7CFF 60%, #8F2BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 0.32em;
    line-height: 1.4;
    color: #39F6FF;
    margin-top: 10px;
}

.hero-desc {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    max-width: 560px;
    text-align: center;
    color: #B8C0CC;
    opacity: 0.85;
    margin-top: 14px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero button overrides */
.hero-buttons .btn {
    width: 190px;
    height: 48px;
    border-radius: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-buttons .btn--primary {
    background: #39F6FF;
    color: #001417;
    box-shadow: 0 0 16px rgba(57, 246, 255, 0.3);
}

.hero-buttons .btn--primary:hover {
    background: #5CF8FF;
    color: #001417;
    box-shadow: 0 0 20px rgba(57, 246, 255, 0.45);
    transform: translateY(-2px);
}

.hero-buttons .btn--outline {
    background: transparent;
    border: 1px solid rgba(143, 43, 255, 0.5);
    color: #8F2BFF;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.hero-buttons .btn--outline:hover {
    background: rgba(143, 43, 255, 0.08);
    border-color: rgba(143, 43, 255, 0.7);
    color: #A855F7;
    transform: translateY(-2px);
}

.scroll-indicator {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.45;
}

.scroll-indicator__text {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    line-height: 1.6;
    text-transform: uppercase;
    color: #39F6FF;
}

.scroll-indicator__arrow {
    animation: bounce 2s infinite;
}

.scroll-indicator__arrow svg {
    width: 18px;
    height: 18px;
    color: var(--color-fg-muted);
}

/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee {
    overflow: hidden;
    padding: var(--space-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--color-bg);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

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

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    user-select: none;
}

.marquee-item svg {
    width: 20px;
    height: 20px;
    opacity: 1;
    color: rgba(0, 255, 255, 0.5);
}

.marquee-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.25rem;
    padding: 0 var(--space-xs);
}

/* ============================================
   COMPETENCIES SECTION
   ============================================ */
.competencies {
    padding: var(--space-section) 0;
}

.competencies > .container {
    max-width: calc(var(--max-width) + (100vw - var(--max-width)) / 2);
}

.competencies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: flex-start;
}

.competencies-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

/* Section title: "Core" = white, span = gradient */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.section-title span {
    display: inline;
    white-space: nowrap;
    background: linear-gradient(90deg, #00FFFF 0%, #5B7CFF 50%, #B44AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 40px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

.competencies-sidebar p {
    color: rgba(180, 190, 210, 0.85);
    font-size: 1.5rem;
    line-height: 1.75;
}

.competencies-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Service Card – clean box style */
.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    position: relative;
    padding: 28px 28px 32px;
    background: rgba(10, 14, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

/* Top-right corner accent only */
.service-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    border-top: 2px solid rgba(0, 255, 255, 0.4);
    border-right: 2px solid rgba(0, 255, 255, 0.4);
    border-top-right-radius: 4px;
    pointer-events: none;
    transition: border-color var(--transition-base), width var(--transition-base), height var(--transition-base);
}

.service-card:hover {
    background: rgba(0, 255, 255, 0.06);
    border-color: rgba(0, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.08), inset 0 0 30px rgba(0, 255, 255, 0.03);
}

.service-card:hover::after {
    border-color: rgba(0, 255, 255, 0.8);
    width: 32px;
    height: 32px;
}

.service-card:hover .service-card__title {
    color: #39F6FF;
}

.service-card:hover .service-card__desc {
    color: rgba(200, 215, 235, 0.9);
}

.service-card:hover .service-card__icon {
    background: rgba(0, 255, 255, 0.12);
    border-color: rgba(0, 255, 255, 0.35);
}

.service-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    color: var(--color-primary);
    transition: background var(--transition-base), border-color var(--transition-base);
}

.service-card__icon svg {
    width: 22px;
    height: 22px;
}

.service-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    transition: color var(--transition-base);
}

.service-card__desc {
    color: rgba(170, 180, 200, 0.75);
    font-size: 0.875rem;
    line-height: 1.75;
    transition: color var(--transition-base);
}

/* ============================================
   ARCHITECTURE SECTION
   ============================================ */
.architecture {
    padding: var(--space-section) 0;
    position: relative;
}

.architecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.08), transparent);
}

.architecture-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* Architecture title – 2-line, no gradient, weight + color hierarchy only */
.architecture-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 84px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.architecture-title__line1 {
    font-weight: 700;
    color: #E6E8EC;
}

.architecture-title__line2 {
    font-weight: 800;
    color: #39F6FF;
}

.architecture-desc {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #B8C0CC;
    opacity: 0.85;
    max-width: 780px;
    margin: 0 auto;
}

.architecture-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.architecture-block:last-child {
    margin-bottom: 0;
}

.architecture-block__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.architecture-block__subtitle {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.architecture-block__title {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.architecture-block__desc {
    color: var(--color-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.architecture-block__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-flex;
    padding: 0.3125rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid var(--color-border);
    color: var(--color-fg-muted);
    background: rgba(0, 255, 255, 0.03);
    letter-spacing: 0.02em;
}

.architecture-block__image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* Curtain overlay – matches section background */
.curtain-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-bg);
    transform-origin: right center;
    transform: scaleX(1);
    z-index: 3;
    will-change: transform;
    transition: transform 0.8s ease-in-out;
}

/* Open: shrinks toward right → reveals left to right */
/* Close: grows from right → covers right to left */
[data-curtain].curtain-open .curtain-overlay {
    transform: scaleX(0);
}

.architecture-block__image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.architecture-block__image:hover img {
    transform: scale(1.03);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.015) 0%, var(--color-bg) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
    padding: var(--space-md);
}

.stat-item__icon {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: transform var(--transition-base);
    opacity: 0.7;
}

.stat-item:hover .stat-item__icon {
    transform: scale(1.15);
    opacity: 1;
}

.stat-item__icon svg {
    width: 28px;
    height: 28px;
}

.stat-item__value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-item__label {
    font-size: 0.75rem;
    color: var(--color-fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-section) 0;
    background: rgba(0, 255, 255, 0.015);
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

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

.cta-section__content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    white-space: pre-line;
}

.cta-section__title span {
    color: #8F2BFF;
}

.cta-section__desc {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #B8C0CC;
    opacity: 0.9;
    max-width: 720px;
}

.cta-section__buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.cta-section__buttons .btn {
    width: 228px;
    height: 58px;
    border-radius: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    text-transform: uppercase;
}

.cta-section__buttons .btn--primary {
    font-weight: 600;
    letter-spacing: 0.12em;
    background: #39F6FF;
    color: #001417;
    box-shadow: 0 0 16px rgba(57, 246, 255, 0.3);
}

.cta-section__buttons .btn--primary:hover {
    background: #5CF8FF;
    box-shadow: 0 0 20px rgba(57, 246, 255, 0.45);
    transform: translateY(-2px);
}

.cta-section__buttons .btn--outline {
    font-weight: 500;
    letter-spacing: 0.1em;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.cta-section__buttons .btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: var(--space-3xl) 0 var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--color-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-logo {
    height: auto;
    width: 168px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.footer-company-name {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-desc {
    color: var(--color-fg-muted);
    font-size: 0.975rem;
    line-height: 1.7;
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-fg-muted);
    font-size: 0.975rem;
    line-height: 1.7;
}

.footer-info-item svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-primary);
    opacity: 0.7;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-fg-muted);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   PAGE HERO (Subpages)
   ============================================ */
.page-hero {
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 255, 0.02) 0%, transparent 60%),
                var(--color-bg);
}

.page-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.page-hero__subtitle {
    color: var(--color-fg-muted);
    font-size: 0.9375rem;
}

.page-hero .hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

/* ============================================
   TABS
   ============================================ */
.tabs-section {
    padding: var(--space-2xl) 0 var(--space-section);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-2xl);
    justify-content: center;
}

.tab {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5625rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    background: transparent;
    color: var(--color-fg-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
}

.tab:hover {
    border-color: var(--color-border-hover);
    color: var(--color-fg);
}

.tab--active {
    background: var(--color-primary);
    color: var(--color-primary-fg);
    border-color: var(--color-primary);
}

.tab-panel {
    animation: fadeInUp 0.4s ease;
}

/* ============================================
   SUPPORT CARDS
   ============================================ */
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 0 var(--space-3xl);
}

.support-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.support-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(106, 13, 173, 0.1));
    color: var(--color-primary);
    margin: 0 auto var(--space-md);
}

.support-card__icon svg {
    width: 24px;
    height: 24px;
}

.support-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.support-card__desc {
    color: var(--color-fg-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ============================================
   REFERENCES / PROJECT GRID
   ============================================ */
.references-section {
    padding: 0 0 var(--space-section);
    overflow: hidden;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    overflow: hidden;
    padding: 0;
}

.project-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__body {
    padding: var(--space-md);
}

.project-card__client {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.375rem;
}

.project-card__title {
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
}

.project-card__desc {
    color: var(--color-fg-muted);
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
    line-height: 1.6;
}

.project-card__date {
    font-size: 0.75rem;
    color: var(--color-fg-muted);
    opacity: 0.6;
}

/* ============================================
   PAGE CONTENT (fallback)
   ============================================ */
.page-content {
    padding: var(--space-2xl) 0 var(--space-section);
}

.page-content p {
    max-width: 720px;
}

/* ============================================
   COMPANY PAGE - Tabs Content
   ============================================ */
.tab-content-grid {
    max-width: 760px;
    margin: 0 auto;
}

.tab-content-text h3 {
    font-size: 1.625rem;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.tab-content-text p {
    color: var(--color-fg-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.9;
    font-size: 0.9375rem;
}

.ceo-greeting {
    font-size: 1.0625rem;
    color: var(--color-fg);
    font-weight: 600;
}

.ceo-signature {
    margin-top: var(--space-lg);
    color: var(--color-fg);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .business-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.business-grid .glass-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.business-grid h4 {
    font-size: 1.0625rem;
}

.business-grid p {
    color: var(--color-fg-muted);
    font-size: 0.875rem;
}

/* Timeline */
.timeline {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    padding-left: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    opacity: 0.25;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-2xl) - 5px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
}

.timeline-content p {
    color: var(--color-fg-muted);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

/* CI Section */
.ci-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
    text-align: center;
}

.ci-logo-display {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-border);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.ci-logo-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ci-info h4 {
    font-size: 1.375rem;
    margin-bottom: var(--space-sm);
}

.ci-info p {
    color: var(--color-fg-muted);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
}

.ci-colors {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.ci-color-swatch {
    width: 110px;
    height: 110px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-color-swatch span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Directions */
.directions-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 768px) {
    .directions-section {
        grid-template-columns: 1fr 1fr;
    }
}

.directions-info h4 {
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.product-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
}

.product-card__desc {
    color: var(--color-fg-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.product-card__image {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) 0;
}

.product-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

/* System Products (tab-system) */
.system-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .system-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.system-product-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
}

.system-product-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.15);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.system-product-card__icon svg {
    width: 28px;
    height: 28px;
}

.system-product-card__category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.system-product-card__title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.system-product-card__subtitle {
    color: var(--color-fg-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-style: italic;
    padding-left: var(--space-sm);
    border-left: 2px solid var(--color-primary);
}

.system-product-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.system-product-card__features li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-fg-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.system-product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* ============================================
   PARTNER BRANDS
   ============================================ */
.partners-section {
    padding: var(--space-3xl) 0 var(--space-section);
}

.partners-wrapper {
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
}

.partners-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-fg);
    margin-bottom: var(--space-xl);
    letter-spacing: 0.04em;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
}

.partner-item {
    flex: 0 0 auto;
    background: #fff;
    border-radius: var(--border-radius);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    max-width: 320px;
    min-height: 140px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .partners-wrapper {
        padding: var(--space-3xl) var(--space-2xl);
    }

    .partner-item {
        min-width: 260px;
        padding: var(--space-xl) var(--space-2xl);
    }
}

/* ============================================
   SUPPORT PAGE - Contact
   ============================================ */
.support-contact {
    max-width: 760px;
    margin: 0 auto;
}

.support-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .support-contact__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.support-contact__grid .footer-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.support-contact__grid .footer-info-item svg {
    margin-top: 0;
    width: 22px;
    height: 22px;
    opacity: 1;
}

.support-contact__grid strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

/* ============================================
   SUPPORT PAGE - Partner Detail Cards
   ============================================ */
.partners-detail-section {
    padding-top: var(--space-md);
}

.partners-detail-desc {
    text-align: center;
    color: var(--color-fg-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partners-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 640px) {
    .partners-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-detail-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.partner-detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
}

.partner-detail-card__logo {
    background: #fff;
    border-radius: var(--border-radius-sm);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
}

.partner-detail-card__logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-detail-card__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-fg);
    margin-top: var(--space-xs);
}

.partner-detail-card__desc {
    font-size: 0.95rem;
    color: var(--color-fg-muted);
    line-height: 1.6;
}

.partner-detail-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-accent);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition-base);
    margin-top: auto;
    padding-top: var(--space-xs);
}

.partner-detail-card__link:hover {
    color: var(--color-fg);
}

.partner-detail-card__link svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   SCROLL ANIMATION STATES
   ============================================ */
[data-animate] {
    opacity: 0;
}

[data-animate].animate-visible {
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"].animate-visible {
    animation-name: fadeInUp;
}

[data-animate="fade-left"].animate-visible {
    animation-name: fadeInLeft;
}

[data-animate="fade-right"].animate-visible {
    animation-name: fadeInRight;
}

[data-animate="scale-in"].animate-visible {
    animation-name: scaleIn;
}

/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    padding: 2px;
    gap: 0;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.lang-toggle__btn {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.375rem 0.9rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: var(--color-fg-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    line-height: 1;
}

.lang-toggle__btn:hover {
    color: var(--color-fg);
}

.lang-toggle__btn--active {
    background: var(--color-primary);
    color: var(--color-primary-fg);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
}

.lang-toggle__btn--active:hover {
    color: var(--color-primary-fg);
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
.wp-site-blocks,
.entry-content,
.wp-block-group {
    background: transparent !important;
    color: inherit !important;
}

/* Ensure our theme styles override plugin defaults */
body .site-header,
body .hero,
body .competencies,
body .architecture,
body .stats-bar,
body .cta-section,
body .site-footer,
body .page-hero,
body .tabs-section,
body .references-section {
    font-family: var(--font-body);
    color: var(--color-fg);
}
