/* 
   CardGo Premium SaaS Stylesheet
   Design System: White background, vibrant blue, dark blue details, high-end micro-interactions, glassmorphism.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --primary: #0052FF;
    --primary-hover: #0045D8;
    --primary-light: rgba(0, 82, 255, 0.06);
    --primary-light-hover: rgba(0, 82, 255, 0.12);
    --primary-glow: rgba(0, 82, 255, 0.2);
    --dark: #09132E;
    --dark-hover: #050B1B;
    --dark-blue: #002D80;
    --body: #4E5E7A;
    --body-light: #7E8FA7;
    --bg-pure: #FFFFFF;
    --bg: #FAFBFE;
    --bg-alt: #F3F6FF;
    
    /* Layout & Styling */
    --border: #E8EEF9;
    --border-light: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 32px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 36px rgba(0, 82, 255, 0.05);
    --shadow-lg: 0 24px 64px rgba(0, 82, 255, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-pure);
    color: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

.text-center { text-align: center; }

/* Grid systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

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

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 14px;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-pure);
    box-shadow: 0 10px 24px rgba(0, 82, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 82, 255, 0.3);
}

.btn-secondary {
    background-color: var(--bg-pure);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
    border-color: var(--primary-hover);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--bg-pure);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

.btn-light {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--primary-light-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 82, 255, 0.2);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}

/* Badge Elements */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge svg {
    width: 14px;
    height: 14px;
}

/* Section Header styling */
.section-header {
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: var(--body-light);
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }
}

/* ================= HEADER / NAV ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.9);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
}

.logo img {
    height: 36px;
    object-fit: contain;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 4px;
    transition: var(--transition-fast);
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-pure);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        transition: var(--transition-smooth);
        padding: 40px;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-actions {
        display: none; /* Hide standard nav actions on tablet/mobile header */
    }
}

/* Open menu lines transform */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 96px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 82, 255, 0.03) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(0, 82, 255, 0.02) 0%, rgba(255, 255, 255, 0) 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.04) 0%, rgba(0, 82, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

.hero h1 {
    font-size: 56px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(120deg, var(--primary) 0%, #00C6FF 35%, var(--dark-blue) 70%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradientFlow 5s linear infinite;
    display: inline-block;
}

@keyframes textGradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subheadline {
    font-size: 18px;
    color: var(--body);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
    }
}

.hero-stats {
    display: flex;
    gap: 36px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--body-light);
    font-weight: 500;
}

/* Smartphone Mockup Container in Hero */
.hero-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-mockup-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Absolute Floating icons */
.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.float-1 {
    top: 20%;
    left: -60px;
    animation: floatSlow 7s ease-in-out infinite alternate;
}

.float-2 {
    bottom: 25%;
    right: -40px;
    animation: floatSlow 8s ease-in-out infinite alternate-reverse;
}

.float-3 {
    top: 55%;
    left: -40px;
    animation: floatSlow 6s ease-in-out infinite alternate;
}

.floating-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.floating-desc {
    font-size: 9px;
    color: var(--body-light);
}

@media (max-width: 991px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin-bottom: 48px;
    }
    
    .float-1 { left: 0; }
    .float-2 { right: 0; }
    .float-3 { left: -10px; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes floatSlow {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-8px) translateX(5px); }
}

/* ================= BENEFITS SECTION ================= */
.benefits-section {
    background-color: var(--bg);
}

.benefit-card {
    padding: 32px;
    border-radius: var(--radius-md);
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    opacity: 0;
    transition: var(--transition-fast);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 82, 255, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 20px;
    transition: var(--transition-bounce);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary);
    color: var(--bg-pure);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--body-light);
}


/* ================= HOW IT WORKS ================= */
.how-it-works-section {
    background-color: var(--bg-pure);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 48px auto 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 7px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(0, 82, 255, 0.05) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-pure);
    border: 3px solid var(--primary);
    z-index: 2;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-pure);
    border-color: rgba(0, 82, 255, 0.1);
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-light-hover);
    line-height: 1;
    transition: var(--transition-fast);
}

.timeline-content:hover .step-num {
    color: var(--primary);
}

.step-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.step-text p {
    font-size: 14px;
    color: var(--body-light);
}

@media (max-width: 576px) {
    .timeline-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
}


/* ================= PLANS SECTION ================= */
.plans-section {
    background-color: var(--bg);
}

.plans-wrapper {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: stretch;
}

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

.plan-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.plan-popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.plan-popular::after {
    /* Subtle neon shadow highlight */
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--dark-blue));
    z-index: -1;
    opacity: 0.15;
}

.popular-badge {
    position: absolute;
    top: -14px;
    right: 32px;
    background-color: var(--primary);
    color: var(--bg-pure);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.15);
}

.plan-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--body-light);
    margin-bottom: 12px;
}

