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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-text-image {
    height: 60px;
    width: 200px;
    object-fit: contain;
}

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #2563eb; /* Fallback for older browsers */
    background: -webkit-linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    background: -moz-linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    background: -o-linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Add space for fixed header */
    padding-bottom: 2rem; /* Add bottom padding for better separation */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.hero-animation .doctor-patient-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-animation .consultation-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.highlight {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.front-door {
    color: #10b981;
    position: relative;
}

.front-door::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #10b981;
    border-radius: 2px;
    -webkit-animation: pulse 2s infinite;
    -moz-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@-moz-keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.4rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 220px;
}

/* Hero Animation */
.hero-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.spending-chart {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-bar {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    -webkit-animation: fillBar 2s ease-out forwards;
    -moz-animation: fillBar 2s ease-out forwards;
    animation: fillBar 2s ease-out forwards;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}

.chart-bar:nth-child(1) { animation-delay: 0.5s; }
.chart-bar:nth-child(2) { animation-delay: 1s; }
.chart-bar:nth-child(3) { animation-delay: 1.5s; }

@-webkit-keyframes fillBar {
    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@-moz-keyframes fillBar {
    to {
        -moz-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@keyframes fillBar {
    to {
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }
}

.bar-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.front-door-visual {
    position: relative;
}

.door-container {
    position: relative;
    width: 200px;
    height: 300px;
}

.door {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 10px;
    position: relative;
    animation: doorGlow 3s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.door::before {
    content: '❤️';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: heartBeat 2s ease-in-out infinite;
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.door::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: doorShimmer 4s ease-in-out infinite;
    z-index: 1;
}

.door-handle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.door-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(45deg, #22d3ee, #06b6d4);
    border-radius: 25px;
    opacity: 0;
    animation: doorGlow 3s ease-in-out infinite;
    z-index: -1;
    filter: blur(8px);
}

@keyframes doorGlow {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes heartBeat {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    75% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes doorShimmer {
    0%, 100% { 
        opacity: 0;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    }
}

/* Healthcare Fragmentation Section */
.healthcare-fragmentation {
    padding: 8rem 0 5rem 0;
    background: #f8fafc;
    margin-top: 2rem;
    position: relative;
    z-index: 15;
}

.fragmentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.fragmentation-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.fragmentation-text .lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.fragmentation-text .highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc2626;
    margin: 1.5rem 0;
    text-align: center;
    background: #fef2f2;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

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

.lost-episodes-card {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.episodes-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.episodes-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.episodes-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Value Proposition Section */
.value-proposition-section {
    padding: 5rem 0;
    background: white;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.value-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.value-text .lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.value-text .highlight-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
    margin: 1.5rem 0;
    text-align: center;
    background: #eff6ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

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

.value-proposition-section .value-card {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.value-proposition-section .value-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-proposition-section .value-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-proposition-section .value-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Doctor-Patient Image and Callouts */
.doctor-patient-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.consultation-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.current-state-callouts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin: 1.5rem 0;
    justify-content: center;
}

.callout-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fecaca;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
}

.callout-item:nth-child(1) { animation-delay: 0.1s; }
.callout-item:nth-child(2) { animation-delay: 0.2s; }
.callout-item:nth-child(3) { animation-delay: 0.3s; }
.callout-item:nth-child(4) { animation-delay: 0.4s; }
.callout-item:nth-child(5) { animation-delay: 0.5s; }

.callout-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
    border-color: #f87171;
}

.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.callout-text {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: left;
}

.value-highlight-full {
    margin-top: 2rem;
    width: 100%;
}

.value-highlight-full .highlight-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Family Story Section */
.family-story {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.family-story .section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.story-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    text-align: center;
    margin-bottom: 1rem;
}

.story-header .highlight-text {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    margin: 1.5rem 0 2rem 0;
}

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

.family-member {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.family-member:hover {
    transform: translateY(-5px);
}

.member-image {
    flex-shrink: 0;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.insurance {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.conditions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conditions li {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid #2563eb;
}

.solution-features {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.solution-features h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
}

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

.feature-item {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #eff6ff;
}

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

.feature-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Family Care Visual */
.family-care-visual {
    position: relative;
}

.family-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.family-icon {
    font-size: 4rem;
    animation: familyFloat 3s ease-in-out infinite;
}

.care-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: connectionPulse 2s ease-in-out infinite;
}

.connection-dot:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.connection-dot:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.connection-dot:nth-child(3) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

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

@keyframes connectionPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 1.1rem;
}

.stat-context {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 600;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Healthcare Pie Chart */
.healthcare-pie-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.pie-chart-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pie-chart {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Safari-specific fixes for pie chart */
.pie-chart path {
    fill-opacity: 1;
    stroke-opacity: 1;
}

.pie-chart .primary-care-slice {
    fill: #2563eb !important;
    stroke: #1d4ed8 !important;
}

.pie-chart .other-healthcare-slice {
    fill: #64748b !important;
    stroke: #475569 !important;
}

/* Animated CSS Pie Chart */
.simple-pie-chart {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.simple-pie-chart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.pie-center {
    position: relative;
    text-align: center;
    z-index: 3;
}

.center-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.2rem;
}

.center-label {
    font-size: 0.65rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.1;
    margin-bottom: 0.05rem;
}

.pie-slice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e2e8f0; /* Fallback for browsers that don't support conic-gradient */
    background: conic-gradient(
        #2563eb 0deg 0deg,
        #e2e8f0 0deg 360deg
    );
    -webkit-animation: pieFill 3s ease-in-out forwards;
    animation: pieFill 3s ease-in-out forwards;
    z-index: 1;
}

.primary-care-slice {
    background: #e2e8f0; /* Fallback for browsers that don't support conic-gradient */
    background: conic-gradient(
        #2563eb 0deg 0deg,
        #e2e8f0 0deg 360deg
    );
}

.slice-label {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 4;
    opacity: 0;
    animation: labelFadeIn 1s ease-in-out 2.5s forwards;
}

@-webkit-keyframes pieFill {
    0% {
        background: #e2e8f0;
        background: conic-gradient(
            #2563eb 0deg 0deg,
            #e2e8f0 0deg 360deg
        );
    }
    100% {
        background: #e2e8f0;
        background: conic-gradient(
            #2563eb 0deg 19.44deg,
            #64748b 19.44deg 360deg
        );
    }
}

@keyframes pieFill {
    0% {
        background: #e2e8f0;
        background: conic-gradient(
            #2563eb 0deg 0deg,
            #e2e8f0 0deg 360deg
        );
    }
    100% {
        background: #e2e8f0;
        background: conic-gradient(
            #2563eb 0deg 19.44deg,
            #64748b 19.44deg 360deg
        );
    }
}

@keyframes labelFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.pie-center-title {
    font-size: 1.2rem;
    font-weight: 700;
    fill: #2563eb;
}

.pie-center-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    fill: #64748b;
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.total-spending {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.3rem;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.primary-care {
    background: #2563eb;
}

.legend-color.other-healthcare {
    background: #64748b;
}

.legend-text {
    display: flex;
    flex-direction: column;
}

.legend-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.legend-value {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.pie-insight {
    text-align: center;
    max-width: 600px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
}

.pie-insight h3 {
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pie-insight p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Care Network Visualization */
.care-network {
    padding: 5rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 500;
}

.network-visualization {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 600px;
    padding: 0;
    overflow: visible;
}

/* Debug circle removed - centering is now fixed */


.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-bubble {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    animation: hubPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.hub-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes logoShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes personPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.hub-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.person-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 2rem;
    z-index: 3;
    animation: personPulse 2s ease-in-out infinite;
    opacity: 0.8;
    margin-top: 20px;
}

.hub-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    z-index: 2;
    position: relative;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.care-providers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.provider-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    -webkit-transition: box-shadow 0.3s ease, opacity 0.3s ease;
    -moz-transition: box-shadow 0.3s ease, opacity 0.3s ease;
    -o-transition: box-shadow 0.3s ease, opacity 0.3s ease;
    transition: box-shadow 0.3s ease, opacity 0.3s ease;
    animation: providerFloat 3s ease-in-out infinite;
    z-index: 15;
}

.provider-card:hover,
.provider-card.provider-hover {
    -webkit-transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    -moz-transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    -ms-transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Care Providers positioned ON the dotted circle - 10 providers with 36-degree spacing */
/* Using trigonometry: x = centerX + radius * cos(angle), y = centerY + radius * sin(angle) */
/* Circle center: 50%, 50% | Radius: 250px (half of 500px circle) */
/* Central hub is positioned at exactly 50%, 50% with transform: translate(-50%, -50%) */

.provider-card[data-provider="primary"] {
    top: calc(50% - 250px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.provider-card[data-provider="dental"] {
    top: calc(50% - 202px);
    left: calc(50% + 147px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
}

.provider-card[data-provider="dermatology"] {
    top: calc(50% - 73px);
    left: calc(50% + 240px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.provider-card[data-provider="ophthalmology"] {
    top: calc(50% + 73px);
    left: calc(50% + 240px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 1.5s;
}

.provider-card[data-provider="cardiology"] {
    top: calc(50% + 202px);
    left: calc(50% + 147px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.provider-card[data-provider="physical-therapy"] {
    top: calc(50% + 250px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 2.5s;
}

.provider-card[data-provider="otolaryngology"] {
    top: calc(50% + 202px);
    left: calc(50% - 147px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 3s;
}

.provider-card[data-provider="lab"] {
    top: calc(50% + 73px);
    left: calc(50% - 240px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 3.5s;
}

.provider-card[data-provider="mental"] {
    top: calc(50% - 73px);
    left: calc(50% - 240px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.provider-card[data-provider="medications"] {
    top: calc(50% - 202px);
    left: calc(50% - 147px);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation-delay: 4.5s;
}

@keyframes providerFloat {
    0%, 100% { 
        -webkit-transform: translate(-50%, -50%) translateY(0);
        -moz-transform: translate(-50%, -50%) translateY(0);
        -ms-transform: translate(-50%, -50%) translateY(0);
        transform: translate(-50%, -50%) translateY(0); 
    }
    50% { 
        -webkit-transform: translate(-50%, -50%) translateY(-10px);
        -moz-transform: translate(-50%, -50%) translateY(-10px);
        -ms-transform: translate(-50%, -50%) translateY(-10px);
        transform: translate(-50%, -50%) translateY(-10px); 
    }
}

.provider-icon {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.provider-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    color: #64748b;
    line-height: 1.1;
    padding: 0 0.2rem;
    margin-top: 0.3rem;
}

.connection-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #10b981, transparent);
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    animation: lineGrow 2s ease-out forwards;
    transform-origin: top;
    scale: 0;
}

@keyframes lineGrow {
    to {
        scale: 1;
    }
}


/* Value Proposition */
.value-proposition {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.value-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.feature span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-item p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.footer-logo-image {
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
    object-fit: contain;
}

.footer-text-image {
    height: 60px;
    width: 200px;
    object-fit: contain;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #10b981;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #10b981;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #10b981;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pie-chart-container {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .pie-chart {
        width: 180px;
        height: 180px;
    }
    
    .pie-legend {
        align-items: center;
    }
    
    .total-amount {
        font-size: 1.5rem;
    }
    
    .total-label {
        font-size: 0.9rem;
    }
    
    .legend-item {
        justify-content: center;
    }
    
    .pie-insight {
        padding: 1.5rem;
    }
    
    .pie-insight h3 {
        font-size: 1.3rem;
    }
    
    .pie-insight p {
        font-size: 1rem;
    }
    
    .healthcare-fragmentation {
        padding: 6rem 0 4rem 0;
        margin-top: 1rem;
    }
    
    .fragmentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .value-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .current-state-callouts {
        gap: 0.6rem;
        margin: 1rem 0;
    }
    
    .callout-item {
        padding: 0.6rem 0.8rem;
    }
    
    .callout-text {
        font-size: 0.9rem;
    }
    
    .consultation-image {
        max-width: 250px;
    }
    
    .value-highlight-full {
        margin-top: 1.5rem;
    }
    
    .value-highlight-full .highlight-text {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
    
    .family-members {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .family-member {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
        min-height: 80vh;
    }
    
    .hero-animation .consultation-image {
        max-width: 280px;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
    }
        padding-top: 4rem; /* Extra space for mobile header */
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .network-visualization {
        height: 500px;
        padding: 2rem 1rem;
    }
    
    /* Adjust care provider positions for tablet (400px circle) */
    .provider-card[data-provider="primary"] {
        top: calc(50% - 200px);
    }
    
    .provider-card[data-provider="dental"] {
        top: calc(50% - 162px);
        left: calc(50% + 118px);
    }
    
    .provider-card[data-provider="dermatology"] {
        top: calc(50% - 58px);
        left: calc(50% + 192px);
    }
    
    .provider-card[data-provider="ophthalmology"] {
        top: calc(50% + 58px);
        left: calc(50% + 192px);
    }
    
    .provider-card[data-provider="cardiology"] {
        top: calc(50% + 162px);
        left: calc(50% + 118px);
    }
    
    .provider-card[data-provider="physical-therapy"] {
        top: calc(50% + 200px);
    }
    
    .provider-card[data-provider="otolaryngology"] {
        top: calc(50% + 162px);
        left: calc(50% - 118px);
    }
    
    .provider-card[data-provider="lab"] {
        top: calc(50% + 58px);
        left: calc(50% - 192px);
    }
    
    .provider-card[data-provider="mental"] {
        top: calc(50% - 58px);
        left: calc(50% - 192px);
    }
    
    .provider-card[data-provider="medications"] {
        top: calc(50% - 162px);
        left: calc(50% - 118px);
    }
    
    .provider-card {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
    }
    
    .provider-label {
        font-size: 0.6rem;
        margin-top: 0.2rem;
        line-height: 1.1;
    }
    
    .central-hub {
        width: 130px;
        height: 130px;
    }
    
    .hub-bubble {
        width: 130px;
        height: 130px;
    }
    
    .hub-logo {
        width: 45px;
        height: 45px;
    }
    
    .person-icon {
        font-size: 1.5rem;
        margin-top: 15px;
    }
    
    .hub-label {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }
    
    .provider-icon {
        font-size: 1.2rem;
    }
    
    .provider-label {
        font-size: 0.6rem;
    }
    
    .central-hub {
        width: 100px;
        height: 100px;
        top: 50%;
        left: 50%;
    }
    
    .hub-icon {
        font-size: 1.5rem;
    }
    
    .hub-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation on Scroll */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translate3d(0, 100px, 0);
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="fade-right"] {
    transform: translate3d(-100px, 0, 0);
}

[data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(100px, 0, 0);
}

[data-aos="fade-left"].aos-animate {
    transform: translate3d(0, 0, 0);
}

/* Contact Page Styles */
.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding-top: 10rem; /* Add extra space for fixed header */
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.signup-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.signup-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.signup-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.signup-form-container p {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    -webkit-transition: border-color 0.3s ease;
    -moz-transition: border-color 0.3s ease;
    -o-transition: border-color 0.3s ease;
    transition: border-color 0.3s ease;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    -webkit-box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    -moz-box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-link {
    color: #2563eb;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.terms-link.accepted {
    color: #10b981;
    font-weight: 600;
}

.terms-link.accepted:hover {
    color: #059669;
}

.full-width {
    width: 100%;
}

.signup-benefits {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-benefits h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

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

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

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.benefit-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info {
    padding: 5rem 0;
    background: white;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.contact-item p {
    color: #64748b;
    margin-bottom: 1rem;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: #64748b;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

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

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Beta Page Styles */
.beta-page {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
}

.beta-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Add space for fixed header */
}

.beta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.beta-logo {
    margin-bottom: 2rem;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
}

.banner-logo {
    margin: 2rem 0;
}

.banner-logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite;
    opacity: 0.8;
}

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

.beta-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.beta-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.beta-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-preview-item {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-preview-item:hover {
    transform: translateY(-10px);
}

.feature-preview-item .feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-preview-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-preview-item p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.countdown-container {
    margin-bottom: 3rem;
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

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

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.progress-section {
    max-width: 500px;
    margin: 0 auto;
}

.progress-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 4px;
    width: 0;
    animation: progressFill 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes progressFill {
    to {
        width: 75%;
    }
}

.progress-text {
    font-weight: 600;
    color: #fbbf24;
}

.beta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.expectations {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.expectations h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.expectation-item {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.expectation-item:hover {
    transform: translateY(-10px);
}

.expectation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.expectation-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expectation-item p {
    opacity: 0.8;
    line-height: 1.6;
}

.beta-benefits {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.beta-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Active navigation link */
.nav-menu a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Company Page Styles */
.company-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding-top: 10rem; /* Add extra space for fixed header */
}

/* Benefits Page Styles */
.benefits-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding-top: 10rem; /* Add extra space for fixed header */
}

.benefits-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefits-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Core Features Section */
.core-features {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2563eb;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.benefit-item i {
    color: #10b981;
    font-size: 1rem;
    width: 16px;
    flex-shrink: 0;
}

.benefit-item span {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.company-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.company-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.mission-section {
    padding: 5rem 0;
    background: white;
}

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

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.mission-statement {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.mission-statement .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.mission-statement strong {
    color: #2563eb;
    font-weight: 700;
}

.mission-statement em {
    color: #10b981;
    font-style: normal;
    font-weight: 600;
}

.mission-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mission-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateX(10px);
}

.mission-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.mission-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.mission-card p {
    color: #64748b;
    line-height: 1.6;
}

.vision-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.vision-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.vision-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-10px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.vision-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.vision-item p {
    color: #64748b;
    line-height: 1.6;
}

.values-section {
    padding: 5rem 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.value-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.value-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-item p {
    color: #64748b;
    line-height: 1.6;
}

.location-section {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.location-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.address-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.address-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.address-details p {
    color: #64748b;
    line-height: 1.6;
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.location-features .feature i {
    color: #10b981;
    font-size: 1.25rem;
    width: 20px;
}

.location-features .feature span {
    color: #64748b;
    font-weight: 500;
}

.location-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.map-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.map-placeholder p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 5rem 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-stats .stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.team-stats .stat-item:hover {
    transform: translateY(-5px);
}

.team-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.team-stats .stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Company Navigation Tabs */
.company-nav {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-tab:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-tab.active {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Tab Content */
.tab-content {
    display: none !important;
}

.tab-content.active {
    display: block !important;
}

/* Why TrackHealthAI Section */
.why-trackhealthai {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.why-trackhealthai h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2563eb;
    text-align: center;
    margin-bottom: 2rem;
}

.story-background {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.background-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: center;
}

.background-text h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.background-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.background-text strong {
    color: inherit;
    font-weight: inherit;
}

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

/* Explicitly remove any speech bubble elements */
.background-image::before,
.background-image::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.story-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.story-image:hover {
    transform: scale(1.02);
}


.story-context {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.story-context p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 1rem;
}

.story-questions {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.question-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

.question-item:hover {
    transform: translateX(10px);
}

.question-item i {
    color: #2563eb;
    font-size: 1.25rem;
    width: 20px;
}

.question-item span {
    color: #1e293b;
    font-weight: 500;
    font-size: 1.1rem;
}

.story-solution {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    color: white;
    text-align: center;
}

.story-solution h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-solution p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .signup-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .beta-title {
        font-size: 2.5rem;
        flex-direction: column;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .beta-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .address-card {
        flex-direction: column;
        text-align: center;
    }
    
    .location-features {
        gap: 0.5rem;
    }
    
    .location-features .feature {
        padding: 0.75rem;
    }
    
    /* Why TrackHealthAI responsive */
    .background-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .background-image {
        order: -1;
    }
    
    .story-image {
        max-width: 250px;
    }
    
    .why-trackhealthai h2 {
        font-size: 2rem;
    }
    
    .story-header h3 {
        font-size: 1.5rem;
    }
    
    .story-background,
    .story-context,
    .story-questions {
        padding: 1.5rem;
    }
    
    .story-solution {
        padding: 2rem;
    }
    
    /* Company navigation responsive */
    .nav-tabs {
        gap: 0.25rem;
    }
    
    .nav-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .company-nav {
        padding: 1rem 0;
    }
}

/* iPhone specific optimizations */
@media (max-width: 480px) {
    .hero-content {
        padding: 1rem 0.5rem;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .network-visualization {
        height: 400px;
        padding: 1rem 0.5rem;
    }
    
    .central-hub {
        width: 120px;
        height: 120px;
        top: 50%;
        left: 50%;
    }
    
    .hub-bubble {
        width: 120px;
        height: 120px;
    }
    
    .hub-logo {
        width: 40px;
        height: 40px;
    }
    
    .person-icon {
        font-size: 1.2rem;
        margin-top: 12px;
    }
    
    .provider-card {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .provider-label {
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }
    
    .door-container {
        width: 150px;
        height: 225px;
    }
    
    .door::before {
        font-size: 2rem;
    }
    
    .nav-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .company-hero {
        padding: 3rem 0;
        padding-top: 6rem; /* Extra space for mobile header */
    }
    
    .company-hero h1 {
        font-size: 2rem;
    }
    
    .company-hero p {
        font-size: 1rem;
    }
    
    .benefits-hero {
        padding: 3rem 0;
        padding-top: 6rem; /* Extra space for mobile header */
    }
    
    .benefits-hero h1 {
        font-size: 2rem;
    }
    
    .benefits-hero p {
        font-size: 1rem;
    }
}

/* iPad specific optimizations */
@media (min-width: 481px) and (max-width: 1024px) {
    .hero {
        min-height: 80vh; /* Reduce hero height on iPad */
        padding-bottom: 2rem; /* Add bottom padding */
    }
    
    .hero-content {
        padding: 3rem 2rem;
        min-height: 70vh; /* Reduce content height */
        padding-bottom: 4rem; /* Add bottom padding for separation */
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .primary-care-stats {
        padding: 4rem 0 3rem 0; /* Reduce padding on iPad */
        margin-top: 0; /* Remove top margin to prevent overlap */
        background: #f8fafc;
        position: relative;
        z-index: 10; /* Ensure it's above hero */
    }
    
    .network-visualization {
        height: 600px;
        padding: 3rem 2rem;
    }
    
    .central-hub {
        width: 140px;
        height: 140px;
        top: 50%;
        left: 50%;
    }
    
    .hub-bubble {
        width: 140px;
        height: 140px;
    }
    
    .hub-logo {
        width: 50px;
        height: 50px;
    }
    
    .person-icon {
        font-size: 1.8rem;
        margin-top: 18px;
    }
    
    .provider-card {
        width: 90px;
        height: 90px;
        font-size: 0.8rem;
    }
    
    .provider-label {
        font-size: 0.7rem;
    }
    
    .nav-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .door-container {
        width: 180px;
        height: 270px;
    }
    
    .door::before {
        font-size: 2.5rem;
    }
    
    .company-hero {
        padding-top: 8rem; /* Extra space for iPad header */
    }
    
    .benefits-hero {
        padding-top: 8rem; /* Extra space for iPad header */
    }
    
    /* Pie chart adjustments for iPad */
    .simple-pie-chart {
        width: 200px;
        height: 200px;
    }
    
    .simple-pie-chart::before {
        width: 80px;
        height: 80px;
    }
    
    .center-amount {
        font-size: 1.8rem;
    }
    
    .center-label {
        font-size: 0.9rem;
    }
    
    .pie-legend {
        margin-top: 1.5rem;
    }
    
    .legend-item {
        font-size: 0.9rem;
    }
    
    /* Ensure proper section spacing */
    .section {
        margin: 2rem 0;
    }
    
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
    
    /* Benefits section adjustments */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-card {
        padding: 2rem;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    body {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    input, textarea, select {
        -webkit-user-select: text;
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .nav-tab {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .provider-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mission-card,
    .vision-item,
    .value-item {
        min-height: 44px;
    }
    
    /* iPhone-specific positioning for top care types to prevent overlap */
    .provider-card[data-provider="cardiology"] {
        top: 8%;
        left: 15%;
    }
    
    .provider-card[data-provider="otolaryngology"] {
        top: 8%;
        right: 15%;
    }
    
    .provider-card[data-provider="primary"] {
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* iPhone-specific positioning for full circle (300px circle) */
    .provider-card[data-provider="primary"] {
        top: calc(50% - 150px);
    }
    
    .provider-card[data-provider="dental"] {
        top: calc(50% - 121px);
        left: calc(50% + 88px);
    }
    
    .provider-card[data-provider="dermatology"] {
        top: calc(50% - 44px);
        left: calc(50% + 144px);
    }
    
    .provider-card[data-provider="ophthalmology"] {
        top: calc(50% + 44px);
        left: calc(50% + 144px);
    }
    
    .provider-card[data-provider="cardiology"] {
        top: calc(50% + 121px);
        left: calc(50% + 88px);
    }
    
    .provider-card[data-provider="physical-therapy"] {
        top: calc(50% + 150px);
    }
    
    .provider-card[data-provider="otolaryngology"] {
        top: calc(50% + 121px);
        left: calc(50% - 88px);
    }
    
    .provider-card[data-provider="lab"] {
        top: calc(50% + 44px);
        left: calc(50% - 144px);
    }
    
    .provider-card[data-provider="mental"] {
        top: calc(50% - 44px);
        left: calc(50% - 144px);
    }
    
    .provider-card[data-provider="medications"] {
        top: calc(50% - 121px);
        left: calc(50% - 88px);
    }
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
        font-size: 16px;
    }
}

/* EULA Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.eula-content h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.eula-content h4 {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.25rem;
}

.eula-content h4.disclaimer-section {
    background-color: #fef3c7;
    padding: 0.5rem;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
    font-weight: bold;
}

.eula-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #374151;
}

.eula-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style-type: disc;
    list-style-position: outside;
}

.eula-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #374151;
    padding-left: 0.5rem;
    display: list-item;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    flex-shrink: 0;
}

/* EULA Page Styles */
.eula-page {
    padding: 6rem 0 4rem 0;
    background: white;
    min-height: 100vh;
}

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

.eula-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
}

.eula-intro {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.eula-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.eula-important {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #92400e;
}

.eula-content h2 {
    color: #1e40af;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.eula-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #374151;
}

.eula-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.eula-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #374151;
}

.contact-info {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info p {
    margin: 0;
    font-weight: 500;
}

.eula-acceptance {
    background: #dbeafe;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
    color: #1e40af;
    text-align: center;
}

.eula-actions {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.eula-actions .btn-primary,
.eula-actions .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.eula-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
}

.eula-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.eula-actions .btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.eula-actions .btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 3% auto;
        max-height: 94vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
        flex-shrink: 0;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        flex: 1;
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-shrink: 0;
    }
}

/* Disabled button styles */
.btn-primary:disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled:hover {
    background: #94a3b8 !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-primary:disabled i {
    opacity: 0.5;
}

/* Enhanced checkbox styling for EULA */
.checkbox-label {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #2563eb;
    background-color: #f8fafc;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark + span {
    color: #2563eb;
    font-weight: 600;
}

/* Success Message Modal */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    -webkit-transform: scale(0.8) translateY(20px);
    -moz-transform: scale(0.8) translateY(20px);
    -ms-transform: scale(0.8) translateY(20px);
    transform: scale(0.8) translateY(20px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-message.show .success-content {
    -webkit-transform: scale(1) translateY(0);
    -moz-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.success-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8, #1e40af);
}

.success-content i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    -webkit-animation: successPulse 2s ease-in-out infinite;
    -moz-animation: successPulse 2s ease-in-out infinite;
    animation: successPulse 2s ease-in-out infinite;
}

.success-content h3 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.success-content p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.success-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.success-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.success-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.success-note {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

@-webkit-keyframes successPulse {
    0%, 100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@-moz-keyframes successPulse {
    0%, 100% {
        -moz-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        -moz-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes successPulse {
    0%, 100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    50% {
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Success message responsive */
@media (max-width: 768px) {
    .success-content {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }
    
    .success-content i {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }
    
    .success-content h3 {
        font-size: 1.3rem;
    }
    
    .success-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .success-content {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }
    
    .success-content i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .success-content h3 {
        font-size: 1.2rem;
    }
    
    .success-content p {
        font-size: 0.9rem;
    }
}
