*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --mzansi-orange: #e67e22;
    --mzansi-orange-dark: #c0641a;
    --mzansi-orange-light: #f39c12;
    --hover-color: #cf792d;

    /*   --dark: #1a1208;
  --text: #2c2010; */
    --white: white;
    --black: black;

    --btn_blue: #2b92af;
    --red: #f13333;
    --green: #2baf64;
    --blue: #3b82f6;
    --yellow: #f5c231;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;

    --text-color: #191e2a;
    --text-color-light: #656565;
    --ink: #111827;
    --paper: #f7f5f0;
    --cream: #f0ece3;
    --accent: #ff4d1c;
    --accent2: #1a3fff;
    --gold: #e8c84a;
    --muted: #8a8880;
    --card: #ffffff;
    --border: #eff3f7;
    --nav-h: 56px;
    --bottom-h: 62px;

    --card-bg: #ffffff;
    --accent-color: #6b7280;

    --nav-top-h: 110px;
    --nav-bot-h: 48px;

    --ink-mid: #3d4a5c;
    --ink-soft: #7a8898;
    --surface: #ffffff;
    --surface-2: #f4f5f7;
    --surface-3: #eaecf0;
    --accent: #e84c3c;
    --shadow-sm: 0 2px 8px rgba(13, 17, 23, 0.06);
    --shadow-lg: 0 24px 64px rgba(13, 17, 23, 0.18);
    --radius: 18px;

    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --color-white: #FFFFFF;

    --radius-none: 0px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

/* ── Layout ad-slide-container ── */
.ad-slide-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 640px) {
    .ad-slide-container {}
}

@media (min-width: 1024px) {
    .ad-slide-container {
        flex-direction: row;
        gap: 2rem;
    }
}

/* ── Left Panel ── */
.left-panel {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.l-p-wrapper {
    padding: 1rem;
    background: linear-gradient(135deg, #eeeeff, #f7f7ff);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .left-panel {
        width: 41.666%;
        text-align: left;
        padding-top: 0;
        padding-bottom: 0;
        padding: 0rem;
    }

    .l-p-wrapper {
        padding: 2rem;
    }
}

/* ── Glass Badge ── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #4ade80;
    border-radius: 9999px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.ad-badge-text {
    color: var(--text-color-light);
    font-size: clamp(.65rem, 2vw, .8rem);
    font-weight: 500;
}

/* ── Hero Heading ── */
.hero-heading {
    font-size: clamp(2.8rem, 3vw, 3.5rem);
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-heading .gradient-text {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #cf792d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero Description ── */
.hero-desc {
    color: var(--text-color-light);
    font-size: clamp(.7rem, 2vw, .8rem);
    line-height: 1.75;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
}

/* ── Price Block ── */
.price-block {
    margin: auto;
    width: fit-content;
    margin-bottom: .8rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .price-block {
        margin: 0;
        margin-bottom: .8rem;
    }

    .price-row {
        justify-content: flex-start;
    }
}

.price-original {
    color: var(--text-color);
    font-size: 0.875rem;
    text-decoration: line-through;
}

.price-main {
    color: var(--text-color);
    font-size: 1.875rem;
    font-weight: 700;
}

.price-monthly {
    color: var(--text-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ── CTA Buttons ── */
.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-group {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .cta-group {
        justify-content: flex-start;
    }
}

.ad-shop-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #cf792d 100%);
    color: #ffffff;
    font-weight: 600;
    padding: .6rem 2rem;
    border-radius: var(--radius-none);
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-shop-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.ad-shop-btn:hover::before {
    left: 100%;
}

.watch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.watch-btn:hover {
    color: #ffffff;
}

.watch-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.watch-btn:hover .watch-icon-wrap {
    border-color: #ffffff;
}

/* ── Feature Icons ── */
.feature-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .feature-grid {
        justify-content: flex-start;
    }
}

.feature-icon {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--mzansi-orange);
    margin: 0 auto 0.5rem;
    display: block;
}

.feature-icon .feat-label {
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 600;
}

.feature-icon .feat-sub {
    color: var(--text-color-light);
    font-size: 0.625rem;
}

/* ── Right Panel ── */
.right-panel {
    width: 100%;
}

@media (min-width: 1024px) {
    .right-panel {
        width: 58.333%;
    }
}

/* ── Carousel Header ── */
.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.carousel-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
}

.carousel-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: #1d1d1f;
    color: #ffffff;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ── Carousel Track ── */
.carousel-track {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

/* ── Progress Dots ── */
.progress-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.progress-dot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background: #4b5563;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.progress-dot.active {
    width: 1.5rem;
    border-radius: 9999px;
    background: var(--mzansi-orange);
}

/* ── iPhone Card ── */
.iphone-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    overflow: hidden;
    backdrop-filter: blur(4px);
    position: relative;
    width: 200px;
}

@media (min-width: 640px) {
    .iphone-card {
        width: 275px;
    }

    .carousel-track {
        gap: 1.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* ── Card Badge ── */
.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-badge-new {
    background: var(--ink);
    color: #ffffff;
}

.card-badge-popular {
    background: #a855f7;
    color: #ffffff;
}

.card-badge-sale {
    background: #ef4444;
    color: #ffffff;
}

.card-badge-value {
    background: #22c55e;
    color: #ffffff;
}

/* ── Card Image Area ── */
.card-image-area {
    position: relative;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 640px) {
    .card-image-area {
        height: 14rem;
    }
}

.iphone-image-wrapper {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.card-img {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    transition: transform 0.5s ease;
}

@media (min-width: 640px) {
    .card-img {
        width: 10rem;
        height: 10rem;
    }
}

.iphone-card:hover .card-img {
    transform: scale(1.1);
}

.card-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2rem;
    border-radius: 9999px;
    filter: blur(30px);
    opacity: 0.15;
}

/* ── Card Content ── */
.card-content {
    padding: 1.25rem;
}

.card-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.card-tagline {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* ── Spec Chips ── */
.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-chip {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background: #1f2937;
    color: #d1d5db;
    font-size: 0.6875rem;
    font-weight: 500;
}

/* ── Color Options ── */
.color-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.color-label {
    color: #6b7280;
    font-size: 0.75rem;
}

.color-dots {
    display: flex;
    gap: 0.375rem;
}

.color-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-dot:hover {
    transform: scale(1.4);
    box-shadow: 0 0 0 2px white, 0 0 0 4px currentColor;
}

/* ── Card Price ── */
.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.card-price {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
}

.card-price-original {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: line-through;
}

/* ── Card Actions ── */
.card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-btn {
    flex: 1;
    background: var(--ink);
    color: #ffffff;
    font-weight: 600;
    padding: 0.625rem 0;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.learn-btn:hover {
    background: var(--black);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.25);
}

.bag-btn {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid #4b5563;
    color: #9ca3af;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.bag-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

/* ── Animations ── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-up-delay-4 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

/* ── Toast ── */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: #111827;
    border: 1px solid #374151;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 50;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification svg {
    color: #4ade80;
    width: 1.25rem;
    height: 1.25rem;
}

.toast-notification span {
    font-weight: 500;
}