/* Bonmipang Style Sheet */

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.brand-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B4A;
}

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

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

.nav-link:hover {
    color: #FF6B4A;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-button {
    background: #FF6B4A;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.nav-button:hover {
    background: #e55a42;
}

/* Enhanced Button System */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 0.25rem;
    min-height: 44px;
    min-width: 120px;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.btn-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
}

.btn-large {
    padding: 1rem 2rem;
    border-radius: 30px;
    min-width: 180px;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    border-radius: 35px;
    min-width: 220px;
    font-size: 1.1rem;
}

/* Primary Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8570 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a42 0%, #FF6B4A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.3);
}

/* Secondary Button Styles */
.btn-secondary {
    background: transparent;
    color: #FF6B4A;
    border: 2px solid #FF6B4A;
    box-shadow: 0 2px 10px rgba(255, 107, 74, 0.1);
}

.btn-secondary:hover {
    background: #FF6B4A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.3);
}

/* CTA Section Enhanced Styles */
.cta {
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8570 50%, #FFD93D 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::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 1200 120" preserveAspectRatio="none"><path d="M1200,0H0V120L1200,0Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat top;
    background-size: 100% 120px;
}

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

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 1.2rem;
}

.benefit-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.cta-actions {
    margin-bottom: 1rem;
}

.cta .btn-primary {
    background: white;
    color: #FF6B4A;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
    background: #f8f8f8;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.login-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.login-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF8DC 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-icon {
    font-size: 3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Value Proposition Section */
.value-proposition {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--neutral-gray-50) 0%, var(--neutral-white) 50%, var(--primary-orange-pale) 100%);
    position: relative;
    overflow: hidden;
}

.value-proposition::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="rgba(255,107,74,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.value-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.value-title {
    font-size: var(--font-size-h1);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.value-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-16);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.value-card {
    background: var(--neutral-white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-yellow));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-orange);
}

.value-card:hover::before {
    opacity: 0.03;
}

.value-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-orange);
    position: relative;
    z-index: 1;
}

.value-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.value-stats {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.stats-text {
    font-size: 1rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.value-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-8);
    background: var(--neutral-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-gray-200);
}

.metric-item {
    text-align: center;
    padding: var(--space-4);
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1.2;
    margin-bottom: var(--space-2);
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Preview */
.features-preview {
    padding: var(--space-20) 0;
    background: var(--neutral-white);
}

/* Social Proof Section */
.social-proof {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--neutral-gray-50) 0%, var(--accent-blue-light) 100%);
    position: relative;
}

.social-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-title {
    font-size: var(--font-size-h1);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.social-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-16);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.testimonial-card {
    background: var(--neutral-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--primary-orange), var(--secondary-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-content {
    margin-bottom: var(--space-6);
}

.quote-icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-orange);
    position: absolute;
    top: -10px;
    left: -20px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-gray-100);
    border-radius: var(--radius-full);
    border: 2px solid var(--neutral-gray-200);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

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

.testimonial-rating {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid var(--neutral-gray-200);
}

.stars {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    background: var(--neutral-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-gray-200);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: var(--neutral-gray-50);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 2.5rem;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-content {
    text-align: left;
}

.trust-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    font-size: 1rem;
}

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

/* FAQ Section */
.faq {
    padding: var(--space-20) 0;
    background: var(--neutral-white);
}

.faq-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-size: var(--font-size-h1);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-weight: 800;
}

.faq-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-16);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    text-align: left;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--neutral-white);
    border: 1px solid var(--neutral-gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-orange);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    cursor: pointer;
    background: var(--neutral-gray-50);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--neutral-gray-200);
}

.faq-question:hover {
    background: var(--primary-orange-pale);
}

.faq-question.active {
    background: var(--primary-orange);
    color: var(--text-inverse);
}

.faq-q-text {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--neutral-white);
}

.faq-answer.active {
    max-height: 200px;
    padding: var(--space-6);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: var(--neutral-white);
    border: 1px solid var(--neutral-gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-yellow), var(--accent-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-6);
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1.1) translateY(0);
    }
    40% {
        transform: scale(1.1) translateY(-10px);
    }
    60% {
        transform: scale(1.1) translateY(-5px);
    }
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    background: #FF6B4A;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: white;
    color: #FF6B4A;
}

