/* ==========================================================================
   BettingTemplates - Ultra-Premium Cyber Gaming / iGaming Design System
   Features: 3D Cursor Physics, Live Image Carousels, Marquee Ticker & 100% Mobile Responsiveness
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-primary: #050814;
    --bg-secondary: #080E24;
    --bg-card: rgba(10, 17, 40, 0.85);
    --bg-card-hover: rgba(15, 25, 58, 0.95);
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-glow: rgba(0, 210, 255, 0.45);
    
    /* Neon Brand Accents */
    --accent-cyan: #00D2FF;
    --accent-blue: #1E50FF;
    --accent-royal: #2563EB;
    --accent-purple: #8B5CF6;
    --accent-violet: #7C3AED;
    --accent-gold: #F59E0B;
    --accent-green: #10B981;
    --accent-whatsapp: #25D366;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #00D2FF 0%, #1E50FF 50%, #8B5CF6 100%);
    --grad-btn-hero: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --grad-btn-purple: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --grad-badge: linear-gradient(135deg, #00D2FF 0%, #1E50FF 100%);
    --grad-text-hero: linear-gradient(135deg, #00D2FF 0%, #3B82F6 40%, #A855F7 80%, #EC4899 100%);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    --shadow-card-hover: 0 18px 40px -5px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 210, 255, 0.25);
    --shadow-glow-cyan: 0 0 30px rgba(0, 210, 255, 0.4);
    --shadow-glow-purple: 0 0 35px rgba(139, 92, 246, 0.4);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: #E2E8F0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 8%, rgba(30, 80, 255, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(139, 92, 246, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 50% 60%, rgba(0, 210, 255, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Ambient Neon Cursor Glow Orb (Desktop Only) */
.cursor-glow-orb {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(139, 92, 246, 0.06) 45%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, opacity 0.3s ease;
    filter: blur(12px);
    will-change: transform;
}

@media (hover: none) and (pointer: coarse) {
    .cursor-glow-orb { display: none; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #050814;
}
::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 8, 20, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.crown-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.logo-gaming-tag {
    background: linear-gradient(135deg, #00D2FF, #1E50FF);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-left: 2px;
}

.desktop-nav {
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-demo {
    background: var(--grad-btn-purple);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
    transition: all 0.25s ease;
}

.btn-nav-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.55);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 20px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    height: 100vh;
    background: #080E24;
    border-left: 1px solid rgba(0, 210, 255, 0.25);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85);
    z-index: 3000;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
}

.mobile-nav-drawer.active {
    display: flex;
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2999;
    display: none;
}

.mobile-drawer-backdrop.active {
    display: block;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: auto;
}

.mobile-link {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.2s ease;
    display: block;
}

.mobile-link:hover {
    color: var(--accent-cyan);
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 75% 35%, rgba(30, 80, 255, 0.24) 0%, transparent 65%),
                radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 55%),
                #050814;
}

.hero-cyber-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.035) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: radial-gradient(circle at 65% 45%, black 35%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 65% 45%, black 35%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

.hero-atmosphere-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: radial-gradient(ellipse at 75% 35%, rgba(0, 210, 255, 0.16) 0%, rgba(139, 92, 246, 0.1) 45%, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.hero-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.15);
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.pill-dot-pulse {
    width: 8px;
    height: 8px;
    background: #00D2FF;
    border-radius: 50%;
    box-shadow: 0 0 8px #00D2FF;
    animation: waPulse 1.5s infinite;
}

.pill-text {
    color: #E2E8F0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.pill-badge-live {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 9999px;
    letter-spacing: 1px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--grad-text-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 35px rgba(0, 210, 255, 0.4));
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    color: #94A3B8;
    line-height: 1.68;
    margin-bottom: 2.25rem;
    max-width: 530px;
}

.hero-buttons-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    position: relative;
    overflow: hidden;
    background: var(--grad-btn-hero);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.9rem 2.2rem;
    font-size: 1.02rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), 0 0 20px rgba(0, 210, 255, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.sheen-fx {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: rotate(25deg);
    animation: btnSheen 4.5s infinite;
    pointer-events: none;
}

@keyframes btnSheen {
    0%, 75% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.7), 0 0 30px rgba(0, 210, 255, 0.5);
}

