/* ============================================
   FinalMedic — Modern Premium Website
   ============================================ */

:root {
    --primary: #0066FF;
    --primary-dark: #0052cc;
    --primary-light: #e8f0ff;
    --accent: #00C9A7;
    --accent-2: #6C5CE7;
    --dark: #0a0f1c;
    --dark-2: #141b2d;
    --gray-900: #1a1f36;
    --gray-800: #2d3348;
    --gray-700: #424867;
    --gray-600: #5a6178;
    --gray-400: #9096a8;
    --gray-300: #b8bcc8;
    --gray-200: #e2e4ea;
    --gray-100: #f4f5f7;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --bg: var(--white);
    --bg-alt: var(--gray-50);
    --card-bg: var(--white);
    --card-border: var(--gray-200);
    --text: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --gradient: linear-gradient(135deg, #0066FF 0%, #00C9A7 50%, #6C5CE7 100%);
    --gradient-text: linear-gradient(135deg, #0066FF 0%, #00C9A7 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg: #0d1117;
    --bg-alt: #161b22;
    --card-bg: #1c2128;
    --card-border: #30363d;
    --text: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --nav-bg: rgba(13, 17, 23, 0.95);
    --dark: #e6edf3;
    --dark-2: #c9d1d9;
    --gray-50: #161b22;
    --gray-100: #1c2128;
    --gray-200: #30363d;
    --gray-300: #484f58;
    --gray-400: #6e7681;
    --gray-600: #8b949e;
    --gray-700: #c9d1d9;
    --gray-800: #30363d;
    --gray-900: #e6edf3;
    --white: #0d1117;
    --primary-light: rgba(6, 102, 255, 0.15);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.6);
}

[data-theme="dark"] .logo-text {
    color: #e6edf3;
}

[data-theme="dark"] .navbar.scrolled {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--card-border);
}

[data-theme="dark"] .hero {
    background: transparent;
}

[data-theme="dark"] .floating-card {
    background: var(--card-bg);
    color: var(--text);
}

[data-theme="dark"] .trust-bar {
    background: var(--bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .cta-box {
    background: #161b22;
}

[data-theme="dark"] .btn-white {
    background: var(--card-bg);
    color: var(--primary);
}

[data-theme="dark"] .btn-ghost {
    border-color: var(--card-border);
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .footer {
    background: #010409;
}

[data-theme="dark"] .footer-bottom {
    color: var(--text-muted);
}

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    transition: background 0.3s ease, color 0.3s ease;
}

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

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

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section {
    padding: 100px 0;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 25px rgba(0, 102, 255, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--card-border);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: #ffffff;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 6px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: var(--radius-sm);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

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

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

.dropdown-trigger svg {
    transition: var(--transition);
}

.nav-pages-dropdown.open .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 180px;
    list-style: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.nav-pages-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.dropdown-menu li a::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Theme toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

/* Language toggle */
.lang-toggle {
    padding: 6px 14px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--primary);
}

.lang-active {
    color: var(--primary);
    font-weight: 700;
}

.lang-inactive {
    color: var(--text-muted);
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 102, 255, 0.15);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 201, 167, 0.12);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(108, 92, 231, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--card-bg);
    padding: 8px 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-plus {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    height: 460px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    border: 1px solid var(--card-border);
    animation: float 6s ease-in-out infinite;
}

.card-icon { font-size: 1.5rem; }

.card-1 { top: 40px; right: 20px; animation-delay: 0s; }
.card-2 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: -2s; }
.card-3 { bottom: 40px; right: 40px; animation-delay: -4s; }

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

.card-2 {
    animation: float2 6s ease-in-out infinite;
    animation-delay: -2s;
}

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

.hero-main-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(0, 102, 255, 0.15);
    animation: pulse-ring 3s ease-out infinite;
}

.ring-2 { animation-delay: 1.5s; }

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.visual-center {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
}

