/* ==========================================================================
   IMPORTS & GLOBAL STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    background: linear-gradient(to top right, #A42AC3 0%, #001C5D 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
    background: #CB00FF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .highlight::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #29C1D2;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.phone-mockup {
    position: relative;
    right: -308px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    background: transparent !important;
    padding: 1.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white !important;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon img {
    width: 100px;
    height: 100px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn {
    color: white;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-btn img {
    width: 178px;
    height: 62px;
}

/* .get-started-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    margin-bottom: 3rem;
}

.get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    color: white;
} */

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    pointer-events: none;
}

.features-grid {
    margin-top: 3rem;
}

.feature-card {
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .feature-card:hover { */
/* transform: translateY(-8px); */
/* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb; */
/* padding: 1.5rem 2rem; */
/* } */

/* .feature-card:hover::before {
    opacity: 1;
} */

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    background: #F2EAFE;
}

.feature-icon.discover img {
    width: 28px;
    height: 27.45px;
}

.feature-icon.purpose img {
    width: 26px;
    height: 28px;
}

.feature-icon.connections img {
    width: 28px;
    height: 28px;
}

.feature-icon.rewards img {
    width: 28px;
    height: 20.20px;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #2F3F53;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-description {
    font-size: 1rem;
    color: #2F3F53;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   GETTING STARTED SECTION
   ========================================================================== */

.getting-started-section {
    background: #F6F6F6;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.steps-container {
    position: relative;
    /* min-height: 600px; */
    margin-top: 2rem;
}

/* .curved-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.path-line {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 3;
    stroke-dasharray: 8, 5;
    opacity: 0.8;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-in-out 0.5s forwards;
} */

/* .step-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.step-item:nth-child(1) {
    animation-delay: 0.2s;
}

.step-item:nth-child(2) {
    animation-delay: 0.4s;
}

.step-item:nth-child(3) {
    animation-delay: 0.6s;
} */

/* .step-1 {
    bottom: 25%;
    left: 5%;
}

.step-2 {
    top: 20%;
    left: 46%;
    transform: translateX(-50%);
}

.step-3 {
    top: -25%;
    right: 0%;
} */

/* .step-dot {
    width: 48px;
    height: 48px;
    background: white;
    border: 3px solid white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -70px;
    left: 10%;
    transform: translateX(-50%);
}

.step-dot .dot {
    width: 12px;
    height: 12px;
    background-color: #bb29ff;
    border-radius: 50%;
    display: inline-block;
} */

/* .step-number {
    font-size: 150px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: -108px;
    left: 88%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
} */

.steps-container {
    padding: 40px 0 80px;
}

.step-item {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.step-item:nth-child(1) {
    animation-delay: 0.6s;
}

.step-item:nth-child(2) {
    animation-delay: 0.7s;
}

.step-item:nth-child(3) {
    animation-delay: 0.8s;
}

.step-item:nth-child(4) {
    animation-delay: 0.9s;
}

.step-item:nth-child(5) {
    animation-delay: 1s;
}

.step-number {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.step-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 60px;
}

.arrow {
    width: 100px;
    height: 60px;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.arrow:nth-of-type(1) {
    animation-delay: 0.85s;
}

.arrow:nth-of-type(2) {
    animation-delay: 1.05s;
}

.arrow svg {
    width: 100%;
    height: 100%;
}

.arrow path {
    fill: none;
    stroke: #d946ef;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* stroke-dasharray: 150;
    stroke-dashoffset: 150; */
    animation: drawPath 1s ease forwards;
}

.arrow:nth-of-type(1) path {
    animation-delay: 0.85s;
}

.arrow:nth-of-type(2) path {
    animation-delay: 1.05s;
}

.step-item {
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
}

/* ==========================================================================
   SECTION TYPOGRAPHY
   ========================================================================== */

.section-tagline {
    color: #2F3F53;
    font-size: 1rem;
    font-weight: 500;
    text-align: start;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: start;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title .highlight {
    background: #CB00FF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .dark {
    color: #2F3F53;
}

.section-description {
    font-size: 1.125rem;
    color: #2F3F53;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
    position: relative;
    padding-left: 2rem;
    text-align: left;
    margin-left: 0;
}

.section-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #CB00FF;
    border-radius: 2px;
}

.getting-started-section .section-description::before {
    display: none;
}

.getting-started-section .section-description {
    padding-left: 0;
}

.getting-started-section .section-title {
    text-align: center;
}

.getting-started-section .section-tagline {
    text-align: center;
}

.getting-started-section .section-description {
    text-align: center;
    max-width: 100%;
}

/* ==========================================================================
    TESTIMONIALS SECTION
    ========================================================================== */

.testimonials-section {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section .section-tagline {
    text-align: center;
}

.testimonials-section .section-title {
    text-align: center;
}

/* Carousel Container */
.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 500px;
    /* overflow: hidden; */
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item.active {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.carousel-item-next,
.carousel-item.carousel-item-prev {
    transform: translateY(-100px);
    opacity: 0;
}

.carousel-item.carousel-item-next.carousel-item-start,
.carousel-item.carousel-item-prev.carousel-item-end {
    transform: translateY(0);
    opacity: 1;
}

.carousel-item.carousel-item-start.active,
.carousel-item.carousel-item-end.active {
    transform: translateY(100px);
    opacity: 0;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); */
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02) 0%, rgba(236, 72, 153, 0.02) 100%);
    pointer-events: none;
}

/* Avatar */
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Info */
.testimonial-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2F3F53;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Quote */
.testimonial-quote {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: #CB00FF;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: Georgia, serif;
    opacity: 0.3;
}

/* Custom Navigation */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #191E6D;
    border: 2px solid #191E6D;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #191E6D;
    border-color: #191E6D;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(47, 63, 83, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-color: #191E6D;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #191E6D;
}

/* Custom Indicators */
.carousel-indicators {
    /* bottom: -60px; */
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background-color: transparent;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: #CB00FF;
    border-color: #CB00FF;
    transform: scale(1.2);
}

.testimonial-card {
    animation: fadeInScale 0.8s ease forwards;
}

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


.bottom-section {
    background-image: url('../images/bottom-image.png');
    background-size: cover;
    /* or "contain", see below */
    background-position: center;
    /* center the image */
    background-repeat: no-repeat;
    /* prevent tiling */

    color: #fff;
    text-align: center;
    padding: 160px 20px;
    position: relative;
    overflow: hidden;
}


/* .bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
} */

.bottom-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.bottom-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.highlight {
    color: #d45fff;
}

.bottom-subtext {
    margin-top: 20px;
    color: #ccc;
    font-size: 1rem;
    max-width: 650px;
}

.app-buttons {
    margin-top: 30px;
}

.app-buttons img {
    max-width: 160px;
    margin: 10px;
}

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 24px 0;
    margin-top: auto;
    /* border-top: 3px solid #d946ef; */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 14px;
    color: #e5e7eb;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

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

.footer-links .separator {
    color: #6b7280;
    margin: 0 4px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large screens */
@media (max-width: 1200px) {
    .section-title {
        font-size: 3rem;
    }

    /* .step-2 {
        left: 45%;
    } */

    .carousel-control-prev {
        left: -60px;
    }

    .carousel-control-next {
        right: -60px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .steps-container {
        min-height: 500px;
    }

    /* .step-1 {
        bottom: 10%;
        left: 2%;
    }

    .step-3 {
        top: 15%;
        right: 2%;
    } */

    .step-number {
        font-size: 90px;
    }

    .arrow-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .arrow {
        transform: rotate(90deg);
        width: 60px;
        height: 80px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .testimonial-carousel {
        height: auto;
        min-height: 400px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {

    .tagline {
        text-align: center;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-description {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    .download-buttons {
        flex-direction: row;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .phone-mockup {
        margin-top: 2rem;
        right: -40px;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    /* Features Section */
    .features-section {
        padding: 3rem 0;
    }

    .section-tagline {
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        text-align: center;
        padding-left: 0;
        text-align: center;
        max-width: 100%;
    }

    .section-description::before {
        display: none;
    }

    .feature-card {
        padding: 1rem;
        /* margin-bottom: 1.5rem; */
    }

    .features-grid {
        margin-top: 1.5rem;
    }

    /* Getting Started Section */
    .getting-started-section {
        padding: 3rem 0;
    }

    .step-number {
        font-size: 80px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }

    /* .steps-container {
        min-height: auto;
        position: static;
        margin-top: 3rem;
    } */

    /* .curved-path {
        display: none;
    } */

    /* .step-item {
        position: static;
        max-width: 100%;
        margin-bottom: 2.5rem;
        display: flex;
        align-items: flex-start;
        margin-top: 2.5rem;
    } */

    /* .get-started-btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
    } */

    /* .step-dot {
        margin-top: 0.9rem;
    } */

    /* .step-number {
        font-size: 105px;
        top: -62px;
    } */

    .testimonial-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-name {
        font-size: 1.25rem;
    }

    .footer {
        padding: 20px 0;
    }

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

    .copyright-text {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links .separator {
        display: none;
    }

    .footer-links a {
        font-size: 13px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* .get-started-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    } */

    /* .step-title {
        font-size: 1.25rem;
    } */

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }

    .carousel-indicators {
        bottom: -60px;
    }

    /* .step-item {
        padding: 10px 24px;
    } */

    .step-number {
        font-size: 60px;
    }

    .footer {
        padding: 16px 0;
    }

    .copyright-text {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }
}