.btn-hero-secondary {
    background: rgba(15, 23, 42, 0.65);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    padding: 0.9rem 2rem;
    font-size: 1.02rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.play-icon-triangle {
    font-size: 1rem;
    color: #A5B4FC;
}

/* Seamless Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: nowrap;
    width: 100%;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.trust-badge-item .trust-icon {
    font-size: 1.25rem;
    color: #38BDF8;
    filter: drop-shadow(0 2px 6px rgba(56, 189, 248, 0.4));
}

.trust-badge-item .trust-info {
    display: flex;
    flex-direction: column;
    font-size: 0.76rem;
    line-height: 1.25;
}

.trust-badge-item .trust-info strong {
    color: #F8FAFC;
    font-weight: 600;
}

.trust-badge-item .trust-info span {
    color: #64748B;
}

/* Hero Graphic (Right side) - 3D Cursor Parallax Physics */
.hero-graphic-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hero-interactive-card {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-visual-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 65% 40%, rgba(30, 80, 255, 0.35) 0%, rgba(139, 92, 246, 0.2) 45%, transparent 75%);
    filter: blur(45px);
    pointer-events: none;
    z-index: -1;
}

.hero-seamless-img {
    width: 100%;
    max-width: 780px;
    height: auto;
    display: block;
    mask-image: radial-gradient(ellipse 90% 86% at 50% 50%, black 62%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 86% at 50% 50%, black 62%, transparent 100%);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(30, 80, 255, 0.25));
    transition: filter 0.3s ease;
}

.hero-glare-layer {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.hero-visual-wrapper:hover .hero-glare-layer {
    opacity: 1;
}

/* ==========================================================================
   GAMING MARQUEE TICKER (LIVE ODDS & CASINO CAROUSEL)
   ========================================================================== */
.gaming-marquee-wrap {
    background: rgba(8, 14, 36, 0.95);
    border-top: 1px solid rgba(0, 210, 255, 0.18);
    border-bottom: 1px solid rgba(0, 210, 255, 0.18);
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    contain: paint;
}

.gaming-marquee-wrap::before, .gaming-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 3;
    pointer-events: none;
}

.gaming-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #050814, transparent);
}

.gaming-marquee-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, #050814, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 26s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding: 0 1.5rem;
}

.m-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #CBD5E1;
    white-space: nowrap;
}

.m-item strong {
    color: #FFFFFF;
    font-weight: 700;
}

.m-live-tag {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #F87171;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.m-hot-tag {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #FBBF24;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.m-win-tag {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #34D399;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

.m-pro-tag, .m-vip-tag {
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.45);
    color: #A78BFA;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
}

/* ==========================================================================
   3. OUR TEMPLATES (8 GRID WITH CAROUSEL & 3D TILT)
   ========================================================================== */
.templates-section {
    padding: 5rem 0;
    position: relative;
}

.section-title-wrap {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.gaming-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.section-main-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    word-break: normal;
    overflow-wrap: break-word;
}

.mobile-only-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only-br {
        display: inline;
    }
}

.section-sub-desc {
    color: #94A3B8;
    font-size: 1.02rem;
    line-height: 1.6;
}

.templates-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

/* Template Card Item with 3D Tilt */
.template-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    position: relative;
    transform-style: preserve-3d;
    min-width: 0;
    max-width: 100%;
}

.template-item-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: var(--shadow-card-hover);
    background: var(--bg-card-hover);
}

.card-glow-reflection {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-item-card:hover .card-glow-reflection {
    opacity: 1;
}

/* Card Header */
.template-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.15rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.badge-num-box {
    background: var(--grad-badge);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.35);
    flex-shrink: 0;
}

