/* =============================================
   FastFood POS — Landing Page Styles
   Design System: Stitch KDS Dark Theme
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --color-bg: #0f1117;
    --color-bg-alt: #161822;
    --color-card: #1c1e2a;
    --color-card-hover: #242638;
    --color-border: #2a2d3e;
    --color-accent: #ee7c2b;
    --color-accent-light: #f5a623;
    --color-accent-glow: rgba(238, 124, 43, 0.25);
    --color-text: #f0f0f0;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    --color-success: #22c55e;
    --color-warning: #facc15;
    --color-error: #ef4444;

    /* Typography */
    --font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Radius */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--color-accent-glow);

    /* Max widths */
    --max-width: 1200px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
}

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

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-accent-glow);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.accent {
    color: var(--color-accent);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #d4691e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 124, 43, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(238, 124, 43, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(238, 124, 43, 0.06);
}

.btn-lg {
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
}

.btn-nav {
    padding: 0.55rem 1.3rem;
    font-size: 0.88rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 17, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
}

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

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.35rem;
    font-weight: 800;
}

.navbar-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent), #d4691e);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-links a:hover {
    color: var(--color-text);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(238, 124, 43, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 124, 43, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-card);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    max-width: 520px;
    animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-microcopy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    animation: fadeInUp 0.6s 0.35s ease both;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    animation: fadeInUp 0.6s 0.4s ease both;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s 0.3s ease both;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--color-border);
    transform: scale(1.12);
    transform-origin: center right;
}

.hero-image .floating-card {
    position: absolute;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
}

.hero-image .floating-card.card-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}

.hero-image .floating-card.card-2 {
    bottom: 15%;
    left: -25px;
    animation-delay: 1.5s;
}

.floating-card .fc-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fc-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-success);
}

.fc-icon.orange {
    background: var(--color-accent-glow);
    color: var(--color-accent);
}

/* ---------- Logo Bar ---------- */
.logo-bar {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-xl) 0;
}

.logo-bar-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.logo-bar-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.logo-bar-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    opacity: 0.7;
    transition: opacity var(--transition);
}

.logo-bar-item:hover {
    opacity: 1;
}

.logo-bar-item .material-symbols-rounded {
    font-size: 1.3rem;
    color: var(--color-accent);
}

/* ---------- Features ---------- */
.features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.feature-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    border-color: rgba(238, 124, 43, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--color-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.feature-list li {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.feature-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: all var(--transition-fast);
    margin-top: var(--space-sm);
}

.feature-link:hover {
    color: var(--color-accent-light);
    transform: translateX(4px);
}

/* ---------- Product Showcase ---------- */
.showcase {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
}

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.showcase-tab {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.showcase-tab:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
}

.showcase-tab.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.showcase-screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.showcase-screen.active {
    display: block;
}

.showcase-image-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
}

.showcase-image-wrapper img {
    width: 100%;
    display: block;
}

.showcase-image-wrapper .window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dot.red {
    background: #ef4444;
}

.window-dot.yellow {
    background: #facc15;
}

.window-dot.green {
    background: #22c55e;
}

/* ---------- Metrics Bar ---------- */
.metrics {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-2xl) 0;
}

.metrics .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

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

.metric-value {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--color-accent);
}