.plan-popular .plan-name {
    color: var(--primary);
}

.plan-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.plan-period {
    font-size: 14px;
    color: var(--body-light);
}

.plan-divider {
    height: 1px;
    background-color: var(--border);
    margin: 24px 0;
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--body);
}

.plan-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.plan-card .btn {
    width: 100%;
}

.plan-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    text-align: center;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--bg-pure);
    border: 1px dashed var(--primary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

.guarantee-badge svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
}


/* ================= DIFFERENTIALS SECTION ================= */
.differentials-section {
    background-color: var(--bg-pure);
}

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

@media (max-width: 991px) {
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.diff-tagline {
    font-size: 15px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.diff-content h2 {
    font-size: 38px;
    margin-bottom: 24px;
}

.diff-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 576px) {
    .diff-list {
        grid-template-columns: 1fr;
    }
}

.diff-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diff-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.diff-item h3 {
    font-size: 16px;
    font-weight: 600;
}

.diff-item p {
    font-size: 13px;
    color: var(--body-light);
    line-height: 1.5;
}

/* ================= INTERACTIVE SMARTPHONE MOCKUP SYSTEM ================= */
.smartphone-mockup {
    width: 320px;
    height: 640px;
    background-color: #000;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3),
                0 0 0 10px #2D3748,
                0 0 0 1px #4A5568;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.smartphone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-pure);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

/* Speaker & Camera notch */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background-color: #000;
    border-radius: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.dynamic-island::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #1A202C;
    border-radius: 50%;
}

.dynamic-island::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #2D3748;
    border-radius: 50%;
}

/* Inner Mini-App Design Inside Mockup */
.miniapp-header {
    background-color: var(--primary);
    color: var(--bg-pure);
    padding: 40px 16px 20px 16px;
    text-align: center;
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.miniapp-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--bg-pure);
    background-color: var(--bg-alt);
    margin-bottom: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.miniapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.miniapp-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.miniapp-subtitle {
    font-size: 11px;
    opacity: 0.85;
}

.miniapp-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    background-color: var(--bg-alt);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hide mini app scrollbar */
.miniapp-body::-webkit-scrollbar {
    display: none;
}

/* Mini App Screens (tab elements) */
.miniapp-screen-content {
    display: none;
    animation: fadeInTab 0.3s ease-out forwards;
}

.miniapp-screen-content.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mini App Components */
.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background-color: var(--bg-pure);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-fast);
}

.app-btn:active {
    transform: scale(0.98);
    background-color: var(--border);
}

.app-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-pure);
    font-size: 14px;
}

.app-btn-text {
    flex-grow: 1;
    text-align: left;
}

.app-btn-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
}

.app-btn-desc {
    font-size: 10px;
    color: var(--body-light);
}

.app-btn-arrow {
    font-size: 10px;
    color: var(--body-light);
}

/* Catálogo item style */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.catalog-item {
    background-color: var(--bg-pure);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
}

.catalog-img {
    height: 80px;
    background-color: #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--body-light);
    background-size: cover;
    background-position: center;
}

.catalog-info {
    padding: 8px;
}

.catalog-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

/* Location Card */
.map-card {
    background-color: var(--bg-pure);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.map-placeholder {
    height: 100px;
    background-color: #E2E8F0;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--body-light);
    position: relative;
    overflow: hidden;
}

.map-pin {
    color: #E53E3E;
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-address {
    font-size: 11px;
    line-height: 1.4;
    color: var(--body);
}

/* Mini App Bottom Nav */
.miniapp-nav {
    height: 52px;
    background-color: var(--bg-pure);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
}

.miniapp-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--body-light);
    font-size: 9px;
    font-weight: 500;
    cursor: pointer;
    flex-grow: 1;
    height: 100%;
}

.miniapp-nav-item svg {
    width: 18px;
    height: 18px;
    margin-bottom: 2px;
}

.miniapp-nav-item.active {
    color: var(--primary);
    font-weight: 700;
}


/* ================= DEMONSTRATION SECTION WRAPPER ================= */
.demo-section {
    background-color: #F4F6FA;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 991px) {
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .demo-text {
        order: -1;
        text-align: center;
    }
}

.demo-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.demo-tabs-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.demo-selector-btn {
    padding: 16px;
    background-color: var(--bg-pure);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.demo-selector-btn.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.demo-selector-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--border);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.demo-selector-btn.active .demo-selector-icon {
    background-color: var(--primary);
    color: var(--bg-pure);
}

.demo-selector-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.demo-selector-desc {
    font-size: 11px;
    color: var(--body-light);
}


