/* ═══════════════════════════════════════════════
   BAAR.COM.TR — Modern Minimal Corporate Site
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors — Light / Corporate */
    --bg: #ffffff;
    --bg-secondary: #f7f8fa;
    --bg-tertiary: #eef0f4;
    --text: #1a1a2e;
    --text-secondary: #555770;
    --text-muted: #5c5e77;
    --accent: #ffc72c;
    --accent-hover: #ffb800;
    --accent-dark: #b38200;
    --primary: #1a1a2e;
    --primary-hover: #2d2d44;
    --border: #e8e9ee;
    --border-light: #d1d3db;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-width: 1400px;
    --container-padding: clamp(20px, 4vw, 60px);
    
    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.6s;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
    --bg: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #252540;
    --text: #e8e8f0;
    --text-secondary: #a0a0b8;
    --text-muted: #a8aac2;
    --primary: #e8e8f0;
    --primary-hover: #ffffff;
    --border: #2a2a42;
    --border-light: #3a3a55;
    --white: #e8e8f0;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.45);
}

html {
    font-size: 16px;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--accent);
    color: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ── Section ── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.section-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s var(--ease);
}

.btn:hover i {
    transform: translate(3px, -3px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7f8fa;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 8px;
    color: #1a1a2e;
    margin-bottom: 30px;
}

[data-theme="dark"] #preloader {
    background: #0f0f1a;
}

[data-theme="dark"] .preloader-logo {
    color: #e8e8f0;
}

[data-theme="dark"] .preloader-bar {
    background: #1e1e32;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: #e8e9ee;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ── Custom Cursor ── */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(26, 26, 46, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(255, 199, 44, 0.2);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-outline {
        display: none;
    }
}

/* ══════════════════════════════
   HEADER
   ══════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(15, 15, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
}

.logo-dot {
    color: var(--accent);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active {
    background: var(--bg-tertiary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 10px 28px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease);
}

.btn-header:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Hamburger */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.menu-toggle.active .hamburger-line-1 {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active .hamburger-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger-line-3 {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
    display: inline-block;
    transform: translateY(30px);
    opacity: 0;
}

.mobile-menu.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-menu-footer {
    margin-top: 60px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease) 0.4s;
}

.mobile-menu.active .mobile-menu-footer {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-footer a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mobile-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.mobile-social a {
    font-size: 1.3rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-social a:hover {
    color: var(--primary);
}

@media (max-width: 968px) {
    .main-nav {
        display: none;
    }
    .btn-header {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* ══════════════════════════════
   HERO BANNER / SLIDER (Turkcell-style)
   ══════════════════════════════ */
.hero-banner-section {
    padding: 110px 0 0;
    background: var(--white);
}

.hero-banner-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 2.4 / 1;
    min-height: 380px;
    max-height: 560px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
}

.hero-slide-visual {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 14rem;
    color: rgba(255,255,255,0.07);
    line-height: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 55%;
}

.hero-slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-slide-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-slide-desc {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: rgba(255,255,255,0.7);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    width: fit-content;
}

.btn-slide-cta:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero-slide-footnote {
    margin-top: 24px;
}

.hero-slide-footnote span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.5px;
}

/* Hero slide background image */
.hero-slide-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* Dots below banner */
.hero-dots-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    min-width: 10px;
    min-height: 10px;
    display: block;
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.hero-dot:hover:not(.active) {
    background: var(--text-muted);
}

/* 3 Colored CTA Cards (Turkcell-style) */
.hero-cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 10px;
}

.hero-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 28px;
    border-radius: 16px;
    min-height: 160px;
    transition: all 0.3s var(--ease);
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.hero-cta-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
    transition: background 0.3s ease;
}

.hero-cta-card:hover .hero-cta-card-overlay {
    background: rgba(0,0,0,0.55);
}

.hero-cta-card p,
.hero-cta-card .hero-cta-card-btn {
    position: relative;
    z-index: 2;
}

.hero-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero-cta-card p {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.hero-cta-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}

.hero-cta-card-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.hero-cta-card:hover .hero-cta-card-btn {
    background: var(--white);
    border-color: var(--white);
}