.metric-label {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-4xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.testimonial-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-stars {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
}

.faq-list {
    max-width: 760px;
    margin: var(--space-3xl) auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform var(--transition);
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(238, 124, 43, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.cta-microcopy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
}

/* ---------- Footer ---------- */
.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 300px;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

/* ---------- Popup: Exit Intent (Modal) ---------- */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-modal {
    background: var(--color-card);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 90%;
    padding: var(--space-2xl);
    position: relative;
    animation: fadeInUp 0.4s ease;
}

.popup-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.3rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    background: none;
    border: none;
}

.popup-close:hover {
    color: var(--color-text);
}

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

.popup-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-lg);
    background: var(--color-accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-icon-wrap .material-symbols-rounded {
    font-size: 1.6rem;
    color: var(--color-accent);
}

.popup-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.popup-text {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.popup-form input {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.popup-form input::placeholder {
    color: var(--color-text-muted);
}

.popup-form input:focus {
    border-color: var(--color-accent);
}

.popup-decline {
    display: block;
    margin: var(--space-md) auto 0;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    text-decoration: underline;
}

.popup-decline:hover {
    color: var(--color-text-secondary);
}

/* ---------- Popup: Scroll Slide-in ---------- */
.popup-slidein {
    display: none;
    position: fixed;
    bottom: 100px;
    right: -400px;
    width: 340px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-slidein.active {
    display: block;
    right: 28px;
}

.popup-slidein-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.popup-slidein-close:hover {
    color: var(--color-text);
}

.popup-slidein-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-sm);
}

.popup-slidein-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.popup-slidein-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* ---------- Popup: Time-Delayed Sticky Bar ---------- */
.popup-stickybar {
    display: none;
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1c1e2a, #242638);
    border-top: 2px solid var(--color-accent);
    padding: var(--space-md) 0;
    z-index: 1500;
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-stickybar.active {
    display: block;
    bottom: 0;
}

.popup-stickybar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.popup-stickybar-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.popup-stickybar-content p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.popup-stickybar-content strong {
    color: var(--color-text);
}

.popup-stickybar-emoji {
    font-size: 1.5rem;
}

.popup-stickybar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.popup-stickybar-dismiss {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    background: none;
    border: none;
}

.popup-stickybar-dismiss:hover {
    color: var(--color-text);
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Mobile Navigation ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 17, 23, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.mobile-menu a:hover {
    color: var(--color-accent);
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: var(--color-text);
    cursor: pointer;
}

/* ==============================================
   RESPONSIVE DESIGN - MOBILE-FIRST OVERRIDES
   ============================================== */

/* ---------- Tablet Landscape / Small Desktop (max 1024px) ---------- */
@media (max-width: 1024px) {

    /* --- Global --- */
    .section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    /* --- Hero --- */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        margin: var(--space-2xl) auto 0;
    }

    .hero-image img {
        transform: none;
    }

    .hero-image .floating-card.card-1 {
        right: 10px;
    }

    .hero-image .floating-card.card-2 {
        left: 10px;
    }

    /* --- Features --- */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Testimonials --- */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ---------- Tablet Portrait (max 768px) ---------- */
@media (max-width: 768px) {

    /* --- Global --- */
    .section {
        padding: var(--space-2xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* --- Navbar --- */
    .navbar-links,
    .navbar-actions .btn-outline {
        display: none;
    }

    .navbar-actions .btn-primary.btn-nav {
        font-size: 0.82rem;
        padding: 0.5rem 1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-image .floating-card {
        display: none;
    }

    .hero-stats {
        gap: var(--space-xl);
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    /* --- Logo Bar --- */
    .logo-bar {
        padding: var(--space-lg) 0;
    }

    .logo-bar-grid {
        gap: var(--space-lg);
        justify-content: center;
    }

    .logo-bar-item {
        font-size: 0.82rem;
    }

    .logo-bar-item .material-symbols-rounded {
        font-size: 1.1rem;
    }

    /* --- Features --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .feature-card {
        padding: var(--space-xl);
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .feature-desc {
        font-size: 0.88rem;
    }

    /* --- Showcase --- */
    .showcase-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: var(--space-sm);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .showcase-tabs::-webkit-scrollbar {
        display: none;
    }

    .showcase-tab {
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 0.5rem 1rem;
    }

    .showcase-image-wrapper {
        border-radius: var(--radius-lg);
    }

    /* --- Metrics --- */
    .metrics {
        padding: var(--space-xl) 0;
    }

    .metrics .container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .metric-value {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    .metric-label {
        font-size: 0.82rem;
    }

    /* --- Testimonials --- */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .testimonial-card {
        padding: var(--space-xl);
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* --- FAQ --- */
    .faq-list {
        margin-top: var(--space-2xl);
    }

    .faq-question {
        font-size: 0.92rem;
        padding: var(--space-md) 0;
    }

    .faq-answer p {
        font-size: 0.88rem;
    }

    /* --- CTA --- */
    .cta-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .cta-desc {
        font-size: 0.95rem;
    }

    .cta-box .btn-lg {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* --- Popups --- */
    .popup-modal {
        width: 95%;
        max-width: 400px;
        padding: var(--space-xl);
    }

    .popup-title {
        font-size: 1.1rem;
    }

    .popup-text {
        font-size: 0.88rem;
    }

    .popup-slidein {
        width: calc(100% - 2rem);
        right: -110%;
        bottom: 80px;
    }

    .popup-slidein.active {
        right: 1rem;
    }

    .popup-stickybar-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }

    .popup-stickybar-content {
        flex-direction: column;
    }

    .popup-stickybar-content p {
        font-size: 0.82rem;
    }

    /* Hide time-delayed popup on mobile per strategy */
    .popup-stickybar {
        display: none !important;
    }

    /* --- WhatsApp --- */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

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

    /* --- Global --- */
    .section {
        padding: var(--space-xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section-label {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
    }

    /* --- Hero --- */
    .hero {
        padding-top: 90px;
        padding-bottom: var(--space-xl);
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-microcopy {
        font-size: 0.78rem;
    }

    .hero-actions .btn-lg {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.85rem 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
        margin-top: var(--space-2xl);
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .hero-stat-label {
        font-size: 0.78rem;
    }

    /* --- Logo Bar --- */
    .logo-bar-label {
        font-size: 0.72rem;
    }

    .logo-bar-grid {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    /* --- Features --- */
    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .feature-list li {
        font-size: 0.85rem;
    }

    .feature-link {
        font-size: 0.82rem;
    }

    /* --- Showcase --- */
    .showcase-tabs {
        margin-top: var(--space-lg);
        margin-bottom: var(--space-lg);
    }

    /* --- Metrics --- */
    .metrics .container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .metric-item {
        padding: var(--space-sm) 0;
    }

    /* --- Testimonials --- */
    .testimonial-card {
        padding: var(--space-lg);
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
    }

    .testimonial-name {
        font-size: 0.88rem;
    }

    /* --- FAQ --- */
    .faq-question {
        font-size: 0.88rem;
    }

    /* --- CTA --- */
    .cta-title {
        font-size: 1.3rem;
    }

    .cta-desc {
        font-size: 0.88rem;
    }

    .cta-microcopy {
        font-size: 0.78rem;
    }

    /* --- Footer --- */
    .footer-heading {
        font-size: 0.8rem;
        margin-bottom: var(--space-md);
    }

    .footer-links a {
        font-size: 0.82rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    /* --- Popup --- */
    .popup-modal {
        padding: var(--space-lg);
    }

    .popup-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .popup-icon-wrap .material-symbols-rounded {
        font-size: 1.3rem;
    }

    .popup-title {
        font-size: 1rem;
    }

    .popup-text {
        font-size: 0.82rem;
        margin-bottom: var(--space-lg);
    }

    .popup-form input {
        padding: 0.7rem 1rem;
        font-size: 0.88rem;
    }

    .popup-decline {
        font-size: 0.72rem;
    }

    .popup-slidein {
        bottom: 70px;
    }

    .popup-slidein-title {
        font-size: 0.92rem;
    }

    .popup-slidein-text {
        font-size: 0.8rem;
    }
}

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

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-desc {
        font-size: 0.82rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.82rem;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    .cta-title {
        font-size: 1.15rem;
    }

    .cta-box .btn-lg {
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
    }

    .popup-modal {
        width: 98%;
        padding: var(--space-md);
    }

    .popup-title {
        font-size: 0.92rem;
    }

    .navbar-logo {
        font-size: 1.1rem;
    }

    .navbar-logo .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}