/* EMEXPRESS Frontend Styles — Light & Dark themes */
:root {
    --primary: #2342a8;
    --primary-2: #3554c4;
    --brand-red: #e30613;
    --brand-red-2: #ff3a3a;
    --brand-black: #0a0e1a;
    --accent: #f6a712;
    --accent-2: #ff7e36;
    --teal: #4ad5c3;
    --dark: #0a0e1a;
    --gray: #5a6878;
    --text: #1a2236;
    --text-soft: #5a6878;
    --bg: #ffffff;
    --bg-alt: #f7f8fb;
    --bg-soft: #f1f4f9;
    --bg-hero: linear-gradient(135deg, #f3f5f9 0%, #e7ebf2 100%);
    --topbar-bg: #0a0e1a;
    --topbar-text: #cdd5e0;
    --card-bg: #ffffff;
    --header-bg: rgba(255,255,255,0.85);
    --header-border: rgba(0,0,0,0.06);
    --border: #e6ebf2;
    --footer-bg: #f1f4f9;
    --shadow: 0 10px 40px rgba(20, 40, 80, 0.08);
    --shadow-hover: 0 24px 70px rgba(20, 40, 80, 0.18);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary: #6b8aff;
    --primary-2: #8fa6ff;
    --brand-red: #ff3a3a;
    --brand-red-2: #ff5e5e;
    --brand-black: #ffffff;
    --accent: #ffb938;
    --accent-2: #ff9550;
    --teal: #5ee5d2;
    --dark: #ffffff;
    --gray: #a4b2c4;
    --text: #e6ecf5;
    --text-soft: #a4b2c4;
    --bg: #0a0e1a;
    --bg-alt: #11172a;
    --bg-soft: #161d33;
    --bg-hero: linear-gradient(135deg, #161c2c 0%, #0a0e1a 100%);
    --topbar-bg: #050810;
    --topbar-text: #a4b2c4;
    --card-bg: #161d33;
    --header-bg: rgba(10, 14, 26, 0.85);
    --header-border: rgba(255,255,255,0.06);
    --border: #232b46;
    --footer-bg: #07091a;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 24px 70px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero-title, .section-head h2, .stat-num, .footer-logo, .cta-logo {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo-em { color: #000000; font-weight: 800; }
.logo-ex { color: #e30613; font-weight: 800; }

/* TOPBAR */
.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    font-size: 13.5px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #e30613;
    transition: background-color 0.3s ease;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 10px;
}
.topbar-corner {
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 100%;
    background: linear-gradient(135deg, var(--teal), #e30613);
    clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
    z-index: 1;
    opacity: 0.85;
}
[data-theme="dark"] .topbar-corner { opacity: 0.4; }
.topbar-contact { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 3; }
.topbar-contact a { color: var(--topbar-text); }
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact .sep { opacity: 0.4; }
.topbar-contact i { margin-right: 6px; opacity: 0.7; }
.topbar-email { color: var(--topbar-text); position: relative; z-index: 3; }
.topbar-email:hover { color: var(--accent); }
.topbar-email i { margin-right: 6px; opacity: 0.7; }

/* HEADER */
.site-header {
    background: var(--header-bg);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 6px 20px rgba(20, 40, 80, 0.04);
    position: sticky;
    top: 0;
    z-index: 90;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
}
.logo { display: inline-flex; align-items: center; transition: transform 0.25s cubic-bezier(.2,.8,.2,1); margin: -10px 0; }
.logo:hover { transform: scale(1.04); }
.logo img { height: 110px; width: auto; display: block; filter: drop-shadow(0 8px 22px rgba(227, 6, 19, 0.20)); transition: filter 0.3s ease; }
.logo:hover img { filter: drop-shadow(0 14px 30px rgba(227, 6, 19, 0.40)); }
.logo-text { font-size: 28px; font-weight: 800; }
[data-theme="dark"] .logo img {
    background: transparent;
    padding: 0;
    border-radius: 0;
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 8px 22px rgba(255, 80, 80, 0.35));
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-soft);
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s ease;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #e30613);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.35s cubic-bezier(.2,.8,.2,1);
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a:hover::after, .main-nav a.active::after { width: 28px; }

.header-controls { display: flex; align-items: center; gap: 12px; }

/* LANG SWITCHER (pills in header) */
.lang-switcher {
    display: inline-flex;
    background: var(--bg-soft);
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
}
.lang-pill {
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.lang-pill:hover { color: var(--primary); }
.lang-pill.active {
    background: linear-gradient(135deg, #e30613, #b8050f);
    color: #fff;
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.35);
}

/* THEME TOGGLE */
.theme-toggle {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    cursor: pointer;
    color: var(--primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.theme-toggle .sun-icon, .theme-toggle .moon-icon {
    position: absolute;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
[data-theme="light"] .theme-toggle .sun-icon { transform: translateY(0); opacity: 1; }
[data-theme="light"] .theme-toggle .moon-icon { transform: translateY(40px); opacity: 0; }
[data-theme="dark"] .theme-toggle .sun-icon { transform: translateY(-40px); opacity: 0; }
[data-theme="dark"] .theme-toggle .moon-icon { transform: translateY(0); opacity: 1; color: var(--accent); }

.menu-toggle {
    display: none;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary);
}

/* HERO */
.hero {
    background: var(--bg-hero);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    transition: background 0.3s ease;
    isolation: isolate;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.hero::before {
    width: 480px; height: 480px;
    top: -140px; left: -160px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.32), transparent 70%);
    animation: heroBlobA 18s ease-in-out infinite;
}
.hero::after {
    width: 560px; height: 560px;
    bottom: -200px; right: 5%;
    background: radial-gradient(circle, rgba(35, 66, 168, 0.28), transparent 70%);
    animation: heroBlobB 22s ease-in-out -7s infinite;
}
[data-theme="dark"] .hero::before { background: radial-gradient(circle, rgba(227, 6, 19, 0.45), transparent 70%); }
[data-theme="dark"] .hero::after { background: radial-gradient(circle, rgba(107, 138, 255, 0.28), transparent 70%); }
@keyframes heroBlobA {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(40px,-25px) scale(1.08); }
    66%      { transform: translate(-30px,30px) scale(0.94); }
}
@keyframes heroBlobB {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(-50px,-30px) scale(1.1); }
}
.hero-bg-shape {
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(74, 213, 195, 0.22), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: heroBlobA 28s ease-in-out -12s infinite;
    will-change: transform;
}
[data-theme="dark"] .hero-bg-shape { background: radial-gradient(circle, rgba(107, 138, 255, 0.15), transparent 70%); }
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    min-height: 500px;
}
.hero-title {
    font-size: clamp(56px, 8.5vw, 104px);
    line-height: 0.95;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title .logo-em {
    color: #000000 !important;
    -webkit-text-fill-color: #000000;
    text-shadow: 0 6px 30px rgba(0,0,0,0.10);
    text-transform: uppercase;
}
.hero-title .logo-ex {
    color: #e30613 !important;
    -webkit-text-fill-color: #e30613;
    text-shadow: 0 6px 30px rgba(227, 6, 19, 0.25);
    text-transform: lowercase;
}
[data-theme="dark"] .hero-title .logo-em {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}
.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 500;
    color: var(--text-soft);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.5;
    animation: fadeInUp 0.8s 0.15s ease both;
    position: relative;
    padding-left: 18px;
}
.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 4px;
    background: linear-gradient(180deg, #e30613, #ff5e22);
    border-radius: 4px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.8s 0.4s ease both; }
.hero-image { position: relative; height: 100%; min-height: 500px; }
.hero-image img {
    position: absolute;
    bottom: 0; right: 0;
    max-height: 580px;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 30px 50px rgba(20, 40, 80, 0.18));
    animation: bikeFloat 7s ease-in-out infinite;
}
.hero-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 220px;
}
.hero-placeholder::before {
    content: '';
    position: absolute;
    inset: 25% 0 25% -10%;
    background:
        repeating-linear-gradient(
            92deg,
            transparent 0,
            transparent 14px,
            rgba(227, 6, 19, 0.18) 14px,
            rgba(227, 6, 19, 0.18) 17px
        );
    -webkit-mask: radial-gradient(ellipse at 75% 50%, #000 25%, transparent 70%);
            mask: radial-gradient(ellipse at 75% 50%, #000 25%, transparent 70%);
    animation: speedLines 2.4s ease-in-out infinite;
    pointer-events: none;
}
.hero-placeholder i {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--dark) 0%, #e30613 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 20px 40px rgba(227, 6, 19, 0.25));
    animation: bikeFloat 5s ease-in-out infinite;
}
@keyframes bikeFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-14px) rotate(0deg); }
}
@keyframes speedLines {
    0%, 100% { opacity: 0.55; transform: translateX(0); }
    50%      { opacity: 1;    transform: translateX(-22px); }
}
[data-theme="dark"] .hero-placeholder i {
    background: linear-gradient(135deg, #ffffff 0%, #ff5e22 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary::before, .btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.7s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.btn-primary {
    background: linear-gradient(135deg, #e30613, #b8050f);
    color: #fff;
    box-shadow: 0 12px 28px rgba(227, 6, 19, 0.38), 0 4px 10px rgba(0, 0, 0, 0.12);
    padding: 17px 34px;
    font-size: 14.5px;
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 42px rgba(227, 6, 19, 0.50), 0 6px 14px rgba(0, 0, 0, 0.18);
    background: linear-gradient(135deg, #ff1f2c, #e30613);
}
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:active { transform: translateY(-1px) scale(1); }
.btn-outline {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--brand-black);
    border: 2px solid var(--brand-black);
    padding: 15px 32px;
}
[data-theme="dark"] .btn-outline {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--brand-black);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
[data-theme="dark"] .btn-outline:hover { background: #fff; color: var(--brand-black); border-color: #fff; }
.btn-outline:hover::before { transform: translateX(110%); }
.btn-outline:active { transform: translateY(-1px) scale(1); }

/* SECTION HEAD */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.section-head h2 .accent {
    color: #e30613;
    position: relative;
    display: inline-block;
}
.section-head h2 .accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 6px;
    background: rgba(227, 6, 19, 0.18);
    border-radius: 3px;
    z-index: -1;
}
.section-head .divider {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #e30613);
    margin: 16px auto;
    border-radius: 4px;
    transform: skewX(-20deg);
    box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}
.section-head p { color: var(--gray); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* WHY US */
.why-us { padding: 90px 0; background: var(--bg); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 32px 22px;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), #e30613);
    border-radius: 0 0 4px 4px;
    transform: translateX(-50%);
    transition: width 0.45s cubic-bezier(.2,.8,.2,1);
}
.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.feature-card:hover::before { width: 70%; }
.feature-icon {
    width: 88px; height: 88px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fff5f5, #ffe4e4);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #e30613;
    transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
    position: relative;
}
[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, #2a1f24, #1f1418);
    color: #ff5e5e;
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #e30613, #b8050f);
    color: #fff;
    transform: translateY(-4px) rotate(-6deg) scale(1.08);
    box-shadow: 0 14px 30px rgba(227, 6, 19, 0.4);
}
.feature-card h3 {
    font-size: 19px;
    color: var(--dark);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.feature-card p { color: var(--text-soft); font-size: 14px; line-height: 1.55; }

/* PRICING */
.pricing { padding: 90px 0; background: var(--bg-soft); }
.zones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.zone-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}
.zone-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--teal); }
.zone-card.highlight { border-color: var(--teal); }
.zone-card h3 { font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 20px; }
.zone-icon { font-size: 70px; color: var(--teal); margin: 20px 0; opacity: 0.85; }
.zone-time {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
}
.zone-list { list-style: none; text-align: left; }
.zone-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}
.zone-list li:last-child { border-bottom: none; }

