/* ==================== PEDA.CO - LIGHT THEME ==================== */

:root {
    /* Brand Colors */
    --color-primary: #0d65d9;
    --color-primary-dark: #0a4fa8;
    --color-primary-light: #3d8ae8;
    --color-primary-rgb: 13, 101, 217;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #646567;
    --color-gray-500: #646567;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Background */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;

    /* Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #646567;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1280px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows - disabled */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-xl: none;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-btn: 5px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

button, input, select, textarea {
    font-family: 'Space Grotesk', inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.text-highlight {
    background: linear-gradient(120deg, rgba(var(--color-primary-rgb), 0.15) 0%, rgba(var(--color-primary-rgb), 0.15) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 90%;
}

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-btn);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--color-gray-300);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--text-primary);
}

.btn-white:hover {
    background-color: var(--color-gray-100);
    box-shadow: var(--shadow-lg);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 16px 24px;
}

@media (min-width: 768px) {
    .header {
        padding: 16px 40px;
    }
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
}

/* Pill Nav Sparkle Border Effect */
.header-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 100px;
    padding: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.95) 48%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.95) 52%,
        transparent 60%,
        transparent 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    filter: blur(1px);
    transition: opacity 0.3s ease;
}

.header-container:hover::before {
    opacity: 1;
    animation: pillSparkle 6s ease-in-out forwards;
}

@keyframes pillSparkle {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
}

.logo svg {
    height: 32px;
    width: auto;
    position: relative;
    z-index: 2;
}

/* Logo magic bubble */
.logo-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: logoBubblePop 0.8s ease-out forwards;
}


