/* ============================================
   SIMPLIVU - ULTRA-MODERN DESIGN
   Mobile-First, Stunning Animations
   ============================================ */

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

:root {
    /* Colors - Green/Gold Theme */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #f59e0b;
    --accent: #fbbf24;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(16, 185, 129, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(251, 191, 36, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(16, 185, 129, 0.2) 0px, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   NAVIGATION - Ultra Modern
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover svg {
    transform: rotate(360deg);
}

.logo-text {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
    position: relative;
}

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

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

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

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-link:last-child {
        display: block;
    }
}

/* ============================================
   BUTTONS - Premium Design
   ============================================ */

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1.125rem 3rem;
    font-size: 1.0625rem;
    border-radius: 1rem;
    font-weight: 700;
}

.btn-cta {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.btn-cta:hover {
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.5);
}

@media (max-width: 768px) {
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* ============================================
   HERO SECTION - Stunning Design
   ============================================ */

.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.hero-gradient-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    bottom: -15%;
    left: -5%;
}

/* Removed excessive float animation */

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(220, 252, 231, 0.9);
    border: 1px solid rgba(134, 239, 172, 0.5);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: clamp(2rem, 8vw, 5rem);
    justify-content: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 2px solid rgba(16, 185, 129, 0.15);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.625rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 90px 0 30px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-gradient-orb {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat::before {
        top: -16px;
        width: 30px;
        height: 2px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta {
        margin-bottom: 1.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.375rem;
    }
}

/* ============================================
   DEMO SECTION - Interactive & Beautiful
   ============================================ */

.demo-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header:hover .section-title::after {
    width: 100%;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1875rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.chat-interface {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 2px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.chat-interface:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.icon-btn:hover {
    background: var(--bg-tertiary);
}

.chat-messages {
    padding: 2rem 1.5rem;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    animation: slideInUp 0.4s ease;
}

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

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: var(--gradient-primary);
    color: white;
    margin-left: auto;
}

.message-avatar {
    flex-shrink: 0;
}

.message-content {
    background: var(--bg-secondary);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    max-width: 75%;
    box-shadow: var(--shadow-sm);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.ai-response h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.ai-response p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.ai-response ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.ai-response li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.citations {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.citation-header {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.citation-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.citation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
    animation: slideInLeft 0.5s ease forwards;
    opacity: 0;
}

.citation-item:nth-child(1) { animation-delay: 0.1s; }
.citation-item:nth-child(2) { animation-delay: 0.2s; }
.citation-item:nth-child(3) { animation-delay: 0.3s; }

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

.citation-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.citation-icon {
    font-size: 1rem;
}

.citation-details {
    flex: 1;
}

.citation-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.citation-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chat-input-container {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input:disabled {
    background: var(--bg-tertiary);
    cursor: not-allowed;
}

.send-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .chat-messages {
        padding: 1.5rem 1rem;
        min-height: 300px;
    }
    
    .message-content {
        max-width: 85%;
    }
}

/* ============================================
   PROBLEM SECTION - Visual Impact
   ============================================ */

.problem-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.problem-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.problem-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.problem-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.problem-stat {
    text-align: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
    animation: subtlePulse 3s ease-in-out infinite;
}

.problem-stat:nth-child(1) { animation-delay: 0s; }
.problem-stat:nth-child(2) { animation-delay: 0.5s; }
.problem-stat:nth-child(3) { animation-delay: 1s; }

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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

.problem-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

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

.timeline-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.timeline-step:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: var(--shadow-md);
}

.step-time {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.timeline-total {
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.75rem;
    text-align: center;
    color: #dc2626;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .problem-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FEATURES SECTION - Card Grid Excellence
   ============================================ */

.features-section {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.25rem;
    border-radius: 1.5rem;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #86efac;
}

.feature-tag.coming-soon {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

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

/* ============================================
   HOW IT WORKS - Step by Step
   ============================================ */

.how-it-works {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    background: #ffffff;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    transition: all 0.3s;
    min-height: 320px;
}

.step:hover {
    border-color: var(--primary-dark);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
    transform: translateY(-8px);
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.integration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.3s;
}

.integration-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-primary);
    color: white;
}

.integration-icon {
    font-size: 1rem;
}

.passive-indicator {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

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

.query-example {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.query-input {
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-family: 'Courier New', monospace;
}

.query-arrow {
    font-size: 1.25rem;
    color: var(--primary);
}

.query-output {
    padding: 0.5rem 0.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

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

/* ============================================
   CTA SECTION - Dramatic Finale
   ============================================ */

.cta-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.cta-section::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    top: -30%;
    left: -10%;
}

.cta-section::after {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    bottom: -25%;
    right: -10%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.cta-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.3125rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.cta-stat-item {
    text-align: center;
}

.cta-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.cta-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .cta-stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ============================================
   MODAL - Polished Interaction
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    max-width: 540px;
    width: 100%;
    padding: 3rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-tertiary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--border);
    transform: rotate(90deg);
}

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

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.modal-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-body {
    text-align: center;
    margin-bottom: 2rem;
}

.coming-soon-icon {
    font-size: 4.5rem;
    margin-bottom: 1.75rem;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: center;
}

.btn-modal {
    padding: 0.75rem 2rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
    }
}

/* ============================================
   SCROLL PROGRESS & PARTICLES
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particles-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger-item {
    transition-delay: 0s;
}

.stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-item:nth-child(4) { transition-delay: 0.4s; }
.stagger-item:nth-child(5) { transition-delay: 0.5s; }
.stagger-item:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE & ACCESSIBILITY
   ============================================ */

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

@media (max-width: 768px) {
    .hero-gradient-orb,
    .particles-container {
        display: none;
    }
    
    .hero-grid {
        opacity: 0.5;
    }
}

/* Smooth Page Load */
body {
    animation: fadeIn 0.5s ease;
}

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


/* ============================================
   MEMORY VISUAL - Clean & Beautiful
   ============================================ */

.memory-visual {
    position: relative;
    max-width: 600px;
    margin: 1.75rem auto 2.25rem;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-center {
    position: relative;
    z-index: 2;
}

.memory-core {
    width: 140px;
    height: 140px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
    animation: coreFloat 3s ease-in-out infinite;
}

@keyframes coreFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.core-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.core-text {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.memory-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.memory-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: nodeAppear 0.6s ease forwards;
    animation-delay: var(--delay);
    opacity: 0;
    transform: scale(0.8);
}

@keyframes nodeAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.memory-node:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
}

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

.node-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

/* Connection Lines */
.memory-node::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: -1;
}

.memory-node:nth-child(1)::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.memory-node:nth-child(2)::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.memory-node:nth-child(3)::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.memory-node:nth-child(4)::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

@media (max-width: 768px) {
    .memory-visual {
        height: 420px;
        margin: 2.5rem auto 2rem;
    }
    
    .memory-connections {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .memory-core {
        width: 120px;
        height: 120px;
    }
    
    .core-icon {
        font-size: 2.5rem;
    }
    
    .memory-node::before {
        display: none;
    }
}


/* ============================================
   CHAIN CAROUSEL - Real Conversations
   ============================================ */

.conversations-section {
    margin: 2rem auto 3rem;
    overflow: hidden;
    position: relative;
}

.conversations-title {
    text-align: center;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding: 0 1rem;
    line-height: 1.3;
}

/* Mobile-friendly conversation grid - hidden on desktop */
.conversations-mobile-grid {
    display: none;
}

@media (max-width: 768px) {
    .conversations-section {
        margin: 1.5rem auto 2rem;
    }
    
    .conversations-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    /* Hide train carousel on mobile - too wide */
    .chain-carousel {
        display: none;
    }
    
    /* Show mobile grid instead */
    .conversations-mobile-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .mobile-conversation-item {
        background: white;
        border-radius: 1rem;
        padding: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--primary);
        transition: transform 0.3s;
    }
    
    .mobile-conversation-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
    }
    
    .mobile-conversation-img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
        display: block;
    }
}

@media (max-width: 480px) {
    .conversations-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .conversations-mobile-grid {
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .mobile-conversation-item {
        padding: 0.5rem;
    }
}

.chain-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(16, 185, 129, 0.02) 100%);
}