.cta .btn-primary:hover {
    background: #f0f0f0;
}

/* Story Page Styles */
.story-hero {
    background: linear-gradient(135deg, #FFE4E1 0%, #FFF8DC 100%);
    padding: 3rem 0;
    text-align: center;
}

.story-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.story-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.story-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 3rem;
}

.story-section h2 {
    font-size: 1.8rem;
    color: #FF6B4A;
    margin-bottom: 1rem;
    border-bottom: 2px solid #FF6B4A;
    padding-bottom: 0.5rem;
}

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

/* Values Section */
.values {
    background: #f8f9fa;
    padding: 4rem 0;
}

.values h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

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

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

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

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

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: #999;
}

/* CSS Custom Properties for Responsive Design */
:root {
    /* Dynamic Viewport Height (for mobile browser address bar issue) */
    --vh: 1vh;

    /* Responsive Breakpoints */
    --mobile-s: 320px;
    --mobile-m: 375px;
    --mobile-l: 425px;
    --tablet: 768px;
    --laptop: 1024px;
    --laptop-l: 1440px;
    --desktop: 2560px;

    /* Enhanced Color System */
    --primary-orange: #FF6B4A;
    --primary-orange-dark: #E55A42;
    --primary-orange-light: #FF8570;
    --primary-orange-pale: #FFE4E1;

    --secondary-yellow: #FFD93D;
    --secondary-yellow-dark: #FFC107;
    --secondary-yellow-light: #FFF8DC;

    --accent-blue: #4A90E2;
    --accent-blue-dark: #357ABD;
    --accent-blue-light: #E3F2FD;

    --accent-purple: #8B5CF6;
    --accent-green: #10B981;
    --accent-pink: #F472B6;

    --neutral-white: #FFFFFF;
    --neutral-gray-50: #F9FAFB;
    --neutral-gray-100: #F3F4F6;
    --neutral-gray-200: #E5E7EB;
    --neutral-gray-300: #D1D5DB;
    --neutral-gray-400: #9CA3AF;
    --neutral-gray-500: #6B7280;
    --neutral-gray-600: #4B5563;
    --neutral-gray-700: #374151;
    --neutral-gray-800: #1F2937;
    --neutral-gray-900: #111827;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --text-inverse: #FFFFFF;

    --success-green: #10B981;
    --success-green-light: #D1FAE5;
    --warning-yellow: #F59E0B;
    --warning-yellow-light: #FEF3C7;
    --error-red: #EF4444;
    --error-red-light: #FEE2E2;
    --info-blue: #3B82F6;
    --info-blue-light: #DBEAFE;

    /* Enhanced Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-orange: 0 10px 25px -5px rgba(255, 107, 74, 0.3);
    --shadow-orange-lg: 0 20px 40px -10px rgba(255, 107, 74, 0.4);

    /* Border Radius */
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing System */
    --space-px: 1px;
    --space-0-5: 0.125rem;
    --space-1: 0.25rem;
    --space-1-5: 0.375rem;
    --space-2: 0.5rem;
    --space-2-5: 0.625rem;
    --space-3: 0.75rem;
    --space-3-5: 0.875rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Dynamic Typography */
    --font-size-hero: clamp(2rem, 5vw, 4rem);
    --font-size-h1: clamp(1.8rem, 4vw, 2.5rem);
    --font-size-h2: clamp(1.5rem, 3vw, 2rem);
    --font-size-body: clamp(1rem, 2vw, 1.125rem);
    --font-size-small: clamp(0.875rem, 1.5vw, 1rem);
}

/* Enhanced Typography */
.hero-title {
    font-size: var(--font-size-hero);
}

.section-title {
    font-size: var(--font-size-h1);
}

.hero-description,
.story-text p {
    font-size: var(--font-size-body);
}

