:root {
    --primary-blue: #1D49E7;
    --text-black: #000000;
    --text-gray: #666666;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --gold: #FFC107;
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-cta: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-black);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

/* Header & Nav */
.top-bar {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    width: 100%;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    /* Hide overflow for marquee */
}

/* Mobile Marquee Effect */
@media (max-width: 768px) {
    .top-bar {
        display: flex;
        overflow: hidden;
        white-space: nowrap;
    }

    .marquee-text {
        display: inline-block;
        padding-left: 0;
        animation: marquee 10s linear infinite;
        will-change: transform;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

nav {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-black);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.btn-cta-nav {
    border: 2px solid #000000;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.btn-cta-nav:hover {
    background: #000000;
    color: #ffffff;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Balanced 50/50 split */
    gap: 40px;
    /* Reduced gap to maximize space */
    align-items: center;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    color: var(--gold);
    font-size: 14px;
}

.rating-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-benefits {
    margin-bottom: 40px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.hero-benefits li i {
    color: var(--text-black);
    font-size: 18px;
}

.btn-premium {
    font-family: 'Poppins', sans-serif;
    background-color: #1D49E7;
    color: #ffffff !important;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(29, 73, 231, 0.2);
}

.btn-premium:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    border-radius: 0;
    /* Optional: shadows based on sonabuds */
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title-wrap h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background: var(--primary-blue);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #333;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 6-Modes Styling */
.modes-section {
    background: var(--bg-light);
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mode-list-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid #eee;
    transition: 0.3s;
}

.mode-list-item:hover {
    border-left-color: var(--primary-blue);
}

.mode-list-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mode-list-item p {
    font-size: 15px;
    color: var(--text-gray);
}

.value-added-badge {
    color: #ff5252;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    counter-reset: step-counter;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    font-size: 60px;
    font-weight: 900;
    color: #f0f0f0;
    display: block;
    margin-bottom: -30px;
}

.step-card h4 {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Support/Footer */
footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 80px 0 40px;
    color: #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-contact li {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 13px;
    color: #999;
}

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

    .hero-grid,
    .modes-grid,
    .feature-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .hero-benefits {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        /* Remove default browser padding to ensure true centering */
    }

    .hero-benefits li {
        width: fit-content;
    }

    /* Footer Single-Line Layout on Mobile */
    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        /* Add space between horizontal links */
        padding: 0;
    }

    .footer-contact li {
        margin-bottom: 0;
        /* Remove vertical gap */
    }
}