/* ================= CTA FINAL ================= */
.cta-final {
    background: radial-gradient(circle at 10% 10%, rgba(0, 82, 255, 0.05) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 90% 90%, rgba(0, 82, 255, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 112px 0;
}

.cta-box {
    max-width: 720px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 44px;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    color: var(--body);
    margin-bottom: 36px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .cta-box h2 {
        font-size: 32px;
    }
    .cta-btns {
        flex-direction: column;
    }
}


/* ================= FOOTER ================= */
.footer {
    padding: 64px 0 32px 0;
    background-color: var(--bg-pure);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        text-align: center;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-slogan {
    font-size: 14px;
    color: var(--body-light);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    font-size: 14px;
    color: var(--body);
}

.footer-menu a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.footer-copy {
    font-size: 13px;
    color: var(--body-light);
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-icon:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(0, 82, 255, 0.1);
    transform: translateY(-2px);
}


/* ================= SCROLL REVEAL ANIMATIONS ================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ================= TESTIMONIALS SECTION ================= */
.testimonial-section {
    background-color: var(--bg-pure);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .testimonial-container {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
}

.testimonial-quote {
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    font-style: italic;
}

.testimonial-quote::before {
    content: '“';
    font-size: 64px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-light-hover);
    position: absolute;
    top: -40px;
    left: -10px;
    z-index: -1;
}

.testimonial-author h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 13px;
    color: var(--body-light);
    font-weight: 600;
}

.testimonial-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-pure);
    transition: var(--transition-smooth);
}

.testimonial-media:hover {
    transform: scale(1.02);
}

.testimonial-media img {
    width: 100%;
    height: auto;
    display: block;
}


/* ================= PORTFOLIO / CLIENTES REAIS ================= */
.portfolio-section {
    background-color: var(--bg);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.portfolio-tab-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    color: var(--body);
    transition: var(--transition-fast);
}

.portfolio-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.portfolio-tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-pure);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.15);
}

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

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

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

.portfolio-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(95deg, var(--primary), var(--dark-blue));
    opacity: 0;
    transition: var(--transition-fast);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.portfolio-card:hover::after {
    opacity: 1;
}

.portfolio-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.portfolio-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.portfolio-card-city {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-alt);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--body-light);
    margin-bottom: 16px;
}

.portfolio-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.portfolio-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition-fast);
}

.portfolio-card:hover .portfolio-card-action {
    transform: translateX(4px);
}

/* Custom styling for the ambassador card (blue gradient, premium highlight) */
.portfolio-card.ambassador-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.25);
}

.portfolio-card.ambassador-card .portfolio-card-city {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.portfolio-card.ambassador-card .portfolio-card-title {
    color: white;
}

.portfolio-card.ambassador-card .portfolio-card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.portfolio-card.ambassador-card .portfolio-card-action {
    color: #38bdf8; /* light blue/cyan */
}

.portfolio-card.ambassador-card .portfolio-card-action:hover {
    color: white;
}

.portfolio-card.ambassador-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 82, 255, 0.4);
}

.portfolio-card.ambassador-card::after {
    background: linear-gradient(95deg, #00C6FF, #38bdf8);
}


/* ================= BONUS SUITE SECTION ================= */
.bonus-section {
    background-color: var(--bg-pure);
    position: relative;
}

.bonus-outer-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.bonus-outer-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.08) 0%, rgba(0, 82, 255, 0) 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .bonus-outer-card {
        padding: 32px 24px;
    }
}

.bonus-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px auto;
}

.bonus-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: #FFC107;
    color: var(--dark);
    font-size: 12px;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25);
}

.bonus-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.bonus-header p {
    color: var(--body);
    font-size: 15px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

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

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

.bonus-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 255, 0.15);
}

.bonus-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(255, 193, 7, 0.08);
    color: #FFC107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bonus-card.bonus-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-pure) 0%, var(--primary-light) 100%);
    border: 1px solid rgba(0, 82, 255, 0.15);
}

@media (max-width: 1024px) {
    .bonus-card.bonus-featured {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .bonus-card.bonus-featured {
        grid-column: span 1;
    }
}

.bonus-card.bonus-featured .bonus-icon-box {
    background-color: var(--primary-light);
    color: var(--primary);
}

.bonus-card h3 {
    font-size: 16px;
    font-weight: 700;
}

.bonus-card p {
    font-size: 13px;
    color: var(--body-light);
    line-height: 1.5;
}


/* ================= BLUE BACKGROUND SECTIONS ================= */
.how-it-works-section.bg-blue {
    background: linear-gradient(135deg, #09132E 0%, #002D80 100%);
    color: #FFFFFF;
}

.how-it-works-section.bg-blue h2, 
.how-it-works-section.bg-blue h3 {
    color: #FFFFFF;
}

.how-it-works-section.bg-blue p {
    color: #A3B3D2;
}

.how-it-works-section.bg-blue .timeline-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.how-it-works-section.bg-blue .timeline-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 82, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.15);
}

.how-it-works-section.bg-blue .step-num {
    color: rgba(255, 255, 255, 0.12);
}