.template-titles {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.tmpl-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tmpl-tagline {
    font-size: 0.78rem;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-live-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.pulse-indicator-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: waPulse 1.6s infinite;
}

/* Device Switcher & Mockup Carousel Preview */
.template-preview-wrapper {
    padding: 0.85rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.device-switcher-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.55rem;
    padding: 3px;
    gap: 3px;
}

.view-btn {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.35rem 0.35rem;
    border-radius: 0.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.view-btn:hover {
    color: #E2E8F0;
}

.view-btn.active {
    background: #1E293B;
    color: var(--accent-cyan);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Carousel Viewport */
.card-carousel-viewport {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    contain: paint;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #020617;
    aspect-ratio: 16 / 10;
    display: block;
    touch-action: pan-y pinch-zoom;
}

.carousel-slides-track {
    display: flex;
    width: 300%;
    height: 100%;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.card-carousel-viewport[data-slide-state="0"] .carousel-slides-track {
    transform: translateX(0%);
}

.card-carousel-viewport[data-slide-state="1"] .carousel-slides-track {
    transform: translateX(-33.333333%);
}

.card-carousel-viewport[data-slide-state="2"] .carousel-slides-track {
    transform: translateX(-66.666666%);
}

.carousel-slide {
    width: 33.333333%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px;
    box-sizing: border-box;
}

/* Slide 0: Desktop Screen Mockup with Browser Bar */
.desktop-screen-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #080E24;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.screen-browser-bar {
    height: 20px;
    background: #0A1128;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.dots-trio {
    display: flex;
    align-items: center;
    gap: 4px;
}

.b-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}
.b-dot.red { background: #EF4444; }
.b-dot.yellow { background: #F59E0B; }
.b-dot.green { background: #10B981; }

.browser-url-text {
    font-size: 0.62rem;
    color: #64748B;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-screen-mockup .mockup-img {
    width: 100%;
    height: calc(100% - 20px);
    object-fit: cover;
    display: block;
}

/* Slide 1: iPad / Tablet Bezel Frame */
.ipad-bezel-frame {
    height: 94%;
    aspect-ratio: 4 / 3;
    max-width: 88%;
    background: #0F172A;
    border: 3px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.75), 0 0 15px rgba(0, 210, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ipad-camera-dot {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #020617;
    border-radius: 50%;
    z-index: 3;
}

.ipad-screen-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-img.ipad-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ipad-home-bar {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    z-index: 3;
}

/* Slide 2: Mobile Smartphone Bezel Frame */
.slide-mobile .mobile-bezel-frame {
    height: 96%;
    aspect-ratio: 9 / 18;
    background: #080E24;
    border: 3px solid #1E293B;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.85), 0 0 15px rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-dynamic-island {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 6px;
    background: #000000;
    border-radius: 9999px;
    z-index: 3;
}

.mobile-home-indicator {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    z-index: 3;
}

.mockup-img.mobile-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-item-card:hover .mockup-img {
    transform: scale(1.02);
}

.screen-overlay-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: rgba(10, 17, 40, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.card-carousel-viewport:hover .carousel-nav-btn {
    opacity: 1;
}

.carousel-nav-btn:hover {
    background: var(--accent-cyan);
    color: #050814;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev-btn { left: 6px; }
.carousel-nav-btn.next-btn { right: 6px; }

.carousel-dots-pill {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    background: rgba(6, 10, 23, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 9999px;
    z-index: 5;
}

.c-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
}

.c-dot.active {
    width: 16px;
    background: var(--accent-cyan);
    border-radius: 4px;
    box-shadow: 0 0 6px var(--accent-cyan);
}

/* Card Details & Features */
.template-details {
    padding: 0.85rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.template-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.35;
}

.check-mark {
    color: var(--accent-cyan);
    font-weight: 800;
    flex-shrink: 0;
}

/* Card Dual Action Buttons */
.template-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.btn-card-demo {
    background: var(--grad-btn-hero);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 80, 255, 0.35);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-card-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 80, 255, 0.55);
}

.btn-card-video {
    background: rgba(15, 23, 42, 0.75);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 0.6rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-card-video:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. WATCH OUR WEBSITE DEMO VIDEO SECTION
   ========================================================================== */
.video-walkthrough-section {
    padding: 5rem 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.6) 0%, transparent 80%);
}

.video-demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.video-laptop-wrapper {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-laptop-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 210, 255, 0.35);
}

.video-laptop-img {
    width: 100%;
    height: auto;
    display: block;
}

.play-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.8);
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-laptop-wrapper:hover .play-pulse-ring {
    transform: translate(-50%, -50%) scale(1.12);
    background: #00D2FF;
}

.pulse-circle {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(0, 210, 255, 0.6);
    border-radius: 50%;
    animation: pulseRing 2s infinite ease-out;
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

.play-triangle-symbol {
    color: #050814;
    font-size: 1.6rem;
    margin-left: 4px;
}

.video-floating-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-rec {
    color: #EF4444;
    font-size: 0.85rem;
    animation: blinkRec 1.5s infinite;
}

@keyframes blinkRec {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.video-info-col {
    display: flex;
    flex-direction: column;
}

.video-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.video-section-desc {
    color: #94A3B8;
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.video-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

.feature-tag-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: all 0.25s ease;
}

.feature-tag-card:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(0, 210, 255, 0.35);
    transform: translateY(-2px);
}

.tag-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.tag-info {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    line-height: 1.3;
}

.tag-info strong {
    color: #FFFFFF;
    font-weight: 600;
}

.tag-info span {
    color: #64748B;
}

.btn-watch-full {
    background: var(--grad-btn-purple);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 2rem;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
}

.btn-watch-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* ==========================================================================
   5. WHY US SECTION
   ========================================================================== */
.why-us-section {
    padding: 4.5rem 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-us-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1.15rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: var(--shadow-card-hover);
}

.why-icon-box {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.why-us-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
}

.why-us-card p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ==========================================================================
   6. BOTTOM CTA BANNER
   ========================================================================== */
.bottom-cta-banner-section {
    padding: 3rem 0 5rem;
}

.bottom-cta-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.2);
    padding: 4.5rem 2rem;
    text-align: center;
}

.banner-bg-graphics {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    transform: scale(1.02);
    filter: blur(1px);
}

.banner-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.82) 0%, rgba(10, 17, 40, 0.9) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.banner-kicker {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 1rem;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    color: #CBD5E1;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.banner-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
}

.btn-banner-demo {
    background: var(--grad-btn-purple);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: all 0.25s ease;
}

.btn-banner-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-banner-whatsapp {
    background: var(--accent-whatsapp);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 9999px;
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-banner-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.banner-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    color: #94A3B8;
    font-size: 0.88rem;
}

.b-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.b-trust-divider {
    color: #475569;
}

/* ==========================================================================
   7. FLOATING WHATSAPP BUTTON (MATCHING REFERENCE MOCKUP)
   ========================================================================== */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-whatsapp);
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.65rem 1.15rem 0.65rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.floating-whatsapp-widget:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
}

