/* Challenges page styles (scoped) */
.challenges-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 80px;
}

.challenges-page .challenges-header {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.challenges-page .challenges-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.challenges-page .streak-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.challenges-page .streak-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.challenges-page .streak-stat { text-align: center; }
.challenges-page .streak-number { font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; }
.challenges-page .streak-label { font-size: 1.1rem; opacity: 0.9; }

.challenges-page .streak-calendar { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.challenges-page .day-circle {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.challenges-page .day-completed { background: #4CAF50; color: white; }
.challenges-page .day-today { background: #FF9800; color: white; animation: pulse-scale 2s infinite; }
.challenges-page .day-future { background: rgba(255, 255, 255, 0.3); color: white; }

@keyframes pulse-scale { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.challenges-page .challenges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.challenges-page .challenge-card {
    background: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 20px; margin-bottom: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease; border-left: 4px solid #4CAF50; position: relative; overflow: hidden;
}

.challenges-page .challenge-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }

.challenges-page .challenge-type { padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.challenges-page .challenge-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.challenges-page .completed-badge { background: #4CAF50; color: white; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.challenges-page .submitted-badge { background: #2196F3; color: white; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.challenges-page .login-required-badge { background: #FF9800; color: white; padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.challenges-page .quiz-type { background: #e3f2fd; color: #1976d2; }
.challenges-page .task-type { background: #e8f5e8; color: #4CAF50; }

.challenges-page .challenge-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; color: white; }
.challenges-page .quiz-icon { background: linear-gradient(135deg, #2196F3, #1976d2); }
.challenges-page .task-icon { background: linear-gradient(135deg, #4CAF50, #2e7d32); }

.challenges-page .challenge-title { font-size: 1.3rem; font-weight: 600; color: #2d5a27; margin-bottom: 1rem; }
.challenges-page .challenge-description { color: #666; line-height: 1.6; margin-bottom: 1.5rem; }

.challenges-page .challenge-rewards { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid #f0f0f0; }
.challenges-page .points-reward { display: flex; align-items: center; gap: 0.5rem; color: #FF9800; font-weight: 600; }
.challenges-page .difficulty { padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.8rem; font-weight: 600; }
.challenges-page .easy { background: #e8f5e8; color: #4CAF50; }
.challenges-page .medium { background: #fff3e0; color: #FF9800; }
.challenges-page .hard { background: #ffebee; color: #f44336; }

.challenges-page .progress-section { background: white; border-radius: 20px; padding: 2rem; margin-bottom: 3rem; }
.challenges-page .progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.challenges-page .level-info { display: flex; align-items: center; gap: 1rem; }
.challenges-page .level-badge { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #4CAF50, #81C784); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; }
.challenges-page .progress-bar { width: 100%; height: 20px; background: #f0f0f0; border-radius: 10px; overflow: hidden; margin: 1rem 0; }
.challenges-page .progress-fill { height: 100%; background: linear-gradient(135deg, #4CAF50, #81C784); transition: width 0.3s ease; position: relative; }
.challenges-page .progress-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; }

@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.challenges-page .achievements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-top: 2rem; }
.challenges-page .achievement-badge { text-align: center; padding: 1rem; border-radius: 15px; transition: all 0.3s ease; cursor: pointer; }
.challenges-page .achievement-unlocked { background: linear-gradient(135deg, #FFD700, #FFA000); color: white; transform: scale(1); }
.challenges-page .achievement-locked { background: #f5f5f5; color: #999; opacity: 0.6; }
.challenges-page .achievement-badge:hover { transform: scale(1.05); }
.challenges-page .achievement-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.challenges-page .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; align-items: center; justify-content: center; }
.challenges-page .modal.show { display: flex; }
.challenges-page .modal-content { background: white; border-radius: 20px; padding: 3rem; max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; }

.challenges-page .quiz-question { margin-bottom: 2rem; }
.challenges-page .quiz-options { display: flex; flex-direction: column; gap: 1rem; }
.challenges-page .quiz-option { background: #f8f9fa; border: 2px solid transparent; padding: 1rem; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; }
.challenges-page .quiz-option:hover { background: #e9ecef; border-color: #4CAF50; }
.challenges-page .quiz-option.selected { background: #e8f5e8; border-color: #4CAF50; }

@media (max-width: 768px) {
    .challenges-page .challenges-grid { grid-template-columns: 1fr; }
    .challenges-page .streak-info { gap: 1.5rem; }
    .challenges-page .achievements-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
}

.challenges-page .upload-modal,
.upload-modal { 
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.challenges-page .upload-modal-content,
.upload-modal-content { 
    background-color: white; 
    margin: 10% auto; 
    padding: 2rem; 
    border-radius: 15px; 
    width: 90%; 
    max-width: 500px; 
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.challenges-page .upload-close,
.upload-close { 
    position: absolute; 
    top: 1rem; 
    right: 1.5rem; 
    font-size: 2rem; 
    cursor: pointer; 
    color: #666;
    background: none;
    border: none;
}

.challenges-page .upload-form input[type="file"],
.upload-form input[type="file"] { 
    width: 100%; 
    padding: 1rem; 
    border: 2px dashed #22c55e; 
    border-radius: 10px; 
    margin: 1rem 0; 
    background: #f8fffe; 
}

.challenges-page .upload-preview,
.upload-preview { 
    max-width: 100%; 
    max-height: 200px; 
    border-radius: 10px; 
    margin: 1rem 0; 
    display: none; 
    object-fit: cover; 
}

.challenges-page .daily-challenge { border-left-color: #2196F3; background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%); }
.challenges-page .special-challenge { border-left-color: #FF9800; background: linear-gradient(135deg, #fff8f0 0%, #fff 100%); }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a27;
}

.nav-logo i {
    color: #4CAF50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4CAF50;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d5a27;
}

.highlight {
    color: #4CAF50;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-primary:disabled,
.btn-primary.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #ccc !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-secondary {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* Challenge card specific tweaks */
.challenge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.challenge-card .btn-primary {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
}

/* Phone Mockup */
.phone-mockup {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.1;
}

.screen {
    background: #000;
    border-radius: 30px;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.screen::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.app-interface {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scan-area i {
    font-size: 4rem;
    color: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.scan-area p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.problem-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.problem-card p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2d5a27;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* How it works */
.how-it-works {
    padding: 80px 0;
    background: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: white;
}

.demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.phone-frame {
    background: linear-gradient(135deg, #2d5a27, #4CAF50);
    padding: 20px;
    border-radius: 40px;
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 30px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.demo-home {
    padding: 2rem 1.5rem;
    height: 100%;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.demo-header h3 {
    color: #2d5a27;
    font-size: 1.2rem;
}

.user-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff3cd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #856404;
    font-size: 0.9rem;
}

.scan-button {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scan-button:hover {
    transform: scale(1.02);
}

.scan-button i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.scan-button span {
    font-size: 1.1rem;
    font-weight: 600;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat .label {
    font-size: 0.9rem;
    color: #666;
}

.demo-controls h3 {
    margin-bottom: 1.5rem;
    color: #2d5a27;
}

.demo-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    text-align: left;
}

.demo-btn:hover {
    border-color: #4CAF50;
    background: #f8f9fa;
}

.demo-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.demo-btn i {
    font-size: 1.2rem;
}

/* Demo Links */
.demo-link-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    text-decoration: none;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    min-width: 250px;
}

.demo-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.demo-link-btn i {
    font-size: 2rem;
    opacity: 0.9;
}

.demo-link-btn h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.demo-link-btn p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Research Section */
.research {
    padding: 80px 0;
    background: #f8f9fa;
}

.research h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d5a27;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.research-icon {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.research-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2d5a27;
}

.research-card p {
    color: #666;
    line-height: 1.6;
}

.research-stats {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.research-stats h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2d5a27;
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
}

.stat-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.stat-item h4{
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #2d5a27;
    text-align: center;
}

.stat-bar {
    background: #e9ecef;
    border-radius: 25px;
    padding: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.bar-fill {
    background: linear-gradient(135deg, #4CAF50, #81C784);
    height: 20px;
    border-radius: 20px;
    transition: width 0.8s ease;
}

.stat-bar span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d5a27;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d5a27, #4CAF50);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #4CAF50;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4CAF50;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-link-btn {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .stat-before-after {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Demo screen states */
.demo-scan {
    display: none;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scanning-animation {
    width: 200px;
    height: 200px;
    border: 3px solid #4CAF50;
    border-radius: 15px;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
}

.scanning-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: #4CAF50;
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

.demo-product {
    display: none;
    padding: 1.5rem;
    height: 100%;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.product-image {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4CAF50;
}

.product-info h4 {
    font-size: 1.1rem;
    color: #2d5a27;
    margin-bottom: 0.5rem;
}

.product-brand {
    font-size: 0.9rem;
    color: #666;
}

.verification-status {
    background: #d4edda;
    color: #155724;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    font-weight: 600;
    color: #2d5a27;
    font-size: 0.9rem;
}

.detail-value {
    color: #666;
    font-size: 0.9rem;
}

.demo-challenges {
    display: none;
    padding: 1.5rem;
    height: 100%;
}

.challenges-header {
    text-align: center;
    margin-bottom: 2rem;
}

.challenges-header h4 {
    color: #2d5a27;
    margin-bottom: 0.5rem;
}

.challenges-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.challenge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.challenge-info h5 {
    font-size: 0.9rem;
    color: #2d5a27;
    margin-bottom: 0.3rem;
}

.challenge-progress {
    font-size: 0.8rem;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #4CAF50, #81C784);
    border-radius: 2px;
    transition: width 0.3s ease;
}