.how-it-works-section.bg-blue .timeline-content:hover .step-num {
    color: var(--primary);
}

.how-it-works-section.bg-blue .timeline::before {
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.differentials-section.bg-blue {
    background: linear-gradient(135deg, #002D80 0%, #09132E 100%);
    color: #FFFFFF;
}

.differentials-section.bg-blue h2,
.differentials-section.bg-blue h3 {
    color: #FFFFFF;
}

.differentials-section.bg-blue p,
.differentials-section.bg-blue .diff-content p {
    color: #A3B3D2;
}

.differentials-section.bg-blue .diff-item p {
    color: #8A9BB8;
}

.differentials-section.bg-blue .diff-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
}

.differentials-section.bg-blue img {
    filter: brightness(0) invert(1) drop-shadow(0 20px 50px rgba(255, 255, 255, 0.08)) !important;
    opacity: 0.95;
}


/* ================= FAQ SECTION ================= */
.faq-section {
    background-color: var(--bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 82, 255, 0.15);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--dark);
    text-align: left;
}

.faq-icon {
    font-size: 14px;
    color: var(--body-light);
    transition: var(--transition-smooth);
    margin-left: 16px;
}

.faq-item.open .faq-header {
    background-color: var(--primary);
    color: #FFFFFF;
}

.faq-item.open .faq-header h4 {
    color: #FFFFFF;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #FFFFFF;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #FFFFFF;
}

.faq-content p {
    padding: 24px;
    font-size: 14.5px;
    color: var(--dark);
    line-height: 1.6;
    text-align: left;
}


/* ================= INSTALL APP / TUTORIAL MODAL ================= */
.btn-install-app svg {
    margin-right: 6px;
}

.install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.install-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 27, 0.6);
    backdrop-filter: blur(8px);
}

.install-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-bounce);
}

.install-modal.active .install-modal-content {
    transform: translateY(0);
}

.install-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: var(--body-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.install-modal-close:hover {
    color: var(--dark);
}

.install-modal-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px auto;
}

.install-modal h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.install-modal p {
    font-size: 14.5px;
    color: var(--body);
    margin-bottom: 28px;
}

.ios-steps {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ios-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

.ios-step-num {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.ios-step-text {
    line-height: 1.4;
    color: var(--body);
}

.ios-step-text svg {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
    color: var(--primary);
}


/* ================= TABLE COMPARATIVE SECTION ================= */
.comparative-section {
    background-color: var(--bg);
}

.comparative-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.comparative-card {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.comparative-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.comparative-card.obsolete {
    border-top: 4px solid var(--body-light);
}

.comparative-card.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(0, 82, 255, 0.08);
}

.comp-card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 100px;
    background-color: var(--bg-alt);
    color: var(--body-light);
    letter-spacing: 0.5px;
}

.comparative-card.premium .comp-card-badge {
    background-color: var(--primary-light);
    color: var(--primary);
}

.comparative-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.comp-card-desc {
    font-size: 14px;
    color: var(--body-light);
    margin-bottom: 24px;
}

.comp-divider {
    height: 1px;
    background-color: var(--border);
    margin-bottom: 32px;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.comp-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.comp-item.bad .comp-icon {
    background-color: rgba(239, 68, 68, 0.08);
    color: #EF4444;
}

.comp-item.good .comp-icon {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10B981;
}

.comp-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.comp-item p {
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
}

/* ================= CALCULATOR SECTION ================= */
.calculator-section {
    background-color: var(--bg);
}

.calculator-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .calculator-box {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.calc-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-wrapper input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 100px;
    background: var(--border);
    outline: none;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.3);
    transition: transform 0.1s ease;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-value {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    min-width: 90px;
    text-align: right;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-result-card {
    padding: 24px;
    border-radius: var(--radius-md);
    background-color: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.calc-result-card.economy {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.02) 0%, rgba(0, 82, 255, 0.08) 100%);
    border-color: rgba(0, 82, 255, 0.15);
}

.calc-result-card.ecological {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.15);
}

.calc-result-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--body-light);
}

.calc-result-card .result-number {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.calc-result-card.economy .result-number {
    color: var(--primary);
}

.calc-result-card.ecological .result-number {
    color: #10B981;
}

.calc-result-card .result-desc {
    font-size: 12px;
    color: var(--body-light);
}

.tree-icon-wrapper {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #10B981;
    opacity: 0.8;
}

/* ================= INTERACTIVE HOMESCREEN MOCKUP SYSTEM ================= */
.home-screen-sim-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.homescreen-mockup {
    width: 290px;
    height: 520px;
    background: #030611 url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=600&q=80') no-repeat center center;
    background-size: cover;
    border-radius: 36px;
    border: 8px solid #1a202c;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px #2d3748;
    position: relative;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.homescreen-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: white;
    font-weight: 600;
    padding: 0 8px;
    margin-top: 4px;
}

.mock-icons {
    display: flex;
    gap: 4px;
}

.homescreen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: max-content;
    gap: 16px 12px;
    margin-top: 24px;
    flex-grow: 1;
}