.hero-cta-card--orange {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.hero-cta-card--orange:hover .hero-cta-card-btn {
    color: #ea580c;
}

.hero-cta-card--blue {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.hero-cta-card--blue:hover .hero-cta-card-btn {
    color: #1d4ed8;
}

.hero-cta-card--dark {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

.hero-cta-card--dark:hover .hero-cta-card-btn {
    color: #0f172a;
}

@media (max-width: 968px) {
    .hero-banner-wrapper {
        aspect-ratio: auto;
        min-height: 340px;
        max-height: none;
        border-radius: 14px;
    }
    .hero-slide-content {
        max-width: 70%;
        padding: 40px 36px;
    }
    .hero-slide-visual {
        font-size: 8rem;
        right: 4%;
    }
    .hero-cta-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hero-cta-card {
        min-height: 100px;
        padding: 24px 20px;
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .hero-banner-section {
        padding-top: 90px;
    }
    .hero-banner-wrapper {
        border-radius: 10px;
        min-height: 280px;
    }
    .hero-slide-content {
        max-width: 100%;
        padding: 28px 24px;
    }
    .hero-slide-title {
        font-size: 1.4rem;
    }
    .hero-slide-desc {
        font-size: 0.82rem;
    }
    .hero-slide-visual {
        display: none;
    }
}

/* section-header-flex */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

/* ══════════════════════════════
   WHY US SECTION
   ══════════════════════════════ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-us-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    background: var(--white);
}

.why-us-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 199, 44, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-dark);
    margin: 0 auto 20px;
    transition: all 0.4s var(--ease);
}

.why-us-card:hover .why-us-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
}

.why-us-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-us-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════
   TECH STACK SECTION
   ══════════════════════════════ */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.tech-stack-card {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.tech-stack-card:nth-child(1) { --tc: #f24e1e; }
.tech-stack-card:nth-child(2) { --tc: #3b82f6; }
.tech-stack-card:nth-child(3) { --tc: #10b981; }

.tech-stack-card:hover {
    border-color: var(--tc);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06); /* fallback */
    box-shadow: 0 12px 40px color-mix(in srgb, var(--tc) 12%, transparent);
    transform: translateY(-4px);
}

.tech-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 0;
    margin-bottom: 24px;
}

.tech-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(128,128,128,0.1); /* fallback */
    background: color-mix(in srgb, var(--tc) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--tc);
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
}

.tech-stack-card:hover .tech-card-icon {
    background: var(--tc);
    color: #fff;
    transform: scale(1.05);
}

.tech-card-header h3,
.tech-card-header h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.tech-card-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.tech-stack-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0 0 0;
    border-top: 1px solid var(--border);
}

.tech-item {
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    cursor: default;
}

.tech-item:nth-child(3n) {
    border-right: none;
}

.tech-item:nth-last-child(-n+3) {
    border-bottom: none;
}

.tech-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease);
}

.tech-item:hover {
    background: rgba(128,128,128,0.06); /* fallback */
    background: color-mix(in srgb, var(--tc) 6%, transparent);
}

.tech-item:hover span {
    color: var(--tc);
}

@media (max-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    .tech-stack-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ══════════════════════════════
   OLD HERO SECTION (kept for subpages)
   ══════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.hero-gradient-1 {
    top: -200px;
    right: -100px;
    background: var(--accent);
    opacity: 0.08;
}

.hero-gradient-2 {
    bottom: -200px;
    left: -100px;
    background: #6366f1;
    opacity: 0.06;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    background: none;
    height: auto;
    width: auto;
    border-radius: 0;
}

.hero-title .line span {
    display: inline-block;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-dark);
    position: relative;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 50px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 30px;
    }
    .hero-buttons {
        margin-bottom: 50px;
    }
}

/* ══════════════════════════════
   SERVICES SECTION
   ══════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Featured: first two cards span 2 columns */
.service-card:nth-child(1),
.service-card:nth-child(2) {
    grid-column: span 2;
}

/* Auto-center last odd service card */
.services-grid { justify-items: center; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
    background: linear-gradient(135deg, var(--card-bg), transparent 70%);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: var(--card-accent);
}

.service-card:hover::before {
    opacity: 1;
}

/* Unique color accents per card */
.service-card:nth-child(1) { --card-accent: #3b82f6; --card-bg: rgba(59,130,246,0.08); }
.service-card:nth-child(2) { --card-accent: #10b981; --card-bg: rgba(16,185,129,0.08); }
.service-card:nth-child(3) { --card-accent: #f59e0b; --card-bg: rgba(245,158,11,0.08); }
.service-card:nth-child(4) { --card-accent: #8b5cf6; --card-bg: rgba(139,92,246,0.08); }
.service-card:nth-child(5) { --card-accent: #ef4444; --card-bg: rgba(239,68,68,0.08); }
.service-card:nth-child(6) { --card-accent: #ec4899; --card-bg: rgba(236,72,153,0.08); }
.service-card:nth-child(7) { --card-accent: #06b6d4; --card-bg: rgba(6,182,212,0.08); }
.service-card:nth-child(8) { --card-accent: #64748b; --card-bg: rgba(100,116,139,0.08); }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--card-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--card-accent);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--card-accent);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); /* fallback */
    box-shadow: 0 8px 24px color-mix(in srgb, var(--card-accent) 30%, transparent);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.service-tag {
    padding: 5px 14px;
    background: var(--card-bg);
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--card-accent);
    border: 1px solid rgba(128,128,128,0.2); /* fallback */
    border: 1px solid color-mix(in srgb, var(--card-accent) 20%, transparent);
    transition: all 0.3s var(--ease);
}

.service-card:hover .service-tag {
    border-color: rgba(128,128,128,0.4); /* fallback */
    border-color: color-mix(in srgb, var(--card-accent) 40%, transparent);
}

/* Featured cards: horizontal layout */
.service-card:nth-child(1),
.service-card:nth-child(2) {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 44px 40px;
}

.service-card:nth-child(1) .service-card-text,
.service-card:nth-child(2) .service-card-text {
    flex: 1;
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(2) .service-icon {
    width: 72px;
    height: 72px;
    font-size: 1.8rem;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card:nth-child(1),
    .service-card:nth-child(2) {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 32px;
    }
    .service-card:nth-child(1) .service-icon,
    .service-card:nth-child(2) .service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════
   ABOUT SECTION
   ══════════════════════════════ */

/* Founders Duo */
.founders-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: start;
}

.founders-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

.founder-block {
    padding: 10px 0;
}

.founder-role-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #7a5900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.founder-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.founder-skills span {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
}

.founder-social {
    display: flex;
    gap: 12px;
}

.founder-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s var(--ease);
}

.founder-social a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .founders-duo {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .founders-divider {
        width: 100%;
        height: 1px;
        margin: 30px 0;
    }
}

/* Legacy about grid (subpages) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-secondary);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    bottom: -20px;
    right: -20px;
    z-index: -1;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: start;
    gap: 14px;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 199, 44, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    font-size: 1.1rem;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ══════════════════════════════
   PORTFOLIO / PROJECTS
   ══════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: all 0.5s var(--ease-out);
}

.project-card:hover {
    transform: scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.project-card:hover .project-card-image {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(26,26,46,0.85), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-out);
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-card-category {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.project-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: scale(0) rotate(-180deg);
    transition: all 0.4s var(--ease-out);
}

.project-card:hover .project-card-arrow {
    transform: scale(1) rotate(0);
}

.project-card.featured {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card.featured {
        grid-column: span 1;
        aspect-ratio: 16/10;
    }
}

/* ══════════════════════════════
   PROCESS / WORKFLOW SECTION
   ══════════════════════════════ */
.process-timeline {
    display: flex;
    margin-top: 60px;
    position: relative;
}

/* Connecting line behind circles */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 48px;
    right: 48px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-bottom: 28px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px var(--bg-secondary);
    transition: all 0.4s var(--ease);
}

.step-indicator span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
}

.process-step:hover .step-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px var(--bg-secondary), 0 4px 20px rgba(255, 199, 44, 0.4);
}

.step-content {
    padding: 0 16px;
    max-width: 260px;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .process-timeline {
        flex-direction: column;
        gap: 0;
        padding-left: 32px;
    }
    .process-timeline::before {
        top: 24px;
        bottom: 24px;
        left: 22px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding-bottom: 40px;
    }
    .process-step:last-child {
        padding-bottom: 0;
    }
    .step-indicator {
        margin-bottom: 0;
        margin-right: 24px;
        flex-shrink: 0;
    }
    .step-content {
        padding: 0;
        max-width: none;
    }
}

/* ══════════════════════════════
   TESTIMONIALS
   ══════════════════════════════ */
.testimonials-slider {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 199, 44, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #7a5900;
}

.testimonial-info h3,
.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ══════════════════════════════
   STATS / COUNTER
   ══════════════════════════════ */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════
   CONTACT SECTION
   ══════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}

.contact-info-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 199, 44, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-dark);
}

.contact-info-card h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.contact-info-card a:hover {
    color: var(--accent-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s var(--ease);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-label {
    position: absolute;
    top: -8px;
    left: 16px;
    padding: 0 6px;
    background: var(--bg);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════
   FAQ SECTION
   ══════════════════════════════ */
.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text);
    transition: color 0.3s;
    cursor: pointer;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s var(--ease);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
    padding: 0 28px 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ══════════════════════════════
   MARQUEE / INFINITE SCROLL
   ══════════════════════════════ */
.marquee-section {
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--border);
    letter-spacing: 4px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.footer-cta {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-main {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

h3.footer-heading,
.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--accent-dark);
    font-size: 1.1rem;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-marquee {
    padding: 30px 0;
    overflow: hidden;
    opacity: 0.3;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════
   BACK TO TOP
   ══════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════
   PAGE HERO (Inner Pages)
   ══════════════════════════════ */
.page-hero {
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero .hero-gradient {
    width: 400px;
    height: 400px;
    opacity: 0.1;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.page-breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.page-breadcrumb a:hover {
    color: var(--primary);
}

.page-breadcrumb .separator {
    color: var(--text-muted);
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-hero-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.page-hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ══════════════════════════════
   ABOUT PAGE - EXTRA STYLES
   ══════════════════════════════ */

/* About Hero */
.about-hero {
    padding: 180px 0 60px;
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.about-hero .hero-gradient {
    width: 400px; height: 400px;
    opacity: 0.1;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero .page-breadcrumb {
    justify-content: center;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.about-hero-title em {
    font-style: italic;
    color: var(--accent-dark);
}

.about-hero-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Stats Strip */
.about-stats-strip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    padding: 40px 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.about-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* Mission Cards */
.about-mission-section {
    padding-top: 80px;
}

.about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-mission-card {
    display: flex;
    gap: 24px;
    padding: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease);
}

.about-mission-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.about-mission-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 199, 44, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-dark);
}

.about-mission-icon--blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.about-mission-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-mission-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Story Section */
.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-story-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36px;
}

.about-story-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.about-story-feature:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.about-story-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 199, 44, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-dark);
}

.about-story-feature-icon--blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.about-story-feature-icon--green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.about-story-feature h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-story-feature p {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.about-story-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-story-visual:hover img {
    transform: scale(1.03);
}

.about-story-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.about-story-badge-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
}

.about-story-badge-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Values Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.about-value-card {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--value-color, var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.about-value-card:hover {
    transform: translateY(-6px);
    border-color: var(--value-color, var(--accent));
    box-shadow: var(--shadow-md);
}

.about-value-card:hover::before {
    opacity: 1;
}

.about-value-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--value-color, var(--accent));
    opacity: 0.12;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.about-value-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.about-value-card--yellow { --value-color: #f59e0b; }
.about-value-card--yellow .about-value-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.about-value-card--blue { --value-color: #3b82f6; }
.about-value-card--blue .about-value-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.about-value-card--green { --value-color: #10b981; }
.about-value-card--green .about-value-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.about-value-card--purple { --value-color: #8b5cf6; }
.about-value-card--purple .about-value-icon { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.about-value-card--red { --value-color: #ef4444; }
.about-value-card--red .about-value-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.about-value-card--cyan { --value-color: #06b6d4; }
.about-value-card--cyan .about-value-icon { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.about-value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Timeline */
.about-timeline {
    position: relative;
    max-width: 700px;
    margin: 60px auto 0;
    padding-left: 50px;
}

.about-timeline-line {
    position: absolute;
    top: 0;
    left: 19px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--border));
    border-radius: 2px;
}

.about-timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 20px;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-dot {
    position: absolute;
    left: -39px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: var(--radius-full);
    z-index: 1;
    transition: all 0.3s;
}

.about-timeline-dot--active {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 199, 44, 0.2);
}

.about-timeline-item:hover .about-timeline-dot {
    background: var(--accent);
    transform: scale(1.3);
}

.about-timeline-year {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.about-timeline-card {
    padding: 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.about-timeline-item:hover .about-timeline-card {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.about-timeline-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-timeline-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Founders Grid */
.about-founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.about-founder-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.about-founder-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.about-founder-visual {
    position: relative;
    aspect-ratio: 5/4;
    overflow: hidden;
}

.about-founder-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-founder-card:hover .about-founder-visual img {
    transform: scale(1.05);
}

.about-founder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    opacity: 0;
    transition: opacity 0.4s;
}

.about-founder-card:hover .about-founder-overlay {
    opacity: 1;
}

.about-founder-social {
    display: flex;
    gap: 14px;
}

.about-founder-social a {
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.about-founder-social a:hover {
    transform: scale(1.2);
}

.about-founder-info {
    padding: 28px 28px 32px;
}

.about-founder-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.about-founder-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-founder-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-founder-tags span {
    padding: 5px 14px;
    background: rgba(255, 199, 44, 0.08);
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 199, 44, 0.15);
}

/* About CTA */
.about-cta-section {
    padding-bottom: 100px;
}

.about-cta-box {
    text-align: center;
    padding: 80px 60px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.about-cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent), #f59e0b, var(--accent));
}

.about-cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.about-cta-box p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* About Page Responsive */
@media (max-width: 968px) {
    .about-stats-strip {
        flex-wrap: wrap;
        gap: 24px;
        padding: 30px;
    }
    .about-stat-divider {
        display: none;
    }
    .about-stat-item {
        min-width: 45%;
    }
    .about-mission-grid {
        grid-template-columns: 1fr;
    }
    .about-story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-story-visual {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
    .about-story-highlights {
        flex-wrap: wrap;
    }
    .about-values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-founders-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
    .about-cta-box {
        padding: 50px 30px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 140px 0 40px;
    }
    .about-stats-strip {
        padding: 24px 20px;
    }
    .about-stat-number {
        font-size: 1.6rem;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-timeline {
        padding-left: 40px;
    }
    .about-timeline-dot {
        left: -29px;
    }
    .about-timeline-line {
        left: 9px;
    }
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ══════════════════════════════
   SERVICES PAGE - REDESIGNED
   ══════════════════════════════ */

/* Hero Tabs */
.srv-hero-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.srv-hero-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.srv-hero-tab i {
    font-size: 1rem;
}

.srv-hero-tab:hover {
    border-color: var(--accent);
    color: var(--text);
}

.srv-hero-tab--active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.srv-hero-tab--active:hover {
    color: var(--white);
    border-color: var(--primary);
}

[data-theme="dark"] .srv-hero-tab--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .srv-hero-tab--active:hover {
    color: #1a1a2e;
    border-color: var(--accent-hover);
    background: var(--accent-hover);
}

/* Services Grid */
.srv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.srv-card {
    position: relative;
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease);
    overflow: hidden;
    --srv-color: #f59e0b;
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--srv-color);
    opacity: 0;
    transition: opacity 0.4s;
}

.srv-card:hover {
    transform: translateY(-6px);
    border-color: var(--srv-color);
    box-shadow: var(--shadow-lg);
}

.srv-card:hover::before {
    opacity: 1;
}

.srv-card--blue { --srv-color: #3b82f6; }
.srv-card--red { --srv-color: #ef4444; }
.srv-card--green { --srv-color: #10b981; }
.srv-card--purple { --srv-color: #8b5cf6; }
.srv-card--yellow { --srv-color: #f59e0b; }
.srv-card--pink { --srv-color: #ec4899; }
.srv-card--cyan { --srv-color: #06b6d4; }
.srv-card--gray { --srv-color: #64748b; }

.srv-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.srv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--srv-color);
    background: rgba(128,128,128,0.1); /* fallback */
    background: color-mix(in srgb, var(--srv-color) 10%, transparent);
    transition: all 0.3s;
}

.srv-card:hover .srv-card-icon {
    background: var(--srv-color);
    color: #fff;
}

.srv-card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--srv-color);
    opacity: 0.1;
    line-height: 1;
}

.srv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.srv-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.srv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.srv-card-tags span {
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--srv-color);
    background: rgba(128,128,128,0.08); /* fallback */
    background: color-mix(in srgb, var(--srv-color) 8%, transparent);
    border: 1px solid rgba(128,128,128,0.15); /* fallback */
    border: 1px solid color-mix(in srgb, var(--srv-color) 15%, transparent);
}

.srv-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.srv-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.srv-card-features li i {
    color: var(--srv-color);
    font-size: 0.9rem;
}

/* Featured cards span full width */
.srv-card--featured {
    grid-column: span 1;
}

/* Why Us Section */
.srv-why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.srv-why-text > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.srv-why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.srv-why-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.srv-why-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 199, 44, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-dark);
}

.srv-why-feature-icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.srv-why-feature-icon--green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.srv-why-feature-icon--purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.srv-why-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.srv-why-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.srv-why-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.srv-why-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.srv-why-visual:hover img {
    transform: scale(1.03);
}

/* Process Steps */
.srv-process {
    max-width: 700px;
    margin: 60px auto 0;
}

.srv-process-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s;
}

.srv-process-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}

.srv-process-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-dark);
    min-width: 48px;
    opacity: 0.5;
}

.srv-process-item:hover .srv-process-num {
    opacity: 1;
}

.srv-process-content {
    flex: 1;
}

.srv-process-content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.srv-process-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.srv-process-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 199, 44, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-dark);
    transition: all 0.3s;
}

.srv-process-item:hover .srv-process-icon {
    background: var(--accent);
    color: var(--primary);
}

.srv-process-connector {
    width: 2px;
    height: 20px;
    background: var(--border);
    margin: 0 auto;
}

/* Pricing Redesigned */
.srv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.srv-pricing-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    position: relative;
}

.srv-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.srv-pricing-card--popular {
    border-color: var(--accent);
}

.srv-pricing-ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 2;
}

.srv-pricing-header {
    padding: 36px 32px 28px;
    border-bottom: 1px solid var(--border);
}

.srv-pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.srv-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 10px;
}

.srv-pricing-currency {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
}

.srv-pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.srv-pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.srv-pricing-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.srv-pricing-body {
    padding: 28px 32px 36px;
}

.srv-pricing-body ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.srv-pricing-body ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.srv-pricing-body ul li i {
    color: #22c55e;
    font-size: 0.95rem;
    min-width: 16px;
}

/* Services Page Responsive */
@media (max-width: 968px) {
    .srv-grid {
        grid-template-columns: 1fr;
    }
    .srv-why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .srv-why-visual {
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
    .srv-why-features {
        grid-template-columns: 1fr;
    }
    .srv-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .srv-process-item {
        padding: 22px 24px;
    }
}

@media (max-width: 600px) {
    .srv-hero-tabs {
        gap: 8px;
    }
    .srv-hero-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .srv-card {
        padding: 24px;
    }
}

/* ══════════════════════════════
   ANIMATIONS (animate on scroll)
   ══════════════════════════════ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

[data-animate="fade-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="fade-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale-up"] {
    transform: scale(0.9);
}

[data-animate="scale-up"].animated {
    opacity: 1;
    transform: scale(1);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].animated {
    opacity: 1;
}

/* Generic animated fallback (any data-animate value) */
[data-animate].animated {
    opacity: 1;
    transform: none;
}

/* Stagger delays */
[data-delay="0.1"] { transition-delay: 0.1s; }
[data-delay="0.2"] { transition-delay: 0.2s; }
[data-delay="0.3"] { transition-delay: 0.3s; }
[data-delay="0.4"] { transition-delay: 0.4s; }
[data-delay="0.5"] { transition-delay: 0.5s; }
[data-delay="0.6"] { transition-delay: 0.6s; }

/* Safety net: if JS/GSAP fails, ensure content is visible after 4s */
@keyframes forceVisible {
    to { opacity: 1 !important; transform: none !important; }
}
.no-js [data-animate],
.no-js .service-card,
.no-js .project-card,
.no-js .process-step,
.no-js .testimonial-card,
.no-js .faq-item,
.no-js .section-title,
.no-js .section-label {
    opacity: 1 !important;
    transform: none !important;
}

/* ══════════════════════════════
   MAP
   ══════════════════════════════ */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 60px;
    filter: grayscale(0.3) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ══════════════════════════════
   RESPONSIVE UTILITIES
   ══════════════════════════════ */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth image placeholders */
.img-placeholder {
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

/* ══════════════════════════════
   DARK MODE TOGGLE
   ══════════════════════════════ */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 12px;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.theme-toggle .ri-sun-line { display: none; }
[data-theme="dark"] .theme-toggle .ri-moon-line { display: none; }
[data-theme="dark"] .theme-toggle .ri-sun-line { display: block; }

/* Dark mode image/card adjustments */
[data-theme="dark"] .about-story-badge {
    background: rgba(15, 15, 26, 0.9);
}

[data-theme="dark"] .srv-pricing-card {
    background: var(--bg-secondary);
}

[data-theme="dark"] .about-story-highlight,
[data-theme="dark"] .about-story-feature {
    background: var(--bg-secondary);
}

/* Dark mode button fixes */
[data-theme="dark"] .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #1a1a2e;
}
[data-theme="dark"] .btn-outline {
    color: var(--text);
    border-color: var(--border-light);
}
[data-theme="dark"] .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 199, 44, 0.08);
}
[data-theme="dark"] .footer-cta .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .footer-cta .btn-outline {
    color: var(--text);
    border-color: var(--border-light);
}
[data-theme="dark"] .back-to-top {
    background: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .testimonial-avatar {
    background: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .founder-role-label {
    color: var(--accent);
}
[data-theme="dark"] .blog-pagination .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}

/* ─── Comprehensive Dark Mode Contrast Fixes ─── */
/* Header CTA button — bg:primary + color:white both #e8e8f0 */
[data-theme="dark"] .btn-header {
    background: var(--accent);
    color: #1a1a2e;
}
[data-theme="dark"] .btn-header:hover {
    background: var(--accent-hover);
    color: #1a1a2e;
}

/* Hero slide CTA button hover — bg:white + color:primary both #e8e8f0 */
[data-theme="dark"] .btn-slide-cta:hover {
    background: #ffffff;
    color: #1a1a2e;
    border-color: #ffffff;
}

/* Project card arrow — bg:primary + color:white both #e8e8f0 */
[data-theme="dark"] .project-card-arrow {
    background: var(--accent);
    color: #1a1a2e;
}

/* Mobile menu — bg:white is too bright (#e8e8f0) in dark mode */
[data-theme="dark"] .mobile-menu {
    background: var(--bg);
}
/* Mobile nav links on dark menu bg */
[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
    color: var(--accent);
}
[data-theme="dark"] .mobile-social a:hover {
    color: var(--accent);
}
/* Hamburger X on mobile menu: bg:primary on bg:white both #e8e8f0 */
[data-theme="dark"] .hamburger-line {
    background: var(--text);
}

/* Hero banner section wrapper — bg:white too bright */
[data-theme="dark"] .hero-banner-section {
    background: var(--bg);
}

/* Why-us cards — bg:white too bright */
[data-theme="dark"] .why-us-card {
    background: var(--bg-secondary);
}
/* Why-us icon hover — accent bg + primary text low contrast */
[data-theme="dark"] .why-us-card:hover .why-us-icon {
    color: #1a1a2e;
}

/* Founder social hover — accent bg + primary text low contrast */
[data-theme="dark"] .founder-social a:hover {
    color: #1a1a2e;
}

/* Text selection — accent bg + primary text low contrast */
[data-theme="dark"] ::selection {
    color: #1a1a2e;
}

/* Custom cursor — primary dot blends with light card backgrounds */
[data-theme="dark"] .cursor-dot {
    background: var(--accent);
}
[data-theme="dark"] .cursor-outline {
    border-color: rgba(232, 232, 240, 0.2);
}

/* Footer social hover — use accent instead of primary for better visibility */
[data-theme="dark"] .footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Footer links hover */
[data-theme="dark"] .footer-contact a:hover,
[data-theme="dark"] .footer-bottom-links a:hover {
    color: var(--accent);
}

/* Hero CTA card button hover — bg:white on gradient */
[data-theme="dark"] .hero-cta-card:hover .hero-cta-card-btn {
    background: #ffffff;
    border-color: #ffffff;
}

/* Service process icon hover — accent bg + primary text low contrast */
[data-theme="dark"] .srv-process-item:hover .srv-process-icon {
    color: #1a1a2e;
}

/* Pricing ribbon — accent bg + primary text low contrast */
[data-theme="dark"] .srv-pricing-ribbon {
    color: #1a1a2e;
}

/* Project filter button active — bg:primary is bright gray in dark mode */
[data-theme="dark"] .project-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a2e;
}

/* Language switcher active button */
[data-theme="dark"] .lang-btn.active {
    background: var(--accent);
    color: #1a1a2e;
}

/* Skip to content link */
[data-theme="dark"] .skip-to-content {
    background: var(--accent);
    color: #1a1a2e;
}

/* ══════════════════════════════
   WHATSAPP CONTACT WIDGET
   ══════════════════════════════ */
.wa-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

/* FAB Button */
.wa-fab {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: #25d366;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
    position: relative;
    z-index: 2;
}

.wa-fab::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25d366;
    animation: whatsappPulse 2s infinite;
    z-index: -1;
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.wa-fab-icon-open,
.wa-fab-icon-close {
    position: absolute;
    transition: all 0.3s var(--ease);
}

.wa-fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.wa-widget.active .wa-fab-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.wa-widget.active .wa-fab-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.wa-widget.active .wa-fab::before {
    animation: none;
}

/* Popup */
.wa-popup {
    position: absolute;
    bottom: 72px;
    left: 0;
    width: 360px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--border);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.35s var(--ease-out);
    pointer-events: none;
}

.wa-widget.active .wa-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Header */
.wa-popup-header {
    background: #25d366;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.wa-popup-header-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wa-popup-header-left > i {
    font-size: 1.6rem;
    color: #fff;
    margin-top: 2px;
    flex-shrink: 0;
}

.wa-popup-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.wa-popup-subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.wa-popup-close {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.wa-popup-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Body — Contact Cards */
.wa-popup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}

.wa-contact-card:hover {
    border-color: #25d366;
    background: var(--bg-tertiary);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.12);
}

.wa-contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

.wa-contact-avatar img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.wa-contact-avatar > span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.wa-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #25d366;
    border: 2px solid var(--bg);
    border-radius: var(--radius-full);
}

