/* 
   KIJATECH - 'BloomFi' Inspired Soft Premium Theme
   Aesthetics: Soft Lavender, Deep Violet, Airy Layout, Rounded Corners.
*/

:root {
    /* Color Palette - Extracted from design.jpg */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f7ff;
    /* Very pale lavender */
    --bg-tertiary: #f3f0ff;
    /* Light lavender for cards */
    --primary: #2e1065;
    /* Deep Violet (Buttons/Dark Mode Cards) */
    --primary-light: #5b21b6;
    /* Lighter violet for hover */
    --accent: #8b5cf6;
    /* Vivid Purple for highlights */
    --accent-soft: #ddd6fe;
    /* Very soft purple for badges/bg */
    --text-primary: #1e1b4b;
    /* Dark indigo for main text */
    --text-secondary: #475569;
    /* Slate for body text */
    --text-inverse: #ffffff;
    /* Text on dark backgrounds */

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Gradients */
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f3f0ff 100%);
    --gradient-primary: linear-gradient(135deg, #4c1d95 0%, #2e1065 100%);
    --gradient-card: linear-gradient(145deg, #ffffff, #f8f7ff);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --container-width: 1200px;

    /* UI Elements */
    --radius-sm: 0.75rem;
    --radius-md: 1.5rem;
    /* Distinctive large radius */
    --radius-lg: 2rem;
    --radius-xl: 3rem;

    --shadow-sm: 0 4px 6px -1px rgba(139, 92, 246, 0.05), 0 2px 4px -1px rgba(139, 92, 246, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(139, 92, 246, 0.1), 0 8px 10px -6px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(46, 16, 101, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, #4c1d95, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--bg-secondary);
}

.bg-dark {
    background-color: var(--primary);
    color: var(--text-inverse);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header .subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 16, 101, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 10px 20px rgba(46, 16, 101, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--bg-tertiary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Top Bar */
.top-bar {
    background: var(--gradient-primary);
    color: white;
    height: 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar p {
    margin: 0;
    width: 100%;
}

/* Navbar */
.navbar {
    height: 70px;
    max-height: 70px;
    padding: 0;
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
}

.hero-feat i {
    color: var(--primary-light);
}

.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-overlay-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.hero-overlay-badge.badge-bottom {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
    animation-delay: 1.5s;
    animation-duration: 5s;
}

.hero-overlay-badge span {
    font-size: 2rem;
    line-height: 1;
}

.hero-overlay-badge small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Stats Bar (Premium Standalone Design) */
.stats-bar {
    position: relative;
    margin-top: 4rem;
    margin-bottom: 2rem;
    z-index: 20;
    padding: 0;
}

.stats-premium-card {
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.95) 0%, rgba(9, 3, 20, 0.98) 100%);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.stats-premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.stats-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.stats-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
}

.premium-grid {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.stat-item.stat-premium-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    position: relative;
}

.stat-icon-soft {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.stat-premium-item:hover .stat-icon-soft {
    transform: scale(1.15) rotate(5deg);
}

.stat-icon-soft.text-primary {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.stat-icon-soft.text-danger {
    color: #f472b6;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
}

.stat-icon-soft.text-success {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}

.stat-item.stat-premium-item h3 {
    font-size: 3.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.stat-item.stat-premium-item p {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.stat-premium-cta {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-pulse-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #a78bfa;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

.stat-premium-cta p {
    font-size: 1.05rem;
    color: #f1f5f9;
    margin-bottom: 1.25rem;
}

.stat-premium-cta p strong {
    color: white;
}

.btn-stats-cta {
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-stats-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* Mission / Value Prop Section */
.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.mission-main-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.mission-main-card h3 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.mission-main-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.mission-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mission-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mission-feature-icon {
    width: 32px;
    height: 32px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.mission-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mission-stat-box {
    background: var(--primary);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mission-stat-box:hover {
    transform: translateY(-5px);
}

.mission-stat-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.mission-stat-box.light-box {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--bg-tertiary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.mission-stat-box.light-box:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

.mission-stat-box.light-box::after {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
}

.mission-stat-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.mission-stat-box.light-box .mission-stat-value {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mission-stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
}

.mission-stat-box.light-box .mission-stat-label {
    color: var(--text-secondary);
}

/* ULTRA PREMIUM LIGHT BENTO (Tout inclus) */
.pf-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pf-card {
    border-radius: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push glass to bottom */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    min-height: 380px;
    /* Taller for images */
    background: #f8fafc;
}

.pf-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

.pf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.pf-card:hover .pf-img-bg {
    transform: scale(1.08);
    /* slight zoom on image */
}

.pf-span-8 {
    grid-column: span 8;
}

.pf-span-6 {
    grid-column: span 6;
}

.pf-span-4 {
    grid-column: span 4;
}

.pf-content-glass {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    /* Frosty white */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.pf-card:hover .pf-content-glass {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

.pf-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.pf-card:hover .pf-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    transform: rotate(10deg);
}

.pf-text-wrap {
    flex: 1;
}

.pf-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.pf-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive for Image Bento */
@media (max-width: 992px) {

    .pf-span-8,
    .pf-span-6,
    .pf-span-4 {
        grid-column: span 12;
    }

    .pf-content-glass {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* Service Cards (BloomFi Style) */
.services-section {
    padding-top: var(--spacing-xl);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--bg-tertiary);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.card:hover::after {
    left: 150%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-soft);
}

/* Portfolio Card Specifics */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    /* Only if padding is 2.5rem, but portfolio cards have padding 0 in HTML */
}

/* Reset for cards with padding 0 in HTML */
.card[style*="padding: 0"] .card-image {
    margin: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 16, 101, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.card-overlay span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: var(--transition);
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card:hover .card-overlay {
    opacity: 1;
}

.card:hover .card-overlay span {
    transform: translateY(0);
}

.card-dark {
    background: var(--primary);
    color: white;
}

.card-dark h3,
.card-dark p {
    color: white;
}

.card-dark .card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: var(--bg-tertiary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Why Us / Comparison */
.comparison-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.premium-comparison-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    z-index: 10;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    background: white;
    margin-bottom: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--bg-tertiary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.comparison-row:not(.header-row):hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
    z-index: 2;
}

.comparison-cell {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.feature-cell {
    color: var(--text-primary);
    font-weight: 600;
}

.standard-cell {
    color: var(--text-secondary);
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--bg-tertiary);
    background: rgba(248, 250, 252, 0.5);
}

.kijatech-cell {
    position: relative;
    justify-content: center;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    border-left: 1px dashed rgba(139, 92, 246, 0.3);
    background: linear-gradient(to right, rgba(139, 92, 246, 0.03), rgba(139, 92, 246, 0.01));
}

.header-row {
    background: transparent;
    box-shadow: none;
    border: none;
    margin-bottom: 0.5rem;
}

.header-row .comparison-cell {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: none;
    background: transparent;
    padding-bottom: 0.5rem;
}

.header-row .kijatech-cell {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    margin-bottom: -1rem;
    padding-bottom: 1.5rem;
    z-index: 5;
    border: none;
}

.text-danger {
    color: #ef4444 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.cell-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

/* Pulse animation for the winning price */
.price-pulse {
    animation: priceFlash 2s infinite;
}

@keyframes priceFlash {
    0% {
        filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.6));
        transform: scale(1.05);
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
    }
}

/* Bento Grid Section (Matches UI Image) */
.section-dark {
    background: #090314;
    color: white;
}

.section-dark .section-header h2 {
    color: white;
}

.section-dark .section-header p {
    color: #94a3b8;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4), 0 20px 40px rgba(139, 92, 246, 0.15);
}

.bento-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    transition: all 0.5s ease;
    pointer-events: none;
    opacity: 0.6;
}

.bento-card:hover .bento-glow {
    opacity: 1;
    transform: scale(1.2);
}

.bento-glow.glow-primary {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
}

.bento-glow.glow-secondary {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

.bento-glow.glow-accent {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.bento-icon-wrapper {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    z-index: 10;
}

.bento-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 15rem;
    opacity: 0.03;
    color: white;
    z-index: 0;
    transition: 0.5s ease;
}

.bento-card:hover .bento-bg-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.05;
}

.bento-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.bento-content.row-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 0;
    height: 100%;
}

.bento-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
    letter-spacing: -1px;
}

.bento-title span {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    display: block;
    margin-top: 0.5rem;
    letter-spacing: normal;
}

.bento-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.bento-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Glass UI Elements */
.glass-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-pill {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.animated-target {
    position: relative;
}

.animated-target::before,
.animated-target::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 10px #a78bfa;
    opacity: 0;
    transition: opacity 0.3s;
}

.animated-target::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.animated-target::after {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.bento-card:hover .animated-target::before,
.bento-card:hover .animated-target::after {
    opacity: 1;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.span-2 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }

    .bento-content.row-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem !important;
    }
}

/* Steps (Premium BloomFi Design) */
.premium-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1200px;
    margin: 5rem auto;
}

.premium-steps::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, rgba(139, 92, 246, 0.4) 50%, var(--bg-tertiary) 100%);
    z-index: 0;
}

.step-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid var(--bg-tertiary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.step-icon-wrapper {
    width: 6rem;
    height: 6rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.8), 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-top: -5rem;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid var(--bg-tertiary);
    transition: all 0.4s ease;
}

.step-card:hover .step-icon-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.1), 0 15px 30px rgba(139, 92, 246, 0.3);
    border-color: transparent;
}

.step-number-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.4);
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Pricing */
.trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e6fcf2;
    color: #065f46;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 1rem;
    gap: 0.4rem;
}

.trust-badge i {
    color: #059669;
    font-weight: 700;
    margin-right: 0.2rem;
}

/* High-End SaaS Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    padding: 3.5rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.pricing-card.popular {
    background: var(--primary);
    /* Deep elegant purple */
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(46, 16, 101, 0.15);
    /* Softer shadow */
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 60px rgba(46, 16, 101, 0.25);
}

.popular-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    color: var(--primary);
    padding: 0.45rem 1.25rem;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pricing-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--bg-secondary);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card.popular .pricing-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.pricing-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.pricing-card.popular h3 {
    color: white;
    /* Clean solid color */
}

.pricing-card p.tier-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    height: 48px;
}

