/* ==================== 
   ROOT VARIABLES 
   ==================== */
:root {
    --primary-color: #F40009;
    --primary-dark: #c20007;
    --primary-light: #ff4d4d;

    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fafafa;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --border-color: #d2d2d7;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.72);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1d1d1f;
    --bg-tertiary: #2c2c2e;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #86868b;
    --border-color: #424245;
    --card-bg: #1d1d1f;
    --nav-bg: rgba(29, 29, 31, 0.72);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(135, 206, 250, 0.2) 0%,
            rgba(255, 255, 255, 0) 100%);
    opacity: 1;
    transition: opacity 0.8s ease, background 0.8s ease;
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"]::before {
    background: linear-gradient(180deg,
            rgba(25, 25, 50, 0.8) 0%,
            rgba(0, 0, 0, 0) 100%);
    opacity: 1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.8s ease, color 0.8s ease;
}

/* Smooth transitions for theme changes */
*,
*::before,
*::after {
    transition:
        background-color 0.6s ease,
        border-color 0.6s ease,
        color 0.6s ease,
        fill 0.6s ease,
        stroke 0.6s ease,
        opacity 0.6s ease,
        box-shadow 0.6s ease;
}

/* Exclude elements that have their own transitions */
.service-card,
.stat-card,
.btn,
.nav-link,
.contact-item,
.theme-toggle,
.hamburger,
.service-icon,
.hero-content,
.mesh-circle {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ==================== 
   NAVIGATION 
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    width: auto;
}

/* Hide both logos by default */
.logo-for-light-mode,
.logo-for-dark-mode {
    display: none;
}

/* Light mode: show the logo meant for light backgrounds */
.logo-for-light-mode {
    display: block;
}

/* Dark mode: show the logo meant for dark backgrounds */
[data-theme="dark"] .logo-for-light-mode {
    display: none;
}

[data-theme="dark"] .logo-for-dark-mode {
    display: block;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    position: relative;
    padding: 8px 0;
    letter-spacing: -0.01em;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-chevron {
    font-size: 10px;
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.active .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 8px 8px;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 16px;
}

[data-theme="dark"] .nav-dropdown-menu {
    background: rgba(29, 29, 31, 0.99);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .nav-dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary-color);
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: transparent;
    color: var(--text-primary) !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 100px;
    border: 1.5px solid var(--border-color);
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(244, 0, 9, 0.7);
    animation: nav-cta-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes nav-cta-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(244, 0, 9, 0.5); }
    50% { transform: scale(1.4); box-shadow: 0 0 14px rgba(244, 0, 9, 1), 0 0 28px rgba(244, 0, 9, 0.5); }
}

.nav-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-cta:hover {
    border-color: var(--primary-color);
    color: #ffffff !important;
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(244, 0, 9, 0.3);
    transform: translateY(-1px);
}

.nav-cta:hover .nav-cta-dot {
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.nav-cta:hover svg,
.nav-cta:hover i {
    transform: translateX(3px);
}

.nav-cta:active {
    transform: translateY(0);
}

/* Theme Toggle Button (hidden) */
.theme-toggle {
    display: none;
    width: 64px;
    height: 32px;
    border-radius: 16px;
    background: var(--bg-secondary);
    align-items: center;
    justify-content: space-between;
    padding: 4px;
    transition: var(--transition);
    position: relative;
    margin-left: 8px;
    border: 1.5px solid var(--border-color);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    left: 4px;
    box-shadow: 0 2px 8px rgba(244, 0, 9, 0.3);
}

[data-theme="dark"] .theme-toggle::before {
    left: calc(100% - 28px);
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    box-shadow: 0 2px 12px rgba(241, 196, 15, 0.5);
}

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

.theme-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.theme-toggle:hover svg {
    color: var(--text-primary);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

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

[data-theme="dark"] .sun-icon {
    opacity: 0.5;
    transform: rotate(90deg) scale(0.8);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1.1);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== 
   HERO SECTION 
   ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Apple-style Mesh Gradient */
.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(80px);
    opacity: 0.7;
}

[data-theme="dark"] .mesh-gradient {
    opacity: 0.5;
}

.mesh-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            var(--primary-color) 0%,
            transparent 70%);
    animation: mesh-float 20s ease-in-out infinite;
}

/* Light mode - softer colors */
.mesh-circle-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: 10%;
    background: radial-gradient(circle at center,
            rgba(244, 0, 9, 0.4) 0%,
            rgba(255, 107, 107, 0.2) 50%,
            transparent 70%);
    animation: mesh-float-1 25s ease-in-out infinite;
}