.visual-cross {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--card-border);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { top: -20px; }
    100% { top: 40px; }
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    background: var(--bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 32px 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.feature-check {
    width: 28px;
    height: 28px;
    background: rgba(0, 201, 167, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.about-visual { position: relative; }
.about-image-container { position: relative; }

.about-accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    opacity: 0.1;
}

.about-main-box {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    border: 1px solid var(--card-border);
}

.about-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

.about-stat-icon { font-size: 2.5rem; }

.about-stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.about-stat-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-location {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 16px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.about-location svg { color: var(--primary); }

/* ============================================
   Search & Filter
   ============================================ */

.search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    min-width: 300px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.search-box svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-box input {
    border: none;
    outline: none;
    background: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    width: 100%;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    border: 1px solid var(--card-border);
    border-radius: 100px;
    background: var(--card-bg);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 80px 20px;
    color: var(--text-muted);
    text-align: center;
}

/* ============================================
   Products Section
   ============================================ */

.products {
    background: var(--bg-alt);
}

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

.product-card {
    background: var(--card-bg);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
    transition: var(--transition);
}

.product-card:hover .product-link { gap: 10px; }

/* ============================================
   Why Us Section
   ============================================ */

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

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

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.why-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Partners Section
   ============================================ */

.partners {
    background: var(--bg-alt);
}

.partners-track {
    display: flex;
    gap: 48px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    animation: scroll-partners 20s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 20px 40px;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

/* ============================================
   Learning Section
   ============================================ */

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

.learn-card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.learn-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.learn-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark);
    line-height: 1.4;
}

.learn-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.learn-card:hover .learn-link { gap: 10px; }

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
    background: var(--bg-alt);
}

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

.testimonial-card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    font-size: 1.1rem;
    color: #f5a623;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.cta {
    padding: 80px 0 100px;
}

.cta-box {
    background: #0a0f1c;
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: #8b949e;
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
}

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

.footer {
    background: #0a0f1c;
    color: #8b949e;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1c2128;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-brand .logo-text { color: #e6edf3; }

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #1c2128;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
    color: #e6edf3;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul { list-style: none; }

.footer-links li,
.footer-contact li { margin-bottom: 12px; }

.footer-links a {
    font-size: 0.9rem;
    color: #8b949e;
}

.footer-links a:hover { color: #e6edf3; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a { color: #8b949e; }
.footer-contact a:hover { color: #e6edf3; }

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    font-size: 0.8rem;
    color: #484f58;
}

/* ============================================
   Chat Widget
   ============================================ */

.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 102, 255, 0.4);
    transition: all var(--transition);
    position: relative;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 40px rgba(0, 102, 255, 0.5);
}

.chat-fab-close { display: none; }
.chat-open .chat-fab-icon { display: none; }
.chat-open .chat-fab-close { display: block; }

.chat-notification {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
    animation: pulse-dot 2s infinite;
}

.chat-open .chat-notification { display: none; }