@keyframes logoBubblePop {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.45;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

/* Navigation */
.nav {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 450;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-item > a:hover,
.nav-item:hover > a {
    color: var(--color-primary);
}

.nav-item > a svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: transform var(--transition-fast);
}

.nav-item:hover > a svg {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: fixed;
    top: var(--header-height);
    left: auto;
    min-width: 220px;
    padding: 8px;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: calc(100% - 80px);
    max-width: var(--container-max);
    padding: 28px;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-column h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 6px 12px;
    margin-bottom: 4px;
}

.mega-column a {
    display: block;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mega-column a:hover {
    color: var(--color-primary);
}

/* Products Mega Menu */
.products-mega-menu {
    grid-template-columns: 1fr;
    min-width: 500px;
    padding: 28px;
}

.products-layout {
    display: flex;
    gap: 24px;
}

.products-cards {
    display: flex;
    gap: 16px;
    flex: 0 0 70%;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--color-gray-50);
    transition: all var(--transition-normal);
    text-decoration: none;
    flex: 1;
}

.product-item:hover {
    background: var(--color-gray-100);
}

.product-logo {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.product-logo img {
    max-width: 120px;
    max-height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.product-item:hover .product-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.product-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.product-item:hover .product-desc {
    color: var(--text-secondary);
}

.product-item {
    cursor: pointer;
}

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

.product-item:hover .product-link svg {
    transform: translateX(3px);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all 0.2s ease;
}

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

.product-link svg {
    transition: transform 0.2s ease;
}

.product-link:hover svg {
    transform: translateX(3px);
}

.products-list {
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;
    padding-right: 8px;
}

.products-list a {
    display: block;
    padding: 6px 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.header-actions .btn {
    display: none;
}

@media (min-width: 1024px) {
    .header-actions .btn {
        display: inline-flex;
    }
}

/* Mobile Toggle */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: auto;
    background: var(--color-white);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-section-title {
    padding: 20px 0 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: none;
}

.mobile-menu a.mobile-product {
    padding: 12px 0 12px 16px;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

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

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.hero-slide .hero-content {
    animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge-img {
    max-width: 216px;
    height: auto;
    margin-bottom: 24px;
}

.hero-content-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-400);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.hero-dot:hover {
    border-color: var(--color-primary);
}

.hero-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Hero Split Layout */
.hero.hero-split {
    padding-top: var(--header-height);
}

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

@media (min-width: 1024px) {
    .hero-split .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

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

.section-header p {
    font-size: 1.1rem;
    margin-top: 16px;
}

/* ==================== PARTNERS / LOGOS ==================== */
.partners {
    padding: 60px 0;
    border-top: 1px solid var(--color-gray-200);
}

.partners-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 60px;
}

.partners-grid img {
    height: 32px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--transition-normal);
}

.partners-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==================== CARDS ==================== */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--color-gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.card h4 {
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (min-width: 640px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==================== FEATURES ==================== */
.features-section {
    background: var(--bg-secondary);
    padding-top: 70px;
    padding-bottom: 0;
}

.feature-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 30px;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
    border: 1px solid var(--color-gray-200);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

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

.feature-card:hover {
    border-color: transparent;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card h4 {
    margin-bottom: 12px;
    transition: color 0.5s ease;
}

.feature-card p {
    transition: color 0.5s ease;
}

.feature-card:hover h4,
.feature-card:hover p {
    color: white;
}

.feature-card .feature-link {
    transition: color 0.5s ease;
}

.feature-card .feature-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
}

.feature-card:hover .feature-link {
    color: #000;
    gap: 12px;
}

.feature-card:hover .feature-link svg {
    stroke: #000;
    transform: translateX(4px);
}

.feature-card {
    cursor: pointer;
}


/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Mobile: ensure gap with margin fallback */
@media (max-width: 767px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .bento-grid > * {
        margin-bottom: 16px;
    }

    .bento-grid > *:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-grid .bento-wide {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }

    .bento-grid .bento-wide {
        grid-column: span 2;
    }

    .bento-grid .bento-tall {
        grid-row: span 2;
    }

    .bento-grid .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* Bento card size adjustments */
.bento-grid .feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-grid .feature-card .feature-link {
    margin-top: auto;
}

.bento-grid .feature-card h4 {
    font-size: 1.35rem;
}

.bento-grid .bento-wide .feature-card h4,
.bento-grid .bento-tall .feature-card h4 {
    font-size: 1.5rem;
}


.bento-grid .bento-large .feature-card h4 {
    font-size: 1.75rem;
}

.bento-grid .bento-tall .feature-card {
    padding: 30px;
}

.bento-grid .bento-large .feature-card {
    padding: 30px;
}

.bento-grid .feature-card p {
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Bento Stack - vertical column with nested items */
.bento-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-stack > .feature-card {
    flex: 1;
}

/* Mobile: ensure gap works with margin fallback */
@media (max-width: 767px) {
    .bento-stack {
        gap: 16px;
    }

    .bento-stack > .feature-card {
        margin-bottom: 0;
    }

    .bento-stack > .feature-card:not(:last-child) {
        margin-bottom: 16px;
    }
}

/* Compact feature card for smaller spaces */
/* Compact card layout - title fixed at top */
.feature-card.feature-card-compact {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.feature-card.feature-card-compact h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.feature-card.feature-card-compact .feature-link {
    flex-shrink: 0;
    margin-top: auto;
}

/* Text clamp for cards - 2 lines with ellipsis */
.bento-grid .feature-card p.compact-text {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    flex-grow: 0 !important;
    max-height: 3.2em;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.cta-section h2,
.cta-section p {
    color: var(--color-white);
}

.cta-section p {
    opacity: 0.9;
}

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

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1a1a1a;
    color: var(--color-white);
}

.footer-main {
    padding: 80px 0 60px;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
    }
}

.footer-brand p {
    color: var(--color-gray-400);
    margin-top: 24px;
    max-width: 300px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid #323334;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: var(--color-gray-400);
}

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

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

.footer-teknogirisim {
    max-width: 173px;
    height: auto;
    margin-top: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.35;
    transition: opacity var(--transition-normal);
}

.footer-teknogirisim:hover {
    opacity: 0.7;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

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

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease forwards;
}

/* Staggered Animations */
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }

.hidden { display: none; }

@media (max-width: 767px) {
    .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
    .hidden-desktop { display: none; }
}

/* ==================== ADDITIONAL COMPONENTS ==================== */

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-switch svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.lang-switch:hover {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
}

.lang-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary) !important;
    font-weight: 600;
}

.lang-mobile svg {
    stroke: var(--color-primary);
}

/* Language Flag */
.lang-flag {
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

.nav-item > a svg.lang-flag {
    opacity: 1;
    width: 16px;
    height: 12px;
}

.nav-item:hover > a svg.lang-flag {
    transform: none;
}

/* Feature Link */
.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--color-primary);
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.feature-link:hover {
    gap: 12px;
}

.feature-link svg {
    transition: transform var(--transition-fast);
}

.feature-link:hover svg {
    transform: translateX(4px);
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.flash-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.flash-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.error-message {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #ef4444;
}

/* Honeypot (spam protection) */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
    text-align: center;
}

.page-hero-small {
    padding: 120px 0 60px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* Product Hero */
.product-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
}

.product-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 768px) {
    .product-hero-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px;
    }

    .product-hero-content .product-hero-logo,
    .product-hero-content .btn {
        flex-shrink: 0;
        width: auto;
    }
}

.badge-coming-soon {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(91, 98, 175, 0.1);
    border-radius: var(--radius-full);
}

.product-hero-logo img {
    max-width: 200px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-description {
    max-width: 800px;
}

.product-description p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Product Intro */
.product-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.product-intro h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
}

.product-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Product Stats */
.product-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.product-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Feature Icon - hidden */
.feature-icon {
    display: none;
}

.feature-card {
    text-align: left;
}

.feature-card h4 {
    margin-bottom: 12px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.step-item {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-item h4 {
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
}

.benefit-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.benefit-item span {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Platforms Grid */
.platforms-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.platform-item svg {
    color: var(--color-primary);
}

.platform-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Use Case Card */
.usecase-card {
    padding: 24px;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.usecase-card:hover {
    background: var(--color-gray-100);
}

.usecase-card h4 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.usecase-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info h3,
.contact-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.contact-text strong {
    display: block;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-secondary);
}

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

.contact-text a:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.social-links a:hover svg {
    fill: var(--color-white);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--color-gray-600);
    transition: fill var(--transition-fast);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--color-gray-100);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 12px;
    background: var(--color-gray-100);
    border: 2px dashed var(--color-gray-300);
    border-radius: 8px;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    border-color: var(--color-primary);
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--color-gray-600);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.field-error {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #dc2626;
    font-weight: 500;
    min-height: 0;
}

.field-error:empty {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-label span {
    display: inline;
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--color-primary);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Alert Boxes */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-success svg {
    stroke: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-error svg {
    stroke: #991b1b;
}

/* Map Section */
.map-section {
    height: 450px;
    background: var(--color-gray-100);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-200);
}

.map-card iframe {
    filter: saturate(0.3) contrast(1.1) hue-rotate(200deg);
}

.map-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(13, 101, 217, 0.08) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(10, 10, 10, 0.05) 100%);
    pointer-events: none;
}

/* ==================== ABOUT PAGE ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid.reverse {
        direction: rtl;
    }

    .about-grid.reverse > * {
        direction: ltr;
    }
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.about-text p:last-child {
    margin-bottom: 0;
}

/* Card Styles */
.card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

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

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.card h3, .card h4 {
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 32px 24px;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.value-card h4 {
    margin-bottom: 8px;
}

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

/* ==================== COMPANY PAGE ==================== */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-card-full {
    grid-column: 1 / -1;
}

.info-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-200);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--color-gray-100);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 0;
    vertical-align: top;
}

.info-table td:first-child {
    width: 40%;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-table td:last-child {
    color: var(--text-primary);
}

.info-table a {
    color: var(--color-primary);
}

.info-table code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    background: var(--color-gray-100);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

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

/* ==================== BRANDS PAGE ==================== */
.brands-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .brands-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brands-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .brands-logo-grid {
        grid-template-columns: 1fr !important;
    }
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.brand-logo-item:hover {
    border-color: var(--color-gray-300);
}

.brand-logo-item img {
    width: auto;
    height: 50px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-btn);
    transition: all var(--transition-fast);
}

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

/* ==================== CAREERS PAGE ==================== */
.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-primary);
}