.carousel-track {
    display: flex;
    gap: 0;
    animation: chainScroll 25s linear infinite;
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: paused;
}

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

.conversation-card {
    position: relative;
    flex-shrink: 0;
    width: 350px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Train Tracks */
.chain-carousel::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #64748b 0px,
        #64748b 60px,
        transparent 60px,
        transparent 80px
    );
    z-index: 0;
}

.chain-carousel::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    height: 4px;
    background: #475569;
    z-index: 0;
}

/* Chain Link - Connecting Cards */
.chain-link {
    position: absolute;
    left: -30px;
    top: 50%;
    width: 60px;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #d97706 0px,
        #d97706 10px,
        #fbbf24 10px,
        #fbbf24 20px
    );
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chain-link::before,
.chain-link::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #d97706;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chain-link::before {
    left: -6px;
}

.chain-link::after {
    right: -6px;
}

.conversation-card:first-child .chain-link {
    display: none;
}

/* Train Engine */
.train-engine {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    z-index: 3;
}

.train-emoji {
    font-size: 5rem;
    animation: trainBounce 0.8s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

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

.smoke {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 2rem;
    animation: smokeFloat 2s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes smokeFloat {
    0% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translateX(-30px) translateY(-20px) scale(1.5);
        opacity: 0;
    }
}

/* Conversation Image - Clear and Readable */
.conversation-img {
    width: 290px;
    height: auto;
    max-height: 220px;
    border-radius: 1rem;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    background: white;
    cursor: pointer;
}

.conversation-card:hover .conversation-img {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 48px rgba(16, 185, 129, 0.3);
    border-color: var(--primary);
    z-index: 10;
}

/* Chain swing animation */
@keyframes chainSwing {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) rotate(-3deg);
    }
    75% {
        transform: translateY(-50%) rotate(3deg);
    }
}

