/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Colors with reduced opacity */
    --purple: rgba(206, 153, 252, 0.7);
    --purple-full: #ce99fc;
    --blue: rgba(153, 179, 252, 0.7);
    --blue-full: #99b3fc;
    --green: rgba(144, 255, 175, 0.7);
    --green-full: #90ffaf;
    --gradient: linear-gradient(135deg, rgba(206, 153, 252, 0.6), rgba(153, 179, 252, 0.6), rgba(144, 255, 175, 0.6));
    --gradient-full: linear-gradient(135deg, #ce99fc, #99b3fc, #90ffaf);

    /* Neutrals */
    --white: #fafafa;
    --light-gray: #f8f8f8;
    --gray: #e0e0e0;
    --dark-gray: #333;
    --text-muted: #666;

    /* Spacing - Reduced */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4.5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-subtle: 0 8px 24px rgba(206, 153, 252, 0.08);

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

    /* Typography */
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Georgia Pro', serif;

    /* Z-index */
    --z-background: -2;
    --z-background-overlay: -1;
    --z-content: 1;
    --z-dither: 0;
    --z-header: 100;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
}

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

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-lg);
    color: var(--dark-gray);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   DITHER OVERLAY
   =================================== */
.dither-overlay {
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence baseFrequency="0.9" type="fractalNoise" /></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.015"/></svg>');
    pointer-events: none;
    z-index: var(--z-dither);
    mix-blend-mode: overlay;
}

/* ===================================
   HEADER
   =================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background-color: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

header.hidden {
    transform: translateY(-100%);
}

.logo img {
    display: block;
    transition: transform var(--transition-base);
}

.logo img:hover {
    transform: scale(1.03);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-gray);
    transition: all var(--transition-base);
}

/* Navigation */
nav ul {
    display: flex;
    list-style-type: none;
    gap: var(--space-md);
    align-items: center;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-full);
    transition: width var(--transition-base);
}

nav ul li a:hover {
    color: var(--purple-full);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ===================================
   MAIN CONTENT
   =================================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: var(--z-content);
}

section {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
}

/* ===================================
   HERO SECTION
   =================================== */
#hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(153, 179, 252, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(206, 153, 252, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

#hero > * {
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg,
        #ce99fc 0%,
        #99b3fc 50%,
        #90ffaf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
    color: var(--dark-gray);
    max-width: 700px;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    max-width: 650px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* CTA Buttons */
.cta-button {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.cta-button.primary {
    background: var(--gradient-full);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 153, 252, 0.15);
}

.cta-button.secondary {
    background: transparent;
    border: 1.5px solid var(--purple-full);
    color: var(--purple-full);
}

.cta-button.secondary:hover {
    background: rgba(206, 153, 252, 0.1);
    transform: translateY(-2px);
}

/* Initial Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards 0.2s;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards 0.4s;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards 0.6s;
}

.slide-in {
    opacity: 0;
    animation: slideIn 0.8s ease-out forwards 0.15s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===================================
   ABOUT SECTION
   =================================== */
#about {
    padding: var(--space-xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.about-visual {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-blob {
    width: 75%;
    aspect-ratio: 1;
    background: linear-gradient(135deg,
        rgba(206, 153, 252, 0.5),
        rgba(153, 179, 252, 0.5),
        rgba(144, 255, 175, 0.5));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    filter: blur(50px);
    opacity: 0.6;
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
        transform: rotate(180deg);
    }
}

.about-text h2 {
    margin-bottom: var(--space-md);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Core Values - Unified Card Design */
.core-values {
    margin-top: var(--space-xl);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" /></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.02;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: var(--radius-md);
}

.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg,
        rgba(206, 153, 252, 0.2),
        rgba(153, 179, 252, 0.2),
        rgba(144, 255, 175, 0.2));
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(206, 153, 252, 0.3);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

.card-icon img {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-base);
}

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

.card h3 {
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

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

/* ===================================
   SOLUTIONS SECTION
   =================================== */
#solutions {
    padding: var(--space-xl) 0;
    position: relative;
}

#solutions::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(144, 255, 175, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

#solutions > * {
    position: relative;
    z-index: 1;
}

