/* Reset and Base Styles */
* {
    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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1e5e9;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2563eb;
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    background: none;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #333;
    border-color: #333;
}

.btn-outline:hover {
    background: #333;
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    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-content h1 {
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.score-example {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.score-display {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #fbbf24;
}

.score-explanation {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.score-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.score-range {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.score-tech {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #2563eb;
}

.score-tech small {
    color: #64748b;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.steps-container {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    background: #e2e8f0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.file-types {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.file-type {
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.software-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #666;
}

.step-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.share-platforms {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3e8ff;
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.share-example {
    margin-top: 1rem;
}

.share-example code {
    background: #1f2937;
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
    background: #f8fafc;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.upload-section {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.upload-box {
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.upload-box:hover {
    border-color: #2563eb;
    background: #f1f5f9;
}

.upload-box.file-selected {
    border-color: #10b981;
    background: #f0fdf4;
}

.upload-box i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.upload-box input[type="file"] {
    display: none;
}

.upload-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-btn:hover {
    background: #1d4ed8;
}

.calculate-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.calculate-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

/* Progress Bar */
.progress-bar {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

.progress-text {
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.result-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.score-result {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
    color: #2563eb;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.result-explanation {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.share-options {
    margin-top: 2rem;
}

.share-options h4 {
    margin-bottom: 1rem;
    color: #374151;
}

.share-options textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    resize: none;
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.share-options textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.calculator-info h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.calculator-info p {
    margin-bottom: 1.5rem;
}

.tech-stack {
    margin: 2rem 0;
}

.tech-stack h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.tech-stack ul {
    list-style: none;
    margin-top: 1rem;
}

.tech-stack li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.tech-stack li:last-child {
    border-bottom: none;
}

.tech-stack li strong {
    color: #2563eb;
    margin-right: 0.5rem;
    min-width: 80px;
}

.feature-highlights {
    margin: 1.5rem 0;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #059669;
}

.feature-highlight i {
    color: #10b981;
    font-size: 1rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
    font-weight: 500;
}

.toast-success {
    background: #10b981;
    color: white;
}

.toast-error {
    background: #ef4444;
    color: white;
}

.toast-info {
    background: #3b82f6;
    color: white;
}

/* File validation feedback */
.upload-box.invalid {
    border-color: #ef4444;
    background: #fef2f2;
}

.upload-box.invalid i {
    color: #ef4444;
}

/* Enhanced hover effects */
.upload-box:hover i {
    color: #2563eb;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.file-selected i {
    color: #10b981;
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .upload-box {
        padding: 1.5rem;
    }
    
    .score-result {
        font-size: 1.5rem;
    }
    
    .progress-bar {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .upload-box {
        padding: 1rem;
    }
    
    .upload-box h4 {
        font-size: 1rem;
    }
    
    .upload-box p {
        font-size: 0.9rem;
    }
    
    .upload-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .toast {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Scenarios Section */
.scenarios {
    padding: 80px 0;
}

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

.scenario-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
}

.scenario-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.scenario-score {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: #fbbf24;
}

.scenario-content {
    padding: 1.5rem;
}

.scenario-use {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
    color: #2563eb;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scenarios-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.scenarios-cta h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.scenarios-cta p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Vision Section Styles */
.vision-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.vision-intro {
    text-align: center;
    margin-bottom: 60px;
}

.vision-intro .section-intro {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.proposal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.proposal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proposal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.proposal-card.full-width {
    grid-column: 1 / -1;
}

.proposal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}

.proposal-card h4 {
    color: #e0e7ff;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
}

.proposal-content ul, .proposal-content ol {
    padding-left: 20px;
}

.proposal-content li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.code-block code {
    color: #a7f3d0;
    font-size: 0.9rem;
}

/* Roadmap Styles */
.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.roadmap-phase {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-phase.current {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.phase-number {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.roadmap-phase.current .phase-number {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.phase-header h4 {
    margin: 0;
    flex: 1;
    min-width: 150px;
}

.phase-status {
    background: rgba(34, 197, 94, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.phase-timeline {
    background: rgba(59, 130, 246, 0.8);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Benefits and CTA Grid */
.benefits-grid, .cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-category, .cta-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-category h4, .cta-category h4 {
    color: #a7f3d0;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Vision Footer */
.vision-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-tagline {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #fff;
}

.partnership-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.partnership-cta .btn {
    min-width: 200px;
}

/* Responsive Design for Vision Section */
@media (max-width: 768px) {
    .proposal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roadmap {
        grid-template-columns: 1fr;
    }
    
    .phase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .benefits-grid, .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .partnership-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .partnership-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Community Section */
.community {
    padding: 80px 0;
    background: #1f2937;
    color: white;
}

.community .section-intro {
    color: rgba(255, 255, 255, 0.8);
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

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

.stat-item .stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.community-call-to-action {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-call-to-action h3 {
    color: white;
    margin-bottom: 1rem;
}

.community-call-to-action p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

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

.community-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
}

.community-card i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.community-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.community-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.community-card .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.community-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .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;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .community-stats {
        gap: 1.5rem;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .step-features,
    .share-platforms {
        justify-content: center;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card,
    .calculator-info,
    .result-section {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading and transition effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.upload-btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .calculator,
    .community,
    .footer {
        display: none;
    }
}
