/* =========================
   GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #222;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

:root {
    --purple: #4b1f87;
    --dark: #27114a;
    --pink: #ea4c89;
    --gradient:
        linear-gradient(135deg, #27114a, #4b1f87, #ea4c89);
    --light: #f7f0ff;
    --shadow:
        0 10px 25px rgba(0, 0, 0, .12);
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    color: white;
    background: var(--gradient);
    border-radius: 30px;
    font-weight: bold;
    transition: .3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.outline {
    color: var(--purple);
    background: white;
    border: 2px solid var(--purple);
}

/* =========================
   HEADER
========================= */
header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px #ddd;
    z-index: 10;
}

.nav {
    max-width: 1100px;
    margin: auto;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Fixed Logo Size - Constrained by Height */
.logo img {
    height: 45px;
    width: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: bold;
}

nav a:hover {
    color: var(--pink);
}

/* =========================
   HERO (SPLIT LAYOUT WITH RIGHT-SIDE FLOW)
========================= */
.hero {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Left Column: Words & Title */
.hero-text {
    flex: 1;
    max-width: 480px;
}

.tag {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background: var(--light);
    color: var(--purple);
    font-size: 14px;
    font-weight: bold;
}

.hero h1 {
    font-size: 50px;
    line-height: 1.1;
    margin: 20px 0;
}

.hero h1 span {
    background: var(--gradient);
    color: transparent;
    background-clip: text;
}

.hero p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.hero-btn {
    display: flex;
    gap: 15px;
}

/* Right Column: Compact Flowing Container */
.hero-flow-wrapper {
    flex: 1;
    max-width: 520px;
    background: linear-gradient(135deg, #f7f0ff 0%, #fff0f6 100%);
    border-radius: 20px;
    padding: 20px 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(75, 31, 135, 0.05);
    border: 1px solid #f0e4ff;
    /* Soft edge fading */
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hero-flow-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: flowLoop 14s linear infinite;
}

.hero-flow-track:hover {
    animation-play-state: paused;
}

@keyframes flowLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Compact Cards */
.compact-card {
    width: 190px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.compact-card:hover {
    transform: translateY(-4px);
    border-color: var(--pink);
}

.compact-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.compact-card h3 {
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 2px;
}

.compact-card p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

@media(max-width: 850px) {
    .hero {
        flex-direction: column;
        padding: 30px 20px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-btn {
        justify-content: center;
    }

    .hero-flow-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================
   SECTION
========================= */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 50px 20px;
}

.section h2,
.dark-section h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.dark-section {
    padding: 70px 20px;
    background: var(--gradient);
    color: white;
}

.dark-section .subtitle {
    color: #eee;
}

/* =========================
   TABS (Unified Protection & Promos)
========================= */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    background: white;
    color: var(--purple);
    border: 2px solid var(--purple);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--purple);
    color: white;
}

.tab-content {
    max-width: 1000px;
    margin: auto;
}

.tab-pane {
    display: none;
    background: white;
    color: #222;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.tab-pane h3 {
    color: var(--purple);
    font-size: 26px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-pane p {
    color: #666;
    line-height: 1.6;
}

.tab-pane ul {
    margin-top: 20px;
    list-style: none;
}

.tab-pane li {
    margin: 15px 0;
    color: #444;
    line-height: 1.5;
}

.tab-pane li i {
    color: var(--pink);
    margin-right: 10px;
}

.promo-highlight {
    background: var(--light);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--pink);
}

.promo-highlight h4 {
    color: var(--pink);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================
   JOURNEY WORKFLOW
========================= */
.journey {
    background: var(--light);
    padding: 70px 20px;
}

.journey-grid {
    max-width: 1100px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.journey-step {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.journey-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(234, 76, 137, 0.3);
}

.journey-step h3 {
    color: var(--purple);
    margin-bottom: 10px;
    font-size: 20px;
}

.journey-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Connecting arrows */
@media(min-width: 801px) {
    .journey-step:not(:last-child)::after {
        content: '\f061';
        /* FontAwesome arrow-right */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 40px;
        right: -25px;
        color: var(--pink);
        font-size: 24px;
        z-index: 1;
    }
}

@media(max-width: 800px) {
    .journey-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .journey-step:not(:last-child)::after {
        content: '\f063';
        /* FontAwesome arrow-down */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        bottom: -28px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--pink);
        font-size: 24px;
    }
}

/* =========================
   WHY
========================= */
.why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why div {
    padding: 40px 25px;
    background: #fafafa;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #eee;
    /* Added smooth cubic-bezier transition for a premium feel */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

/* New Hover Interaction: Lift card, add shadow, and highlight border */
.why div:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-color: var(--pink);
}

.why i {
    font-size: 35px;
    color: var(--purple);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* New Hover Interaction: Scale up icon and change color */
.why div:hover i {
    transform: scale(1.2);
    color: var(--pink);
}

.why h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 22px;
}

.why p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

@media(max-width:800px) {
    .why {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CONTACT
========================= */
.contact {
    padding: 50px 20px;
}

.contact-box {
    max-width: 1100px;
    margin: auto;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: white;
    background: var(--gradient);
    border-radius: 25px;
}

.contact h2 {
    margin-bottom: 15px;
}

/* Make links usable */
.contact-info a {
    display: block;
    margin-top: 15px;
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--pink);
}

.contact-info i {
    width: 30px;
}

.qr {
    background: white;
    color: #222;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}

.qr img {
    width: 150px;
}

.qr p {
    margin-top: 10px;
    color: var(--purple);
    font-weight: bold;
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 25px;
    background: #17092c;
    color: white;
    text-align: center;
}

footer img {
    height: 40px;
    /* Constrained footer logo height */
    width: auto;
    margin: auto;
    margin-bottom: 10px;
}

/* =========================
   MOBILE
========================= */
@media(max-width:800px) {
    .nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    nav {
        gap: 15px;
    }

    .hero {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-btn {
        flex-direction: column;
    }

    .tab-pane-grid,
    .why {
        grid-template-columns: 1fr;
    }

    .image-card {
        width: 100%;
    }

    .image-card.small {
        position: relative;
        width: 80%;
        right: auto;
        bottom: auto;
        margin-top: 20px;
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
    }
}