.solutions-tabs {
    display: flex;
    gap: var(--space-md);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.solutions-tabs .tab {
    background: none;
    border: none;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-base);
    color: var(--text-muted);
    white-space: nowrap;
}

.solutions-tabs .tab:hover {
    color: var(--purple-full);
}

.solutions-tabs .tab.active {
    color: var(--dark-gray);
}

.solutions-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-full);
    animation: slideInTab 0.3s ease-out;
}

@keyframes slideInTab {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.solutions-content {
    position: relative;
    min-height: 500px;
}

.solution-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s, transform 0.4s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.solution-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

/* Phone Mockup */
.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 300px;
}

.phone-frame {
    background: linear-gradient(145deg, #e0e0e0, #ffffff);
    border-radius: 32px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background: #333;
    border-radius: 8px;
}

.phone-screen {
    background: var(--white);
    border-radius: 24px;
    aspect-ratio: 9/19.5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.mockup-placeholder {
    width: 50%;
    height: auto;
    opacity: 0.25;
}

/* Video mockup inside phone screen: responsive, centered, and low-impact */
.mockup-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* fills the phone screen while keeping center focus */
    object-position: center center;
    max-width: 100%;
}

/* Slight cap on very small screens to keep aspect and reduce bandwidth on tiny devices */
@media (max-width: 480px) {
    .phone-mockup {
        max-width: 260px;
    }
    .mockup-video {
        object-fit: cover;
    }
}

/* Solution Details */
.solution-details h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

.solution-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.solution-details > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Features List */
.features-list {
    list-style: none;
    margin-bottom: var(--space-md);
    max-height: 240px;
    overflow-y: auto;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
}

.features-list li:hover {
    background: rgba(206, 153, 252, 0.03);
}

.features-list .checkmark {
    flex-shrink: 0;
    fill: var(--green-full);
    margin-top: 2px;
}

.features-list span {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Platform Badges */
.platform-badges {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(206, 153, 252, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.badge:hover {
    background: rgba(206, 153, 252, 0.08);
    border-color: rgba(206, 153, 252, 0.25);
    transform: translateY(-1px);
}

.badge svg {
    width: 14px;
    height: 14px;
}

/* Coming Soon Panel */
.coming-soon-panel {
    text-align: center;
    padding: var(--space-xl);
    grid-column: 1 / -1;
}

.coming-soon-icon {
    margin: 0 auto var(--space-lg);
    opacity: 0.3;
}

.coming-soon-panel h3 {
    margin-bottom: var(--space-md);
}

.coming-soon-panel p {
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
#testimonials {
    padding: var(--space-xl) 0;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.8" /></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.02;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: var(--radius-md);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(206, 153, 252, 0.15);
}

blockquote {
    flex: 1;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

blockquote p {
    margin: 0;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar span {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

cite {
    font-style: normal;
    text-align: left;
}

cite strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin-bottom: 0.15rem;
}

cite span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   NEWS SECTION
   =================================== */
#news {
    padding: var(--space-xl) 0;
}

.news-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.news-slides {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-slide {
    display: none;
    grid-template-columns: 400px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--white);
    min-height: 400px;
    align-items: center;
}

.news-slide.active {
    display: grid;
    animation: fadeIn 0.6s ease-in;
}

.news-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    height: 320px;
}

.news-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.85;
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(206, 153, 252, 0.1);
    color: var(--purple-full);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    width: fit-content;
}

.news-content h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.news-content p {
    line-height: 1.7;
}

.news-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.news-nav-btn {
    background: rgba(206, 153, 252, 0.1);
    border: 1px solid rgba(206, 153, 252, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--purple-full);
}

.news-nav-btn:hover {
    background: rgba(206, 153, 252, 0.2);
    border-color: rgba(206, 153, 252, 0.4);
    transform: scale(1.05);
}

.news-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.news-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.news-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(206, 153, 252, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.news-indicator.active {
    background: var(--gradient-full);
    width: 28px;
    border-radius: 5px;
}

/* ===================================
   SUPPORTERS SECTION
   =================================== */
#supporters {
    padding: var(--space-lg) 0;
    text-align: center;
}

.supporters-heading {
    background: linear-gradient(135deg,
        rgba(153, 179, 252, 0.8) 0%,
        rgba(206, 153, 252, 0.8) 50%,
        rgba(153, 179, 252, 0.8) 100%);
    color: rgba(100, 100, 100, 0.85);
    background: var(--gradient);
    background: var(--text-muted);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-lg);
    font-family: var(--font-primary);
}

.supporters-logos-bar {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    background: rgba(250, 250, 252, 0.95);
    border-radius: 20px;
    border: 1.5px solid rgba(153, 179, 252, 0.25) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 12px rgba(153, 179, 252, 0.03);
    backdrop-filter: blur(8px) saturate(1.2);
    padding: 0.5rem 0;
    transition: box-shadow 0.4s, border 0.4s;
}

.supporters-logos-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence baseFrequency="0.9" /></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.01"/></svg>');
    pointer-events: none;
    border-radius: 20px;
}

.logos-track {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6rem;
    animation: scrollLogos 18s linear infinite;
    will-change: transform;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1rem;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.logo-item:hover {
    background: rgba(206, 153, 252, 0.08);
}

.logo-item img {
    height: 85px;
    width: auto;
    opacity: 0.75;
    filter: grayscale(70%);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(30%);
    opacity: 0.95;
    transform: scale(1.05);
}

/* Legacy support for direct img children */
.logos-track img:not(.logo-item img) {
    height: 85px;
    width: auto;
    opacity: 0.75;
    filter: grayscale(70%);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logos-track img:not(.logo-item img):hover {
    filter: grayscale(30%);
    opacity: 0.95;
    transform: scale(1.05);
}

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

/* ===================================
   CONTACT SECTION
   =================================== */
#contact {
    padding: var(--space-xl) 0 var(--space-md) 0;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-description {
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
}

form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-base);
    background: var(--white);
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: rgba(206, 153, 252, 0.4);
    box-shadow: 0 0 0 3px rgba(206, 153, 252, 0.08);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button[type="submit"] {
    background: var(--gradient-full);
    color: white;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-subtle);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 153, 252, 0.15);
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--green-full);
    font-weight: 600;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: rgba(144, 255, 175, 0.08);
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.success-message.show {
    opacity: 1;
    transform: scale(1);
}

