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

/* Force all elements to stay within viewport */
*, *::before, *::after {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* 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(--border-light);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 10%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: flex-start;
}

.primary-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.primary-button:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.secondary-button {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.stat {
    text-align: center;
}

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

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

/* Calculator Preview */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator-carousel-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.calculator-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    animation: rotateCalculators 12s infinite;
}

@keyframes rotateCalculators {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-100%); }
    50%, 70% { transform: translateX(-200%); }
    75%, 95% { transform: translateX(-300%); }
    100% { transform: translateX(0); }
}

.calculator-preview {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.calculator-preview.active {
    opacity: 1;
    transform: scale(1);
}

.preview-content {
    position: relative;
    padding-top: 1rem;
}

.child-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

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

.calculator-main-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--border-medium);
}

.preview-dots span:first-child {
    background: var(--danger-color);
}

.preview-dots span:nth-child(2) {
    background: var(--warning-color);
}

.preview-dots span:last-child {
    background: var(--success-color);
}

.risk-meter {
    text-align: center;
    margin-bottom: 2rem;
}

.meter-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 8px;
}

.meter-circle.low {
    background: conic-gradient(from 0deg, var(--success-color) 0deg, var(--success-color) 120deg, #e5e7eb 120deg);
}

.meter-circle.medium {
    background: conic-gradient(from 0deg, var(--success-color) 0deg, var(--warning-color) 120deg, #e5e7eb 120deg);
}

.meter-circle.high {
    background: conic-gradient(from 0deg, var(--warning-color) 0deg, var(--danger-color) 120deg, #e5e7eb 120deg);
}

.meter-fill {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meter-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--warning-color);
}

.meter-score.low {
    color: var(--success-color);
}

.meter-score.medium {
    color: var(--warning-color);
}

.meter-score.high {
    color: var(--danger-color);
}

.risk-meter p {
    font-weight: 600;
    color: var(--text-secondary);
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.rec-icon {
    font-size: 1.25rem;
}

/* Problem Solution Section */
.problem-solution {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.problem-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
}

/* Solution Section */
.solution {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.solution-header {
    text-align: center;
    margin-bottom: 3rem;
}

.solution-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-number {
    position: absolute;
    top: -0.75rem;
    left: 2rem;
    background: var(--gradient-primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Data Sources Section */
.data-sources {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.data-header {
    text-align: center;
    margin-bottom: 3rem;
}

.data-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    animation: scroll-continuous 28s linear infinite;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes scroll-continuous {
    0% {
        transform: translateX(100vw) translateZ(0);
    }
    100% {
        transform: translateX(calc(-100% - 100vw)) translateZ(0);
    }
}

.data-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    min-width: 200px;
    min-height: 140px;
    flex-shrink: 0;
}

.data-source:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.source-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    flex-grow: 1;
}

.source-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.source-logo img[src*="google_logo"] {
    width: 80px;
    height: 80px;
}

.source-logo img[src*="fbi_logo"] {
    width: 80px;
    height: 80px;
}

.source-logo img[src*="common_sense_media"] {
    width: 80px;
    height: 80px;
}

.source-logo img[src*="internet_matters"] {
    width: 80px;
    height: 80px;
}

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

.data-source span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Calculator Inputs Section */
.calculator-inputs {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.inputs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.inputs-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.input-category {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.input-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.input-category ul {
    list-style: none;
}

.input-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 1.5rem;
}

.input-category li:last-child {
    border-bottom: none;
}

.input-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Real Stories Section */
.real-stories {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.stories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stories-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stories-carousel {
    position: relative;
    height: 500px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.story-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-card.active {
    opacity: 1;
}

.story-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.story-content {
    max-width: 600px;
    text-align: center;
    color: white;
}

.story-quote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.story-result {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.result-label {
    font-weight: 500;
    opacity: 0.9;
}

.result-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.story-family {
    font-weight: 600;
    opacity: 0.8;
    font-size: 0.9rem;
}

.stories-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.story-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border-medium);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-nav-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

.story-nav-btn:hover {
    border-color: var(--primary-color);
}

/* Target Audience Section */
.target-audience {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.audience-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.audience-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.audience-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 2rem;
    min-width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.floating-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    animation: floatCard 6s ease-in-out infinite;
}

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

.card-header {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.assessment-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.score-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.score-value {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.score-value.moderate {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.assessment-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.assessment-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.action-btn:first-child {
    background: var(--gradient-primary);
    color: white;
}

.action-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-large-button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.cta-large-button:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.cta-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

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

.link-group h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-light);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .primary-button {
        width: 100%;
        max-width: 320px;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: calc(50% - 0.75rem);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .calculator-carousel-container {
        margin-top: 2rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .calculator-preview {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .audience-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .problem-grid, .solution-grid, .inputs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .data-sources {
        padding: 3rem 0;
    }
    
    .data-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .cta-large-button {
        width: 100%;
        max-width: 350px;
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 45%;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .primary-button {
        font-size: 0.95rem;
        padding: 1.1rem 1.3rem;
    }
    
    .problem-card, .solution-card {
        padding: 1.5rem;
    }
    
    .card-icon, .problem-icon {
        font-size: 2.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .floating-card {
        max-width: 100%;
        margin: 0 1rem;
    }
}

/* Basic Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .problem-grid, .solution-grid, .inputs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .audience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .primary-button, .cta-large-button {
        width: 100%;
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Basic Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .problem-grid, .solution-grid, .inputs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .audience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .primary-button, .cta-large-button {
        width: 100%;
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 3rem 0;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-details {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

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

.contact-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: white;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness for Contact Page */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .problem-grid, .solution-grid, .inputs-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}