.pricing-card.popular p.tier-desc {
    color: #94a3b8;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.5rem;
    letter-spacing: -2px;
}

.pricing-card.popular .price {
    color: white;
    /* Strong contrast over dark background */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: normal;
}

.pricing-card.popular .price span {
    color: #94a3b8;
}

.pricing-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
}

.pricing-card.popular .pricing-divider {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-features {
    text-align: left;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.pricing-card.popular .pricing-features li {
    color: #f8fafc;
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card.popular .feat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    /* Brilliant emerald green on dark */
}

.pricing-btn {
    margin-top: auto;
    width: 100%;
    padding: 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

/* Fix mobile overlap for scaled card */
@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: scale(1) translateY(-5px);
    }
}

/* Sector Image Grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.sector-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    cursor: default;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.sector-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-card:hover .sector-bg {
    transform: scale(1.1);
}

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(to top, rgba(139, 92, 246, 0.9) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(15, 23, 42, 0.2) 100%);
}

.sector-content {
    position: relative;
    z-index: 3;
    transition: transform 0.4s ease;
}

.sector-card:hover .sector-content {
    transform: translateY(-5px);
}

.sector-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
    transition: all 0.4s ease;
}

.sector-card:hover .sector-icon {
    background: white;
    color: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.sector-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.sector-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* City Grid Premium */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
}