/* Enhanced Container */
.container {
    padding: 0 clamp(1rem, 4vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix container overflow on very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-container {
        padding: 0 0.75rem;
    }

    .nav-container {
        padding: 0.5rem 0.75rem;
    }
}

/* Improved Button Touch Targets */
.btn {
    min-height: 48px;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
}

.nav-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 52px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .nav-link {
        min-height: 48px;
        padding: 0.75rem 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-button {
        min-height: 52px;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .faq-question {
        min-height: 56px;
        padding: 1rem;
    }

    .trust-item {
        min-height: 64px;
        padding: 1rem;
    }

    .benefit-item {
        min-height: 48px;
        padding: 0.75rem 1.25rem;
    }
}

/* Mobile Navigation Improvements */
.nav-menu {
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
}

/* Responsive Design */

/* Small Mobile (320px and up) */
@media (max-width: 425px) {
    .nav-container {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        justify-content: center;
        gap: 1rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-auth {
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-button {
        min-width: 100px;
        padding: 0.75rem 1.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
        font-size: clamp(2rem, 8vw, 3rem);
        text-align: center;
    }

    .hero-icon {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .hero-description {
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.6;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        min-height: 48px;
        font-size: 1rem;
    }

    .btn-large {
        min-height: 52px;
        font-size: 1.1rem;
    }

    .btn-xl {
        min-height: 56px;
        font-size: 1.2rem;
    }

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

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

    .value-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

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

    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .value-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    /* Fix for CTA section on mobile */
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .benefit-item {
        justify-content: center;
        min-width: 200px;
    }
}

/* Mobile Landscape (426px - 768px) */
@media (min-width: 426px) and (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
        flex-direction: row;
        align-items: center;
    }

    .nav-menu {
        flex-direction: row;
        gap: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        font-size: clamp(2.5rem, 6vw, 3rem);
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .btn {
        min-width: 180px;
        max-width: 250px;
    }

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

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

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

    .story-title {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .value-metrics {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .cta-benefits {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 1rem 2rem;
    }

    .hero-container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3rem);
    }

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

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

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

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .btn {
        min-width: 160px;
    }

    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
    }

    .value-metrics {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-benefits {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* Laptop and Desktop (1025px and up) */
@media (min-width: 1025px) {
    .nav-menu {
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

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

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

    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-title {
        font-size: clamp(3rem, 4vw, 3.5rem);
    }

    /* Hover states for non-touch devices */
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(255, 107, 74, 0.3);
    }

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

    .testimonial-card:hover {
        transform: translateY(-6px);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .brand-icon,
    .hero-icon,
    .feature-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-container {
        max-width: 1000px;
    }

    .features-grid {
        gap: 3rem;
    }

    .value-grid {
        gap: 3rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --card-bg: #2d2d2d;
    }

    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }

    .navbar {
        background: var(--card-bg);
        border-bottom: 1px solid #444;
    }

    .feature-card {
        background: var(--card-bg);
        border: 1px solid #444;
    }
}

/* Scroll Animation System */
.feature-card,
.value-card,
.testimonial-card,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animate-in,
.value-card.animate-in,
.testimonial-card.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }

.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }

/* Counter Animation */
.metric-number,
.stats-number {
    transition: all 0.6s ease;
}

/* Loading Animation for Hero */
.hero-title {
    animation: slideInDown 0.8s ease-out;
}

.hero-subtitle {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

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

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

/* Floating Animation for Value Icons */
.value-icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

.value-icon-wrapper:nth-child(odd) {
    animation-delay: 0.5s;
}

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

/* Pulse Animation for Trust Icons */
.trust-icon {
    animation: pulse 2s infinite;
}

.trust-item:nth-child(2) .trust-icon { animation-delay: 0.5s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: 1s; }
.trust-item:nth-child(4) .trust-icon { animation-delay: 1.5s; }

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

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .feature-card,
    .value-card,
    .testimonial-card,
    .faq-item {
        opacity: 1;
        transform: none;
    }
}

/* Focus management for keyboard users */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

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

    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        background: none;
        padding: 1rem 0;
    }

    .feature-card {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}