.benefit-card h4 {
    margin-bottom: 8px;
}

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

.positions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.position-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .position-card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }

    .position-card .btn {
        margin-left: auto;
    }
}

.position-icon {
    font-size: 32px;
    color: var(--color-primary);
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .position-icon {
        display: none;
    }
}

.position-info h4 {
    margin-bottom: 4px;
}

.position-desc {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.position-meta {
    display: flex;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.position-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.position-meta svg {
    stroke: var(--color-gray-400);
}

/* ==================== LEGAL PAGES ==================== */
.legal-content {
    padding: 80px 0;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.25rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-text ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-text li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    list-style-type: disc;
    line-height: 1.6;
}

.legal-text a {
    color: var(--color-primary);
}

.legal-text a:hover {
    text-decoration: underline;
}

/* ==================== SECTION VARIATIONS ==================== */
.section-gray {
    background: var(--color-gray-50);
}

/* ==================== COOKIE CONSENT ==================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-consent-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.cookie-modal.visible .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.cookie-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.cookie-modal-close:hover {
    background: var(--color-gray-100);
    color: var(--text-primary);
}

.cookie-modal-close svg {
    width: 20px;
    height: 20px;
}

.cookie-modal-body {
    padding: 24px;
    overflow-y: auto;
}

.cookie-option {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.cookie-badge {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--color-gray-100);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.cookie-option p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--color-gray-200);
    justify-content: flex-end;
}

/* Cookie Table for Policy Page */
.cookie-table {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.cookie-table h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.cookie-table p {
    margin-bottom: 8px;
}

.cookie-table p:last-child {
    margin-bottom: 0;
}

/* Contact Box for Legal Pages */
.contact-box {
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.contact-box p {
    margin-bottom: 8px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-consent-actions {
        justify-content: center;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .btn {
        width: 100%;
    }
}

/* ==================== CAREER APPLICATION MODAL ==================== */
.career-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.career-modal.visible {
    opacity: 1;
    visibility: visible;
}

.career-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.career-modal-panel {
    position: relative;
    background: var(--color-white);
    width: 100%;
    max-width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.career-modal-body input,
.career-modal-body textarea,
.career-modal-body select {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.career-modal.visible .career-modal-panel {
    transform: translateX(0);
}

.career-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-gray-200);
    flex-shrink: 0;
}

.career-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.career-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.career-modal-close:hover {
    background: var(--color-gray-100);
    color: var(--text-primary);
}

.career-modal-close svg {
    width: 20px;
    height: 20px;
}

.career-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.career-modal-body .form-group {
    margin-bottom: 16px;
}

.career-modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.career-modal-body input[readonly] {
    background: var(--color-gray-100);
    cursor: default;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-group .checkbox-label {
    margin: 0;
}

/* Pill/Tag Style Checkboxes */
.checkbox-pill {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-pill label {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.checkbox-pill label:hover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.05);
}

.checkbox-pill input[type="checkbox"] {
    display: none;
}

.checkbox-pill input[type="checkbox"]:checked + span {
    color: var(--color-white);
}

.checkbox-pill label:has(input:checked) {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Modern Checkbox */
.modern-checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modern-checkbox-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    border: 2px solid var(--color-gray-300);
    border-radius: 6px;
    background: var(--color-white);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-checkbox-box svg {
    width: 16px;
    height: 16px;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.modern-checkbox:hover .modern-checkbox-box {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.modern-checkbox input[type="checkbox"]:checked + .modern-checkbox-box {
    background: #2563eb;
    border-color: #2563eb;
}

.modern-checkbox input[type="checkbox"]:checked + .modern-checkbox-box svg {
    opacity: 1;
    transform: scale(1);
}

.modern-checkbox-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
}

.modern-checkbox-text a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.modern-checkbox-text a:hover {
    text-decoration: underline;
}

/* Focus state for accessibility */
.modern-checkbox input[type="checkbox"]:focus-visible + .modern-checkbox-box {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* File Upload Area */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--color-gray-300);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.05);
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-upload-prompt .material-symbols-outlined {
    font-size: 24px;
    color: var(--color-primary);
}

.file-upload-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--color-gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-width: 40px;
}

.file-upload-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
}

.file-upload-card .file-icon {
    font-size: 28px;
    color: var(--color-primary);
}

.file-upload-card .file-info {
    flex: 1;
    min-width: 0;
}

.file-upload-card .file-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-upload-card .file-size {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.file-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    z-index: 3;
}

.file-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.file-remove .material-symbols-outlined {
    font-size: 20px;
}

.file-upload-area.has-file {
    border-style: solid;
    border-color: var(--color-gray-200);
    cursor: default;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .career-modal-panel {
        max-width: 100%;
    }

    .career-modal-body .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==================== PRODUCT INTRO WITH PHONE ==================== */
.product-intro-section {
    position: relative;
    padding-top: 60px;
    padding-bottom: 40px;
    z-index: 10;
    overflow: visible !important;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .product-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }
}

.product-intro-content {
    text-align: left;
}

.product-intro-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
}

.product-intro-content .product-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: left;
    max-width: 100%;
}

/* Phone in Intro Section */
.product-intro-phone {
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .product-intro-phone {
        margin-bottom: -200px;
    }
}

/* Overlap section padding adjustment */
.product-section-overlap {
    position: relative;
}

@media (min-width: 1024px) {
    .product-section-overlap {
        padding-top: 200px;
    }
}

/* ==================== MOBILE APP SCREENSHOTS SLIDER ==================== */
.phone-slider-container {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

/* Phone Frame - Slim 3D Design */
.phone-slider-container {
    perspective: 1000px;
}

.phone-frame {
    position: relative;
    width: 260px;
    height: 535px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-radius: 36px;
    padding: 6px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.08),
        0 30px 60px rgba(0,0,0,0.4),
        0 15px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transform: rotateY(-12deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.phone-slider-container:hover .phone-frame {
    transform: rotateY(-6deg) rotateX(1deg);
}


.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
}

/* Screenshot Slides */
.phone-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.phone-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.phone-slide.active {
    opacity: 1;
}

.phone-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 30px;
}

/* Slider Navigation Arrows */
.phone-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.phone-slider-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.phone-slider-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

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

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

@media (min-width: 1200px) {
    .phone-slider-prev {
        left: -60px;
    }

    .phone-slider-next {
        right: -60px;
    }
}

/* Slider Dots */
.phone-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.phone-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.phone-slider-dot:hover {
    background: var(--color-gray-400);
}

.phone-slider-dot.active {
    background: var(--color-primary);
    width: 18px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 1023px) {
    .product-intro-content {
        text-align: center;
    }

    .product-intro-content h1,
    .product-intro-content .product-intro-text {
        text-align: center;
        max-width: 100%;
    }

    .product-intro-phone {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .phone-slider-nav {
        display: none;
    }

    .phone-frame {
        width: 240px;
        height: 495px;
        border-radius: 32px;
        padding: 5px;
        transform: rotateY(-8deg) rotateX(1deg);
    }

    .phone-slider-container:hover .phone-frame {
        transform: rotateY(-4deg) rotateX(0deg);
    }

    .phone-screen {
        border-radius: 28px;
    }

    .phone-slide img {
        border-radius: 28px;
    }
}

/* ==================== CARD DESIGN SHOWCASE ==================== */
.card-showcase {
    padding: 80px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.card-showcase-header {
    text-align: center;
    margin-bottom: 60px;
}

.card-showcase-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card-showcase-header p {
    color: var(--text-secondary);
}

.card-design-section {
    margin-bottom: 60px;
    overflow: hidden;
}

.card-design-section h3 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
}

/* ===== DESIGN 1: Glassmorphism Cards ===== */
.card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 101, 217, 0.3);
}

.card-glass .card-icon-glass {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(13, 101, 217, 0.3);
}

.card-glass .card-icon-glass svg {
    width: 28px;
    height: 28px;
    color: white;
}

.card-glass h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-glass p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== DESIGN 2: Gradient Border Cards ===== */
.card-gradient-border {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.card-gradient-border:hover::before {
    opacity: 1;
}

.card-gradient-border:hover {
    transform: translateY(-6px);
}

.card-gradient-border .card-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.card-gradient-border h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* ===== DESIGN 3: Hover Lift with Shadow ===== */
.card-lift {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--color-gray-100);
}

.card-lift:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card-lift .card-lift-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.card-lift:hover .card-lift-icon {
    background: var(--color-primary);
    transform: rotate(-5deg);
}

.card-lift:hover .card-lift-icon svg {
    color: white;
}

.card-lift .card-lift-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: color 0.4s ease;
}

/* ===== DESIGN 4: Minimal Line Cards ===== */
.card-minimal {
    background: transparent;
    border-left: 3px solid var(--color-gray-200);
    padding: 24px 0 24px 32px;
    transition: all 0.3s ease;
}

.card-minimal:hover {
    border-left-color: var(--color-primary);
    padding-left: 40px;
}

.card-minimal h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.card-minimal:hover h4 {
    color: var(--color-primary);
}

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

/* ===== DESIGN 5: Neon Glow Cards ===== */
.card-neon {
    background: #0a0a0a;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-neon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, #0d65d9, transparent 30%);
    animation: neonRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

@keyframes neonRotate {
    100% { transform: rotate(360deg); }
}

.card-neon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0a0a0a;
    border-radius: 18px;
}

.card-neon > * {
    position: relative;
    z-index: 1;
}

.card-neon h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-neon p {
    color: rgba(255, 255, 255, 0.6);
}

.card-neon .neon-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #0d65d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(13, 101, 217, 0.5), inset 0 0 20px rgba(13, 101, 217, 0.1);
}