.city-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 320px;
    color: white;
    cursor: default;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Bento border */
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    /* Purple Bento hover border */
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4), 0 20px 40px rgba(139, 92, 246, 0.15);
}

.city-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-card:hover .city-bg {
    transform: scale(1.12);
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(9, 3, 20, 0.98) 0%, rgba(9, 3, 20, 0.7) 40%, rgba(9, 3, 20, 0.2) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.city-card:hover .city-overlay {
    background: linear-gradient(to top, rgba(139, 92, 246, 0.8) 0%, rgba(9, 3, 20, 0.6) 50%, rgba(9, 3, 20, 0.3) 100%);
}

.city-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.city-card h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.city-card h4 i {
    color: #38bdf8;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.city-card:hover h4 i {
    color: #fce7f3;
    transform: translateY(-3px) scale(1.1);
}

.city-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transform: translateY(10px);
    opacity: 0.8;
    transition: all 0.4s ease;
}

.city-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

.city-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.city-card:hover .city-stats {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.25);
}

.city-stats>div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.city-stats strong {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
}

.city-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Premium Testimonials Section */
.testimonials-slider-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    padding: 2rem 0 4rem;
}

.testimonials-slider-container::before,
.testimonials-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc, transparent);
}

.testimonials-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc, transparent);
}