.mesh-circle-2 {
    width: 500px;
    height: 500px;
    top: 20%;
    right: 15%;
    background: radial-gradient(circle at center,
            rgba(255, 23, 68, 0.3) 0%,
            rgba(244, 0, 9, 0.15) 50%,
            transparent 70%);
    animation: mesh-float-2 22s ease-in-out infinite;
}

.mesh-circle-3 {
    width: 550px;
    height: 550px;
    bottom: 10%;
    left: 20%;
    background: radial-gradient(circle at center,
            rgba(244, 0, 9, 0.35) 0%,
            rgba(198, 40, 40, 0.2) 50%,
            transparent 70%);
    animation: mesh-float-3 28s ease-in-out infinite;
}

.mesh-circle-4 {
    width: 450px;
    height: 450px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle at center,
            rgba(255, 107, 107, 0.25) 0%,
            rgba(244, 0, 9, 0.15) 50%,
            transparent 70%);
    animation: mesh-float-4 24s ease-in-out infinite;
}

/* Dark mode - more vibrant */
[data-theme="dark"] .mesh-circle-1 {
    background: radial-gradient(circle at center,
            rgba(244, 0, 9, 0.6) 0%,
            rgba(255, 107, 107, 0.3) 50%,
            transparent 70%);
}

[data-theme="dark"] .mesh-circle-2 {
    background: radial-gradient(circle at center,
            rgba(255, 23, 68, 0.5) 0%,
            rgba(244, 0, 9, 0.25) 50%,
            transparent 70%);
}

[data-theme="dark"] .mesh-circle-3 {
    background: radial-gradient(circle at center,
            rgba(244, 0, 9, 0.55) 0%,
            rgba(198, 40, 40, 0.3) 50%,
            transparent 70%);
}

[data-theme="dark"] .mesh-circle-4 {
    background: radial-gradient(circle at center,
            rgba(255, 107, 107, 0.4) 0%,
            rgba(244, 0, 9, 0.2) 50%,
            transparent 70%);
}

/* Mesh animations */
@keyframes mesh-float-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

@keyframes mesh-float-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 60px) scale(1.05);
    }

    66% {
        transform: translate(40px, -40px) scale(0.9);
    }
}

@keyframes mesh-float-3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, 40px) scale(0.95);
    }

    66% {
        transform: translate(-50px, -50px) scale(1.1);
    }
}

@keyframes mesh-float-4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-60px, -30px) scale(1.08);
    }

    66% {
        transform: translate(50px, 40px) scale(0.92);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    color: #F40009;
}

.hero-title-rotate {
    color: #F40009;
    display: inline-block;
    position: relative;
    min-width: 180px;
    text-align: left;
}

.hero-title-rotate .rotate-word {
    display: inline-block;
    opacity: 0;
    position: absolute;
    left: 0;
    transition: opacity 0.6s ease;
}

.hero-title-rotate .rotate-word.active {
    opacity: 1;
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.01em;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero App Icons Marquee */
.hero-app-icons {
    max-width: 420px;
    margin: 0 auto 28px;
    position: relative;
}

.hero-app-icons-mask {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.app-icons-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 12px 0;
    animation: marqueeScroll 30s linear infinite;
}

.hero-app-icons:hover .app-icons-track {
    animation-play-state: paused;
}

.app-icon-item {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    overflow: visible;
    transition: transform 0.3s ease !important;
    display: block;
}

.app-icon-item:hover {
    transform: scale(1.18);
    z-index: 2;
}

.app-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.app-icon-tooltip {
    position: fixed;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease !important;
    box-shadow: var(--shadow-md);
    z-index: 100;
    transform: translateX(-50%);
}

.app-icon-tooltip.visible {
    opacity: 1;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.hero-store-badges {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 14px;
    background: var(--text-primary);
    color: var(--bg-primary) !important;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.store-btn-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.store-btn-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.85;
}

.store-btn-store {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 0, 9, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

/* ==================== 
   SECTION STYLES 
   ==================== */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* ====================
   ABOUT SECTION
   ==================== */
.about {
    background: var(--bg-secondary);
}

/* About Pillars */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.about-pillar {
    text-align: center;
    padding: 40px 28px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-pillar:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(244, 0, 9, 0.08);
    color: var(--primary-color);
}

[data-theme="dark"] .about-pillar-icon {
    background: rgba(244, 0, 9, 0.12);
}

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

.about-pillar-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.about-pillar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.about-pillar-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 24px rgba(244, 0, 9, 0.06);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-number-suffix {
    font-size: 0.6em;
    font-weight: 600;
    vertical-align: super;
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==================== 
   SERVICES SECTION 
   ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(244, 0, 9, 0.02),
            rgba(244, 0, 9, 0.05));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.service-icon i {
    font-size: 24px;
    color: #ffffff;
}

.service-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 
   PORTFOLIO / PROJECTS SLIDER 
   ==================== */
.portfolio {
    padding: 0 !important;
    background: #080c14;
    overflow: hidden;
}

.projects-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 80vh;
    max-height: 900px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    background: #080c14;
    color: #ffffff;
    transition: opacity 0.8s ease, visibility 0.8s ease !important;
}

.slide.slide-active {
    opacity: 1;
    visibility: visible;
}

/* Slide Background Decorations */
.slide-bg-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.slide-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

/* Career Canvas - Teal/Green */
.slide-career-canvas {
    --slide-accent: #10b981;
    --slide-accent-rgb: 16, 185, 129;
}

.slide-career-canvas .slide-orb-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    right: 5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
}

.slide-career-canvas .slide-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    left: 15%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

/* QRBot - Orange */
.slide-qrbot {
    --slide-accent: #ff6b35;
    --slide-accent-rgb: 255, 107, 53;
}

.slide-qrbot .slide-orb-1 {
    width: 500px;
    height: 500px;
    bottom: -20%;
    right: 10%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
}

.slide-qrbot .slide-orb-2 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
}