.hs-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
}

.hs-app-item span {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hs-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hs-app-item:hover .hs-app-icon {
    transform: scale(1.08);
}

.hs-app-icon.cardgo-pulse {
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: neonPulse 2s infinite alternate;
    overflow: hidden;
    background-color: white;
}

.hs-app-icon.cardgo-pulse img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes neonPulse {
    0% { box-shadow: 0 0 4px var(--primary); }
    100% { box-shadow: 0 0 15px var(--primary), 0 0 25px rgba(0,82,255,0.4); }
}

.hs-tooltip {
    position: absolute;
    top: -28px;
    background-color: var(--primary);
    color: white;
    font-size: 8.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.3);
    animation: hsBounce 1s infinite alternate;
}

.hs-tooltip::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
}

@keyframes hsBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.homescreen-indicator {
    width: 100px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    margin: 4px auto;
}

.homescreen-app-overlay {
    position: absolute;
    inset: 0;
    background-color: #030611;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 28px;
}

.homescreen-app-overlay.opening {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.overlay-splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.overlay-splash img {
    max-height: 80px;
    filter: brightness(0) invert(1);
    animation: hsAppPulse 1.5s infinite ease-in-out;
}

@keyframes hsAppPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

.splash-loader {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 82, 255, 0.2);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: hsSpin 1s linear infinite;
}

