/* ==========================================
   InnoByte France - Modern Website Styles
   ========================================== */

/* CSS Variables */
:root {
    /* Premium Gold Colors */
    --primary: #D4AF37;
    --primary-dark: #B8860B;
    --secondary: #F4E5C2;
    --accent: #8B6914;
    --dark: #1A1514;
    --dark-light: #2A2420;
    --gray: #8B7355;
    --gray-light: #C9B99B;
    --white: #FFFFFF;
    --bg: #FFF9F0;
    --gold-light: #F5E6D3;
    --gold-bright: #FFD700;
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #F4E5C2 50%, #D4AF37 100%);
    --gradient-gold: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #F4E5C2 100%);
    --gradient-dark: linear-gradient(135deg, #1A1514 0%, #2A2420 100%);
    --gradient-luxury: linear-gradient(135deg, #1A1514 0%, #2A2420 50%, #3A3430 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Sora', var(--font-primary);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(212, 175, 55, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(212, 175, 55, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(212, 175, 55, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(212, 175, 55, 0.25);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-gold-hover: 0 0 30px rgba(212, 175, 55, 0.5);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    color: var(--dark);
}

.logo-accent {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

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

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

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

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

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

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
}

.lang-switcher .lang-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gray);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm, 6px);
    transition: var(--transition);
    text-decoration: none;
}

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

.lang-switcher .lang-link.active {
    color: var(--white);
    background: var(--gradient-primary, var(--primary));
    cursor: default;
}

.lang-switcher .lang-sep {
    color: #CBD5E1;
}

/* Country flags rendered as inline SVG data URIs.
   Targeted via the [hreflang] attribute, so no HTML change is needed
   on the 20 pages of the site. */
.lang-switcher .lang-link::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.lang-switcher .lang-link[hreflang="en"]::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><rect width='60' height='30' fill='%23012169'/><path d='M0 0L60 30M60 0L0 30' stroke='white' stroke-width='6'/><path d='M0 0L60 30M60 0L0 30' stroke='%23C8102E' stroke-width='3'/><path d='M30 0v30M0 15h60' stroke='white' stroke-width='10'/><path d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/></svg>");
}

.lang-switcher .lang-link[hreflang="fr"]::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'><rect width='1' height='2' fill='%230055A4'/><rect x='1' width='1' height='2' fill='white'/><rect x='2' width='1' height='2' fill='%23EF4135'/></svg>");
}

.lang-switcher .lang-link[hreflang="ar"]::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'><rect width='30' height='20' fill='%23006C35'/><path d='M3 7 q1.5 -1.4 3 0 q1.5 1.4 3 0 q1.5 -1.4 3 0 q1.5 1.4 3 0 q1.5 -1.4 3 0 q1.5 1.4 3 0 q1.5 -1.4 3 0' fill='none' stroke='white' stroke-width='0.6' stroke-linecap='round'/><g stroke='white' stroke-width='0.45' stroke-linecap='round'><line x1='5' y1='4.4' x2='5' y2='6.7'/><line x1='10.5' y1='4.4' x2='10.5' y2='6.7'/><line x1='16' y1='4.4' x2='16' y2='6.7'/><line x1='21' y1='4.4' x2='21' y2='6.7'/><line x1='25.5' y1='4.4' x2='25.5' y2='6.7'/></g><g fill='white'><path d='M2.5 14 L4.5 12.6 L22 12.7 L22 15.3 L4.5 15.4 Z'/><rect x='21.6' y='11.4' width='0.7' height='5.2'/><rect x='22.3' y='12.4' width='2.4' height='3.2'/><circle cx='25.6' cy='14' r='0.95'/></g></svg>");
}

.lang-switcher .lang-link[hreflang="fa"]::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 12'><rect width='21' height='12' fill='white'/><rect width='21' height='4' fill='%23239F40'/><rect width='21' height='4' y='8' fill='%23DA0000'/><g fill='none' stroke='%23DA0000' stroke-width='0.32' stroke-linecap='round'><path d='M10.5 4.7 v2.6'/><path d='M9.4 5.4 q0 1.4 1.1 1.7'/><path d='M11.6 5.4 q0 1.4 -1.1 1.7'/><path d='M8.95 6 q0.75 -0.45 1.55 -0.1'/><path d='M12.05 6 q-0.75 -0.45 -1.55 -0.1'/></g><path d='M0.3 3.88 h20.4' stroke='white' stroke-width='0.18' stroke-dasharray='0.45 0.3'/><path d='M0.3 8.12 h20.4' stroke='white' stroke-width='0.18' stroke-dasharray='0.45 0.3'/></svg>");
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--dark);
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
}