.card-neon .neon-icon svg {
    width: 24px;
    height: 24px;
    color: #0d65d9;
}

/* ===== DESIGN 6: Split Content Cards ===== */
.card-split {
    display: flex;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.card-split:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-split-visual {
    width: 120px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-split-visual svg {
    width: 40px;
    height: 40px;
    color: white;
}

.card-split-content {
    padding: 32px;
    flex: 1;
}

.card-split-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

/* ===== DESIGN 7: Overlay Hover Cards ===== */
.card-overlay {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, var(--color-primary) 0%, transparent 100%);
    opacity: 0.1;
    transition: height 0.4s ease;
}

.card-overlay:hover::before {
    height: 100%;
}

.card-overlay > * {
    position: relative;
    z-index: 1;
}

.card-overlay .overlay-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(13, 101, 217, 0.1);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* ===== DESIGN 8: Floating Cards ===== */
.card-floating {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.5s ease;
}

.card-floating::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    filter: blur(15px);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.card-floating:hover {
    transform: translateY(-15px);
}

.card-floating:hover::after {
    bottom: -20px;
    left: 5%;
    right: 5%;
    filter: blur(20px);
}

.card-floating .floating-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* ===== DESIGN 9: Dotted Border Cards ===== */
.card-dotted {
    background: var(--color-white);
    border: 2px dashed var(--color-gray-300);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
}

.card-dotted:hover {
    border-color: var(--color-primary);
    border-style: solid;
    background: rgba(13, 101, 217, 0.02);
}

.card-dotted .dotted-number {
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card-dotted:hover .dotted-number {
    background: var(--color-primary);
    color: white;
}

/* ===== DESIGN 10: Morphism Cards ===== */
.card-morph {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 8px 8px 16px #d9d9d9, -8px -8px 16px #ffffff;
    transition: all 0.4s ease;
}

.card-morph:hover {
    box-shadow: 12px 12px 24px #d9d9d9, -12px -12px 24px #ffffff;
}

.card-morph .morph-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    box-shadow: 4px 4px 8px #d9d9d9, -4px -4px 8px #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-morph .morph-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

/* ===== DESIGN 11: Stacked Cards ===== */
.card-stacked-wrapper {
    position: relative;
    padding-bottom: 12px;
    padding-right: 12px;
}

.card-stacked-wrapper::before,
.card-stacked-wrapper::after {
    content: '';
    position: absolute;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-gray-200);
}

.card-stacked-wrapper::before {
    bottom: 6px;
    right: 6px;
    left: 6px;
    top: 6px;
    z-index: 1;
}

.card-stacked-wrapper::after {
    bottom: 0;
    right: 0;
    left: 12px;
    top: 12px;
    z-index: 0;
}

.card-stacked {
    position: relative;
    z-index: 2;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
}

.card-stacked:hover {
    transform: translate(-4px, -4px);
}

/* ===== DESIGN 12: Tag Header Cards ===== */
.card-tagged {
    background: var(--color-white);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.card-tagged-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 16px 32px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-tagged-content {
    padding: 32px;
}

/* ===== DESIGN 13: Spotlight Cards ===== */
.card-spotlight {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-spotlight::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 101, 217, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    transition: all 0.5s ease;
}

.card-spotlight:hover::before {
    transform: scale(1.5);
}

.card-spotlight > * {
    position: relative;
    z-index: 1;
}

/* ===== DESIGN 14: Ribbon Cards ===== */
.card-ribbon {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    padding-top: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.card-ribbon .ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

/* ===== DESIGN 15: Icon Grid Cards ===== */
.card-icon-grid {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: all 0.4s ease;
}

.card-icon-grid:hover {
    border-color: var(--color-primary);
}

.card-icon-grid .icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(13, 101, 217, 0.1) 0%, rgba(13, 101, 217, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.card-icon-grid:hover .icon-box {
    background: var(--color-primary);
    transform: scale(1.1) rotate(5deg);
}

.card-icon-grid .icon-box svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
    transition: color 0.4s ease;
}

.card-icon-grid:hover .icon-box svg {
    color: white;
}

/* ===== DESIGN 16: Gradient Fill Cards ===== */
.card-gradient-fill {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
}

.card-gradient-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
}

.card-gradient-fill:hover::before {
    transform: scaleY(1);
}

.card-gradient-fill h4,
.card-gradient-fill p {
    transition: color 0.5s ease;
}

.card-gradient-fill:hover h4,
.card-gradient-fill:hover p {
    color: white;
}

.card-gradient-fill .gf-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 101, 217, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.card-gradient-fill:hover .gf-icon {
    background: rgba(255, 255, 255, 0.2);
}

.card-gradient-fill .gf-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transition: color 0.5s ease;
}

.card-gradient-fill:hover .gf-icon svg {
    color: white;
}

/* ===== DESIGN 17: Polaroid Cards ===== */
.card-polaroid {
    background: var(--color-white);
    border-radius: 4px;
    padding: 16px 16px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.card-polaroid:hover {
    transform: rotate(-2deg) translateY(-8px);
}

.card-polaroid .polaroid-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-polaroid .polaroid-img svg {
    width: 48px;
    height: 48px;
    color: var(--color-gray-400);
}

.card-polaroid h4 {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    text-align: center;
}

/* ===== DESIGN 18: Metric Cards ===== */
.card-metric {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid var(--color-gray-100);
}

.card-metric:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(13, 101, 217, 0.1);
}

.card-metric .metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.card-metric .metric-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.card-metric .metric-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== DESIGN 19: Accordion Style Cards ===== */
.card-accordion {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    transition: all 0.4s ease;
}

.card-accordion-header {
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card-accordion-header:hover {
    background: var(--color-gray-50);
}

.card-accordion-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-accordion-header .acc-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 101, 217, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-accordion-header .acc-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.card-accordion-header .acc-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.card-accordion-header .acc-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.card-accordion-body {
    padding: 0 32px 24px;
    color: var(--text-secondary);
}

/* ===== DESIGN 20: Timeline Cards ===== */
.card-timeline-wrapper {
    position: relative;
    padding-left: 40px;
}

.card-timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-gray-200));
}