.wa-contact-info {
    flex: 1;
    min-width: 0;
}

.wa-contact-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.wa-contact-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.wa-contact-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s var(--ease);
}

.wa-contact-card:hover .wa-contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.wa-popup-footer {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid var(--border);
}

.wa-popup-footer-brand {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-muted);
    opacity: 0.5;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 480px) {
    .wa-popup {
        width: calc(100vw - 40px);
        left: -5px;
    }
}

/* ══════════════════════════════
   COOKIE / KVKK BANNER
   ══════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border-top: none;
    padding: 24px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.sliding-out {
    transform: translateY(110%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner-text a:hover {
    color: var(--accent-dark);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    letter-spacing: 0.3px;
}

.cookie-btn--accept {
    background: var(--accent);
    color: #0a0a0a;
}

.cookie-btn--accept:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 199, 44, 0.3);
}

.cookie-btn--reject {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn--reject:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
    }
}

/* ══════════════════════════════
   PROJECT DETAIL PAGE
   ══════════════════════════════ */
.proj-detail-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 199, 44, 0.12);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.proj-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
}

.proj-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 40px;
}

.proj-detail-image img {
    width: 100%;
    display: block;
}

.proj-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.proj-detail-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.proj-detail-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.proj-detail-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.proj-info-row {
    margin-bottom: 20px;
}