@keyframes hsSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================= NEW INTERACTIVE SIMULATOR (3-in-1 DEMO) ================= */
.demo-main-tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-main-tab {
    background-color: var(--bg-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.demo-main-tab:hover {
    border-color: rgba(0, 82, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.demo-main-tab.active {
    border-color: var(--primary);
    background-color: var(--bg-pure);
    box-shadow: var(--shadow-md);
}

.demo-main-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.demo-tab-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.demo-tab-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--bg);
    color: var(--body-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.demo-main-tab.active .demo-tab-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.demo-tab-info {
    flex-grow: 1;
}

.demo-tab-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.demo-tab-info p {
    font-size: 13px;
    color: var(--body-light);
    line-height: 1.45;
}

/* Sub-controls inside tab */
.demo-sub-controls {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    padding-top: 0;
    border-top: 1px dashed transparent;
}

.demo-main-tab.active .demo-sub-controls {
    max-height: 200px;
    opacity: 1;
    margin-top: 16px;
    padding-top: 16px;
    border-top-color: var(--border);
}

.sub-switch-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.switch-buttons {
    display: flex;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
}

.switch-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    background: transparent;
    border: none;
    color: var(--body-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.switch-btn.active {
    background-color: var(--bg-pure);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-simulate {
    width: 100%;
    padding: 12px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.15);
}

.sub-desc-text {
    font-size: 12.5px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.sub-desc-text.font-small {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    background-color: var(--primary-light);
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

/* Right Column Simulator Arena */
.demo-simulator-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.simulator-interactive-area {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 660px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating NFC object next to phone */
.simulator-floating-object {
    position: absolute;
    z-index: 10;
    width: 150px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    cursor: grab;
    pointer-events: auto;
}

.simulator-floating-object.card-type {
    top: 40%;
    right: 2%;
    transform: rotate(10deg);
    animation: nfcCardFloat 4s ease-in-out infinite;
}

.simulator-floating-object.plate-type {
    top: 36%;
    right: -2%;
    width: 180px;
    transform: rotate(5deg);
    animation: nfcPlateFloat 5s ease-in-out infinite;
}

.simulator-floating-object img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
}

@keyframes nfcCardFloat {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-12px) rotate(8deg); }
}

@keyframes nfcPlateFloat {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

/* Animation Tap Classes */
.simulator-floating-object.card-type.animating {
    animation: nfcCardTapAction 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.simulator-floating-object.plate-type.animating {
    animation: nfcPlateTapAction 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes nfcCardTapAction {
    0% { transform: translateY(0) rotate(10deg); right: 2%; opacity: 1; }
    25% { transform: scale(1.1) rotate(0deg); right: 8%; }
    40% { transform: scale(0.95) translate(-100px, -60px) rotate(-15deg); right: 15%; z-index: 10; filter: drop-shadow(0 5px 8px rgba(0,0,0,0.1)); }
    48% { transform: scale(0.92) translate(-120px, -70px) rotate(-20deg); right: 15%; z-index: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2)); }
    75% { transform: scale(1) translate(-30px, -20px) rotate(5deg); right: 5%; z-index: 10; }
    100% { transform: translateY(0) rotate(10deg); right: 2%; opacity: 1; }
}

@keyframes nfcPlateTapAction {
    0% { transform: translateY(0) rotate(5deg); right: -2%; opacity: 1; }
    25% { transform: scale(1.08) rotate(0deg); right: 5%; }
    40% { transform: scale(0.95) translate(-90px, -50px) rotate(-10deg); right: 12%; z-index: 10; filter: drop-shadow(0 5px 8px rgba(0,0,0,0.1)); }
    48% { transform: scale(0.92) translate(-110px, -60px) rotate(-12deg); right: 12%; z-index: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2)); }
    75% { transform: scale(1) translate(-25px, -15px) rotate(2deg); right: 2%; z-index: 10; }
    100% { transform: translateY(0) rotate(5deg); right: -2%; opacity: 1; }
}

/* Contactless ripple wave */
.contactless-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 82, 255, 0.4);
    pointer-events: none;
    opacity: 0;
    z-index: -1;
}

.simulator-floating-object.animating .contactless-glow {
    animation: rippleWaveEffect 1.6s ease-out;
}

@keyframes rippleWaveEffect {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    38% { opacity: 0; }
    40% { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(0,82,255,0.5); }
    48% { opacity: 0.8; transform: translate(-50%, -50%) scale(2.2); box-shadow: 0 0 0 20px rgba(0,82,255,0); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.2); }
}

/* Simulated shaking of phone mockup */
.smartphone-mockup.shake-phone {
    animation: shakePhoneAnimation 0.3s ease-in-out;
}

@keyframes shakePhoneAnimation {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    20% { transform: translateX(-4px) rotate(-1deg); }
    40% { transform: translateX(4px) rotate(1deg); }
    60% { transform: translateX(-3px) rotate(-0.5deg); }
    80% { transform: translateX(3px) rotate(0.5deg); }
}

/* QR Code stand next to phone */
.simulator-qr-tag {
    position: absolute;
    z-index: 10;
    top: 36%;
    right: -2%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulator-qr-tag.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.qr-tag-stand {
    background: #FFF;
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    width: 140px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: qrTagFloat 6s ease-in-out infinite;
}

@keyframes qrTagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.qr-tag-header {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.qr-tag-code {
    background: #F8FAFC;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.qr-tag-footer {
    font-size: 8px;
    font-weight: 700;
    color: var(--body-light);
    text-transform: uppercase;
}

/* Screens inside phone mockup */
.sim-screen {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    background-color: var(--bg-alt);
    z-index: 5;
    padding-top: 24px;
}

.sim-screen.active {
    display: flex;
}

/* NFC Prompt Screen */
.nfc-prompt-screen {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
    background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
    color: white;
}

.nfc-prompt-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(0, 82, 255, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.nfc-pulse-circle {
    position: absolute;
    inset: -6px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.8;
    animation: nfcCirclePulse 1.8s infinite ease-out;
}

@keyframes nfcCirclePulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.nfc-prompt-screen h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.nfc-prompt-screen p {
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.6;
}

/* Camera Scanner Viewfinder Screen */
.sim-screen#screen-camera-scan {
    padding-top: 0;
    background-color: #000;
}

.camera-finder {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finder-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #10B981;
    z-index: 10;
}

.finder-corner.top-left { top: 30%; left: 15%; border-right: none; border-bottom: none; }
.finder-corner.top-right { top: 30%; right: 15%; border-left: none; border-bottom: none; }
.finder-corner.bottom-left { bottom: 30%; left: 15%; border-right: none; border-top: none; }
.finder-corner.bottom-right { bottom: 30%; right: 15%; border-left: none; border-top: none; }

.laser-scanner {
    position: absolute;
    top: 30%;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10B981, transparent);
    box-shadow: 0 0 12px #10B981, 0 0 20px rgba(16, 185, 129, 0.8);
    z-index: 8;
    animation: scannerLaserAction 2s ease-in-out infinite alternate;
}

@keyframes scannerLaserAction {
    0% { top: 30%; }
    100% { top: 70%; }
}

.camera-instruction {
    position: absolute;
    bottom: 18%;
    color: white;
    font-size: 10.5px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

/* iOS Push Notification Mockup */
.push-notification {
    position: absolute;
    top: 32px;
    left: 10px;
    right: 10px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 14px;
    color: white;
    z-index: 30;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.push-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.push-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.push-app-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
}

.push-app-name {
    font-size: 8.5px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: 1px;
}

.push-time {
    font-size: 8.5px;
    color: #64748B;
    margin-left: auto;
}

.push-title {
    font-size: 11.5px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.push-body {
    font-size: 11px;
    color: #CBD5E1;
}

/* Simulated Instagram Widget Screen */
.sim-screen#screen-widget-instagram {
    background-color: #FAFAFA;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #262626;
    padding: 24px 0 0 0;
}

.widget-insta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-bottom: 1px solid #DBDBDB;
    font-weight: 700;
    font-size: 13.5px;
    position: relative;
    background-color: white;
    padding-top: 10px;
}

.widget-insta-header svg:first-child {
    position: absolute;
    left: 12px;
    color: #262626;
    cursor: pointer;
}

.widget-insta-profile {
    display: flex;
    align-items: center;
    padding: 16px 16px 8px 16px;
    gap: 20px;
    background-color: white;
}

.insta-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #DBDBDB;
    padding: 2px;
    overflow: hidden;
}

.insta-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.insta-stats {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    justify-content: space-around;
}

.insta-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.insta-stats .num {
    font-weight: 700;
    font-size: 14px;
}

.insta-stats .label {
    font-size: 10px;
    color: #8E8E8E;
}

.widget-insta-bio {
    padding: 0 16px 14px 16px;
    font-size: 11px;
    line-height: 1.4;
    background-color: white;
}

.widget-insta-bio strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}