/* QUALITY */
.quality { padding: 90px 0; background: var(--bg); }
.quality.alt { background: var(--bg-alt); }
.quality-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.quality-inner.reverse { direction: rtl; }
.quality-inner.reverse > * { direction: ltr; }
.quality-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.img-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-soft), var(--bg-alt));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 130px;
    color: rgba(35, 66, 168, 0.25);
    box-shadow: var(--shadow);
}
[data-theme="dark"] .img-placeholder { color: rgba(107, 138, 255, 0.3); }
.quality-content h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.quality-content p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
}

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(74, 213, 195, 0.3), transparent 70%);
    border-radius: 50%;
}
.page-hero h1 { font-size: 48px; font-weight: 700; position: relative; z-index: 2; color: #fff; }
.breadcrumb { margin-top: 12px; opacity: 0.9; font-size: 14px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--accent); }
.breadcrumb i { margin: 0 8px; opacity: 0.6; }

/* STATS */
.stats { padding: 80px 0; background: var(--bg-hero); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card { text-align: center; }
.stat-num {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}
.stat-icon {
    width: 110px; height: 110px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--card-bg), var(--bg-alt));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--accent);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-card:hover .stat-icon { transform: scale(1.1) rotate(-5deg); }
.stat-label { font-size: 16px; color: var(--gray); font-weight: 500; }

