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

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #111827;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.subhead {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
    min-width: 44px;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
}

.btn-full {
    width: 100%;
}

.btn.loading {
    opacity: 0.7;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Trust Row */
.trust-row {
    text-align: center;
    color: #6b7280;
}

.next-steps {
    margin-top: 0.5rem;
    margin-bottom: 0;
    color: #059669;
    font-weight: 500;
}

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

/* Why This Works Section */
.why-works {
    padding: 4rem 0;
    background-color: #ffffff;
}

.why-works h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

.feature h3 {
    margin-bottom: 1rem;
}

.feature p {
    color: #6b7280;
}

/* Packages Section */
.packages {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.packages h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.package-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    position: relative;
    text-align: center;
}

.package-card.recommended {
    border-color: #2563eb;
    transform: scale(1.05);
}

.badge--recommended {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.package-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.mentor-profile {
    max-width: 800px;
    margin: 0 auto;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 4px solid #2563eb;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.about p {
    font-size: 1.125rem;
    margin: 0 auto;
    color: #4b5563;
}

/* Guarantee Section */
.guarantee {
    padding: 4rem 0;
    background-color: #fef3c7;
    text-align: center;
}

.guarantee h2 {
    color: #92400e;
    margin-bottom: 1.5rem;
}

.guarantee p {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #78350f;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: #ffffff;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
}

.faq-item h3 {
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #4b5563;
    margin-bottom: 0;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: #1f2937;
    color: #9ca3af;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-note {
    text-align: center;
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subhead {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

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

    .package-card.recommended {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

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

    h1 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .price {
        font-size: 2rem;
    }
}

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

/* Focus States for Accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        border: 2px solid #000000;
    }
}