.proj-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.proj-info-label i {
    font-size: 1rem;
    color: var(--accent-dark);
}

.proj-info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.proj-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.proj-tag {
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

@media (max-width: 968px) {
    .proj-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .proj-detail-info-card {
        position: static;
    }
}

/* ══════════════════════════════
   BLOG PAGE
   ══════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-card-category {
    padding: 4px 12px;
    background: rgba(255, 199, 44, 0.1);
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card:hover .blog-card-body h3 {
    color: var(--accent-dark);
}

.blog-card-body > p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
}

.blog-card-author img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.blog-card-read {
    font-size: 0.82rem;
    color: var(--accent-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.blog-card:hover .blog-card-read {
    gap: 8px;
}

/* Featured blog card */
.blog-card--featured {
    grid-column: span 2;
}

.blog-card--featured .blog-card-link {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card--featured .blog-card-image {
    aspect-ratio: auto;
    min-height: 100%;
}

.blog-card--featured .blog-card-image img {
    height: 100%;
}

.blog-card--featured .blog-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.blog-card--featured .blog-card-body h3 {
    font-size: 1.4rem;
}

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card--featured {
        grid-column: span 1;
    }
    .blog-card--featured .blog-card-link {
        grid-template-columns: 1fr;
    }
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.blog-card-link:hover { color: inherit; }

/* ── Blog Content Body Typography ── */
.blog-content-body p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}
.blog-content-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2em 0 0.8em;
    color: var(--text);
}
.blog-content-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.8em 0 0.6em;
    color: var(--text);
}
.blog-content-body h4, .blog-content-body h5, .blog-content-body h6 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.5em 0 0.5em;
    color: var(--text);
}
.blog-content-body ul, .blog-content-body ol {
    margin: 1em 0 1.5em 1.5em;
    padding-left: 1em;
}
.blog-content-body ul { list-style-type: disc; }
.blog-content-body ol { list-style-type: decimal; }
.blog-content-body li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}
.blog-content-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s;
}
.blog-content-body a:hover {
    color: var(--accent-hover, var(--accent));
}
.blog-content-body blockquote {
    border-left: 4px solid var(--accent);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--bg-secondary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}