.wa-status-pulse {
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border-radius: 50%;
    display: inline-block;
    animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.wa-icon {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
    background: #03050c;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.compliance-badge-18 {
    display: inline-block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
    padding: 0.4rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748B;
    font-size: 0.88rem;
}

/* ==========================================================================
   9. MODALS & FORMS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #080E24;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #FFFFFF;
}

.modal-body {
    padding: 1.5rem;
}

.video-responsive-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-responsive-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Forms */
.form-group {
    margin-bottom: 1.15rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    background: #050814;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

/* ==========================================================================
   10. MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .templates-grid-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .hero-container {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 2.5rem;
    }
    .hero-text-col, .hero-graphic-col {
        min-width: 0;
        max-width: 100%;
    }
    .hero-kicker-pill {
        margin: 0 auto 1.25rem;
    }
    .hero-heading {
        font-size: clamp(2rem, 5.5vw, 2.8rem);
    }
    .hero-buttons-row {
        justify-content: center;
    }
    .hero-trust-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    .video-demo-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.15rem;
    }
    .btn-nav-demo {
        display: none !important;
    }
    .hero-section {
        padding: 2.5rem 0 2rem;
    }
    .hero-kicker-pill {
        padding: 0.35rem 0.75rem;
        gap: 0.4rem;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        justify-content: center;
    }
    .pill-text {
        font-size: 0.7rem;
        letter-spacing: 0.6px;
    }
    .pill-badge-live {
        font-size: 0.6rem;
        padding: 1px 5px;
    }
    .hero-heading {
        font-size: clamp(1.75rem, 5.5vw, 2.3rem);
        line-height: 1.15;
    }
    .section-main-heading {
        font-size: clamp(1.55rem, 5vw, 2.1rem);
    }
    .templates-grid-8 {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
    .why-us-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        text-align: left;
        width: 100%;
    }
    .trust-badge-item {
        justify-content: flex-start;
        min-width: 0;
    }
    .trust-badge-item .trust-info {
        font-size: 0.74rem;
    }
    .video-features-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .floating-whatsapp-widget .wa-text {
        display: none;
    }
    .floating-whatsapp-widget {
        padding: 0.75rem;
        border-radius: 50%;
        bottom: 18px;
        right: 18px;
    }
    .bottom-cta-card {
        padding: 3rem 1.25rem;
    }
    .banner-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }
    .navbar {
        padding: 0.65rem 0;
    }
    .brand-logo {
        font-size: 1.15rem;
    }
    .btn-nav-demo {
        display: none !important;
    }
    .hero-kicker-pill {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding: 0.35rem 0.6rem;
    }
    .pill-text {
        font-size: 0.68rem;
        letter-spacing: 0.4px;
    }
    .hero-heading {
        font-size: 1.8rem;
        line-height: 1.18;
    }
    .hero-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
    }
    .hero-buttons-row {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }
    .hero-trust-bar {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .template-item-card {
        border-radius: 1rem;
    }
    .device-switcher-bar {
        padding: 2px;
        gap: 2px;
    }
    .view-btn {
        font-size: 0.65rem;
        padding: 0.32rem 0.15rem;
        gap: 2px;
    }
    .view-btn .icon {
        font-size: 0.72rem;
    }
    .template-card-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .btn-card-demo, .btn-card-video {
        width: 100%;
        padding: 0.65rem;
    }
    .gaming-marquee-wrap {
        padding: 0.65rem 0;
    }
    .marquee-content .m-item {
        font-size: 0.8rem;
        margin-right: 1.5rem;
    }
    .banner-buttons-row {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }
    .btn-banner-demo, .btn-banner-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
    .banner-trust-row {
        font-size: 0.8rem;
        gap: 0.75rem;
    }
}