.chain-link {
    animation: chainSwing 4s ease-in-out infinite;
}

.conversation-card:nth-child(2n) .chain-link {
    animation-delay: 0.5s;
}

.conversation-card:nth-child(3n) .chain-link {
    animation-delay: 1s;
}

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

.conversation-img {
    animation: cardFloat 5s ease-in-out infinite;
}

.conversation-card:nth-child(2n) .conversation-img {
    animation-delay: 0.8s;
}

.conversation-card:nth-child(3n) .conversation-img {
    animation-delay: 1.6s;
}

@media (max-width: 1024px) {
    .conversation-card {
        width: 320px;
        padding: 0 25px;
    }
    
    .conversation-img {
        width: 270px;
        max-height: 200px;
    }
    
    .chain-link {
        left: -25px;
        width: 50px;
    }
    
    .train-engine {
        width: 100px;
        height: 100px;
    }
    
    .train-emoji {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .conversation-card {
        width: 280px;
        padding: 0 20px;
    }
    
    .conversation-img {
        width: 240px;
        max-height: 180px;
    }
    
    .chain-link {
        left: -20px;
        width: 40px;
        height: 4px;
    }
    
    .chain-link::before,
    .chain-link::after {
        width: 8px;
        height: 8px;
    }
    
    .train-engine {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }
    
    .train-emoji {
        font-size: 3rem;
    }
    
    .smoke {
        font-size: 1.5rem;
        top: -15px;
    }
    
    .conversations-title {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }
    
    .carousel-track {
        animation: chainScroll 20s linear infinite;
    }
}

@media (max-width: 480px) {
    .conversation-card {
        width: 250px;
        padding: 0 15px;
    }
    
    .conversation-img {
        width: 220px;
        max-height: 160px;
    }
    
    .train-engine {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
    
    .train-emoji {
        font-size: 2.5rem;
    }
    
    .smoke {
        font-size: 1.2rem;
        top: -10px;
    }
    
    .conversations-title {
        font-size: 1.25rem;
    }
    
    .carousel-track {
        animation: chainScroll 15s linear infinite;
    }
}

/* ============================================
   REAL-TIME VISITOR COUNTER
   ============================================ */
.visitor-counter-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.counter-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.counter-icon {
    font-size: 3rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.counter-content {
    flex: 1;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    font-family: 'Inter', monospace;
}

.counter-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.counter-pulse {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.counter-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .counter-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .counter-icon {
        font-size: 2.5rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-label {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .visitor-counter-section {
        padding: 1.5rem 0;
    }
    
    .counter-card {
        padding: 1.25rem;
        max-width: 90%;
        margin: 0 auto;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .counter-number {
        font-size: 1.75rem;
    }
}