/* WASticker - Purple */
.slide-wasticker {
    --slide-accent: #a855f7;
    --slide-accent-rgb: 168, 85, 247;
}

.slide-wasticker .slide-orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: 15%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
}

.slide-wasticker .slide-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -15%;
    left: 10%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
}

/* Robust Encoder - Amber */
.slide-currency {
    --slide-accent: #10b981;
    --slide-accent-rgb: 16, 185, 129;
}

.slide-currency .slide-orb-1 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: 15%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
}

.slide-currency .slide-orb-2 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.slide-encoder {
    --slide-accent: #f59e0b;
    --slide-accent-rgb: 245, 158, 11;
}

.slide-encoder .slide-orb-1 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: 20%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
}

.slide-encoder .slide-orb-2 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: 10%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

/* Kritaa AR Drawing - Pink */
.slide-ardrawing {
    --slide-accent: #ec4899;
    --slide-accent-rgb: 236, 72, 153;
}

.slide-ardrawing .slide-orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: 10%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
}

.slide-ardrawing .slide-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -15%;
    left: 15%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}

/* Robust Launchpad - Blue */
.slide-launchpad {
    --slide-accent: #3b82f6;
    --slide-accent-rgb: 59, 130, 246;
}

.slide-launchpad .slide-orb-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    left: 10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
}

.slide-launchpad .slide-orb-2 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    right: 15%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
}

/* Slide Content */
.slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.slide-text {
    flex: 1;
    max-width: 620px;
}

.slide-screenshot {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.slide-screenshot img {
    max-width: 100%;
    max-height: 55vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.slide-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.slide-badge-mac {
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: none;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: #ffffff;
}

.slide-title-italic {
    font-style: italic;
}

.slide-desc {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 520px;
    font-weight: 400;
}

/* Slide Buttons */
.slide-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.slide-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: var(--slide-accent);
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease !important;
}

.slide-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--slide-accent-rgb), 0.35);
    opacity: 0.92;
}

.slide-store-btn svg {
    flex-shrink: 0;
}

.slide-store-btn i {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
}

.slide-store-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.slide-store-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    opacity: 1;
}

/* Slide Stats */
.slide-stats {
    display: flex;
    gap: 40px;
}

.slide-stat strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-star {
    font-size: 0.7em;
    vertical-align: baseline;
    margin-left: 2px;
    color: var(--slide-accent);
}

.slide-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Slide Features (Encoder) */
.slide-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.slide-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.feature-dot-green {
    background: #10b981;
}

.feature-dot-amber {
    background: #f59e0b;
}

.feature-dot-red {
    background: #ef4444;
}

