:root {
    --color-primary: #c92c33;
    --color-white: #ffffff;
    --color-black: #111111;
    --color-gray-900: #101828;
    --color-gray-700: #434343;
    --color-gray-600: #4d5761;
    --color-gray-500: #667085;
    --color-gray-200: #eaecf0;
    --color-gray-100: #fafbfb;
    --color-green-light: #d1fadf;
    --color-green-bg: #ecfdf3;
    --color-bronze-bg: #fcf2e3;
    --color-bronze: #e4d4bd;
    --color-silver-bg: #f2f4f7;
    --color-silver: #e5e7eb;
    --color-gold-bg: #fefbe8;
    --color-gold: #fef7c3;
    --color-platinum-bg: #f4f3ff;
    --color-platinum: #ebe9fe;
    --gradient-heading: linear-gradient(229deg, #fd6047 0%, #ecdeb8 55.47%);
    --gradient-bg: linear-gradient(123deg, #d7475a 0%, #de3e54 57.5%, #c42742 85.13%, #a7253f 119.61%);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--color-gray-100);
    color: var(--color-black);
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

section {
    width: 100%;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

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


.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.logo img {
    height: 69px;
    width: 69px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
}

.btn-primary:hover {
    background-color: #a7253f;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}



.hero-section {
    position: relative;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 835px;
    margin: 0 auto;
}

.tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 44px;
    font-size: 14px;
    font-weight: 600;
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-primary-gradient-start) 0%, var(--color-primary-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-text {
    color: var(--color-black);
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    opacity: 0.7;
    max-width: 835px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 217px;
    backdrop-filter: blur(3px);
}

.stat-icon {
    width: 32px;
    height: 32px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 36px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    opacity: 0.8;
    line-height: 21px;
}

@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
    }

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

    .hero-stats {
        flex-direction: column;
        width: 100%;
    }

    .stat-card {
        width: auto;
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}



.tiers-section {
    padding: 100px 0;
    background-color: var(--color-gray-100);
}

.tiers-header {
    text-align: center;
    max-width: 733px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tiers-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 60px;
    color: var(--color-black);
}

.gradient-text-red {
    background: linear-gradient(90deg, #ED4C2F 0%, #F46935 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tiers-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-700);
    opacity: 0.7;
}

.points-info {
    background-color: var(--color-gray-200);
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-black);
    display: inline-block;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: center;
}

.tier-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tier-card:hover,
.tier-card.featured {
    border: 2px solid var(--color-primary);
    box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
    transform: translateY(-27px);
}

/* When hovering tier-card, change button style to primary */
.tier-card:hover .btn-outline-dark,
.tier-card.featured .btn-outline-dark {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.card-header {
    padding: 40px 32px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tier-icon {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.bronze-icon {
    background-color: var(--color-bronze);
    border: 10px solid var(--color-bronze-bg);
}

.silver-icon {
    background-color: var(--color-silver);
    border: 10px solid var(--color-silver-bg);
}

.gold-icon {
    background-color: var(--color-gold);
    border: 10px solid var(--color-gold-bg);
}

.platinum-icon {
    background-color: var(--color-platinum);
    border: 10px solid var(--color-platinum-bg);
}

.card-header h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 48px;
    color: var(--color-black);
}

.card-header p {
    font-size: 14px;
    line-height: 24px;
    color: var(--color-gray-700);
}

.tier-price-wrapper {
    background-color: var(--color-gray-100);
    padding: 12px 0;
    text-align: center;
}

.tier-price {
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    color: var(--color-black);
}

.tier-price-wrapper p {
    font-size: 14px;
    line-height: 24px;
    color: var(--color-gray-500);
}

.tier-features {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-700);
}

.tier-features li img {
    width: 24px;
    height: 24px;
}

.card-footer {
    padding: 0 32px 32px;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
    width: 100%;
    box-sizing: border-box;
}

.btn-outline-dark:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.tier-card.featured .btn-primary {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .tier-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: 1fr;
    }
}



.privileges-section {
    padding: 100px 0;
    background-color: var(--color-gray-100);
}

.privileges-header {
    text-align: center;
    max-width: 733px;
    margin: 0 auto 40px;
}

.privileges-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 12px;
}

.privileges-header p {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray-700);
    opacity: 0.7;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.privilege-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0px 2px 4px -2px rgba(16, 24, 40, 0.06), 0px 4px 8px -2px rgba(16, 24, 40, 0.1);
}

.privilege-icon {
    width: 40px;
    height: 40px;
    border-radius: 28px;
    background-color: var(--color-green-light);
    border: 6px solid var(--color-green-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.privilege-icon img {
    width: 20px;
    height: 20px;
}

.privilege-text h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 4px;
}

.privilege-text p {
    font-size: 14px;
    line-height: 24px;
    color: var(--color-gray-500);
}

@media (max-width: 992px) {
    .privileges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .privileges-grid {
        grid-template-columns: 1fr;
    }
}



.signup-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-bg);
    background-image: url('../images/loyalty/background-register.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
}

.decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.signup-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.signup-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.signup-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 60px;
}

.signup-header p {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.signup-stats {
    display: flex;
    gap: 20px;
    margin-top: 28px;
}

.stat-card-signup {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 228px;
    backdrop-filter: blur(3px);
}

.stat-card-signup img {
    width: 32px;
    height: 32px;
}

.stat-number-signup {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
}

.stat-label-signup {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    opacity: 0.8;
}

.signup-form-wrapper {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 90px;
    width: 100%;
    max-width: 733px;
    box-sizing: border-box;
    color: var(--color-black);
    text-align: center;
    box-shadow: 0px 4px 6px -2px rgba(16, 24, 40, 0.03), 0px 12px 16px -4px rgba(16, 24, 40, 0.08);
}

.signup-form-wrapper h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.signup-form-wrapper>p {
    color: var(--color-gray-700);
    opacity: 0.7;
    margin-bottom: 32px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
}

.form-group input,
.form-group select {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 16px;
    color: var(--color-gray-500);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.input-with-icon {
    position: relative;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    box-sizing: border-box;
}

.input-with-icon img {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

.input-with-icon select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-checkbox label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
}

.form-group-checkbox a {
    font-weight: 600;
    color: var(--color-primary);
}

.signup-form button {
    width: 100%;
    position: relative;
}

/* Gift box decoration next to submit button */
.signup-form button::after {
    content: '';
    position: absolute;
    right: 85%;
    top: 25%;
    transform: translateY(-50%);
    width: 398px;
    height: 237px;
    background-image: url('../images/loyalty/gift-box.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

@media (max-width: 992px) {
    .signup-stats {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .stat-card-signup {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .signup-form-wrapper {
        padding: 20px;
    }

    .signup-header h2,
    .signup-form-wrapper h3 {
        font-size: 32px;
        line-height: 1.3;
    }

    /* Hide gift box on mobile */
    .signup-form button::after {
        display: none;
    }
}



/* Footer - Using Futura Font */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 40px 0 20px;
    font-family: 'Futura', 'Inter', sans-serif;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 52px;
    border-bottom: 1px solid rgba(188, 188, 188, 0.5);
    padding-bottom: 40px;
}

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

.footer-column h4 {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-white);
    opacity: 0.6;
    margin-bottom: 8px;
    font-family: 'Futura', 'Inter', sans-serif;
}

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

.footer-column ul li a,
.footer-column>p {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.8;
    font-family: 'Futura', 'Inter', sans-serif;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a img {
    width: 32px;
    height: 32px;
}

.newsletter-signup {
    margin-top: 21px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    position: relative;
    border-bottom: 0.75px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 12px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--color-white);
    opacity: 0.4;
    font-size: 14px;
    width: 100%;
}

.newsletter-form input::placeholder {
    color: var(--color-white);
    opacity: 0.4;
}

.newsletter-form button {
    background: none;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.contact-hotline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-hotline>div {
    display: flex;
    flex-direction: column;
}

.contact-hotline span {
    font-size: 14px;
    opacity: 0.7;
}

.contact-hotline strong {
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
    font-family: 'Futura', 'Inter', sans-serif;
}

/* Success Page Styles */
#success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

.success-container {
    margin: 8% auto;
    background-color: #ffffff;
    max-width: 574px;
    width: 100%;
    min-height: 693px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 64px 48px;
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
    border-radius: 16px;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d1fadf;
    border: 12px solid #ecfdf3;
    border-radius: 999px;
    box-sizing: border-box;
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.text-content h1 {
    margin: 0;
    color: #111111;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
}

.text-content p {
    margin: 0;
    color: #434343;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    opacity: 0.7;
    max-width: 398px;
}

.success-actions {
    display: flex;
    flex-direction: column;
}

.success-actions .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 40px;
    background-color: #c92c33;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
}

/* For shorter screens, reduce padding and use a fixed gap instead of space-between */
@media (max-height: 700px) {
    .success-container {
        justify-content: flex-start;
        gap: 60px;
        min-height: auto;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    #success-page {
        padding: 20px;
    }

    .success-container {
        max-width: 100%;
        min-height: auto;
        padding: 48px 24px;
    }

    .text-content h1 {
        font-size: 24px;
    }

    .text-content p {
        font-size: 14px;
        line-height: 20px;
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .icon-wrapper img {
        width: 40px;
        height: 40px;
    }
}



@media (max-width: 1200px) {
    .footer-top {
        flex-wrap: wrap;
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Success page responsive */
    .success-card {
        padding: 48px 24px;
        max-width: 90%;
    }

    .success-title {
        font-size: 24px;
    }

    .success-description {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 32px;
    }

    .success-button {
        width: 100%;
        padding: 14px 32px;
        font-size: 14px;
    }

    .success-icon {
        margin-bottom: 24px;
    }

    .success-icon svg {
        width: 64px;
        height: 64px;
    }
}