.insta-category {
    display: block;
    color: #8E8E8E;
    margin-bottom: 6px;
}

.insta-link {
    display: inline-block;
    color: #00376B;
    font-weight: 600;
    margin-top: 6px;
    text-decoration: none;
    word-break: break-all;
    animation: linkPulseGlow 1.5s infinite alternate;
    padding: 2px 4px;
    border-radius: 4px;
}

@keyframes linkPulseGlow {
    0% { background-color: rgba(0, 82, 255, 0.0); box-shadow: 0 0 0 rgba(0,82,255,0); }
    100% { background-color: rgba(0, 82, 255, 0.1); box-shadow: 0 0 8px rgba(0,82,255,0.2); }
}

.widget-insta-action {
    display: flex;
    padding: 0 16px 14px 16px;
    gap: 8px;
    background-color: white;
    border-bottom: 1px solid #EFEFEF;
}

.insta-btn {
    flex: 1;
    padding: 7px;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
    background-color: #FAFAFA;
    color: #262626;
    cursor: pointer;
}

.insta-btn.primary {
    background-color: #0095F6;
    border-color: #0095F6;
    color: white;
}

.widget-insta-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.feed-item {
    aspect-ratio: 1;
    background-color: #EFEFEF;
}

/* Simulated WhatsApp Widget Screen */
.sim-screen#screen-widget-whatsapp {
    background: #E5DDD5;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-repeat: repeat;
    color: #303030;
    padding: 24px 0 0 0;
}

.widget-whats-header {
    display: flex;
    align-items: center;
    background-color: #075E54;
    color: white;
    padding: 10px 12px;
    gap: 8px;
    height: 52px;
    padding-top: 14px;
}

.whats-back {
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.whats-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.whats-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whats-user-info {
    display: flex;
    flex-direction: column;
}

.whats-name {
    font-size: 13px;
    font-weight: 700;
}

.whats-status {
    font-size: 9px;
    opacity: 0.85;
}

.widget-whats-body {
    flex-grow: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.whats-date {
    align-self: center;
    background-color: rgba(225, 245, 254, 0.9);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    color: #4A5568;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.whats-message {
    align-self: flex-start;
    background-color: white;
    padding: 8px 10px;
    border-radius: 0 8px 8px 8px;
    max-width: 85%;
    box-shadow: 0 1.5px 2px rgba(0,0,0,0.12);
    position: relative;
    display: flex;
    flex-direction: column;
}

.whats-message p {
    font-size: 11.5px;
    line-height: 1.4;
    color: #262626;
    margin-bottom: 4px;
}

.whats-link {
    font-size: 11.5px;
    color: #039BE5;
    font-weight: 600;
    text-decoration: underline;
    word-break: break-all;
    animation: whatsLinkPulse 1.5s infinite alternate;
    padding: 2px 4px;
    border-radius: 4px;
    display: inline-block;
}

@keyframes whatsLinkPulse {
    0% { background-color: rgba(3, 155, 229, 0.0); }
    100% { background-color: rgba(3, 155, 229, 0.12); }
}

.whats-time {
    font-size: 8px;
    color: #8E8E8E;
    align-self: flex-end;
}

.widget-whats-input {
    display: flex;
    align-items: center;
    background-color: #F0F0F0;
    padding: 8px;
    gap: 10px;
    height: 48px;
    border-top: 1px solid #DDD;
}

.whats-emoji, .whats-mic {
    font-size: 16px;
    color: #707070;
}

.whats-text-input {
    flex-grow: 1;
    background-color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: #A0A0A0;
    border: 1px solid #E0E0E0;
}

/* Simulated Google Search Widget Screen */
.sim-screen#screen-widget-google {
    background-color: #F8F9FA;
    color: #202124;
    padding: 24px 0 0 0;
}

.widget-google-header {
    background-color: white;
    border-bottom: 1px solid #EBEBEB;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding-top: 14px;
}

.google-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #4285F4, #EA4335, #F4B400, #4285F4, #34A853, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.google-search-bar {
    width: 100%;
    background-color: #FFF;
    border: 1px solid #DFE1E5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border-radius: 20px;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.search-mic {
    font-size: 12px;
}