.blog-content-body pre {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.2em;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.9em;
    line-height: 1.6;
}
.blog-content-body code {
    background: var(--bg-secondary);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-size: 0.9em;
}
.blog-content-body pre code {
    background: none;
    padding: 0;
}
.blog-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
}
.blog-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}
.blog-content-body th, .blog-content-body td {
    padding: 0.75em 1em;
    border: 1px solid var(--border);
    text-align: left;
}
.blog-content-body th {
    background: var(--bg-secondary);
    font-weight: 600;
}
.blog-content-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}
.blog-content-body figure {
    margin: 1.5em 0;
}
.blog-content-body figcaption {
    text-align: center;
    font-size: 0.85em;
    color: var(--text-muted);
    margin-top: 0.5em;
}

/* ══════════════════════════════
   404 PAGE
   ══════════════════════════════ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-content {
    max-width: 520px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.error-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.error-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.error-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════
   CLIENT LOGOS MARQUEE
   ══════════════════════════════ */
.client-logos {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.client-logos-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.logos-track {
    display: flex;
    gap: 80px;
    align-items: center;
    animation: logosScroll 25s linear infinite;
    width: max-content;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item i {
    font-size: 1.6rem;
}

@keyframes logosScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════
   PROJECT FILTER TABS
   ══════════════════════════════ */
.project-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.project-filter-btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.project-filter-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.project-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.projects-grid .project-card {
    transition: all 0.4s var(--ease), opacity 0.4s, transform 0.4s;
}

.project-card.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* ══════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════ */
.lang-switch {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    margin-right: 8px;
}

.lang-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: transparent;
    letter-spacing: 1px;
    min-width: 44px;
    min-height: 44px;
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg);
}