.success-checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--green-full);
    position: relative;
    flex-shrink: 0;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--green-full);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkDraw 0.3s ease-out;
}

@keyframes checkDraw {
    0% { height: 0; }
    100% { height: 10px; }
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: rgba(250, 250, 250, 0.8);
    padding: var(--space-xl) 5%;
    margin-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.footer-logo {
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.4rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--purple-full);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(206, 153, 252, 0.08);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient-full);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

.social-links a:hover img {
    filter: brightness(0) invert(1);
}

/* ===================================
   BRAND NAME STYLING
   =================================== */
/* Style all instances of prognitif and elacare with italics and Georgia Pro */
.brand-name {
    font-family: var(--font-secondary);
    font-style: italic;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: 250px;
    }

    .solution-panel {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .news-slide {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    nav.open ul {
        display: flex;
    }

    nav ul li {
        margin: 0;
        padding: var(--space-sm) 0;
    }

    #hero {
        min-height: 85vh;
        padding: var(--space-lg) 0;
    }

    section {
        padding: var(--space-md) 0;
        margin-bottom: var(--space-lg);
    }

    .cards-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .solutions-tabs {
        justify-content: flex-start;
    }

    .solutions-tabs .tab {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

    .news-slide {
        grid-template-columns: 1fr;
        padding: var(--space-md);
        height: auto;
        min-height: 400px;
    }

    .news-image {
        max-height: 200px;
    }

    .news-image img {
        max-height: 180px;
    }

    .supporters-logos-bar {
        max-width: 100%;
    }

    .logos-track {
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --space-sm: 0.6rem;
        --space-md: 1.25rem;
        --space-lg: 2.5rem;
        --space-xl: 3.5rem;
    }

    main {
        padding: 0 4%;
    }

    .hero-logo {
        width: 150px;
    }

    .phone-mockup {
        max-width: 200px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    main {
        max-width: 1400px;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
*:focus-visible {
    outline: 2px solid var(--purple-full);
    outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
