/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.min-h-screen {
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #84cc16 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.pattern-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 80px;
    left: 40px;
    width: 80px;
    height: 80px;
    animation-delay: 0.1s;
}

.floating-2 {
    top: 160px;
    right: 80px;
    width: 64px;
    height: 64px;
    animation-delay: 0.3s;
}

.floating-3 {
    bottom: 160px;
    left: 80px;
    width: 48px;
    height: 48px;
    animation-delay: 0.5s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-inner {
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease-out;
}

.logo-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #16a34a;
    color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.badge-light {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title-highlight {
    color: #fde047;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #15803d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: pulseGlow 2s infinite;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Timeline Section - Grid Layout */
.timeline-section {
    padding: 5rem 1rem;
    background: #0f172a;
    overflow: hidden;
}

.timeline-container {
    max-width: 96rem;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.timeline-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 32rem;
    margin: 0 auto;
}

.timeline-wrapper {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #475569;
    transform: translateY(-50%);
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(to right, #3b82f6, #10b981, #eab308, #06b6d4, #84cc16, #f97316);
    width: 0;
    transition: width 3s ease-out;
}

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

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-top {
    margin-bottom: 5rem;
}

.timeline-bottom {
    margin-top: 5rem;
}

.timeline-icon {
    position: relative;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-icon.visible {
    opacity: 1;
    transform: scale(1);
}

.timeline-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.timeline-dot {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-top .timeline-dot {
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%) scale(0);
}

.timeline-bottom .timeline-dot {
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%) scale(0);
}

.timeline-dot.visible {
    opacity: 1;
}

.timeline-top .timeline-dot.visible {
    transform: translateX(-50%) scale(1);
}

.timeline-bottom .timeline-dot.visible {
    transform: translateX(-50%) scale(1);
}

.timeline-text {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.timeline-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-text h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    margin: 0;
}

.timeline-top .timeline-text {
    margin-top: 1.5rem;
}

.timeline-bottom .timeline-text {
    margin-bottom: 2.5rem;
}

/* Color classes */
.bg-blue {
    background: #3b82f6;
}

.bg-green {
    background: #10b981;
}

.bg-yellow {
    background: #eab308;
}

.bg-cyan {
    background: #06b6d4;
}

.bg-lime {
    background: #84cc16;
}

.bg-orange {
    background: #f97316;
}

/* Features Section */
.features-section {
    padding: 5rem 1rem;
}

.features-container {
    max-width: 96rem;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.features-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.6s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

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

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #15803d 0%, #84cc16 100%);
}

.stats-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.stats-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
}

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

.stat-item {
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 1rem;
}

.testimonials-container {
    max-width: 96rem;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.6s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1.25rem;
    height: 1.25rem;
    color: #fbbf24;
}

.testimonial-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
}

.author-location {
    font-size: 0.875rem;
    color: #6b7280;
}

/* CTA Section - Using solid dark background instead of gradient to ensure contrast */
.cta-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #84cc16 100%);
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

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

.cta-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

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

.footer-container {
    max-width: 96rem;
    margin: 0 auto;
}

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

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.footer-links li:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-30px);
    }

    70% {
        transform: translateY(-15px);
    }

    90% {
        transform: translateY(-4px);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

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

    .hero-title {
        font-size: 3.75rem;
    }

    .timeline-title {
        font-size: 2.5rem;
    }

    .features-title {
        font-size: 2.5rem;
    }

    .stats-title {
        font-size: 2.5rem;
    }

    .testimonials-title {
        font-size: 2.5rem;
    }

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

@media (min-width: 640px) {
    .timeline-title {
        font-size: 2.5rem;
    }

    .timeline-text h3 {
        font-size: 1rem;
    }

    .timeline-icon {
        width: 6rem;
        height: 6rem;
    }

    .timeline-icon svg {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .timeline-top {
        margin-bottom: 3rem;
    }

    .timeline-bottom {
        margin-top: 3rem;
    }

    .timeline-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.5rem;
        border-width: 2px;
    }

    .timeline-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .timeline-dot {
        width: 0.75rem;
        height: 0.75rem;
        border-width: 1px;
    }

    .timeline-top .timeline-dot {
        bottom: -1.5rem;
    }

    .timeline-bottom .timeline-dot {
        top: -1.5rem;
    }

    .timeline-top .timeline-text {
        margin-top: 1rem;
    }

    .timeline-bottom .timeline-text {
        margin-bottom: 1.5rem;
    }

    .timeline-text h3 {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

@media (max-width: 640px) {
    .footer-brand {
        grid-column: span 1;
    }
}