.testimonials-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scrollTestimonials 45s linear infinite;
    padding: 0 1.25rem;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translating by negative half because we duplicate elements */
        transform: translateX(calc(-50% - 1.25rem));
    }
}

.testimonial-card-premium {
    background: white;
    width: 420px;
    flex-shrink: 0;
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.testimonial-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--primary);
    background: linear-gradient(to bottom right, #ffffff, #faf5ff);
}

.quote-icon-bg {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.03;
    z-index: 0;
    transition: all 0.4s ease;
}

.testimonial-card-premium:hover .quote-icon-bg {
    transform: scale(1.1) rotate(10deg);
    opacity: 0.05;
}

.premium-stars {
    display: flex;
    gap: 0.3rem;
    color: #f59e0b;
    /* Amber */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.author-avatar-modern {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    border: 3px solid white;
}

.author-info-modern h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.author-info-modern span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0f172a;
    /* Darker than primary for footer */
    color: #94a3b8;
    padding-top: 5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .stats-grid:not(.premium-grid) {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .premium-grid {
        flex-direction: column !important;
        gap: 2.5rem;
    }

    .stat-divider {
        width: 150px;
        height: 1px;
    }

    .stats-bar {
        margin-top: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-main-card {
        padding: 2.5rem;
    }

    /* removed old bento queries */

    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .premium-steps {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 6rem;
    }

    .premium-steps::before {
        display: none;
    }

    .step-card {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
    }

    .step-icon-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 1.5rem;
        width: 5rem;
        height: 5rem;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* removed old bento queries */

    .premium-comparison-wrapper {
        overflow-x: auto;
    }

    .comparison-row {
        min-width: 650px;
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes animateIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animations */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Portfolio Filters */
.portfolio-filters .filter-btn {
    background: transparent;
    border: 1px solid var(--bg-tertiary);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(46, 16, 101, 0.2);
}

/* Fix Portfolio Grid resizing on filter */
@media (min-width: 993px) {
    #portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    #portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Premium Final CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 7rem 0;
    background: var(--text-primary);
    /* #1e1b4b (Deep Indigo) */
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
    opacity: 0.12;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.2rem;
    min-width: 260px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(46, 16, 101, 0.4);
}

.cta-btn-primary {
    background: white;
    color: var(--primary);
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
}

.cta-btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 50px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
}

.cta-btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.cta-guarantee {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.cta-guarantee:hover {
    transform: scale(1.02);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Premium Footer Section */
.footer-premium {
    background: #11141e;
    /* Deep indigo/navy matching the new CTA */
    color: white;
    padding: 5rem 0 2rem;
    font-family: var(--font-body);
}

.footer-premium-top {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-col-brand {
    flex: 2;
    min-width: 300px;
}

.footer-col-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-col-links {
    flex: 1;
    min-width: 150px;
}

.footer-col-links h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links ul li {
    margin-bottom: 0.8rem;
}

.footer-col-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col-links ul li a:hover {
    color: white;
}

/* Middle Section */
.footer-premium-middle {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.cities-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cities-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.cities-pills a {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.cities-pills a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Bottom Section */
.footer-premium-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-premium-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-col-brand {
        margin-bottom: 2rem;
    }

    .footer-premium-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating Buttons */
.floating-controls {
    position: fixed;
    bottom: 35px;
    right: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Keeps buttons right-aligned */
    gap: 18px;
    z-index: 9999;
}

.float-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.float-whatsapp {
    width: 60px;
    height: 60px;
    font-size: 28px;
    background-color: #25d366;
    animation: whatsappPulse 3s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        transform: scale(1.08);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.float-top {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-top.show {
    opacity: 0.4;
    /* Discreet by default */
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    opacity: 1 !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.float-whatsapp:hover {
    background-color: #20b355;
    animation-play-state: paused;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-controls {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}