.widget-google-results {
    padding: 12px;
}

.google-result-card {
    background-color: white;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #EBEBEB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.google-url {
    font-size: 9.5px;
    color: #3C4043;
    margin-bottom: 4px;
}

.url-arrow {
    font-size: 6px;
    vertical-align: middle;
}

.google-title {
    font-size: 13px;
    font-weight: 700;
    color: #1A0DAB;
    line-height: 1.35;
    margin-bottom: 6px;
    text-decoration: none;
    display: inline-block;
    animation: googleLinkPulse 1.5s infinite alternate;
    border-radius: 4px;
}

@keyframes googleLinkPulse {
    0% { background-color: rgba(26, 13, 171, 0.0); }
    100% { background-color: rgba(26, 13, 171, 0.08); }
}

.google-snippet {
    font-size: 11px;
    color: #4D5156;
    line-height: 1.45;
    margin-bottom: 10px;
}

.google-snippet strong {
    color: #202124;
}

.google-sitelinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid #F1F3F4;
    padding-top: 8px;
}

.sitelink {
    font-size: 10.5px;
    color: #1A0DAB;
    font-weight: 600;
}

/* Simulated mini app splash screen inside simulator */
.sim-screen#screen-splash {
    background: #030611;
    color: white;
    justify-content: center;
    align-items: center;
}

.miniapp-splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.splash-logo-animated {
    max-height: 60px;
    filter: brightness(0) invert(1);
    animation: splashPulseEffect 1.2s infinite ease-in-out alternate;
}

@keyframes splashPulseEffect {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

.splash-text {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

/* Simulated unlocked mini-app view screen */
.sim-screen#screen-unlocked-miniapp {
    z-index: 10;
}

/* Unlocked Header floating reset button styling */
.reset-sim-btn {
    position: absolute;
    top: 42px;
    right: 12px;
    z-index: 120;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: white;
    font-size: 8.5px;
    font-weight: 800;
    padding: 3px 10px;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.reset-sim-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Make sure active mini-app screens can override displays */
.sim-screen#screen-unlocked-miniapp .miniapp-screen-content {
    display: none;
    animation: fadeInTab 0.3s ease-out forwards;
    flex-direction: column;
    gap: 12px;
}

.sim-screen#screen-unlocked-miniapp .miniapp-screen-content.active {
    display: flex;
}

/* Hide simulator elements when not active */
.simulator-qr-tag {
    display: none;
}

.simulator-qr-tag.active {
    display: flex;
}

.simulator-floating-object {
    display: none;
}

.simulator-floating-object.active {
    display: block;
}

/* Styling adjust for the general layout */
.demo-section {
    padding: 80px 0;
    background-color: #F4F6FA;
}

.demo-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 991px) {
    .simulator-interactive-area {
        height: 600px;
    }
    .simulator-floating-object.card-type {
        right: 10%;
    }
    .simulator-floating-object.plate-type {
        right: 8%;
    }
    .simulator-qr-tag {
        right: 10%;
    }
}

/* ================= PAGE PRELOADER ================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #09132E 0%, #002D80 100%);
    z-index: 99999; /* on top of everything */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    opacity: 1;
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    padding: 20px;
}

.preloader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    z-index: 2;
    animation: pulseLogo 2s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.3);
}

.preloader-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.4) 0%, rgba(0, 82, 255, 0) 70%);
    z-index: 1;
    animation: rotateGlow 8s linear infinite;
}

.preloader-spinner-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}

.preloader-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #0052FF;
    border-right: 3px solid #0052FF;
    border-radius: 50%;
    animation: spinClockwise 1s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    box-shadow: 0 0 15px rgba(0, 82, 255, 0.2);
}

.preloader-pulse {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: spinCounterClockwise 2s linear infinite;
}

.preloader-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: fadeInUpText 0.8s ease-out forwards;
}

.preloader-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #A3B3D2;
    margin: 0;
    letter-spacing: 0.5px;
    animation: fadeInUpText 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

/* Animations for Preloader */
@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 15px 40px rgba(0, 82, 255, 0.5);
    }
}

@keyframes rotateGlow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* ================= FLOATING WHATSAPP BUTTON ================= */
.floating-whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    text-decoration: none;
}

.floating-whatsapp-text {
    background-color: white;
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.floating-whatsapp-icon {
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp-container:hover .floating-whatsapp-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.floating-whatsapp-container:hover .floating-whatsapp-text {
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
    color: white;
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}
