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

:root {
    --primary-color: #00b4a9;
    --primary-dark: #B8E6D8;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border-color: #e2e8f0;
    --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);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), #1e40af);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    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-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feature Sections */
.feature-section {
    padding: 6rem 0;
    position: relative;
}

.alt-bg {
    background: var(--bg-secondary);
}

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

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse>* {
    direction: ltr;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-icon-large i {
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

/* Feature Benefits */
.feature-benefits {
    margin-bottom: 2rem;
}

.feature-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.benefits-list i {
    color: var(--accent-color);
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Feature Impact */
.feature-impact h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.impact-grid {
    display: grid;
    gap: 1.5rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--border-radius);
}

.impact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-icon i {
    color: white;
    font-size: 1rem;
}

.impact-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Feature Image */
.feature-image {
    max-width: 100%;
    height: auto;
}

/* QR Code Demo */
.qr-demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.qr-code-demo {
    text-align: center;
}

.qr-visual {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--text-primary) 25%, transparent 25%),
        linear-gradient(-45deg, var(--text-primary) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--text-primary) 75%),
        linear-gradient(-45deg, transparent 75%, var(--text-primary) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    animation: qrScan 3s infinite;
}

@keyframes qrScan {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.qr-label {
    font-weight: 600;
    color: var(--text-primary);
}

.qr-accessories {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.qr-bracelet,
.qr-card,
.qr-keychain {
    width: 60px;
    height: 40px;
    border-radius: var(--border-radius);
    position: relative;
}

.qr-bracelet {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 20px;
}

.qr-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.qr-keychain {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Emergency Scenarios */
.emergency-scenarios h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.scenario-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scenario-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid #ef4444;
}

.scenario-item i {
    color: #ef4444;
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.scenario-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Pregnancy Timeline */
.pregnancy-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 60px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    color: white;
    font-size: 1rem;
}

.timeline-content h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Pregnancy Stats */
.pregnancy-stats {
    margin-top: 2rem;
}

.stat-highlight {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border-left: 4px solid #ef4444;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ef4444;
    display: block;
    margin-bottom: 1rem;
}

.stat-highlight p {
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

/* Cycle Tracker Demo */
.cycle-tracker-demo {
    max-width: 350px;
    margin: 0 auto;
}

.cycle-calendar {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

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

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-accent);
    position: relative;
}

.calendar-day.period {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.calendar-day.fertile {
    background: linear-gradient(135deg, var(--accent-color), #059669);
}

/* Empowerment Points */
.empowerment-points h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.point-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--border-radius);
}

.point-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.point-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Vitals Dashboard */
.vitals-dashboard {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.vitals-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vital-card {
    background: var(--bg-accent);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.vital-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.vital-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.vital-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.vital-trend {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.vital-trend.up {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-color);
}

.vital-trend.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.vital-trend.normal {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
}

.trend-chart {
    height: 60px;
    background: var(--bg-accent);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 20px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1px;
}

.chart-line::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -9px;
    right: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Proactive Benefits */
.proactive-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--border-radius);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

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

/* Coming Soon Section */
.coming-soon-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-secondary), #e0f2fe);
    text-align: center;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.coming-soon-icon i {
    font-size: 2.5rem;
    color: white;
}

.coming-soon-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.coming-soon-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.coming-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.coming-feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.coming-feature p {
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

/* Notify Signup */
.notify-signup {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 0 auto;
}

.notify-signup h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.notify-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notify-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.notify-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-section .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.cta-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cta-stat .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand .brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
}

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

.footer-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .feature-content.reverse {
        direction: ltr;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

}

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

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-buttons {
        display: none;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1.1rem;
    }

    .feature-section {
        padding: 4rem 0;
    }

    .feature-title {
        font-size: 2rem;
    }

    .feature-icon-large {
        margin-left: auto;
        margin-right: auto;
    }

    .coming-soon-features {
        grid-template-columns: 1fr;
    }

    .coming-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-input {
        min-width: auto;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-stats {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .coming-soon-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .scenario-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .pregnancy-timeline {
        text-align: center;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .timeline-item:not(:last-child)::after {
        display: none;
    }

    .qr-accessories {
        gap: 1rem;
    }

    .globe-icon-large {
        width: 150px;
        height: 150px;
    }

    .globe-icon-large i {
        font-size: 3.5rem;
    }

    .sharing-connections {
        gap: 1.5rem;
    }

    .connection-node {
        width: 60px;
        height: 60px;
    }

    .connection-node i {
        font-size: 1.5rem;
    }

    .use-case-highlight {
        flex-direction: column;
        text-align: center;
    }

    .sos-button {
        width: 140px;
        height: 140px;
        font-size: 1.5rem;
    }

    .sos-button i {
        font-size: 2.5rem;
    }

    .sos-services {
        gap: 2rem;
    }

    .sos-service {
        width: 60px;
        height: 60px;
    }

    .sos-service i {
        font-size: 1.5rem;
    }

    .blood-drop-icon {
        width: 120px;
        height: 120px;
    }

    .blood-drop-icon i {
        font-size: 3rem;
    }

    .donor-network {
        gap: 1.5rem;
    }

    .donor-node {
        width: 60px;
        height: 60px;
    }

    .donor-node i {
        font-size: 1.5rem;
    }

    .visit-entry {
        flex-direction: column;
        text-align: center;
    }

    .medication-schedule {
        min-width: auto;
    }

    .insurance-demo {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* Reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Medical Record Sharing Demo */
.sharing-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.globe-icon-large {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
    animation: pulseGlobe 3s ease-in-out infinite;
}

.globe-icon-large i {
    font-size: 5rem;
    color: white;
}

@keyframes pulseGlobe {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-xl);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px -12px rgba(0, 180, 169, 0.4);
    }
}

.sharing-connections {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.connection-node {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    animation: floatNode 3s ease-in-out infinite;
}

.connection-node:nth-child(1) {
    animation-delay: 0s;
}

.connection-node:nth-child(2) {
    animation-delay: 0.5s;
}

.connection-node:nth-child(3) {
    animation-delay: 1s;
}

.connection-node i {
    font-size: 2rem;
    color: var(--primary-color);
}

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

.global-benefits {
    margin-top: 2rem;
}

.use-case-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 180, 169, 0.1), rgba(184, 230, 216, 0.1));
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    gap: 1rem;
    align-items: start;
}

.use-case-highlight i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.use-case-highlight p {
    margin: 0;
    line-height: 1.6;
}

/* SOS Emergency Button Demo */
.sos-button-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.sos-button {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    cursor: pointer;
    position: relative;
    z-index: 10;
    animation: sosGlow 2s ease-in-out infinite;
}

.sos-button i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

@keyframes sosGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(220, 38, 38, 0.6), 0 0 60px rgba(220, 38, 38, 0.3);
    }
}