.lang-btn:hover:not(.active) {
    color: var(--text);
}

/* Mobile language switcher */
.mobile-lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 4px;
}

.mobile-lang-switch .lang-btn {
    flex: 1;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 9px;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — Focus Visible & Skip Link
   ═══════════════════════════════════════════════════════════ */

/* Focus-visible outline for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default focus ring for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Button/link specific focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.2);
}

[data-theme="dark"] *:focus-visible {
    outline-color: var(--accent);
}
[data-theme="dark"] a:focus-visible,
[data-theme="dark"] button:focus-visible,
[data-theme="dark"] input:focus-visible,
[data-theme="dark"] textarea:focus-visible,
[data-theme="dark"] select:focus-visible {
    outline-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.25);
}

/* Skip to content link */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    background: var(--primary);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.skip-to-content:focus {
    top: 0;
    outline: none;
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-slide-pattern,
    .hero-gradient,
    .marquee-track,
    .logos-track,
    .preloader-progress,
    .cursor-dot,
    .cursor-outline {
        animation: none !important;
    }

    /* Hide custom cursor for reduced motion */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    /* Instant preloader dismiss */
    #preloader {
        display: none !important;
    }

    /* All animated elements visible immediately */
    [data-animate],
    .service-card,
    .project-card,
    .process-step,
    .testimonial-card,
    .faq-item,
    .section-title,
    .section-label,
    .why-us-card,
    .tech-stack-card,
    .stat-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ── Print Styles ── */
@media print {
    .site-header, .site-footer, #preloader, .cookie-banner,
    .cursor-dot, .cursor-outline, .skip-to-content,
    .hero-dots-wrapper, .hero-cta-cards, .footer-marquee,
    .back-to-top, .theme-toggle, .wa-widget { display: none !important; }
    body { background: #fff !important; color: #000 !important; font-size: 12pt; }
    .container { max-width: 100% !important; padding: 0 !important; }
    a { color: #000 !important; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
    img { max-width: 100% !important; }
    .section { padding: 20px 0 !important; }
}
