/* ============================================
   Mhtsoftware — Premium Dark Theme Stylesheet
   ============================================ */

:root {
    --color-bg: #030014;
    --color-bg-secondary: #0a0a1a;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(139, 92, 246, 0.4);

    --color-text: #f0f0f5;
    --color-text-secondary: #9494a8;
    --color-text-muted: #6b6b80;

    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-primary-dark: #7c3aed;
    --color-accent: #6366f1;
    --color-glow: rgba(139, 92, 246, 0.35);

    --header-bg: rgba(10, 8, 28, 0.65);
    --header-bg-scrolled: rgba(10, 8, 28, 0.92);
    --header-border: rgba(255, 255, 255, 0.06);
    --header-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --particle-color: 139, 92, 246;
    --cursor-glow: rgba(139, 92, 246, 0.08);
    --hero-grid-color: rgba(139, 92, 246, 0.03);
    --orb-1: rgba(139, 92, 246, 0.15);
    --orb-2: rgba(99, 102, 241, 0.12);
    --orb-3: rgba(168, 85, 247, 0.1);

    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #a855f7 100%);
    --gradient-text: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 50%, #6366f1 100%);
    --gradient-card: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --header-height: 76px;
    --container-width: 1240px;
    --section-padding: 120px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --color-bg: #f8f7fc;
    --color-bg-secondary: #ffffff;
    --color-bg-card: rgba(255, 255, 255, 0.85);
    --color-bg-card-hover: rgba(255, 255, 255, 1);
    --color-border: rgba(15, 10, 40, 0.08);
    --color-border-hover: rgba(124, 58, 237, 0.35);

    --color-text: #1a1033;
    --color-text-secondary: #5c5470;
    --color-text-muted: #8b849c;

    --color-glow: rgba(124, 58, 237, 0.25);

    --header-bg: rgba(255, 255, 255, 0.72);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --header-border: rgba(15, 10, 40, 0.08);
    --header-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
    --particle-color: 124, 58, 237;
    --cursor-glow: rgba(124, 58, 237, 0.06);
    --hero-grid-color: rgba(124, 58, 237, 0.06);
    --orb-1: rgba(124, 58, 237, 0.12);
    --orb-2: rgba(99, 102, 241, 0.1);
    --orb-3: rgba(168, 85, 247, 0.08);

    --gradient-text: linear-gradient(135deg, #6d28d9 0%, #7c3aed 50%, #4f46e5 100%);
}

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

html {
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--header-height) + 28px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

html.is-mobile {
    scroll-padding-top: calc(56px + env(safe-area-inset-top, 0px) + 12px);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color var(--transition), color var(--transition);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

::selection {
    background: var(--color-primary);
    color: white;
}

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

a:hover {
    color: var(--color-primary);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ============================================
   Cursor Glow & Particles
   ============================================ */

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cursor-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ============================================
   Header & Navigation — Modern Floating
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 20px 0;
    pointer-events: none;
    transition: padding var(--transition);
}

.site-header.scrolled {
    padding-top: 10px;
}

.header-shell {
    max-width: calc(var(--container-width) + 48px);
    margin: 0 auto;
    pointer-events: auto;
    position: relative;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    height: var(--header-height);
    padding: 0 12px 0 16px;
    background: var(--header-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--header-border);
    border-radius: 999px;
    box-shadow: var(--header-shadow);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.site-header.scrolled .nav-container {
    background: var(--header-bg-scrolled);
    border-color: var(--color-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    z-index: 1001;
    flex-shrink: 0;
    grid-column: 1;
    grid-row: 1;
}

.nav-logo img {
    border-radius: 10px;
    transition: transform var(--transition);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.nav-logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    grid-column: 2;
    grid-row: 1;
}

@media (min-width: 1025px) {
    .nav-center {
        position: static;
        transform: none;
        width: auto;
        max-width: none;
        pointer-events: auto;
        z-index: auto;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-cta {
        display: inline-flex !important;
    }

    .nav-mobile-cta {
        display: none !important;
    }

    .nav-backdrop {
        display: none !important;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 999px;
}

[data-theme="light"] .nav-menu {
    background: rgba(124, 58, 237, 0.04);
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 999px;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
    background: rgba(139, 92, 246, 0.12);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    background: rgba(124, 58, 237, 0.1);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    grid-column: 3;
    grid-row: 1;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    padding: 3px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    gap: 2px;
}

[data-theme="light"] .lang-switch {
    background: rgba(124, 58, 237, 0.04);
}

.lang-btn {
    padding: 6px 11px;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    color: var(--color-text);
}

.lang-btn.active {
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px var(--color-glow);
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

[data-theme="light"] .theme-toggle {
    background: rgba(124, 58, 237, 0.06);
}

.theme-toggle:hover {
    border-color: var(--color-border-hover);
    transform: scale(1.05);
}

.theme-toggle-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.theme-toggle-thumb {
    position: relative;
    width: 20px;
    height: 20px;
}

.theme-toggle svg {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-sun {
    color: #f59e0b;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.icon-moon {
    color: var(--color-primary-light);
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.nav-cta {
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    border-radius: 999px !important;
    margin-left: 0 !important;
    white-space: nowrap;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 2px;
    transform-origin: center;
}

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

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

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

.nav-mobile-cta {
    display: none;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}

.nav-backdrop {
    display: none;
}

@media (max-width: 1024px) {
    .header-shell {
        position: relative;
        z-index: 1;
    }
}

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}

#waNotifyAudio {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: 0;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-text);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 28px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--orb-1);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--orb-2);
    bottom: 10%;
    left: -10%;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--orb-3);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.2s; }
.hero-title-line:nth-child(3) { animation-delay: 0.3s; }

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-subtitle strong {
    color: var(--color-text);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

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

.hero-logo-wrapper {
    position: relative;
    animation: fadeInLeft 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-logo-ring {
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.hero-logo-ring-2 {
    inset: -40px;
    border-color: rgba(99, 102, 241, 0.15);
    animation-direction: reverse;
    animation-duration: 30s;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-float-cards {
    position: absolute;
    inset: 0;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    animation: floatCard 4s ease-in-out infinite;
}

.float-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 20%;
    left: -15%;
    animation-delay: -1.5s;
}

.float-card-3 {
    top: 50%;
    right: -20%;
    animation-delay: -3s;
}

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

.float-icon {
    font-size: 1.2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    animation: scrollWheel 2s ease-in-out infinite;
}

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

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(139, 92, 246, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 2rem;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   Section Common
   ============================================ */

.section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--color-text);
}

/* About Story Banner */
.about-story {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 36px;
    margin-bottom: 64px;
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.about-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.about-story-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.story-year {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.about-story-badge span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.about-story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin: 0;
}

.about-story-text strong {
    color: var(--color-text);
}

/* Leadership Section */
.about-leadership {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--color-border);
}

.leadership-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.leadership-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin: 16px 0 12px;
}

.leadership-desc {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

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

.leader-card {
    display: flex;
    gap: 28px;
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    overflow: hidden;
}

.leader-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.12);
}

.leader-card-founder {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.leader-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 170px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.leader-photo-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139, 92, 246, 0.4) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.leader-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.leader-avatar {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.leader-founded {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leader-founded-intl {
    font-size: 0.85rem;
    text-transform: none;
}

.leader-info {
    flex: 1;
    min-width: 0;
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.leader-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.leader-bio {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leader-tags span {
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-light);
}

/* Milestones */
.about-milestones {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 64px;
    padding: 36px 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.milestone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.milestone-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.milestone-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.milestone-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-primary-light);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.about-card-stack {
    position: relative;
    height: 420px;
}

.about-card {
    position: absolute;
    width: 100%;
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-slow);
    overflow: hidden;
}

.about-card-1 {
    top: 0;
    z-index: 3;
    transform: rotate(-2deg);
}

.about-card-2 {
    top: 60px;
    z-index: 2;
    transform: rotate(1deg);
    opacity: 0.85;
}

.about-card-3 {
    top: 120px;
    z-index: 1;
    transform: rotate(-1deg);
    opacity: 0.7;
}

.about-card-stack:hover .about-card-1 {
    transform: rotate(0deg) translateY(-10px);
}

.about-card-stack:hover .about-card-2 {
    transform: rotate(0deg) translateY(0);
    opacity: 1;
}

.about-card-stack:hover .about-card-3 {
    transform: rotate(0deg) translateY(10px);
    opacity: 0.9;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.card-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    background: var(--color-bg-secondary);
}

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

.service-card {
    position: relative;
    padding: 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    background: var(--color-bg-card-hover);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

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

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.service-hover-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

/* ============================================
   Projects Section
   ============================================ */

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

.project-card {
    position: relative;
    padding: 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.project-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover .project-gradient {
    opacity: 1;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-light);
}

.project-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.project-link:hover svg {
    transform: translate(2px, -2px);
}

.project-link-demo {
    color: var(--color-accent);
}

[data-theme="light"] .project-link-demo {
    color: var(--color-primary-dark);
}

/* ============================================
   Technologies Marquee
   ============================================ */

.tech-section {
    overflow: hidden;
    padding: 80px 0;
}

.tech-marquee {
    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);
}

.tech-track {
    display: flex;
    gap: 16px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

.tech-item {
    flex-shrink: 0;
    padding: 12px 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    white-space: nowrap;
    transition: all var(--transition);
}

.tech-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(139, 92, 246, 0.1);
}

/* ============================================
   Brands Section
   ============================================ */

.brands-section {
    background: var(--color-bg-secondary);
}

.brands-section-top {
    padding-top: 48px;
    padding-bottom: 64px;
    border-top: 1px solid var(--color-border);
}

.brands-section-top .section-header {
    margin-bottom: 48px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.brand-card {
    position: relative;
    display: block;
    padding: 48px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text);
    transition: all var(--transition);
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
    color: var(--color-text);
}

.brand-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: all var(--transition-slow);
}

.brand-card:hover .brand-glow {
    transform: scale(2);
}

.brand-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 24px;
}

.brand-icon svg {
    width: 32px;
    height: 32px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.brand-desc {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.brand-url {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    font-weight: 500;
}

.brand-arrow {
    position: absolute;
    bottom: 48px;
    right: 48px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    color: var(--color-primary-light);
    transition: all var(--transition);
}

.brand-card:hover .brand-arrow {
    background: var(--gradient-primary);
    color: white;
    transform: translate(4px, -4px);
}

.brand-arrow svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

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

.contact-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--color-border-hover);
    transform: translateX(8px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-card a,
.contact-card p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-form {
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239494a8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: var(--gradient-primary);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-logo img {
    border-radius: 10px;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--color-primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ============================================
   Scroll to Top
   ============================================ */

.scroll-top {
    position: fixed;
    bottom: max(108px, calc(88px + env(safe-area-inset-bottom, 0px)));
    right: max(28px, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.scroll-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   WhatsApp Widget
   ============================================ */

.whatsapp-widget {
    position: fixed;
    bottom: max(28px, env(safe-area-inset-bottom, 0px));
    right: max(28px, env(safe-area-inset-right, 0px));
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.whatsapp-tooltip {
    position: relative;
    max-width: 280px;
    padding: 16px 40px 16px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(37, 211, 102, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.12s ease, visibility 0.12s ease, transform 0.12s ease;
    pointer-events: none;
}

.whatsapp-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), visibility 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    width: 14px;
    height: 14px;
    background: var(--color-bg-secondary);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.whatsapp-tooltip-icon {
    position: absolute;
    top: -12px;
    left: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip-icon svg {
    width: 16px;
    height: 16px;
}

.whatsapp-tooltip-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    padding-top: 4px;
}

.whatsapp-tooltip-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.15s ease, background-color 0.15s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-tooltip-close:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.whatsapp-btn {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
    animation: whatsappEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.whatsapp-btn-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    transition: all var(--transition);
}

.whatsapp-btn-inner svg {
    width: 32px;
    height: 32px;
    animation: whatsappWiggle 3s ease-in-out 2s infinite;
}

.whatsapp-btn:hover .whatsapp-btn-inner {
    transform: scale(1.08);
    box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: whatsappPulse 2.5s ease-out infinite;
    pointer-events: none;
}

.whatsapp-ring-2 {
    animation-delay: 1.25s;
}

@keyframes whatsappEnter {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes whatsappWiggle {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-8deg); }
    20% { transform: rotate(8deg); }
    30% { transform: rotate(-6deg); }
    40% { transform: rotate(0deg); }
}

/* ============================================
   Animations
   ============================================ */

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

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

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

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

/* ============================================
   Mobile Performance (touch / narrow screens)
   ============================================ */

html.is-mobile .cursor-glow,
html.is-mobile #particleCanvas {
    display: none !important;
}

html.is-mobile .hero-grid {
    display: none !important;
}

html.is-mobile .hero-orb {
    display: none !important;
}

html.is-mobile .site-header {
    isolation: isolate;
    padding: 0;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

html.is-mobile .header-shell {
    max-width: 100%;
    padding: 0 14px;
}

html.is-mobile .nav-container {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 56px;
    padding: 0 4px;
    gap: 8px;
}

html.is-mobile .nav-logo-text {
    display: inline;
    font-size: 0.95rem;
}

html.is-mobile .site-header.scrolled .nav-container {
    background: transparent;
}

html.is-mobile .nav-center {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.is-mobile .nav-backdrop:not(.open) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.is-mobile .hero {
    min-height: auto;
    padding-top: calc(56px + env(safe-area-inset-top, 0px) + 24px);
    padding-bottom: 40px;
}

html.is-mobile .hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, 0.12), transparent 70%);
}

html.is-mobile .hero-ring {
    display: none;
}

html.is-mobile .hero-ring,
html.is-mobile .hero-logo {
    animation: none;
}

html.is-mobile .hero-badge .badge-dot {
    animation: none;
}

html.is-mobile .hero-scroll {
    display: none;
}

html.is-mobile .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.15;
}

html.is-mobile .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 100%;
}

html.is-mobile .hero-actions {
    width: 100%;
    max-width: none;
}

html.is-mobile .hero-actions .btn {
    width: 100%;
}

html.is-mobile .section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

html.is-mobile .section-header {
    margin-bottom: 36px;
}

html.is-mobile .section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
}

html.is-mobile .service-card,
html.is-mobile .project-card,
html.is-mobile .brand-card,
html.is-mobile .contact-form,
html.is-mobile .contact-card {
    border-radius: var(--radius-md);
}

html.is-mobile .stats-grid {
    gap: 20px;
}

html.is-mobile .scroll-wheel {
    animation: none;
}

html.is-mobile .hero-title-line,
html.is-mobile .hero-subtitle,
html.is-mobile .hero-actions,
html.is-mobile .hero-badge,
html.is-mobile .hero-visual {
    animation: none;
    opacity: 1;
}

html.is-mobile .tech-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

html.is-mobile .tech-track .tech-item:nth-child(n+19) {
    display: none;
}

html.is-mobile .tech-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
}

html.is-mobile .whatsapp-ring {
    display: none;
}

html.is-mobile .whatsapp-btn-inner svg {
    animation: none;
}

html.is-mobile .whatsapp-btn {
    animation: none;
    opacity: 1;
    transform: none;
}

/* Mobilde içerik hemen görünsün — gizli animasyon + content-visibility sorun çıkarır */
html.is-mobile [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

html.is-mobile .lang-btn,
html.is-mobile .theme-toggle,
html.is-mobile .nav-link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-logo {
        width: 220px;
        height: 220px;
    }

    .float-card-1 { right: 0; }
    .float-card-2 { left: 0; }
    .float-card-3 { right: 0; }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-story {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

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

    .leader-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leader-photo-wrap {
        width: 120px;
        height: 150px;
    }

    .leader-tags {
        justify-content: center;
    }

    .about-milestones {
        gap: 16px;
        padding: 28px 20px;
    }

    .milestone-divider {
        display: none;
    }

    .milestone-item {
        min-width: calc(50% - 16px);
    }

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

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

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

    /* Tablet & mobile navigation */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .nav-logo,
    .nav-actions,
    .nav-center {
        grid-column: auto;
        grid-row: auto;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-logo,
    .nav-toggle {
        position: relative;
        z-index: 2;
    }

    .nav-actions {
        position: relative;
        z-index: 2;
        flex-shrink: 0;
        margin-left: auto;
    }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(3, 0, 20, 0.4);
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .nav-backdrop.open {
        display: block;
    }

    body.nav-open .nav-container {
        position: relative;
        z-index: 1006;
    }

    .nav-center {
        display: none;
        flex-direction: column;
        position: fixed;
        top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 8px);
        left: 14px;
        right: 14px;
        z-index: 1007;
        padding: 8px;
        background: var(--color-bg-secondary);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
        max-height: min(65vh, 460px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        width: auto;
        max-width: none;
        transform: none;
    }

    .nav-center.open {
        display: flex;
        z-index: 1007;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        gap: 4px;
        padding: 0;
        list-style: none;
    }

    .nav-link {
        font-size: 0.92rem;
        padding: 11px 14px;
        width: 100%;
        text-align: left;
        border-radius: var(--radius-sm);
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-link.active {
        background: rgba(139, 92, 246, 0.14);
        color: var(--color-text);
    }

    .nav-mobile-cta {
        display: block;
    }

    .nav-mobile-cta .btn-full {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px;
        --header-height: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .site-header {
        padding: 0;
        padding-top: env(safe-area-inset-top, 0px);
    }

    .header-shell {
        max-width: 100%;
        padding: 0 14px;
    }

    .nav-container {
        padding: 0 4px;
        gap: 6px;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        height: 56px;
    }

    .nav-logo img {
        width: 34px;
        height: 34px;
    }

    .lang-btn {
        padding: 6px 9px;
        font-size: 0.7rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(56px + env(safe-area-inset-top, 0px) + 24px);
        padding-bottom: 32px;
    }

    .hero-grid {
        display: none;
    }

    .hero-content {
        padding: 24px 0 40px;
        gap: 32px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-logo {
        width: 180px;
        height: 180px;
    }

    .hero-logo-wrapper {
        margin: 0 auto;
    }

    .hero-orb-1,
    .hero-orb-2,
    .hero-orb-3 {
        display: none;
    }

    .hero-ring {
        display: none;
    }

    .hero-logo {
        filter: none;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .hero-float-cards {
        display: none;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-desc {
        font-size: 1rem;
    }

    .stats-section {
        padding: 40px 0;
    }

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

    .stat-value {
        font-size: 2.4rem;
    }

    .stat-suffix {
        font-size: 1.6rem;
    }

    .about-story {
        padding: 20px;
        margin-bottom: 48px;
    }

    .about-story-badge {
        flex-direction: row;
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .about-leadership {
        margin-top: 56px;
        padding-top: 56px;
    }

    .leader-card {
        padding: 20px;
        gap: 20px;
    }

    .about-milestones {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px 16px;
    }

    .milestone-divider {
        display: none;
    }

    .milestone-item {
        min-width: 0;
    }

    .milestone-value {
        font-size: 1.4rem;
    }

    .service-card,
    .project-card {
        padding: 24px;
    }

    .brand-card {
        padding: 28px;
    }

    .brands-section-top {
        padding-top: 36px;
        padding-bottom: 48px;
    }

    .brands-section-top .section-header {
        margin-bottom: 32px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .contact-card {
        padding: 20px;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-content .btn-lg {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .about-card-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .about-card {
        position: relative;
        top: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .cursor-glow {
        display: none;
    }

    #particleCanvas {
        display: none;
    }
}

@media (max-width: 400px) {
    .nav-logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px;
    }

    .container {
        padding: 0 14px;
    }

    .nav-actions {
        gap: 4px;
    }

    .lang-switch {
        padding: 2px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stats-grid {
        gap: 16px;
    }

    .about-milestones {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 20px 12px;
    }

    .milestone-value {
        font-size: 1.2rem;
    }

    .milestone-label {
        font-size: 0.72rem;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .brand-card {
        padding: 24px 20px;
    }

    .brand-arrow {
        bottom: 24px;
        right: 24px;
    }

    .whatsapp-tooltip {
        max-width: min(280px, calc(100vw - 90px));
        padding: 14px 36px 14px 14px;
        font-size: 0.85rem;
    }

    .whatsapp-btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-btn-inner svg {
        width: 28px;
        height: 28px;
    }

    .scroll-top {
        width: 44px;
        height: 44px;
        bottom: 90px;
        right: 16px;
    }

    .whatsapp-widget {
        bottom: 16px;
        right: 16px;
    }

    .tech-item {
        padding: 10px 20px;
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    .tech-track {
        animation: none;
    }
}
