/* Force all buttons to use theme colors */
button, .btn, [role="button"], input[type="submit"], input[type="button"] {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end))) !important;
    color: hsl(var(--primary-foreground)) !important;
    border: 1px solid hsl(var(--primary)) !important;
}

/* Exclude hamburger menu and carousel dots from global button styles */
.hamburger-menu {
    background: transparent !important;
    color: hsl(var(--foreground)) !important;
    border: none !important;
}

.carousel-dot {
    background: #d1d5db !important;
    border: 1px solid #e5e7eb !important;
}

button:hover, .btn:hover, [role="button"]:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3) !important;
}

:root {
  /* Light theme - clean and modern */
  --background: 0 0% 100%;
  --foreground: 222 47% 11%;

  --card: 0 0% 98%;
  --card-foreground: 222 47% 11%;

  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;

  /* Violet accent - Omia brand colors */
  --primary: 270 60% 50%;
  --primary-foreground: 0 0% 100%;

  --secondary: 220 14% 96%;
  --secondary-foreground: 222 47% 11%;

  --muted: 220 14% 96%;
  --muted-foreground: 220 9% 46%;

  --accent: 270 60% 50%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 270 60% 50%;

  --radius: 0.75rem;

  /* Custom tokens */
  --glow: 270 60% 50%;
  --glow-purple: 260 60% 55%;
  --surface-elevated: 0 0% 100%;
  --gradient-start: 270 60% 50%;
  --gradient-end: 260 60% 55%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
}

/* --- FINAL UNIFIED HEADER & VISIBILITY FIX --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: hsl(var(--card) / 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid hsl(var(--primary) / 0.1);
    z-index: 100;
    box-shadow: 0 8px 32px hsl(var(--primary) / 0.08);
    padding: 0.5rem 1.5rem;
    min-height: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    padding: 0.75rem;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), hsl(var(--gradient-end) / 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-container:hover::before {
    opacity: 1;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsl(var(--primary) / 0.15);
}

.logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px hsl(var(--primary) / 0.15));
    position: relative;
    z-index: 1;
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 16px hsl(var(--primary) / 0.25));
}
.language-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}
.language-btn:hover {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    border-color: hsl(var(--primary) / 0.3);
    transform: translateY(-1px);
}
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0 2rem;
}
.nav-item {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}
.nav-item:hover {
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
}
.nav-item i {
    color: hsl(var(--primary)) !important;
    font-size: 1.1rem;
}
.nav-item.active {
    color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
}
main, .article-container {
    padding-top: 80px !important;
    padding-bottom: 100px !important;
}
.section {
    top: 80px !important;
    bottom: 100px !important;
}
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    font-weight: 400;
    padding: 2rem;
    text-align: center;
}
@media (max-width: 768px) {
    header {
        min-height: 68px;
        height: 68px;
        padding: 0.5rem 1rem;
    }
    .logo-container {
        height: 68px;
    }
    .logo {
        width: 100px;
    }
    main, .article-container {
        padding-top: 76px !important;
        padding-bottom: 80px !important;
    }
    .section {
        top: 76px !important;
        bottom: 80px !important;
    }
    footer {
        height: 60px;
        padding: 1.2rem;
    }
}
@media (max-width: 576px) {
    header {
        min-height: 44px;
        height: 44px;
        padding: 0.18rem 0.6rem;
    }
    .logo-container {
        height: 44px;
    }
    .logo {
        width: 80px;
    }
    main, .article-container {
        padding-top: 52px !important;
        padding-bottom: 60px !important;
    }
    .section {
        top: 52px !important;
        bottom: 60px !important;
    }
    footer {
        height: 44px;
        padding: 0.8rem;
    }
}
@media (max-width: 360px) {
    header {
        min-height: 32px;
        height: 32px;
        padding: 0.12rem 0.3rem;
    }
    .logo-container {
        height: 32px;
    }
    .logo {
        width: 60px;
    }
    main, .article-container {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .section {
        top: 40px !important;
        bottom: 40px !important;
    }
    footer {
        height: 32px;
        padding: 0.4rem;
    }
}
/* --- HAMBURGER MENU --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-menu:hover {
    background: hsl(var(--primary) / 0.1);
    transform: scale(1.05);
}

.hamburger-menu.active {
    background: hsl(var(--primary) / 0.1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 280px;
    height: calc(100vh - 76px);
    background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 20px hsl(var(--primary) / 0.15);
    border-right: 1px solid hsl(var(--border));
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-menu .nav-item {
    padding: 0.75rem 1.5rem !important;
    border: 1px solid hsl(var(--border)) !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: hsl(var(--primary)) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 8px hsl(var(--primary) / 0.06) !important;
}

.mobile-nav-menu .nav-item i {
    color: hsl(var(--primary)) !important;
    transition: all 0.3s ease !important;
}

.mobile-nav-menu .nav-item:hover {
    background: hsl(var(--foreground) / 0.05) !important;
    border-color: hsl(var(--border)) !important;
    color: hsl(var(--foreground)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px hsl(var(--foreground) / 0.1) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.mobile-nav-menu .nav-item:hover i {
    transform: scale(1.1) !important;
    color: hsl(var(--foreground)) !important;
}

.mobile-language-selector {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid hsl(var(--border));
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.mobile-language-selector .language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    margin: 0 0.25rem;
    box-shadow: 0 2px 8px hsl(var(--primary) / 0.1);
}

.mobile-language-selector .language-btn:hover,
.mobile-language-selector .language-btn.active {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px hsl(var(--primary) / 0.3);
    border-color: hsl(var(--primary));
}
/* --- SUBTLE GRADIENT BACKGROUND --- */
body {
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--muted)) 25%, hsl(var(--card)) 50%, hsl(var(--muted)) 75%, hsl(var(--background)) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}
/* --- END SUBTLE GRADIENT BACKGROUND --- */