.sos-ripple,
.sos-ripple-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #dc2626;
    animation: ripple 2s ease-out infinite;
}

.sos-ripple-2 {
    animation-delay: 1s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.sos-services {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sos-service {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.sos-service i {
    font-size: 2rem;
    color: #dc2626;
}

/* Blood Drive Demo */
.blood-drive-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.blood-drop-icon {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: bloodPulse 3s ease-in-out infinite;
    margin-bottom: 3rem;
}

.blood-drop-icon i {
    font-size: 4rem;
    color: white;
    transform: rotate(45deg);
}

@keyframes bloodPulse {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.05);
    }
}

.donor-network {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.donor-node {
    width: 70px;
    height: 70px;
    background: white;
    border: 3px solid #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: donorFloat 2s ease-in-out infinite;
}

.donor-node:nth-child(1) { animation-delay: 0s; }
.donor-node:nth-child(2) { animation-delay: 0.3s; }
.donor-node:nth-child(3) { animation-delay: 0.6s; }
.donor-node:nth-child(4) { animation-delay: 0.9s; }

.donor-node i {
    font-size: 1.8rem;
    color: #dc2626;
}

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

/* Visit Tracker Demo */
.visit-tracker-demo {
    padding: 2rem;
}

.visit-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit-entry {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.visit-entry:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.visit-entry i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
}

.visit-entry span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Medication Demo */
.medication-demo {
    padding: 2rem;
}

.medication-schedule {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    min-width: 300px;
}

.med-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.med-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.med-item:hover {
    background: var(--bg-accent);
    transform: translateX(5px);
}

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

.med-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.med-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.med-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Insurance Demo */
.insurance-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.insurance-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.insurance-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.insurance-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.insurance-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus,
.notify-input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #000000;
        --bg-primary: #ffffff;
        --border-color: #000000;
    }
}