.feature-dot-blue {
    background: #3b82f6;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
    transition: all 0.3s ease !important;
    padding: 0;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev {
    left: 24px;
}

.slider-arrow-next {
    right: 24px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.slider-arrow i {
    font-size: 20px;
    color: #ffffff;
}

/* Slider Dots */
.slider-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s ease !important;
}

.slider-dot.active {
    width: 32px;
    background: #ffffff;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ==================== 
   CLIENTS SECTION 
   ==================== */
.clients {
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.clients-marquee {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 16px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: clientsScroll 35s linear infinite;
}

.clients-marquee-reverse .clients-marquee-track {
    animation: clientsScrollReverse 35s linear infinite;
}

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

.client-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
}

.client-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    filter: grayscale(30%);
    transition: all 0.4s ease;
}

[data-theme="dark"] .client-logo {
    filter: grayscale(30%) invert(1);
}

.client-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.client-item:hover .client-logo {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}

[data-theme="dark"] .client-item:hover .client-logo {
    filter: grayscale(0%) invert(1);
}

.client-item:hover .client-name {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* ==================== 
   CONTACT SECTION 
   ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact CTA Card */
.contact-cta-wrapper {
    margin-top: 20px;
}

.contact-cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(244, 0, 9, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-badge {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-badge svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.cta-badge i {
    font-size: 28px;
    color: #ffffff;
}

.cta-content-wrapper {
    flex-grow: 1;
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.cta-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.cta-button-wrapper {
    flex-shrink: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
    gap: 14px;
}

.btn-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-cta i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-cta:hover svg,
.btn-cta:hover i {
    transform: translateX(4px);
}

/* ==================== 
   FOOTER 
   ==================== */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-logo-img {
    margin-bottom: 16px;
}

.footer-logo-img img {
    height: 44px;
    width: auto;
}

.footer-tagline {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-address {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-top: 8px;
}

/* Hide both by default */
.footer-logo-for-light-mode,
.footer-logo-for-dark-mode {
    display: none;
}

/* Light mode: show logo for light background */
.footer-logo-for-light-mode {
    display: block;
}

/* Dark mode: show logo for dark background */
[data-theme="dark"] .footer-logo-for-light-mode {
    display: none;
}

[data-theme="dark"] .footer-logo-for-dark-mode {
    display: block;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.footer-contact-info {
    margin-top: 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.footer-contact-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

.social-links i {
    font-size: 18px;
    color: var(--text-primary);
}

.social-links a:hover svg,
.social-links a:hover i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ==================== 
   ANIMATIONS 
   ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

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

/* ==================== 
   RESPONSIVE 
   ==================== */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 46px;
    }

    .section-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--nav-bg);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 24px;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu {
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .nav-dropdown {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-trigger {
        width: auto;
        justify-content: center;
        gap: 6px;
    }

    .nav-dropdown-trigger::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        min-width: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        transform: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        max-height: 500px;
    }

    .nav-dropdown-menu {
        align-self: center;
        text-align: center;
    }

    .nav-dropdown-menu a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
        font-size: 15px;
    }

    /* Hero Section - MOBILE OPTIMIZED */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .hero-title-rotate {
        min-width: auto;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.5;
    }

    /* Hero Background - MOBILE OPTIMIZED */
    .mesh-gradient {
        filter: blur(60px);
        opacity: 0.6;
    }

    [data-theme="dark"] .mesh-gradient {
        opacity: 0.4;
    }

    /* Optimize mesh circles for mobile */
    .mesh-circle-1 {
        width: 320px;
        height: 320px;
        top: -5%;
        left: -10%;
    }

    .mesh-circle-2 {
        width: 280px;
        height: 280px;
        top: 15%;
        right: -15%;
    }

    .mesh-circle-3 {
        width: 300px;
        height: 300px;
        bottom: 20%;
        left: -10%;
    }

    .mesh-circle-4 {
        width: 260px;
        height: 260px;
        bottom: 10%;
        right: -10%;
    }

    .hero-app-icons {
        max-width: 340px;
        margin-bottom: 24px;
    }

    .app-icon-item {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .app-icon-item img {
        border-radius: 12px;
    }

    .app-icons-track {
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-store-badges {
        margin-top: 20px;
        gap: 10px;
    }

    .clients-marquee-track {
        gap: 32px;
    }

    .client-logo {
        height: 48px;
    }

    .store-btn {
        padding: 8px 16px 8px 12px;
        gap: 8px;
        border-radius: 10px;
    }

    .store-btn-icon {
        font-size: 24px;
    }

    .store-btn-label {
        font-size: 9px;
    }

    .store-btn-store {
        font-size: 15px;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }

    /* Sections */
    section {
        padding: 80px 0;
    }

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

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    /* About Pillars */
    .about-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 48px;
    }

    .about-pillar {
        padding: 32px 24px;
    }

    /* Stats & Services */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .stat-card,
    .service-card {
        padding: 28px 20px;
    }

    /* Projects Slider */
    .projects-slider {
        min-height: 520px;
        height: 75vh;
    }

    .slide-inner {
        padding: 0 24px;
        gap: 32px;
    }

    .slide-text {
        max-width: 480px;
    }

    .slide-screenshot img {
        max-height: 55vh;
    }

    .slide-title {
        font-size: 38px;
    }

    .slide-desc {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .slide-actions {
        margin-bottom: 32px;
    }

    .slide-stats {
        gap: 28px;
    }

    .slide-stat strong {
        font-size: 24px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

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

    .slider-arrow i {
        font-size: 16px;
    }

    .slider-arrow-prev {
        left: 16px;
    }

    .slider-arrow-next {
        right: 16px;
    }

    /* Contact */
    .contact-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
        gap: 24px;
    }

    .cta-badge {
        margin: 0 auto;
    }

    .cta-content-wrapper {
        text-align: center;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-description {
        font-size: 16px;
    }

    .btn-cta {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-address,
    .footer-contact-info {
        text-align: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 30px;
    }
}

@media (max-width: 480px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-wrapper {
        padding: 12px 0;
    }

    .logo img {
        height: 32px;
    }

    /* Hero - EXTRA SMALL MOBILE */
    .hero {
        min-height: 100vh;
        padding-top: 70px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    /* Further optimize mesh circles for small mobile */
    .mesh-gradient {
        filter: blur(50px);
        opacity: 0.5;
    }

    [data-theme="dark"] .mesh-gradient {
        opacity: 0.35;
    }

    .mesh-circle-1 {
        width: 250px;
        height: 250px;
        top: 0%;
        left: -15%;
    }

    .mesh-circle-2 {
        width: 220px;
        height: 220px;
        top: 20%;
        right: -20%;
    }

    .mesh-circle-3 {
        width: 240px;
        height: 240px;
        bottom: 25%;
        left: -15%;
    }

    .mesh-circle-4 {
        width: 200px;
        height: 200px;
        bottom: 15%;
        right: -15%;
    }

    .hero-app-icons {
        max-width: 280px;
        margin-bottom: 20px;
    }

    .app-icon-item {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .app-icon-item img {
        border-radius: 10px;
    }

    .app-icons-track {
        gap: 16px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

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

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Cards */
    .service-card {
        padding: 28px 20px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 32px;
    }

    /* Projects Slider */
    .projects-slider {
        min-height: 480px;
        height: 70vh;
    }

    .slide-inner {
        padding: 0 20px;
    }

    .slide-logo {
        width: 48px;
        height: 48px;
        border-radius: 11px;
        margin-bottom: 12px;
    }

    .slide-screenshot {
        display: none;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-desc {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .slide-actions {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 28px;
    }

    .slide-store-btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .slide-stats {
        gap: 24px;
    }

    .slide-stat strong {
        font-size: 22px;
    }

    .slide-features {
        gap: 16px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }

    .slider-arrow i {
        font-size: 14px;
    }

    .slider-arrow-prev {
        left: 12px;
    }

    .slider-arrow-next {
        right: 12px;
    }

    .slider-indicators {
        bottom: 20px;
    }

    /* Contact */
    .contact-cta-card {
        padding: 32px 24px;
        gap: 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 15px;
    }

    .cta-badge {
        width: 56px;
        height: 56px;
    }

    .cta-badge svg {
        width: 28px;
        height: 28px;
    }

    .cta-badge i {
        font-size: 24px;
    }

    .btn-cta {
        padding: 12px 24px;
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 48px 0 20px;
    }

    .footer-logo-img img {
        height: 36px;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 24px;
    }

    .scroll-indicator span {
        width: 20px;
        height: 32px;
    }
}

/* Extra small devices optimization */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .mesh-circle-1,
    .mesh-circle-2,
    .mesh-circle-3,
    .mesh-circle-4 {
        width: 200px;
        height: 200px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-desc {
        font-size: 14px;
    }

    .slide-badge {
        font-size: 11px;
        padding: 5px 14px;
    }

    .slide-stats {
        gap: 18px;
    }

    .slide-stat strong {
        font-size: 20px;
    }
}

/* ── Breadcrumbs ── */
.breadcrumb {
    padding: 12px 0;
    margin-top: 72px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li span.breadcrumb-current {
    color: var(--text-primary);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-size: 11px;
    user-select: none;
}