.nav-menu {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    position: static;
    flex: 1;
}

header .nav-item {
    padding: 0.5rem 1rem;
    border: 1px solid hsl(var(--primary) / 0.1);
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
    color: hsl(var(--primary));
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: hsl(var(--card) / 0.95);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px hsl(var(--primary) / 0.06);
}

header .nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.05), transparent);
    transition: left 0.6s ease;
}

header .nav-item:hover::before {
    left: 100%;
}

header .nav-item:hover i {
    transform: scale(1.1);
    color: hsl(var(--primary));
}

header .nav-item:hover, header .nav-item.active {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--glow-purple) / 0.1));
    border-color: hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px hsl(var(--primary) / 0.15), 0 0 20px hsl(var(--primary) / 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

header .nav-item:focus {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.section.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: hsl(var(--foreground));
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-radius: 2px;
    animation: slideInWidth 1s ease-out 0.5s both;
    box-shadow: 0 2px 8px hsl(var(--primary) / 0.2);
}

@keyframes slideInWidth {
    from { width: 0; }
    to { width: 60px; }
}

.intro-text {
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 3rem;
    color: hsl(var(--muted-foreground));
    width: 100%;
    text-align: center;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* --- HERO SECTION STYLES --- */
.hero-section {
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, hsl(var(--primary) / 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, hsl(var(--gradient-end) / 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px hsl(var(--foreground) / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px hsl(var(--foreground) / 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 8px hsl(var(--foreground) / 0.1);
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, hsl(var(--foreground)), hsl(var(--foreground) / 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-radius: 2px;
    animation: slideInWidth 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    font-family: 'Inter', sans-serif;
}

.hero-cta {
    margin-top: 1rem;
}

.hero-button {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px hsl(var(--primary) / 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px hsl(var(--primary) / 0.4);
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 4rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        bottom: -15px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-img {
        max-width: 400px;
    }

    .hero-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-img {
        max-width: 300px;
    }

    .hero-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* --- PARADIGM SECTION STYLES --- */
.paradigm-section {
    position: relative;
}

.paradigm-section .section-title {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.section-title .highlight {
    color: #5e2ec9;
}

.hero-title .highlight {
    color: hsl(var(--primary));
}

.paradigm-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(270 10% 96%) 50%, hsl(var(--background)) 100%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.paradigm-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
}

.paradigm-card {
    background: hsl(var(--card));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px hsl(var(--foreground) / 0.08);
    border: 1px solid hsl(var(--border));
    flex: 1;
    max-width: 400px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.paradigm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.paradigm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px hsl(var(--foreground) / 0.12);
}

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

.traditional-card {
    border-color: hsl(0 70% 60% / 0.3);
}

.traditional-card:hover {
    border-color: hsl(0 70% 60% / 0.5);
    box-shadow: 0 20px 60px hsl(0 70% 60% / 0.1);
}

.omia-card {
    border-color: hsl(var(--primary) / 0.3);
}

.omia-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 20px 60px hsl(var(--primary) / 0.15);
}

.paradigm-header {
    text-align: center;
    margin-bottom: 2rem;
}

.paradigm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.traditional-card .paradigm-icon {
    color: hsl(0 70% 60%);
}

.omia-card .paradigm-icon {
    color: hsl(var(--primary));
}

.paradigm-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.paradigm-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.paradigm-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: hsl(var(--background));
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.paradigm-item:hover {
    background: hsl(var(--muted) / 0.5);
    transform: translateX(4px);
}

.paradigm-item i {
    font-size: 1.2rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.traditional-card .paradigm-item i {
    color: hsl(0 50% 50%);
}

.omia-card .paradigm-item i {
    color: hsl(var(--primary));
}

.paradigm-item span {
    font-size: 0.95rem;
    color: hsl(var(--foreground));
    line-height: 1.5;
    font-weight: 400;
}

.paradigm-arrow {
    font-size: 2.5rem;
    color: hsl(var(--muted-foreground));
    animation: bounceArrow 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(10px);
    }
    60% {
        transform: translateX(5px);
    }
}

/* --- RESPONSIVE PARADIGM --- */
@media (max-width: 1024px) {
    .paradigm-comparison {
        gap: 2rem;
    }

    .paradigm-card {
        padding: 2rem;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .paradigm-comparison {
        flex-direction: column;
        gap: 2rem;
        margin: 3rem auto 0;
    }

    .paradigm-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }

    .paradigm-card {
        max-width: 100%;
        padding: 1.5rem;
    }

    .paradigm-title {
        font-size: 1.3rem;
    }

    .paradigm-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .paradigm-item span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .paradigm-card {
        padding: 1.2rem;
    }

    .paradigm-icon {
        font-size: 2.5rem;
    }

    .paradigm-title {
        font-size: 1.2rem;
    }

    .paradigm-content {
        gap: 1rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsl(var(--primary) / 0.08);
    border-color: hsl(var(--primary));
}

.feature-icon {
    margin-right: 1.5rem;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.05);
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    font-family: 'Space Grotesk', sans-serif;
}

.feature-text p {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin: 0;
}

/* --- MODERN FEATURES STYLES --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 800px;
    width: 100%;
}

.feature-card {
    background: hsl(var(--card));
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    border: 1px solid hsl(var(--border));
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.02), hsl(var(--gradient-end) / 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsl(var(--primary) / 0.12);
    border-color: hsl(var(--primary) / 0.2);
}

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

.feature-icon-wrapper {
    position: relative;
    margin-bottom: 1.2rem;
}

.feature-icon-bg {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.15);
}

.feature-card:hover .feature-icon-bg {
    transform: scale(1.08);
    box-shadow: 0 6px 16px hsl(var(--primary) / 0.25);
}

.feature-icon-bg i {
    font-size: 1.3rem;
    color: white;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-bg i {
    transform: scale(1.1);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.feature-card:hover .feature-title {
    color: hsl(var(--primary));
}

.feature-description {
    font-size: 0.9rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: hsl(var(--foreground));
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

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

/* --- RESPONSIVE FEATURES --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin: 2.5rem auto;
        max-width: 600px;
    }

    .feature-card {
        padding: 1.2rem 1rem;
    }

    .feature-icon-bg {
        width: 45px;
        height: 45px;
    }

    .feature-icon-bg i {
        font-size: 1.2rem;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem auto;
        max-width: 320px;
    }

    .feature-card {
        padding: 1rem 0.8rem;
    }

    .feature-icon-bg {
        width: 40px;
        height: 40px;
    }

    .feature-icon-bg i {
        font-size: 1.1rem;
    }

    .feature-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .feature-description {
        font-size: 0.8rem;
    }
}

.comparison {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.comparison-column {
    flex: 1;
    background: hsl(var(--card));
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.comparison-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px hsl(var(--primary) / 0.05);
    border-color: hsl(var(--primary));
}

.comparison-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.comparison-title i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.comparison-item {
    background: hsl(var(--muted));
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
}

.comparison-item:hover {
    background: hsl(var(--card));
    box-shadow: 0 2px 8px hsl(var(--primary) / 0.05);
    transform: translateX(4px);
}

.traditional .comparison-title {
    color: hsl(var(--foreground));
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
}

.omia .comparison-title {
    color: hsl(var(--primary-foreground));
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
}

.traditional .comparison-item:hover {
    border-left-color: hsl(var(--muted-foreground));
}

.omia .comparison-item:hover {
    border-left-color: hsl(var(--primary));
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.stat-item {
    background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid hsl(var(--border));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px hsl(var(--primary) / 0.05);
    width: 100%;
    box-sizing: border-box;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)), hsl(var(--glow-purple)));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px hsl(var(--primary) / 0.15);
    border-color: hsl(var(--primary));
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 0.8rem;
    display: block;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    font-family: 'Space Grotesk', sans-serif;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.stat-label {
    font-size: 1.2rem;
    color: hsl(var(--muted-foreground));
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.stat-item:hover .stat-label {
    color: hsl(var(--foreground));
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    color: hsl(var(--primary-foreground));
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid hsl(var(--primary));
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: hsl(var(--primary) / 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.2);
}

/* --- RESULTS SECTION --- */
.results-showcase {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.results-header {
    margin-bottom: 3rem;
}

.results-intro {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: hsl(var(--muted-foreground));
}

.results-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 2rem auto;
    max-width: 1000px;
}

.stats-section {
    text-align: center;
}

.results-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-dashboard {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px hsl(var(--primary) / 0.1);
    border: 2px solid hsl(var(--border));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.results-dashboard:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px hsl(var(--primary) / 0.15);
    border-color: hsl(var(--primary));
}

.results-summary {
    margin-top: 3rem;
    text-align: center;
    padding: 0 2rem;
}

.results-summary p {
    font-size: 1.15rem;
    color: hsl(var(--foreground));
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
    display: inline-block;
    position: relative;
}

.results-summary p::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-radius: 2px;
}

/* --- CLIENTS CAROUSEL --- */
.clients-carousel {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-top: 10px;
    cursor: grab;
    user-select: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.carousel-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db; /* Gris claro */
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-color: hsl(var(--primary));
    transform: scale(1.2);
}

.client-logo {
    background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--muted)) 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px hsl(var(--primary) / 0.08), 0 2px 8px hsl(var(--primary) / 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    min-width: 200px;
    height: 180px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.client-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px hsl(var(--primary) / 0.12), 0 4px 16px hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.client-logo img {
    max-width: 220px;
    max-height: 110px;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    opacity: 0.9;
    filter: grayscale(10%);
}

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

.client-logo .kodo-logo {
    filter: grayscale(100%) brightness(0%) contrast(100%);
    max-width: 250px;
    max-height: 125px;
}

.client-logo:hover .kodo-logo {
    filter: grayscale(100%) brightness(0%) contrast(100%);
}
.language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    margin: 0;
}

.language-btn:hover {
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.15);
}

.back-btn {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 2.5rem auto 2rem auto; /* extra top margin for visibility */
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: hsl(var(--muted));
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: translateY(-1px);
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    transition: all 0.2s ease;
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-weight: 400;
}

.form-control:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-control::placeholder {
    color: hsl(var(--muted-foreground) / 0.6);
    font-weight: 400;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Add this to the existing code to display error/success messages */
.message {
    padding: 10px 15px;
    margin-bottom: 1rem;
    border-radius: 6px;
    width: 100%;
    max-width: 400px;
    visibility: hidden;
}

.message.success {
    background-color: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
}

.message.error {
    background: linear-gradient(135deg, hsl(var(--destructive) / 0.1), hsl(var(--destructive) / 0.05));
    border: 1px solid hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: hsl(var(--card));
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px hsl(var(--primary) / 0.1);
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
    border: 1px solid hsl(var(--border));
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    color: hsl(var(--primary-foreground));
    border-bottom: 1px solid hsl(var(--border));
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.modal-footer .contact-btn,
.modal-footer .cancel-btn {
    height: 48px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0 1.5rem;
    border-radius: 50px;
    margin: 0;
}

.modal-footer .cancel-btn {
    background: hsl(var(--card));
    color: hsl(var(--muted-foreground));
    border: 1px solid hsl(var(--border));
    font-weight: 500;
    transition: all 0.2s ease;
}

.cancel-btn:hover {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
    transform: translateY(-1px);
}

.success-message {
    display: none;
    background-color: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    color: hsl(var(--primary));
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px hsl(var(--primary) / 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    max-width: 400px;
    width: 100%;
    visibility: hidden;
}

.success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.success-message i {
    color: hsl(var(--primary));
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.success-message h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.success-message p {
    margin: 0;
    font-size: 0.95rem;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 2rem 100px 2rem; /* top/bottom padding for header/footer */
    line-height: 1.7;
    color: hsl(var(--foreground));
    font-size: 1.1rem;
    margin-top: 90px; /* ensure top button is below header */
    margin-bottom: 100px; /* ensure lower buttons are above footer */
}

.article-container .header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid hsl(var(--border));
}

.article-container h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Space Grotesk', sans-serif;
}

.article-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 2.5rem 0 1.5rem 0;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
}

.article-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-radius: 2px;
}

.article-container p {
    margin-bottom: 1.5rem;
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

.article-container .highlight {
    background: hsl(var(--muted));
    border-left: 3px solid hsl(var(--primary));
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.article-container .highlight p {
    margin: 0;
    font-weight: 500;
    color: hsl(var(--foreground));
    font-size: 1.1rem;
}

.article-container .prompt-example {
    background: hsl(var(--foreground));
    color: hsl(var(--muted));
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1rem;
    border: 1px solid hsl(var(--border));
}

.article-container .benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.article-container .benefit-item {
    display: flex;
    align-items: flex-start;
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.article-container .benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px hsl(var(--primary) / 0.08);
    border-color: hsl(var(--primary));
}

.article-container .benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-end)));
    border-radius: 8px;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.article-container .benefit-icon::before {
    content: '✓';
    font-weight: bold;
}

.article-container .benefit-text {
    font-weight: 500;
    color: hsl(var(--foreground));
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

.article-container .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.article-container .stat-box {
    background: hsl(var(--muted));
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.article-container .stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsl(var(--primary) / 0.08);
    border-color: hsl(var(--primary));
}

.article-container .stat-box div:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.article-container .stat-box:hover div:first-child {
    transform: scale(1.05);
}

.article-container .stat-box div:last-child {
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
    transition: color 0.3s ease;
}

.article-container .stat-box:hover div:last-child {
    color: hsl(var(--foreground));
}

@media (max-width: 768px) {
    .comparison {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    header .nav-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
        letter-spacing: -0.01em;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .stat-grid {
        justify-content: center;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .results-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .results-visual {
        order: -1;
    }

    .results-dashboard {
        max-width: 80%;
    }

    .clients-carousel {
        margin: 2rem auto;
    }

    .carousel-track {
        gap: 1rem;
    }

    .carousel-dots {
        margin-top: 0.5rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .client-logo {
        min-width: 250px;
        padding: 1.5rem;
        height: 120px;
        flex-shrink: 0;
    }

    .client-logo img {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    header {
        padding: 0.4rem 0.8rem;
        min-height: 56px;
        height: 56px;
    }
    .logo-container {
        height: 56px;
    }
    .logo {
        width: 120px;
    }
    main, .article-container {
        padding-top: 64px !important;
        padding-bottom: 60px !important;
    }
    .section {
        top: 64px !important;
        bottom: 60px !important;
    }
    footer {
        height: 44px;
        padding: 0.8rem;
    }
    
    .stat-grid {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    header {
        padding: 0.3rem 0.5rem;
        min-height: 44px;
        height: 44px;
    }
    .logo-container {
        height: 44px;
    }
    .logo {
        width: 100px;
    }
    main, .article-container {
        padding-top: 52px !important;
        padding-bottom: 40px !important;
    }
    .section {
        top: 52px !important;
        bottom: 40px !important;
    }
    footer {
        height: 32px;
        padding: 0.4rem;
    }
    
    .stat-grid {
        justify-content: center;
    }
}

@media (max-height: 700px) {
    main {
        padding-top: 60px; /* Less padding on short screens */
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        letter-spacing: -0.005em;
    }
    
    .intro-text {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .section {
        top: 60px;
    }
}

@media (max-height: 500px) {
    header {
        padding: 0.3rem 1rem;
    }
    
    .logo-container {
        max-width: 100px; /* Smaller logo on very short screens */
    }
    
    main {
        padding-top: 45px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .section {
        padding-top: 0;
        top: 45px;
    }
}

@media (max-height: 600px) {
    .section {
        padding-top: 0;
        padding-bottom: 60px;
        bottom: 60px; /* Less space reserved for footer on small screens */
    }
    
    footer {
        height: 50px; /* Smaller footer height */
        padding: 0.8rem;
    }
    
    main {
        margin-bottom: 50px; /* Match footer height */
        padding-top: 50px; /* Less top padding */
    }
    
    .back-btn {
        margin: 1rem auto;
    }
}

@media (max-width: 576px) {
    .article-container {
        padding: 60px 1rem 80px 1rem;
    }
}

/* Additional responsive improvements */
@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-content: center;
    }
    .comparison {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .language-selector {
        flex-direction: column;
        gap: 0.5rem;
    }
    .results-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .results-visual {
        order: -1;
    }

    .results-dashboard {
        max-width: 90%;
    }

    .clients-carousel {
        margin: 1.5rem auto;
    }

    .carousel-track {
        gap: 1rem;
        justify-content: flex-start;
    }

    .client-logo {
        min-width: 200px;
        padding: 1.2rem;
        height: 100px;
        flex-shrink: 0;
    }

    .client-logo img {
        max-width: 160px;
        max-height: 60px;
    }
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important;
    }
    .nav-menu {
        display: none !important;
    }
    .language-selector {
        display: none !important;
    }
    .mobile-menu {
        top: 68px !important;
        height: calc(100vh - 68px) !important;
    }
}
@media (max-width: 576px) {
    .mobile-menu {
        top: 56px !important;
        height: calc(100vh - 56px) !important;
    }
}
@media (max-width: 360px) {
    .mobile-menu {
        top: 44px !important;
        height: calc(100vh - 44px) !important;
    }
}
/* --- END MOBILE NAVIGATION --- */

/* Modern Design System Utilities */
.gradient-border {
    position: relative;
    background: hsl(var(--card));
    border-radius: var(--radius);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, hsl(var(--gradient-start) / 0.5), hsl(var(--gradient-end) / 0.5));
    -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;
}

.glow-effect {
    box-shadow:
        0 0 20px hsl(var(--glow) / 0.15),
        0 0 40px hsl(var(--glow) / 0.1),
        0 0 60px hsl(var(--glow) / 0.05);
}

.glass {
    background: hsl(var(--card) / 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--border) / 0.5);
}

.text-gradient-primary {
    @apply bg-clip-text text-transparent;
    background-image: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--glow-purple)));
}

/* --- ANIMATIONS AND SURPRISES --- */

/* Animated background for body */
body {
    background: linear-gradient(-45deg, hsl(var(--background)), hsl(270 20% 98%), hsl(260 15% 96%), hsl(var(--background)));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation for multiple elements */
.page-section {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.page-section:nth-child(1) { animation-delay: 0.2s; }
.page-section:nth-child(2) { animation-delay: 0.4s; }
.page-section:nth-child(3) { animation-delay: 0.6s; }
.page-section:nth-child(4) { animation-delay: 0.8s; }
.page-section:nth-child(5) { animation-delay: 1s; }

/* Typing effect for hero title */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid hsl(var(--primary));
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse glow for CTA */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(94, 46, 201, 0.3);
    }
    50% {
        box-shadow: 0 20px 40px rgba(94, 46, 201, 0.5), 0 0 20px rgba(94, 46, 201, 0.2);
    }
}

.cta-banner {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Hover effects enhancement */
.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

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

/* Parallax effect for background elements */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile button styles */
@media (max-width: 768px) {
    .contact-btn, .cancel-btn, .language-btn, .back-btn, .mobile-nav-menu .nav-item {
        border: none !important;
        outline: none !important;
        box-shadow: 0 2px 4px rgba(216, 27, 125, 0.3) !important;
    }
}

/* Testimonials Section Styles */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.testimonial-stat-number {
    font-size: 3.5em;
    font-weight: 800;
    color: hsl(var(--primary));
    margin-bottom: 10px;
}

.testimonial-stat-label {
    font-size: 1em;
    color: #666;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.testimonials-highlights {
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-highlights .section-subtitle {
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.highlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.highlight-tag {
    background: hsl(var(--primary));
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.highlight-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonials-carousel {
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.testimonials-carousel .carousel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.testimonials-carousel .carousel-container::-webkit-scrollbar {
    display: none;
}

.testimonials-carousel .carousel-container:active {
    cursor: grabbing;
}

.testimonials-carousel .carousel-track {
    display: flex;
    gap: 25px;
    padding: 20px 0;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid hsl(var(--primary));
    min-width: 320px;
    max-width: 320px;
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 3em;
    color: hsl(var(--primary));
    opacity: 0.15;
    font-family: Georgia, serif;
    font-weight: 700;
}

.testimonial-text {
    font-size: 0.9em;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    overflow: hidden;
    hyphens: auto;
    max-width: 100%;
}

.testimonial-date {
    display: none;
}



@media (max-width: 768px) {
    .testimonial-stat-card {
        padding: 25px 20px;
    }

    .testimonial-stat-number {
        font-size: 2.5em;
    }

    .testimonials-highlights .section-subtitle {
        font-size: 1.5em;
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
    }
}