/* ================= BASE ================= */
body {
    margin: 0;
    font-family: var(--primary-font);
    background: #0b0f1a;
    color: #fff;
}

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

/* ================= HEADER ================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    background: rgba(11, 15, 26, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.header-left img {
    width: 45px;
    border-radius: 10px;
}

/* MIDDLE */
.header-middle ul {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.header-middle a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.header-middle a:hover {
    opacity: 1;
}

/* RIGHT */
.button {
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    background-color: #6366f1;
    color: #ffffff;
    border: 0px;
}

.button.primary {
    background: var(--accent-color);
    color: #fff;
}

.button.primary:hover {
    background: var(--accent-hover);
}

.header-right .button {
    border: 1px solid rgba(255,255,255,0.15);
}

/* ================= HERO ================= */
#hero {
    padding: 120px 0 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* LEFT */
.hero-content-left {
    flex: 1;
}

.top-text {
    border: 1px solid #6366f1;
    box-shadow: 0 0 4px #6366f1;
    border-radius: 50px;
    padding: 10px;
    width: fit-content;
    background-color: #191d3d;
}

.top-text p {
    margin: 0px;
    font-size: 14px;
    color: #6366f1;
}

.middle-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 16px 0;
}

.bottom-text p {
    color: var(--secundary-text-color);
    max-width: 500px;
}

/* CTA */
.hero-cta-buttons {
    margin-top: 30px;
}

/* STATUS PULSE */
.animated-pulse {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: var(--secundary-text-color);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse.success {
    background: var(--success-color);
}

.pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulseAnim 2s infinite;
    background: inherit;
    opacity: 0.6;
}

/* RIGHT */
.hero-content-right {
    flex: 1;
    display: flex;
    justify-content: right;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(99,102,241,0.4));
}

/* ================= ANIMATIONS ================= */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(2.5);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ================= USPs ================= */
#usps {
    padding: 120px 0;
}

.usps-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.usps-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.usps-header p {
    color: var(--secundary-text-color);
}

/* GRID */
.usps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD */
.usp-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--border-radius);

    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* subtle glow hover */
.usp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(99,102,241,0.15), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.usp-card:hover::before {
    opacity: 1;
}

.usp-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99,102,241,0.4);
}

/* ICON */
.usp-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.usp-icon i {
    color: var(--accent-color);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
}

/* TEXT */
.usp-card h3 {
    margin-bottom: 10px;
}

.usp-card p {
    color: var(--secundary-text-color);
    line-height: 1.6;
}

/* ================= USPS-2 ================= */
#usps-2 {
    padding: 100px 0;
}

.usps-2-wrapper {
    background: linear-gradient(
        135deg,
        rgba(99,102,241,0.08),
        rgba(79,70,229,0.03)
    );

    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

/* subtle glow blob */
.usps-2-wrapper::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.25), transparent 70%);
    top: -150px;
    right: -150px;
    opacity: 0.4;
    pointer-events: none;
}

/* HEADER */
.usps-2-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

.usps-2-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.usps-2-header p {
    color: var(--secundary-text-color);
}

/* GRID */
.usps-2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD */
.usp-2-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: var(--border-radius);

    transition: var(--transition);
    text-align: left;
}

/* hover effect */
.usp-2-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99,102,241,0.4);
    background: rgba(99,102,241,0.05);
}

/* ICON */
.usp-2-card .usp-icon {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* TEXT */
.usp-2-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.usp-2-card p {
    font-size: 14px;
    color: var(--secundary-text-color);
    line-height: 1.5;
}

/* ================= HOW IT WORKS ================= */
#how-it-works {
    padding: 120px 0;
}

/* HEADER */
.how-header {
    text-align: center;
    margin-bottom: 80px;
}

.how-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.how-header p {
    color: var(--secundary-text-color);
}

/* TIMELINE */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* LINE */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

/* ITEM */
.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
}

/* DOT */
.timeline-dot {
    width: 40px;
    height: 40px;
    background: #0b0f1a;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

/* CARD */
.timeline-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.4);
}

/* ICON */
.timeline-icon {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* TEXT */
.timeline-card h3 {
    margin-bottom: 10px;
}

.timeline-card p {
    color: var(--secundary-text-color);
    font-size: 14px;
    line-height: 1.5;
}

/* ================= CTA FINAL ================= */
#cta-final {
    padding: 120px 0;
}

.cta-final-wrapper {
    background: linear-gradient(
        135deg,
        rgba(99,102,241,0.15),
        rgba(79,70,229,0.05)
    );

    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 20px;
    padding: 60px 40px;

    text-align: center;
    position: relative;
    overflow: hidden;
}

/* glow effect */
.cta-final-wrapper::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* CONTENT */
.cta-final-content {
    position: relative;
    z-index: 2;
}

.cta-final-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-final-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--secundary-text-color);
}

/* BUTTONS */
.cta-final-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.button.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.button.secondary:hover {
    background: rgba(255,255,255,0.05);
}

/* TRUST TEXT */
.cta-final-trust {
    font-size: 14px;
    color: var(--secundary-text-color);
}

/* ================= FOOTER ================= */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #0b0f1a;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* TOP */
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

/* BRAND */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--secundary-text-color);
    font-size: 14px;
    line-height: 1.6;
}

/* LINKS */
.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    margin-bottom: 12px;
    font-size: 14px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    text-decoration: none;
    color: var(--secundary-text-color);
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--secundary-text-color);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 20px;
        width: 2px;
        height: 100%;
    }

    .timeline-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .timeline-dot {
        margin: 0;
    }

    .timeline-card {
        flex: 1;
    }

    .usps-2-grid {
        grid-template-columns: 1fr 1fr;
    }

    .usps-2-wrapper {
        padding: 40px 20px;
        margin: 10px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .middle-text h1 {
        font-size: 36px;
    }

    .header-middle {
        display: none;
    }

    .usps-grid {
        grid-template-columns: 1fr;
    }

    .usps-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .usps-2-grid {
        grid-template-columns: 1fr;
    }

    .cta-final-content h2 {
        font-size: 28px;
    }

    .cta-final-buttons {
        flex-direction: column;
    }
}

/* TABLET */
@media (max-width: 1024px) {
    #hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        gap: 40px;
    }

    .middle-text h1 {
        font-size: 40px;
    }

    .bottom-text p {
        max-width: 100%;
    }
}


/* MOBILE */
@media (max-width: 768px) {
    #usps {
        padding: 60px 0;
    }

    #usps-2 {
        padding: 50px 0;
    }

    #how-it-works {
        padding: 60px 0;
    }

    #hero {
        padding: 40px 0 25px;
    }

    #cta-final {
        padding: 40px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top-text {
        margin-bottom: 10px;
    }

    .middle-text h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .bottom-text p {
        font-size: 15px;
    }

    .hero-cta-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-cta-buttons .button {
        width: 100%;
        max-width: 280px;
    }

    .animated-pulse {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-content-right {
        justify-content: center;
    }

    .hero-image {
        max-width: 90%;
    }
}


/* SMALL MOBILE */
@media (max-width: 480px) {
    .middle-text h1 {
        font-size: 26px;
    }

    .top-text {
        font-size: 12px;
        padding: 8px 12px;
    }

    .bottom-text p {
        font-size: 14px;
    }
}