/* ===================================
   CSS Reset and Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1E3A5F;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1E3A5F;
}

h1 {
    font-size: 1.875rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #5A6C7D;
    line-height: 1.7;
}

/* ===================================
   Layout Containers
   =================================== */

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

/* ===================================
   Header and Navigation
   =================================== */

.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

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

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

.nav-menu li a {
    color: #1E3A5F;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #2DBFB8;
    background-color: rgba(45, 191, 184, 0.1);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2DBFB8 0%, #1FA8A2 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(45, 191, 184, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1FA8A2 0%, #1A9590 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 191, 184, 0.35);
}

.btn-secondary {
    background-color: #F0F4F8;
    color: #1E3A5F;
    border: 2px solid #E1E8ED;
}

.btn-secondary:hover {
    background-color: #E1E8ED;
    border-color: #2DBFB8;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(180deg, #F7FAFB 0%, #FFFFFF 100%);
    padding: 2rem 1.25rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1E3A5F;
}

.hero-subtitle {
    font-size: 1rem;
    color: #5A6C7D;
    margin-bottom: 0;
}

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

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.hero-dashboard {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.25rem;
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ===================================
   How It Works Section
   =================================== */

.how-it-works {
    padding: 3rem 1.25rem;
    background-color: #FFFFFF;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F0F4F8;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(45, 191, 184, 0.15);
}

.step-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.step-icon img {
    width: 120px;
    height: auto;
}

.step-card h3 {
    color: #1E3A5F;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    color: #5A6C7D;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===================================
   Key Features Section
   =================================== */

.key-features {
    background: linear-gradient(135deg, #1E3A5F 0%, #2C4F6F 100%);
    padding: 3rem 1.25rem;
    color: #FFFFFF;
}

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

.features-content {
    text-align: center;
}

.features-content h2 {
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.features-visual {
    margin: 2rem auto;
    max-width: 600px;
}

.features-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

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

.features-cta h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.features-cta p {
    color: #B8D4E6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.features-cta .btn {
    margin-bottom: 2rem;
}

.features-cta .copyright {
    font-size: 0.8125rem;
    color: #7A9AB5;
    margin-top: 2rem;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background-color: #F7FAFB;
    padding: 2rem 1.25rem;
    border-top: 1px solid #E1E8ED;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 36px;
    height: 36px;
}

.social-links a:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}

.social-links img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* ===================================
   Page Header (for internal pages)
   =================================== */

.page-header {
    background: linear-gradient(180deg, #F7FAFB 0%, #FFFFFF 100%);
    padding: 3rem 1.25rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.0625rem;
    color: #5A6C7D;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Detailed Steps (How It Works page)
   =================================== */

.detailed-steps {
    padding: 3rem 1.25rem;
    background-color: #FFFFFF;
}

.detail-step {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #F0F4F8;
}

.detail-step:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2DBFB8;
    opacity: 0.2;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.detail-step-content h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.detail-step-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.detail-step-image {
    display: flex;
    justify-content: center;
}

.detail-step-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* ===================================
   Features Grid (Features page)
   =================================== */

.features-grid-section {
    padding: 3rem 1.25rem;
    background-color: #F7FAFB;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E1E8ED;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 191, 184, 0.12);
    border-color: #2DBFB8;
}

.feature-card h3 {
    color: #2DBFB8;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===================================
   Feature Highlight (Features page)
   =================================== */

.feature-highlight {
    padding: 3rem 1.25rem;
    background-color: #FFFFFF;
}

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

.highlight-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.highlight-content p {
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

.highlight-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: linear-gradient(135deg, #2DBFB8 0%, #1FA8A2 100%);
    padding: 3rem 1.25rem;
    text-align: center;
    color: #FFFFFF;
}

.cta-section h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #FFFFFF;
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: #FFFFFF;
    color: #2DBFB8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: #F7FAFB;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Testimonials (Testimonials page)
   =================================== */

.testimonials-section {
    padding: 3rem 1.25rem;
    background-color: #F7FAFB;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E1E8ED;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 191, 184, 0.12);
}

.testimonial-text {
    font-style: italic;
    color: #1E3A5F;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.testimonial-author h3 {
    font-size: 1rem;
    color: #2DBFB8;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: #7A9AB5;
}

/* ===================================
   Stats Section (Testimonials page)
   =================================== */

.stats-section {
    padding: 3rem 1.25rem;
    background-color: #FFFFFF;
    text-align: center;
}

.stats-section h2 {
    margin-bottom: 2.5rem;
}

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

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2DBFB8;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #5A6C7D;
}

/* ===================================
   Pricing (Pricing page)
   =================================== */

.pricing-section {
    padding: 3rem 1.25rem;
    background-color: #F7FAFB;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid #E1E8ED;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 191, 184, 0.15);
}

.pricing-card.featured {
    border: 3px solid #2DBFB8;
    box-shadow: 0 8px 24px rgba(45, 191, 184, 0.2);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2DBFB8 0%, #1FA8A2 100%);
    color: #FFFFFF;
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 191, 184, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #F0F4F8;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1E3A5F;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5A6C7D;
    margin-top: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2DBFB8;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #7A9AB5;
    margin-top: 1.75rem;
}

.pricing-description {
    font-size: 0.9375rem;
    color: #5A6C7D;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.875rem 0;
    border-bottom: 1px solid #F0F4F8;
    color: #1E3A5F;
    font-size: 0.9375rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    width: 100%;
}

/* ===================================
   FAQ Section (Pricing page)
   =================================== */

.faq-section {
    padding: 3rem 1.25rem;
    background-color: #FFFFFF;
}

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

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

.faq-item {
    padding: 1.75rem;
    background-color: #F7FAFB;
    border-radius: 12px;
    border: 1px solid #E1E8ED;
}

.faq-item h3 {
    color: #2DBFB8;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.faq-item p {
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ===================================
   Tablet Breakpoint (768px and up)
   =================================== */

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.25rem 2rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-icon img {
        width: 140px;
    }

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

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

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

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

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

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .social-links img {
        width: 40px;
        height: 40px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   Desktop Breakpoint (1024px and up)
   =================================== */

@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .logo img {
        height: 50px;
    }

    .hero {
        padding: 5rem 2rem 3rem;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-visual {
        flex: 1;
    }

    .hero-image {
        max-width: 600px;
    }

    .how-it-works,
    .key-features,
    .detailed-steps,
    .features-grid-section,
    .feature-highlight,
    .testimonials-section,
    .stats-section,
    .pricing-section,
    .faq-section,
    .cta-section {
        padding: 5rem 2rem;
    }

    .page-header {
        padding: 5rem 2rem;
    }

    .detail-step {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .detail-step.reverse {
        flex-direction: row-reverse;
    }

    .detail-step-content {
        flex: 1;
    }

    .detail-step-image {
        flex: 0 0 280px;
    }

    .detail-step-image img {
        max-width: 280px;
    }

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

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

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

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-icon img {
        width: 160px;
    }
}

/* ===================================
   Accessibility Improvements
   =================================== */

a:focus,
button:focus,
.btn:focus {
    outline: 3px solid #2DBFB8;
    outline-offset: 3px;
}

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

/* ===================================
   Print Styles
   =================================== */

@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

