/* Modern ADHD Fam Website Styles */

/* CSS Variables */
:root {
    /* Colors inspired by add.org but adapted for ADHD Fam */
    --primary-color: #e91e63; /* Vibrant pink */
    --secondary-color: #00bcd4; /* Teal */
    --accent-color: #ff6b35; /* Orange */
    --dark-color: #1a365d; /* Deep navy */
    --light-color: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::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 var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-donate {
    background: #dc2626; /* Red color */
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-donate:hover {
    background: #b91c1c; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    width: 120px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
    padding: var(--spacing-sm) 0;
} '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

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

.nav-actions {
    display: flex;
    gap: var(--spacing-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(233, 30, 99, 0.1) 0%, 
        rgba(0, 188, 212, 0.1) 50%, 
        rgba(255, 107, 53, 0.1) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
    padding: var(--spacing-xxxl) 0;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.title-line {
    display: block;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    margin-top: var(--spacing-lg); /* Add some top margin to lower the buttons */
}

.hero-actions .btn:first-child {
    margin-top: var(--spacing-sm); /* Lower the left button slightly more */
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Community Circles */
.hero-visual {
    position: relative;
    height: 500px;
}

.community-circles {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    animation: float 6s ease-in-out infinite;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle:hover {
    transform: scale(1.1);
    z-index: 10;
}

.circle-1 { width: 120px; height: 120px; top: 10%; left: 20%; animation-delay: 0s; }
.circle-2 { width: 100px; height: 100px; top: 5%; right: 15%; animation-delay: 1s; }
.circle-3 { width: 140px; height: 140px; top: 35%; left: 5%; animation-delay: 2s; }
.circle-4 { width: 110px; height: 110px; top: 30%; right: 5%; animation-delay: 3s; }
.circle-5 { width: 130px; height: 130px; bottom: 25%; left: 15%; animation-delay: 4s; }
.circle-6 { width: 90px; height: 90px; bottom: 30%; right: 20%; animation-delay: 5s; }
.circle-7 { width: 100px; height: 100px; bottom: 5%; left: 35%; animation-delay: 1.5s; }
.circle-8 { width: 120px; height: 120px; bottom: 10%; right: 35%; animation-delay: 2.5s; }

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

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.element-1 { top: 15%; left: 10%; animation-delay: 0s; }
.element-2 { top: 20%; right: 10%; animation-delay: 1s; }
.element-3 { bottom: 20%; left: 15%; animation-delay: 2s; }
.element-4 { bottom: 15%; right: 15%; animation-delay: 3s; }

/* Journey Section */
.journey-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
}

.section-title {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.step {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--light-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
}

.step-title {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

.step-description {
    color: var(--gray-600);
}

/* Test Section */
.test-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gradient-dark);
    color: var(--light-color);
}

.test-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.test-title {
    color: var(--light-color);
    margin-bottom: var(--spacing-lg);
}

.test-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.test-features {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
}

.test-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--spacing-lg);
}

/* Test Mockup */
.test-mockup {
    background: var(--light-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
}

.mockup-header {
    background: var(--gray-100);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mockup-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.mockup-title {
    font-weight: 600;
    color: var(--gray-700);
}

.mockup-content {
    padding: var(--spacing-xl);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 20%; }
    50% { width: 35%; }
    100% { width: 30%; }
}

.mockup-content h3 {
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
}

.mockup-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.option {
    padding: var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.option.active {
    background: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

/* Community Section */
.community-section {
    padding: var(--spacing-xxxl) 0;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.community-title {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
}

.community-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.community-features {
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: var(--spacing-xs);
}

.feature-item h4 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-xs);
}

.feature-item p {
    color: var(--gray-600);
    margin: 0;
}

/* Testimonial Cards */
.testimonial-cards {
    position: relative;
    height: 400px;
}

.testimonial-card {
    position: absolute;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    max-width: 280px;
    display: flex;
    gap: var(--spacing-md);
    transition: transform var(--transition-normal);
}

.testimonial-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.card-1 { top: 20px; left: 0; }
.card-2 { top: 120px; right: 20px; }
.card-3 { bottom: 20px; left: 40px; }

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

.testimonial-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content p {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.testimonial-content span {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Resources Section */
.resources-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--gray-50);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.resource-card {
    background: var(--light-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
    text-align: center;
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
}

.resource-card h3 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
}

.resource-card p {
    margin-bottom: var(--spacing-lg);
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: gap var(--transition-normal);
}

.resource-link:hover {
    gap: var(--spacing-md);
}

.coming-soon {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--light-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-sm);
}

/* Support Section */
.support-section {
    padding: var(--spacing-xxxl) 0;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.support-title {
    color: var(--dark-color);
    margin-bottom: var(--spacing-lg);
}

.support-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.crisis-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.crisis-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.crisis-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.crisis-item h4 {
    color: var(--dark-color);
    margin-bottom: var(--spacing-xs);
}

.crisis-item p {
    color: var(--gray-600);
    margin: 0;
    font-weight: 600;
}

/* AI Agent Preview */
.ai-agent-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-card {
    background: var(--light-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.agent-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-message p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.agent-cta {
    background: var(--gradient-primary);
    color: var(--light-color);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.agent-cta:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: var(--spacing-xxxl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxxl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo h3 {
    color: var(--light-color);
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-decoration: none;
    transition: background var(--transition-normal);
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.link-group h4 {
    color: var(--light-color);
    margin-bottom: var(--spacing-lg);
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
}

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

.donate-link {
    color: #dc2626 !important; /* Red color for donate link */
    font-weight: 600;
}

.donate-link:hover {
    color: #b91c1c !important; /* Darker red on hover */
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--light-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

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

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--light-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--gradient-primary);
    color: var(--light-color);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.chat-agent img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-agent h4 {
    margin: 0;
    font-size: 1rem;
}

.chat-agent span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: var(--light-color);
    cursor: pointer;
    font-size: 1.25rem;
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.message {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.message-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.message-content {
    background: var(--gray-100);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    max-width: 80%;
}

.message-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.chat-quick-actions {
    padding: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    border-top: 1px solid var(--gray-200);
}

.quick-action {
    background: var(--gray-100);
    border: none;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.quick-action:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.chat-input {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: var(--spacing-md);
}

.chat-input input {
    flex: 1;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    font-size: 0.875rem;
}

.chat-input button {
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content,
    .test-content,
    .community-content,
    .support-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .journey-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }
    
    .chat-window {
        width: 280px;
        right: -10px;
    }
}

