/* ===== Hero ===== */
.hero-section {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse 80% 60% at 20% 40%,
            rgba(16, 185, 129, 0.18) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 60% 50% at 80% 30%,
            rgba(20, 184, 166, 0.15) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 50% 50% at 50% 90%,
            rgba(234, 179, 8, 0.1) 0%,
            transparent 60%
        ),
        linear-gradient(
            160deg,
            #064e3b 0%,
            #065f46 30%,
            #047857 60%,
            #0f766e 100%
        );
    z-index: 0;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}
.orb-1 {
    width: 340px;
    height: 340px;
    top: -80px;
    left: -100px;
    background: radial-gradient(
        circle,
        rgba(52, 211, 153, 0.12),
        transparent 70%
    );
    animation: orbFloat 18s ease-in-out infinite;
}
.orb-2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    right: -60px;
    background: radial-gradient(
        circle,
        rgba(45, 212, 191, 0.14),
        transparent 70%
    );
    animation: orbFloat 22s ease-in-out infinite reverse;
}
.orb-3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 55%;
    background: radial-gradient(
        circle,
        rgba(253, 224, 71, 0.08),
        transparent 70%
    );
    animation: orbFloat 15s ease-in-out infinite 3s;
}
.orb-4 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 20%;
    background: radial-gradient(
        circle,
        rgba(167, 243, 208, 0.1),
        transparent 70%
    );
    animation: orbFloat 20s ease-in-out infinite 5s;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        black 30%,
        transparent 100%
    );
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        black 30%,
        transparent 100%
    );
}

/* ===== Animations ===== */
.hero-title {
    animation: heroFadeDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-sub {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.hero-actions {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero-badge {
    animation: heroFadeDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===== Feature Cards ===== */
.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.2),
        transparent 50%,
        rgba(20, 184, 166, 0.15)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px -12px rgba(16, 185, 129, 0.15),
        0 8px 16px -8px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
}
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #d1fae5, #ccfbf1);
    color: #059669;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}
.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

/* ===== Stat Cards ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
}
.stat-icon-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.stat-card:hover .stat-icon-ring {
    transform: scale(1.1);
}
.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #064e3b, #0f766e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CTA Cards ===== */
.cta-card {
    position: relative;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08),
        transparent 60%
    );
    pointer-events: none;
}
.cta-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.2);
}
.cta-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-card:hover .cta-icon-wrap {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}
.cta-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
}
.cta-card:hover .cta-arrow {
    opacity: 1;
    gap: 0.75rem;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #f3f4f6;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #10b981, #14b8a6);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}
.testimonial-card:hover::after {
    opacity: 1;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #f3f4f6;
    transition: border-color 0.3s ease;
}
.testimonial-card:hover .testimonial-avatar {
    border-color: #d1fae5;
}
.star {
    font-size: 0.75rem;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: linear-gradient(135deg, #facc15, #fbbf24);
    color: #064e3b;
    box-shadow:
        0 4px 14px rgba(250, 204, 21, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(250, 204, 21, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #fde047, #facc15);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Section Headings ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===== Misc ===== */
.quote-mark {
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Georgia, serif;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