/* SERVICES */
.services { padding: 90px 0; background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.services-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}
.service-card { text-align: center; position: relative; z-index: 2; }
.service-icon {
    width: 120px; height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.service-icon-red { background: linear-gradient(135deg, #f44336, #c92a2a); }
.service-icon-yellow { background: linear-gradient(135deg, #ffc107, #f6a712); }
.service-icon-orange { background: linear-gradient(135deg, #ff7043, #e64a19); }
.service-card:hover .service-icon { transform: translateY(-8px) scale(1.05); }
.service-card h3 { font-size: 18px; color: var(--dark); font-weight: 600; max-width: 240px; margin: 0 auto; }

/* CONTACT */
.contact-hero {
    background: var(--bg-hero);
    padding: 80px 0;
    overflow: hidden;
}
.contact-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}
.contact-hero-content .hero-title { font-size: 64px; }
.contact-hero-sub { font-size: 28px; color: var(--primary); font-weight: 600; margin-top: 20px; }
.contact-hero-image {
    text-align: center;
    font-size: 200px;
    color: var(--teal);
}
.contact-info { padding: 80px 0; background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.contact-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}
.contact-card:hover {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}
.contact-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.contact-card h3 { color: var(--dark); margin-bottom: 16px; font-size: 20px; }
.contact-card a, .contact-card p { display: block; color: var(--gray); margin: 4px 0; font-size: 15px; }
.contact-card a:hover { color: var(--primary); }

/* CTA SECTION */
.cta-section {
    background: var(--bg-hero);
    padding: 50px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-logo { font-size: 0; line-height: 0; }
.cta-logo img { height: 90px; width: auto; display: block; }
[data-theme="dark"] .cta-logo img {
    background: transparent;
    padding: 0;
    border-radius: 0;
    filter: invert(1) hue-rotate(180deg);
}
.cta-btn {
    background: var(--card-bg);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.cta-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(35, 66, 168, 0.3);
}

/* FOOTER */
.site-footer {
    background: var(--footer-bg);
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cg fill='%23a0c4e8' opacity='0.15'%3E%3Ccircle cx='100' cy='100' r='2'/%3E%3Ccircle cx='200' cy='150' r='2'/%3E%3Ccircle cx='300' cy='80' r='2'/%3E%3Ccircle cx='400' cy='130' r='2'/%3E%3Ccircle cx='500' cy='90' r='2'/%3E%3Ccircle cx='600' cy='160' r='2'/%3E%3Ccircle cx='700' cy='100' r='2'/%3E%3Ccircle cx='800' cy='140' r='2'/%3E%3Ccircle cx='900' cy='110' r='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}
[data-theme="dark"] .site-footer::before { opacity: 0.15; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding: 70px 20px 50px;
    position: relative;
    z-index: 2;
}
.footer-logo { font-size: 0; line-height: 0; margin-bottom: 18px; }
.footer-logo img { height: 70px; width: auto; display: block; }
[data-theme="dark"] .footer-logo img {
    background: transparent;
    padding: 0;
    border-radius: 0;
    filter: invert(1) hue-rotate(180deg);
}
.footer-about p { color: var(--gray); margin-bottom: 24px; font-size: 14px; line-height: 1.8; }
.footer-contact { list-style: none; }
.footer-contact li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 14px;
}
.footer-contact i { color: var(--primary); margin-right: 10px; width: 16px; }
.footer-contact a { color: var(--gray); }
.footer-contact a:hover { color: var(--primary); }
.footer-col h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 24px;
    font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { padding: 8px 0; }
.footer-links a { color: var(--gray); font-size: 14px; }
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 42px; height: 42px;
    background: var(--card-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

/* FLOATING SOCIAL WIDGET (sağ alt küncdə) */
.float-social {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}
.float-social > * { pointer-events: auto; }

.float-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.float-item {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translateY(20px) scale(0.6);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
}
.float-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.float-telegram { background: linear-gradient(135deg, #2ca5e0, #0088cc); }
.float-instagram {
    background:
        radial-gradient(circle at 30% 110%, #ffd776 0%, #f06b29 25%, #d6266d 50%, #a73abb 75%, #4e58c1 100%);
}
.float-item:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}
.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #0a0e1a;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #0a0e1a;
}
.float-item:hover .float-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* Open state — show menu items with stagger */
.float-social[data-state="open"] .float-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: calc(var(--i, 1) * 60ms);
}

/* Trigger button (per-brand color via data-active) */
.float-trigger {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #e30613, #b8050f);
    color: #fff;
    font-size: 34px;
    box-shadow: 0 14px 38px rgba(227, 6, 19, 0.45), 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1),
                box-shadow 0.5s ease,
                background 0.6s ease;
    overflow: hidden;
}
.float-trigger::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.55;
    z-index: -1;
    animation: floatPulse 2.2s ease-in-out infinite;
}
@keyframes floatPulse {
    0%, 100% { transform: scale(1);    opacity: 0.55; }
    50%      { transform: scale(1.22); opacity: 0; }
}
.float-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3), 0 6px 14px rgba(0,0,0,0.2);
}
.float-trigger:active { transform: scale(0.95); }

/* Per-brand colors driven by data-active on .float-social */
.float-social[data-active="whatsapp"] .float-trigger {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.15);
}
.float-social[data-active="telegram"] .float-trigger {
    background: linear-gradient(135deg, #2ca5e0, #0088cc);
    box-shadow: 0 14px 38px rgba(44, 165, 224, 0.5), 0 4px 12px rgba(0,0,0,0.15);
}
.float-social[data-active="instagram"] .float-trigger {
    background:
        radial-gradient(circle at 30% 110%, #ffd776 0%, #f06b29 25%, #d6266d 50%, #a73abb 75%, #4e58c1 100%);
    box-shadow: 0 14px 38px rgba(214, 38, 109, 0.5), 0 4px 12px rgba(0,0,0,0.15);
}

.float-cycle {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-block;
    perspective: 320px;
}
.float-cycle i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotateY(180deg) scale(0.3);
    filter: blur(6px);
    transition: transform 0.6s cubic-bezier(.34,1.56,.64,1),
                opacity 0.4s ease,
                filter 0.4s ease;
    backface-visibility: hidden;
}
.float-cycle i.is-active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    filter: blur(0);
    animation: iconPop 0.7s cubic-bezier(.34,1.56,.64,1);
}
@keyframes iconPop {
    0%   { transform: rotateY(180deg) scale(0.3); filter: blur(8px); }
    55%  { transform: rotateY(-20deg) scale(1.18); filter: blur(0); }
    80%  { transform: rotateY(8deg)   scale(0.95); }
    100% { transform: rotateY(0deg)   scale(1); }
}
.float-close-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease;
}

/* When open: hide cycle, show X, kill pulse, switch to dark bg */
.float-social[data-state="open"] .float-trigger {
    background: linear-gradient(135deg, #1f2940, #0a0e1a) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
    transform: rotate(180deg);
}
.float-social[data-state="open"] .float-trigger::before { animation: none; opacity: 0; }
.float-social[data-state="open"] .float-cycle i.is-active { opacity: 0; transform: rotateY(90deg) scale(0.6); animation: none; }
.float-social[data-state="open"] .float-close-icon { opacity: 1; transform: rotate(0deg) scale(1); }

@media (max-width: 640px) {
    .float-social { right: 16px; bottom: 16px; }
    .float-trigger { width: 64px; height: 64px; font-size: 28px; }
    .float-cycle { width: 30px; height: 30px; }
    .float-item { width: 50px; height: 50px; font-size: 21px; }
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .features-grid, .zones-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid, .services-grid { grid-template-columns: 1fr; gap: 30px; }
    .services-grid::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quality-inner, .hero-inner, .contact-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .quality-inner.reverse { direction: ltr; }
    .hero-cta { justify-content: center; }
    .topbar-corner { display: none; }
    .hero-title { font-size: 60px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--card-bg);
        flex-direction: column;
        gap: 0;
        padding: 14px 20px;
        box-shadow: var(--shadow);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
    .main-nav a:last-child { border-bottom: none; }
    .topbar-inner { flex-direction: column; gap: 8px; text-align: center; }
    .topbar-contact { font-size: 12px; flex-wrap: wrap; justify-content: center; }
    .lang-switcher { padding: 3px; }
    .lang-pill { padding: 6px 10px; font-size: 11px; }
    .hero { padding: 50px 0 40px; min-height: auto; }
    .hero-title { font-size: 44px; letter-spacing: -1.5px; }
    .logo img { height: 72px; }
    .logo { margin: -6px 0; }
    .cta-logo img { height: 64px; }
    .footer-logo img { height: 56px; }
    .hero-subtitle { font-size: 18px; }
    .hero-image { min-height: auto; }
    .hero-image img { position: relative; max-height: 320px; margin: 30px auto 0; }
    .hero-placeholder { font-size: 160px; min-height: 250px; }
    .section-head h2 { font-size: 28px; }
    .features-grid, .zones-grid, .stats-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero-content .hero-title { font-size: 44px; }
    .contact-hero-image { font-size: 120px; }
    .why-us, .pricing, .quality, .services, .contact-info { padding: 60px 0; }
    .stat-num { font-size: 44px; }
    .cta-inner { flex-direction: column; text-align: center; }
}