.chat-window {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    padding: 16px 20px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar-sm {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.chat-header strong {
    display: block;
    font-size: 0.95rem;
}

.chat-status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.chat-close:hover { opacity: 1; }

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    max-height: 340px;
}

.chat-message {
    display: flex;
}

.chat-message.bot { justify-content: flex-start; }
.chat-message.user { justify-content: flex-end; }

.chat-bubble {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.5;
}

.chat-message.bot .chat-bubble {
    background: var(--bg-alt);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: var(--primary);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.quick-reply {
    padding: 8px 14px;
    border: 1px solid var(--card-border);
    border-radius: 100px;
    background: var(--card-bg);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.chat-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-footer input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text);
    padding: 8px;
}

.chat-footer input::placeholder { color: var(--text-muted); }

.chat-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* ============================================
   Page Header (for sub-pages)
   ============================================ */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.page-header .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.back-link:hover { gap: 10px; }

/* ============================================
   Blog Cards
   ============================================ */

.blog-filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.blog-filter-tab {
    padding: 8px 20px;
    border: 1px solid var(--card-border);
    border-radius: 100px;
    background: var(--card-bg);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-filter-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

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

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0.08;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-meta .tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 100px;
}

.blog-card-meta .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-body h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.blog-card:hover .blog-read-more { gap: 10px; }

/* ============================================
   Value Cards (About page)
   ============================================ */

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

.value-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Team/Promise section */
.promise-box {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    border: 1px solid var(--card-border);
}

.promise-box .section-tag { margin-bottom: 16px; }
.promise-box .section-title { margin-bottom: 20px; }

.promise-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* About page story */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content .section-tag { margin-bottom: 16px; }

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

.story-visual {
    position: relative;
}

.story-visual-box {
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
}

.story-visual-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.story-visual h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.story-visual p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Products page grid */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-page-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    padding: 32px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-page-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-page-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.product-page-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.product-page-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.product-page-card .price-range {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

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

.product-page-card:hover .product-page-link { gap: 10px; }

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

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }

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

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-subtitle { margin: 0 auto 36px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { min-height: 350px; }

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

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

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

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

@media (max-width: 768px) {
    .section { padding: 64px 0; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.2rem; }

    .nav-pages-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        padding: 0;
    }

    .btn-nav { display: none; }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-grid, .products-page-grid { grid-template-columns: 1fr; }
    .why-grid, .values-grid { grid-template-columns: 1fr; }
    .learn-grid, .blog-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }

    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-divider { display: none; }
    .hero-cta { flex-direction: column; align-items: center; }

    .cta-box { padding: 48px 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }

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

    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box { min-width: auto; }

    .chat-window {
        width: calc(100vw - 48px);
        right: -12px;
    }

    .promise-box { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .trust-items { grid-template-columns: 1fr; }
    .hero-card-stack { height: 300px; }

    .floating-card {
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .page-header { padding: 130px 0 60px; }
}
/* Featured Products Carousel */
.featured-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -16px;
    padding: 0 16px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.featured-card {
    flex: 0 0 calc(25% - 18px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.featured-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-50);
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.featured-badge.sale {
    background: #ef4444;
    color: white;
}

.featured-card-info {
    padding: 16px 20px 20px;
}

.featured-card-info h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.featured-card-price del {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 0.85rem;
}

.featured-card-price ins {
    text-decoration: none;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    color: var(--dark);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Responsive */
@media (max-width: 1024px) {
    .featured-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .featured-card {
        flex: 0 0 calc(50% - 12px);
    }
    .carousel-track { gap: 16px; }
    .featured-card-image { height: 180px; }
}

@media (max-width: 480px) {
    .featured-card {
        flex: 0 0 calc(80%);
    }
    .featured-card-image { height: 160px; }
}

/* GTranslate widget in nav */
.nav-actions .gtranslate_wrapper {
    font-size: 0.75rem;
    gap: 4px !important;
}
.nav-actions .gtranslate_wrapper a {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.nav-actions .gtranslate_wrapper a:hover,
.nav-actions .gtranslate_wrapper a.gt_current_lang {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-actions .gtranslate_wrapper,
    .nav-actions .lang-toggle {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    .nav-actions .gtranslate_wrapper a {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    .nav-actions {
        gap: 6px;
    }
    .btn-nav {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .theme-toggle {
        width: 32px;
        height: 32px;
    }
    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }
}

/* Mobile language switcher - hidden on desktop, shown in hamburger menu */
.mobile-lang-switcher {
    display: none;
}

@media (max-width: 768px) {
    .mobile-lang-switcher {
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 16px 0;
        border-top: 1px solid var(--gray-200);
        margin-top: 12px;
    }
    .mobile-lang-switcher a,
    .mobile-lang-switcher .gtranslate_wrapper a {
        font-family: 'Inter', sans-serif;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 8px 20px;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.2s;
    }
    .mobile-lang-switcher a:hover,
    .mobile-lang-switcher .gtranslate_wrapper a:hover,
    .mobile-lang-switcher .gtranslate_wrapper a.gt_current_lang {
        border-color: var(--primary);
        color: var(--primary);
        background: var(--primary-light);
    }
}

/* ===== Hero Background Slideshow (Pure CSS — no JS) ===== */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroFade 15s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }

@keyframes heroFade {
    0%      { opacity: 0; }
    5%      { opacity: 1; }
    33.33%  { opacity: 1; }
    38.33%  { opacity: 0; }
    100%    { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.hero-bg-shapes { z-index: 2; }
.hero-container { z-index: 3; position: relative; }
.hero-scroll-indicator { z-index: 3; }

/* Text colors for photo background */
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-badge,
.hero .hero-badge span,
.hero .stat-number,
.hero .stat-plus,
.hero .stat-label,
.hero .stat-divider { color: #fff !important; }

.hero .badge-dot { background: #00c9a7 !important; }

.hero .gradient-text {
    background: linear-gradient(135deg, #4fc3f7, #00c9a7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero .btn-ghost {
    color: #fff !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.hero .btn-ghost:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.7) !important;
}

/* Badge glass style */
.hero .hero-badge {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Floating cards glass style */
.hero .floating-card {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.hero .hero-visual { position: relative; z-index: 3; }
.hero .stat-divider { background: rgba(255, 255, 255, 0.3) !important; }
.hero .hero-bg-shapes .shape { opacity: 0.15; }

@media (max-width: 768px) {
    .hero-slide { background-position: center top; }
    .hero-slide:first-child { background-position: 70% center; }
}