.card-timeline {
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-timeline::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 36px;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 3px rgba(13, 101, 217, 0.2);
}

.card-timeline:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.card-timeline .timeline-date {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.card-timeline h4 {
    margin-bottom: 8px;
}

/* Responsive adjustments for card designs */
@media (max-width: 768px) {
    .card-split {
        flex-direction: column;
    }

    .card-split-visual {
        width: 100%;
        height: 100px;
    }

    .card-metric {
        flex-direction: column;
        text-align: center;
    }

    .card-timeline-wrapper {
        padding-left: 30px;
    }

    .card-timeline-wrapper::before {
        left: 10px;
    }

    .card-timeline::before {
        left: -28px;
    }
}

/* ==================== BRANDS LOGO SLIDER ==================== */
.brands-slider-section {
    padding: 105px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.brands-slider-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

@media (min-width: 768px) {
    .brands-slider-wrapper {
        padding: 0 80px;
    }
}

.brands-slider-container {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.brands-slider-track {
    display: flex;
    gap: 64px;
    width: max-content;
    will-change: transform;
}

.brands-slider-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 16px;
    position: relative;
}

.brands-slider-item img {
    height: 44px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.brands-slider-item img.gray {
    position: absolute;
    filter: brightness(0) invert(1) brightness(0.8);
    transition: opacity var(--transition-normal);
}

.brands-slider-item img.color {
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.brands-slider-item:hover img.gray {
    opacity: 0;
}

.brands-slider-item:hover img.color {
    opacity: 1;
}

/* Navigation Arrows */
.brands-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brands-slider-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.brands-slider-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

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

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .brands-slider-section {
        padding: 75px 0;
    }

    .brands-slider-nav {
        display: none;
    }

    .brands-slider-wrapper {
        padding: 0 16px;
    }

    .brands-slider-track {
        gap: 40px;
        animation-duration: 45s;
    }

    .brands-slider-item {
        height: 48px;
    }

    .brands-slider-item img {
        height: 32px;
        max-width: 100px;
    }
}

/* ==================== BLOG STYLES ==================== */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
    transition: border-color var(--transition-normal);
}

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

.blog-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    position: relative;
}

.blog-card-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image.no-image::after {
    content: '';
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

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

/* Blog Back Link */
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

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

.page-hero .blog-back-link {
    justify-content: center;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

.blog-post-author,
.blog-post-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-image {
    margin-bottom: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.blog-post-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-post-content p {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-post-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.blog-post-content ul li {
    list-style-type: disc;
}

.blog-post-content ol li {
    list-style-type: decimal;
}

.blog-post-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.blog-post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.blog-post-content a:hover {
    text-decoration: none;
}

/* Blog Share Buttons */
.blog-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
}

.blog-share-label {
    font-weight: 600;
    color: var(--text-primary);
}

.blog-share-buttons {
    display: flex;
    gap: 12px;
}

.blog-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: #fff;
}

.blog-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.blog-share-x {
    background-color: #000;
}

.blog-share-x:hover {
    background-color: #333;
}

.blog-share-facebook {
    background-color: #1877f2;
}

.blog-share-facebook:hover {
    background-color: #0d6efd;
}

.blog-share-linkedin {
    background-color: #0077b5;
}

.blog-share-linkedin:hover {
    background-color: #006097;
}

.blog-share-whatsapp {
    background-color: #25d366;
}

.blog-share-whatsapp:hover {
    background-color: #1da851;
}

/* Blog Related Posts */
.blog-related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--color-gray-200);
}

.blog-related-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

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

.blog-card-small {
    border-radius: var(--radius-md);
}

.blog-card-small .blog-card-image {
    aspect-ratio: 16/10;
}

.blog-card-small .blog-card-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.blog-card-small .blog-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-small .blog-card-content {
    padding: 16px;
}

.blog-card-small .blog-card-meta {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* Responsive Related Posts */
@media (max-width: 1024px) {
    .blog-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-related-title {
        font-size: 1.25rem;
    }
}

/* Home Blog Section */
.home-blog-section {
    background: var(--color-gray-50);
    padding: 0 0 105px 0;
}

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

.home-blog-card {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
    border: 1px solid var(--color-gray-200);
    min-height: 100px;
}

.home-blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.home-blog-card:hover::before {
    opacity: 1;
}

.home-blog-card:hover {
    border-color: transparent;
}

.home-blog-card > * {
    position: relative;
    z-index: 1;
}

.home-blog-image {
    display: block;
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
}

.home-blog-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.home-blog-image.no-image::after {
    content: '';
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");
    background-size: contain;
}

.home-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog-content {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-blog-title {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    transition: color 0.5s ease;
}

.home-blog-title a {
    color: var(--text-secondary);
    transition: color 0.5s ease;
}

.home-blog-card:hover .home-blog-title a {
    color: white;
}

/* View All Card */
.home-blog-view-all {
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

.home-blog-view-all .view-all-text {
    position: relative;
    z-index: 1;
    transition: color 0.5s ease;
}

.home-blog-view-all svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, stroke 0.5s ease;
}

.home-blog-view-all:hover .view-all-text {
    color: white;
}

.home-blog-view-all:hover svg {
    transform: translateX(4px);
    stroke: white;
}

/* Responsive Home Blog */
@media (max-width: 1200px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
}
