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

:root {
    /* Primary Colors - Green Branding */
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #d1fae5;
    --primary-lighter: #f0fdf4;

    /* Secondary and Accent Colors */
    --secondary-color: #64748b;
    --accent-color: #00b4a9;

    /* Special Backgrounds */
    --dark-green-bg: #0f2419;
    --badge-pink: #fef2f2;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border-color: #e2e8f0;

    /* Shadows */
    --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 */
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --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);
}

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

.section-header {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    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: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.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 {
    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 {
    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 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.trust-badge i {
    font-size: 1rem;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.highlight-green {
    color: var(--primary-color);
}

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

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

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.phone-mockup:hover {
    transform: scale(1.02);
    transition: var(--transition);
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

/* App Preview Section */
.app-preview {
    padding: 6rem 0 4rem;
    background: var(--bg-primary);
}

.preview-container {
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.verified-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.verified-badge i {
    color: var(--primary-color);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.preview-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-mockup {
    width: 100%;
    max-width: 200px;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.qr-square {
    aspect-ratio: 1;
    background: #1f2937;
    border-radius: 4px;
    animation: pulseQR 3s ease-in-out infinite;
}

.qr-square:nth-child(odd) {
    animation-delay: 0.5s;
}

.qr-square:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes pulseQR {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.preview-card-label {
    margin-top: 1rem;
}

.label-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.vitals-dashboard h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.vital-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.vital-item:last-child {
    border-bottom: none;
}

.vital-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.vital-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.global-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.globe-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.globe-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: rotateGlobe 8s linear infinite;
}

@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.global-share h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.global-share p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Health Tracker Card */
.health-tracker {
    width: 100%;
}

.health-tracker h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.tracker-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.tracker-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.tracker-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInTracker 0.5s ease forwards;
}

.tracker-item:nth-child(1) {
    animation-delay: 0.2s;
}

.tracker-item:nth-child(2) {
    animation-delay: 0.4s;
}

.tracker-item:nth-child(3) {
    animation-delay: 0.6s;
}

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

.tracker-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    animation: pulseDot 2s ease-in-out infinite;
}

.tracker-item:nth-child(2) .tracker-dot {
    animation-delay: 0.3s;
}

.tracker-item:nth-child(3) .tracker-dot {
    animation-delay: 0.6s;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.tracker-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.tracker-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.tracker-event {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.ai-insights-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-lighter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

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

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

.feature-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.coming-soon {
    position: relative;
    opacity: 1;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* See OgaMedix in Action Section */
.ogamedix-in-action {
    padding: 6rem 0;
    background: white;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.action-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.emergency-profile {
    background: var(--badge-pink);
}

.health-timeline {
    background: var(--primary-lighter);
}

.ai-insights {
    background: var(--primary-lighter);
}

.action-card-header {
    padding: 1rem 1.5rem;
    background: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.action-card-header i {
    color: var(--primary-color);
}

.action-card-content {
    padding: 1.5rem;
    flex: 1;
}

/* Emergency Profile Styles */
.profile-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.profile-user i {
    font-size: 3rem;
    color: var(--text-secondary);
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.profile-blood {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-section {
    margin-bottom: 1.25rem;
}

.section-badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-badge-label.allergies {
    background: #fee2e2;
    color: #dc2626;
}

.section-badge-label.conditions {
    background: #e5e7eb;
    color: #1f2937;
}

.section-badge-label.medications {
    background: #e5e7eb;
    color: #1f2937;
}

.section-items {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.profile-emergency-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.profile-emergency-contact i {
    color: var(--primary-color);
}

.profile-emergency-contact span {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Health Timeline Styles */
.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 40px;
    bottom: -24px;
    width: 2px;
    background: #d1d5db;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-icon.lab {
    background: #dbeafe;
    color: #3b82f6;
}

.timeline-icon.visit {
    background: #dcfce7;
    color: #16a34a;
}

.timeline-icon.prescription {
    background: #fef3c7;
    color: #f59e0b;
}

.timeline-icon.vitals {
    background: #fee2e2;
    color: #dc2626;
}

.timeline-icon i {
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.timeline-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* AI Insights Styles */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 120px;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.chart-bar {
    flex: 1;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    min-height: 10%;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
}

.insight-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-alert {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    align-items: start;
}

.insight-alert.warning {
    background: #fff7ed;
    color: #9a3412;
}

.insight-alert.success {
    background: #dcfce7;
    color: #166534;
}

.insight-alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.alert-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.alert-message {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Story Section */
.story {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.story-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}

.story-quote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 2rem;
}

.story-quote::before,
.story-quote::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
}

.story-quote::before {
    top: -1rem;
    left: 0;
}

.story-quote::after {
    bottom: -2rem;
    right: 0;
}

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

.story .btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Impact Section */
.impact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.impact-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.impact-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, #10b981, #059669);
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.95;
}

.cta-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.95rem;
}

.cta-trust-item i {
    font-size: 1.1rem;
}

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

.btn-cta {
    background: white;
    color: #10b981;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta i {
    font-size: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
}

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

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

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

/* 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;
}

/* 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;
}

/* Responsive Design */
@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 4rem;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: unset;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

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

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

    .story-quote {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

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

    .impact-stat {
        padding: 1.5rem;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    /* App Preview Section */
    .app-preview {
        padding: 3rem 0 2rem;
    }

    .preview-container {
        padding: 2rem 1rem;
        border-radius: 16px;
    }

    .verified-badge {
        position: static;
        margin: 0 auto 1.5rem;
        display: inline-flex;
    }

    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .preview-card {
        padding: 1.5rem;
    }

    .qr-mockup {
        max-width: 150px;
    }

    .vitals-dashboard {
        width: 100%;
    }

    .ai-insights-badge {
        position: static;
        margin-top: 1.5rem;
        display: inline-flex;
    }

    /* See OgaMedix in Action */
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Security & Privacy Section */
    .security-privacy {
        padding: 3rem 0;
    }

    .security-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex !important;
        flex-direction: column;
    }

    .security-text {
        text-align: center;
        order: 1 !important;
    }

    .security-visual {
        order: 2 !important;
        margin-top: 2rem;
    }

    .security-badge {
        margin: 0 auto 1rem;
    }

    .security-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .security-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .security-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .security-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .security-icon {
        width: 36px;
        height: 36px;
    }

    .security-icon i {
        font-size: 1rem;
    }

    .security-item span {
        font-size: 0.9rem;
    }

    .encryption-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .shield-container {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }

    .central-shield {
        width: 60px;
        height: 60px;
    }

    .central-shield i {
        font-size: 1.75rem;
    }

    .orbiting-element {
        width: 35px;
        height: 35px;
    }

    .orbiting-element i {
        font-size: 0.9rem;
    }

    .encryption-title {
        font-size: 1.25rem;
    }

    .encryption-subtitle {
        font-size: 0.9rem;
    }

    /* Organizations */
    .org-icons {
        gap: 1.5rem;
    }

    .org-icon {
        width: 60px;
        height: 60px;
    }

    .org-icon i {
        font-size: 1.5rem;
    }

    /* CTA Banner */
    .cta-title {
        font-size: 2rem;
    }

    .cta-trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

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

    .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;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

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

    .feature-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .stat {
        min-width: 80px;
    }

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

    /* New sections at smaller screens */
    .security-title {
        font-size: 1.75rem;
    }

    .security-subtitle {
        font-size: 1rem;
    }

    .org-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .cta-subtitle {
        font-size: 1rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* 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 {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Hero Features Section - Three Pillars */
.hero-features {
    padding: 6rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.hero-feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.hero-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.feature-badge i {
    font-size: 0.9rem;
}

.hero-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.hero-feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.hero-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hero-feature-cta:hover {
    gap: 0.8rem;
}

.hero-feature-cta i {
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-lighter);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-badge i {
    font-size: 1rem;
}

/* AI Health Features Section */
.ai-health-features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.ai-feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.ai-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ai-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.ai-feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Safety Features Section */
.safety-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

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

.safety-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.safety-badge i {
    font-size: 1rem;
}

.safety-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

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

.safety-icon {
    width: 48px;
    height: 48px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-icon i {
    color: #dc2626;
    font-size: 1.2rem;
}

.safety-feature-item span {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.safety-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sos-mockup {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.phone-frame {
    width: 260px;
    background: white;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.gps-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #dcfce7;
    color: #16a34a;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.gps-indicator i {
    font-size: 0.6rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.sos-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.sos-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0.5rem 0;
}

.sos-button {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    margin: 1rem 0;
}

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

.sos-subtitle {
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.4;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    }
}

/* Personas Section */
.personas {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.persona-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

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

.persona-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.persona-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.persona-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Security & Privacy Section */
.security-privacy {
    padding: 6rem 0;
    background: var(--dark-green-bg);
    color: white;
}

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

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.security-badge i {
    font-size: 1rem;
}

.security-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-green-light {
    color: var(--primary-color);
}

.security-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

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

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.security-item span {
    color: white;
    font-weight: 400;
    font-size: 1rem;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.encryption-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.shield-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-shield {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
    position: relative;
    z-index: 2;
}

.central-shield i {
    font-size: 2.5rem;
    color: white;
}

.orbiting-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbiting-element i {
    font-size: 1rem;
    color: var(--primary-color);
}

.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit1 8s linear infinite;
}

.orbit-2 {
    bottom: 0;
    right: 20%;
    animation: orbit2 8s linear infinite;
}

.orbit-3 {
    bottom: 0;
    left: 20%;
    animation: orbit3 8s linear infinite;
}

@keyframes orbit1 {
    0%, 100% {
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
    33% {
        top: 50%;
        right: 0;
        left: auto;
        transform: translate(0, -50%);
    }
    66% {
        top: auto;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translate(-50%, 0);
    }
}

@keyframes orbit2 {
    0%, 100% {
        bottom: 0;
        right: 20%;
        transform: translate(0, 0);
    }
    33% {
        top: 0;
        left: 50%;
        bottom: auto;
        right: auto;
        transform: translate(-50%, 0);
    }
    66% {
        top: 50%;
        left: 0;
        bottom: auto;
        transform: translate(0, -50%);
    }
}

@keyframes orbit3 {
    0%, 100% {
        bottom: 0;
        left: 20%;
        transform: translate(0, 0);
    }
    33% {
        top: 50%;
        left: 0;
        bottom: auto;
        transform: translate(0, -50%);
    }
    66% {
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
}

.encryption-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.encryption-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: translateY(-50%);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Organizations Section */
.organizations {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.org-icons-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.org-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.org-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.org-icon:hover {
    transform: scale(1.1);
    background: var(--primary-light);
}

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

.org-icon-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.org-cta {
    margin-top: 2rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

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

/* CTA Banner Updates */
.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-feature-card {
        padding: 2rem 1.5rem;
    }

    .hero-feature-number {
        font-size: 1.5rem;
    }

    .hero-feature-title {
        font-size: 1.25rem;
    }

    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ai-feature-card {
        padding: 2rem 1.5rem;
    }

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

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

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

    .persona-icon {
        font-size: 2.5rem;
    }

    .security-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .security-item {
        padding: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-card::after {
        display: none;
    }

    .organizations-headline {
        font-size: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-feature-card {
        padding: 1.5rem 1rem;
    }

    .ai-feature-card {
        padding: 1.5rem 1rem;
    }

    .phone-frame {
        width: 150px;
        height: 250px;
        padding: 1.5rem;
    }

    .sos-button {
        width: 80px;
        height: 80px;
        font-size: 1rem;
    }

    .persona-card {
        padding: 1.5rem;
    }

    .security-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}

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