/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f6f7fb;
    color: #172033;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: #4f46e5;
    color: #fff;
}

.text-primary-custom {
    color: #4f46e5 !important;
}

.bg-primary-custom {
    background: #4f46e5 !important;
}


/* =========================================================
   CONTAINER
========================================================= */

.container-fluid-custom {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg,#4f46e5,#7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(79,70,229,.25);
    flex-shrink: 0;
}

.logo-mark::before {
    content: "";
    width: 25px;
    height: 19px;
    background: white;
    border-radius: 4px;
    position: absolute;
    top: 12px;
    left: 8px;
}

.logo-mark::after {
    content: "";
    width: 2px;
    height: 20px;
    background: #4f46e5;
    position: absolute;
    top: 11px;
    left: 19px;
}

.logo-ribbon {
    position: absolute;
    top: 7px;
    left: 14px;
    width: 12px;
    height: 8px;
    border: 2px solid #facc15;
    border-radius: 50%;
    transform: rotate(-8deg);
    z-index: 3;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    min-height: 70px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e8eaf0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.header-inner {
    min-height: 70px;
}

.brand {
    text-decoration: none;
    color: #111827;
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-name span {
    color: #4f46e5;
}

.desktop-nav .nav-link {
    color: #596273;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9px;
    padding: 9px 12px !important;
    transition: .25s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: #4f46e5;
    background: #f1f2ff;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 9px 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.login-btn {
    color: #4f46e5;
    border: 1px solid #cfd2ff;
    background: #fff;
}

.login-btn:hover {
    background: #f1f2ff;
    color: #4338ca;
    transform: translateY(-2px);
}

.register-btn {
    background: #4f46e5;
    color: #fff;
    box-shadow: 0 5px 14px rgba(79,70,229,.2);
}

.register-btn:hover {
    background: #4338ca;
    color: #fff;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    border: 0;
    background: #f3f4f6;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #374151;
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 12px 25px rgba(0,0,0,.06);
}

.mobile-menu.show {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav-link:hover {
    background: #f1f2ff;
    color: #4f46e5;
}


/* Keep navigation on the right beside Login/Register */
.desktop-nav {
    margin-left: auto !important;
}


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

.hero {
    width: 100%;
    min-height: 410px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(129,140,248,.45),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #111827 0%,
            #312e81 52%,
            #4f46e5 100%
        );
}

.hero::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    right: -80px;
    top: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    left: -80px;
    bottom: -100px;
}

.hero-inner {
    min-height: 410px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #e0e7ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 17px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(34px,5vw,60px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 17px;
}

.hero-title span {
    color: #facc15;
}

.hero-text {
    color: #dbe4ff;
    font-size: 16px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 25px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 19px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.hero-primary {
    background: #fff;
    color: #4338ca;
}

.hero-primary:hover {
    color: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
}

.hero-secondary {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.hero-secondary:hover {
    color: #fff;
    background: rgba(255,255,255,.18);
    transform: translateY(-3px);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-floating-card {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%) rotate(4deg);
    width: 265px;
    height: 160px;
    border-radius: 20px;
    background: linear-gradient(135deg,#fff,#e0e7ff);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: giftCardFloat 3.5s ease-in-out infinite;
}

@keyframes giftCardFloat {
    0%, 100% {
        transform: translateY(-50%) rotate(4deg);
    }
    50% {
        transform: translateY(calc(-50% - 10px)) rotate(2deg);
    }
}

.hero-floating-card small {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
}

.hero-floating-card strong {
    font-size: 22px;
    color: #312e81;
}

.hero-card-line {
    height: 7px;
    width: 70%;
    background: #c7d2fe;
    border-radius: 20px;
}


/* =========================================================
   MAIN
========================================================= */

.main-container {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 45px;
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.quick-btn {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15,23,42,.1);
}

.quick-primary {
    background: #4f46e5;
    color: #fff;
}

.quick-primary:hover {
    color: #fff;
    background: #4338ca;
}

.quick-light {
    background: #fff;
    color: #303b53;
    border: 1px solid #e4e7ee;
}

.quick-light:hover {
    color: #303b53;
    border-color: #c7c9ff;
    background: #f8f8ff;
}


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

.section-title {
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -.5px;
    color: #111827;
    margin: 0;
}

.section-subtitle {
    font-size: 13px;
    color: #737b8c;
    margin: 5px 0 0;
}


/* =========================================================
   GIFT CARD
========================================================= */

.gift-card {
    width: 100%;
    height: 190px;
    background: #fff;
    border: 1px solid #e3e6ed;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.gift-card:hover {
    transform: translateY(-6px);
    border-color: #c7c9ff;
    box-shadow: 0 15px 30px rgba(31,41,55,.12);
}

.gift-card:active {
    transform: scale(.97);
}

.gift-image {
    width: 100%;
    height: 145px;
    min-height: 145px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gift-name {
    height: 45px;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: #eff6ff;
    border-top: 1px solid #dbeafe;
    font-size: 11px;
    font-weight: 800;
    color: #172033;
    text-transform: uppercase;
    letter-spacing: .35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   RATES
========================================================= */

.rates-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 18px rgba(15,23,42,.04);
}

.rates-header {
    padding: 19px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf0f4;
    background: linear-gradient(to right,#fff,#f8f8ff);
}

.rate-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rates-title {
    margin: 0;
    font-size: 18px;
    font-weight: 850;
    color: #111827;
}

.rates-subtitle {
    font-size: 11px;
    color: #7b8494;
    margin-top: 2px;
}

.rate-date {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.rates-table-wrap {
    overflow-x: auto;
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
}

.rates-table th {
    padding: 12px 18px;
    background: #f8fafc;
    color: #667085;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
    text-align: left;
}

.rates-table td {
    padding: 13px 18px;
    border-top: 1px solid #eef0f3;
    font-size: 13px;
}

.rates-table tbody tr:hover {
    background: #fafaff;
}

.rate-brand {
    font-weight: 800;
    color: #1f2937;
}

.rate-value {
    font-weight: 900;
    color: #16a34a;
}

.rate-time {
    color: #6b7280;
}

.rates-note {
    font-size: 10px;
    color: #9ca3af;
    padding: 0 18px 15px;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section,
.about-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 22px;
    margin-bottom: 30px;
}

.faq-item {
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    margin-bottom: 9px;
    overflow: hidden;
    transition: .2s;
}

.faq-item:hover {
    border-color: #cfd2ff;
}

.faq-summary {
    padding: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 14px 14px;
    font-size: 12px;
    line-height: 1.7;
    color: #687386;
}

.faq-arrow {
    transition: .25s;
}

details[open] .faq-arrow {
    transform: rotate(180deg);
}

.about-content {
    font-size: 13px;
    line-height: 1.8;
    color: #687386;
}

.about-content h3 {
    font-size: 15px;
    color: #202939;
    margin: 18px 0 5px;
}

.about-content p {
    margin: 7px 0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111827;
    color: #9ca3af;
    padding: 40px 0 18px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.footer-description {
    font-size: 11px;
    line-height: 1.7;
    max-width: 310px;
}

.footer-title {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 12px;
}

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

.footer-links a {
    color: #9ca3af;
    font-size: 11px;
    text-decoration: none;
    transition: .2s;
}

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

.footer-socials {
    display: flex;
    gap: 7px;
    margin-top: 15px;
}

.social {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1f2937;
    color: #9ca3af;
    text-decoration: none;
    transition: .2s;
}

.social:hover {
    background: #4f46e5;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #273244;
    text-align: center;
    font-size: 10px;
    color: #6b7280;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    z-index: 1100;
    box-shadow: 0 8px 25px rgba(34,197,94,.35);
    transition: .25s;
}

.whatsapp-float:hover {
    background: #16a34a;
    color: #fff;
    transform: scale(1.1);
}


/* =========================================================
   CARD CLICK
========================================================= */

.card-clicked {
    transform: scale(.96) !important;
}


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

@media (max-width: 1199px) {
    .hero-floating-card {
        right: 3%;
        width: 225px;
    }
}

@media (max-width: 991px) {
    .desktop-nav,
    .header-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 767px) {
    .container-fluid-custom {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-inner {
        min-height: 400px;
    }

    .hero-title {
        font-size: 35px;
        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-btn {
        width: 100%;
    }

    .main-container {
        padding-top: 18px;
        padding-bottom: 35px;
    }

    .quick-btn {
        min-height: 52px;
        font-size: 11px;
        padding: 7px 5px;
    }

    .section-title {
        font-size: 21px;
    }

    .gift-card {
        height: 185px;
    }

    .gift-image {
        height: 140px;
        min-height: 140px;
    }

    .gift-name {
        height: 45px;
        min-height: 45px;
        font-size: 10px;
    }

    .rates-header {
        padding: 14px;
        align-items: flex-start;
    }

    .rates-title {
        font-size: 15px;
    }

    .rate-date {
        font-size: 9px;
        padding: 6px 8px;
    }

    .rates-table th,
    .rates-table td {
        padding: 11px 10px;
    }

    .rates-table th {
        font-size: 9px;
    }

    .rates-table td {
        font-size: 11px;
    }

    .faq-section,
    .about-section {
        padding: 16px;
    }

    .footer {
        padding-top: 32px;
    }

    .footer-bottom {
        margin-top: 25px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
        font-size: 23px;
    }
}

@media (max-width: 575px) {
    .site-header,
    .header-inner {
        min-height: 62px;
    }

    .header-inner {
        padding-left: 13px;
        padding-right: 13px;
    }

    .logo-mark {
        width: 37px;
        height: 37px;
    }

    .brand-name {
        font-size: 19px;
    }

    .quick-actions {
        --bs-gutter-x: .5rem;
    }

    .quick-btn {
        font-size: 10px;
        gap: 4px;
    }

    .gift-card {
        height: 180px;
    }

    .gift-image {
        height: 135px;
        min-height: 135px;
    }

    .gift-name {
        height: 45px;
        min-height: 45px;
    }

    .rates-header {
        flex-direction: column;
    }

    .rate-date {
        align-self: flex-start;
    }

    .footer-grid-mobile > div:first-child {
        margin-bottom: 5px;
    }
}

@media (max-width: 360px) {
    .brand-name {
        font-size: 17px;
    }

    .hero-title {
        font-size: 31px;
    }

    .quick-btn {
        font-size: 9px;
    }

    .gift-card {
        height: 165px;
    }

    .gift-image {
        height: 120px;
        min-height: 120px;
    }
}