.contact-btn:hover::before {
    left: 100%;
    transition: left 0.6s;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 229, 194, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
    background: var(--gradient-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    border-width: 2px;
}

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: var(--dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
    background: var(--gradient-gold);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--primary);
    box-shadow: 0 -2px 20px rgba(212, 175, 55, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.stat-label {
    color: var(--gold-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary));
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ==========================================
   Solutions Section
   ========================================== */
.solutions {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-hover);
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--dark);
    box-shadow: var(--shadow-gold);
    border: 2px solid var(--primary);
}

.solution-icon svg {
    width: 30px;
    height: 30px;
}

.solution-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.solution-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.solution-link {
    color: var(--primary-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

.solution-link:hover {
    gap: 1rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-luxury);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--gold-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: #2e2926;
    color: var(--gray-light);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo .logo-text {
    color: var(--gold-light);
}

.footer-logo .logo-accent {
    color: var(--primary);
}

.footer-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-links,
.footer-contact,
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.footer-contact li,
.footer-hours li {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary);
}

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

.footer-hours span {
    font-weight: 600;
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.heart {
    color: #FF6B6B;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

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

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

/* Premium Gold Shine Effect */
.gold-shine {
    position: relative;
    overflow: hidden;
}

.gold-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

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

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }
}

/* Tablet Portrait and Mobile */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        z-index: 1000;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-link {
        padding: var(--spacing-md) 0;
        font-size: 1.125rem;
        border-bottom: 1px solid #E2E8F0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-actions {
        width: 100%;
        margin-top: var(--spacing-md);
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .lang-switcher {
        align-self: center;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 85vh;
        padding-top: 120px;
        padding-bottom: var(--spacing-3xl);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        min-height: 52px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Sections */
    .solutions,
    .services-section,
    .store-section,
    .about-section,
    .policy-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grids */
    .solutions-grid,
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Cards */
    .solution-card,
    .service-card,
    .product-card {
        padding: var(--spacing-lg);
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
    }
    
    .solution-title,
    .service-title,
    .product-title {
        font-size: 1.25rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding-top: var(--spacing-md);
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 640px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .page-description {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
        --spacing-3xl: 3rem;
    }
    
    html {
        font-size: 14px;
    }
    
    .navbar {
        padding: 0;
    }
    
    .nav-wrapper {
        padding: var(--spacing-sm) 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        margin-bottom: var(--spacing-md);
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-actions {
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .solutions,
    .services-section,
    .store-section,
    .about-section,
    .policy-section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .solution-card,
    .service-card,
    .product-card {
        padding: var(--spacing-md);
    }
    
    .solution-icon,
    .product-icon {
        width: 45px;
        height: 45px;
    }
    
    .solution-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
    
    .cta-title {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .cta-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }
    
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 10vw, 2rem);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================
   KubeMarket partner banner (inline, below navbar)
   ========================================== */

.km-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999; /* just below navbar (1000) */
    background: #0a0e1a;
    border-bottom: 2px solid #dc2626;
    overflow: hidden;
    max-height: 200px;
    transition: max-height 0.35s ease, opacity 0.35s ease, top 0.3s ease;
}

.km-banner--closing {
    max-height: 0 !important;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .km-banner { transition: none; }
}

.km-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.km-banner__badge {
    flex-shrink: 0;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fca5a5;
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.55);
}

.km-banner__link {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    color: #e2e8f0;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.km-banner__link:hover {
    color: #93c5fd;
}

.km-banner__link strong {
    color: #f87171;
    font-weight: 700;
}

.km-banner__close {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.km-banner__close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #f1f5f9;
}

@media (max-width: 600px) {
    .km-banner__inner {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .km-banner__link {
        font-size: 0.82rem;
    }

    .km-banner__badge {
        display: none;
    }
}

/* ── Kuba banner (blue accent) ─────────────────────────────────────── */
.kuba-banner {
    background: linear-gradient(90deg, #060d1a 0%, #0c1f40 40%, #071428 70%, #04101e 100%);
    border-bottom: 2px solid #3b82f6;
}

.kuba-banner .km-banner__badge {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.45);
}

.kuba-banner .km-banner__link:hover {
    color: #bfdbfe;
}

.kuba-banner .km-banner__link strong {
    color: #60a5fa;
    font-weight: 700;
}

.kuba-banner__logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

/* KubeMarket banner logo */
#kubemarketBanner .kuba-banner__logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}
