/* ===========================
   HERO SECTION
   =========================== */

   .hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    height: 100vh;
    height: 100dvh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.75) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-stats {
    max-width: 500px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carousel transitions */
.carousel-item {
    transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1.5s;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ===========================
   FEATURE CARDS
   =========================== */

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===========================
   HOW IT WORKS
   =========================== */

.steps-image {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.step-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    min-width: 45px;
    line-height: 1;
    padding-top: 4px;
}

.step-content h5 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.5rem;
}

/* ===========================
   SHOWCASE CARDS
   =========================== */

.showcase-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    height: 100%;
}

.showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.showcase-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.showcase-body {
    padding: 1.5rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.showcase-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

/* ===========================
   PRICING CARDS
   =========================== */

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-top: 0.5rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.pricing-amount .amount {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--gray);
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Billing cycle toggle */
.billing-toggle {
    display: inline-flex;
    background: white;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.billing-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.55rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.billing-toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.billing-toggle-btn:hover:not(.active) {
    color: var(--primary);
}

.billing-option {
    display: none;
}

.billing-option.active {
    display: block;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
}

/* ===========================
   PAGE HEADER (Sub-pages)
   =========================== */

.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.7) 100%
    );
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ===========================
   ABOUT STORY (wireframe: image top-left; text beside then full width under)
   =========================== */

.about-story {
    display: flow-root;
}

.about-story-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 1.5rem 0;
}

@media (min-width: 992px) {
    .about-story-img {
        float: left;
        width: min(100%, 580px);
        max-width: 54%;
        margin: 0 2.25rem 1rem 0;
        -webkit-shape-outside: margin-box;
        shape-outside: margin-box;
    }
}

/* ===========================
   CONTACT
   =========================== */

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* ===========================
   VALUE ICONS (About page)
   =========================== */

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto;
    transition: all 0.4s ease;
}

.value-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 991px) {
    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        min-height: 600px;
    }

    .hero-slide {
        min-height: 600px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .floating-card {
        display: none;
    }

    .pricing-card {
        padding: 2rem 1.25rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .pricing-amount .amount {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }

    .cta-section {
        padding: 5rem 0;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .billing-toggle {
        flex-wrap: wrap;
        border-radius: 16px;
        justify-content: center;
    }

    .billing-toggle-btn {
        padding: 0.45rem 1rem;
        font-size: 0.82rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .showcase-image {
        height: 180px;
    }

    .showcase-body {
        padding: 1rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .steps-image img {
        border-radius: 12px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-amount .amount {
        font-size: 2rem;
    }

    .billing-toggle-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.78rem;
    }
}