/* ========================================================================
   inTray Landing Page — Modern Premium Light Design System
   ======================================================================== */

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

/* --- Design Tokens --- */
:root {
    /* Colors — Light Mode with #d21c33 brand */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f7f6;
    --color-surface: #ffffff;
    --color-surface-hover: #f5f3f2;
    --color-card: #ffffff;
    --color-card-border: rgba(0, 0, 0, 0.07);
    --color-card-hover-border: rgba(210, 28, 51, 0.3);

    --color-text: #111118;
    --color-text-secondary: #5c5c6e;
    --color-text-muted: #9a9aa8;

    --color-brand: #d21c33;
    --color-brand-light: #e02e44;
    --color-brand-dark: #a8162a;
    --color-brand-glow: rgba(210, 28, 51, 0.12);
    --color-brand-subtle: rgba(210, 28, 51, 0.06);

    --color-accent: #d21c33;
    --color-accent-2: #a8162a;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #d21c33, #e02e44);
    --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(210, 28, 51, 0.08) 0%, transparent 60%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(210, 28, 51, 0.04) 0%, transparent 50%),
                     radial-gradient(at 80% 20%, rgba(210, 28, 51, 0.03) 0%, transparent 50%);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-py: clamp(80px, 10vw, 120px);
    --section-px: clamp(20px, 5vw, 40px);
    --container: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 8px 30px rgba(210, 28, 51, 0.1);
    --shadow-glow-strong: 0 12px 40px rgba(210, 28, 51, 0.18);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
    --duration-slow: 0.6s;
}

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

.landing-page {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.landing-page *::selection {
    background: rgba(210, 28, 51, 0.15);
    color: var(--color-text);
}

/* --- Utility Container --- */
.lp-container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--section-px);
    padding-right: var(--section-px);
}

/* --- Buttons --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body) !important;
    font-size: 0.938rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    border-radius: var(--radius-full) !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--duration-normal) var(--ease-out) !important;
    position: relative;
    overflow: hidden;
}

.button-primary {
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 4px 16px rgba(210, 28, 51, 0.25),
                0 1px 3px rgba(0, 0, 0, 0.1);
}

.button-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow-strong),
                0 8px 24px rgba(210, 28, 51, 0.3) !important;
}

.button-primary:active {
    transform: translateY(0);
}

.button-secondary {
    background: transparent !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-card-border) !important;
}

.button-secondary:hover {
    background: var(--color-bg-alt) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px) !important;
}

.button-lg {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.button-icon {
    width: 20px;
    height: 20px;
}

/* --- Section Base --- */
.lp-section {
    position: relative;
    padding: var(--section-py) 0;
}

.lp-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lp-section--alt {
    background: var(--color-bg-alt);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: var(--color-brand-subtle);
    border: 1px solid rgba(210, 28, 51, 0.1);
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--color-text);
    -webkit-text-fill-color: var(--color-text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ========================================================================
   HEADER / NAVIGATION
   ======================================================================== */


/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
    background: var(--color-bg);
}

/* Dynamic Mesh Background */
.hero-mesh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(210, 28, 51, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(210, 28, 51, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(210, 28, 51, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

/* Animated grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1.5px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.75rem;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem 0.5rem 0.55rem;
    border-radius: var(--radius-full);
    background: rgba(210, 28, 51, 0.06);
    border: 1px solid rgba(210, 28, 51, 0.12);
    color: var(--color-brand);
    font-size: 0.825rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(210, 28, 51, 0.04);
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-brand);
    box-shadow: 0 0 10px rgba(210, 28, 51, 0.4);
    animation: pulse-dot 2s ease infinite;
}

.hero-badge .badge-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--color-text);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--color-brand) 30%, #ff5263 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--color-text-secondary);
    line-height: 1.75;
    max-width: 520px;
}

.hero-description strong {
    color: var(--color-text);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.button-arrow svg {
    transition: transform var(--duration-fast) var(--ease-out);
}

.button-arrow:hover svg {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.hero-trust-avatars {
    display: flex;
}

.hero-trust-avatars .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    margin-left: -12px;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.hero-trust-avatars .avatar:first-child {
    margin-left: 0;
}

.hero-trust-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.hero-trust-text strong {
    color: var(--color-text);
}

/* Hero Visual Block (Right Side) */
.hero-visual-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 3;
}

.visual-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(210, 28, 51, 0.1) 0%, transparent 70%);
    z-index: 0;
    filter: blur(20px);
}

.device-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #0f1016;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: transform var(--duration-slow) var(--ease-out);
}

.device-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

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

.device-dots {
    display: flex;
    gap: 4px;
}

.device-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.device-title {
    font-size: 0.725rem;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.device-status {
    font-size: 0.65rem;
    color: #10b981;
    font-weight: 600;
}

.device-screen {
    background: #151722;
    border-radius: 12px;
    padding: 1rem;
    overflow: hidden;
    height: 280px;
}

.kds-mock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    height: 100%;
}

.kds-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kds-card {
    background: #232634;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.kds-card.active {
    border-color: rgba(210, 28, 51, 0.4);
    box-shadow: 0 4px 12px rgba(210, 28, 51, 0.15);
}

.kds-card.finished {
    opacity: 0.7;
    background: rgba(31, 34, 53, 0.5);
}

.kds-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.25rem;
}

.table-tag {
    font-size: 0.725rem;
    font-weight: 700;
    color: #fff;
}

.time-tag {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}

.time-tag.highlight {
    color: var(--color-brand);
    font-weight: 700;
}

.status-tag {
    font-size: 0.65rem;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.9);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.kds-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kds-items li {
    font-size: 0.725rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.kds-items li span {
    font-weight: 700;
    color: var(--color-brand);
}

/* New styles for enhanced kds card header/body layout */
.kds-card-large {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kds-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.5rem;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
}

.kds-card-left .kds-table-name {
    font-weight: 800;
    color: #ffffff;
    font-size: 0.9rem;
}

.kds-card-left .kds-order-time {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
}

.kds-card-right {
    text-align: right;
}

.kds-order-status {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
}

.kds-order-total {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
}

.kds-card-body {
    padding: 0.25rem 0.5rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1 1 auto;
}

.kds-card-footer {
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    color: #f5f3f2;
    font-size: small;
}

.kds-item-left { color: rgba(255,255,255,0.9); font-size:0.78rem; }
.kds-item-right { margin-left: auto; }
.kds-item-right .status-tag { background: transparent; color: rgba(255,255,255,0.85); padding:0; font-weight:600; }
.kds-item-note .muted { color: rgba(255,255,255,0.55); }

/* Finished card neutral style */
.kds-card.finished {
    opacity: 0.95;
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.8);
}
.kds-card.finished .kds-card-left .kds-table-name { color: rgba(255,255,255,0.95); }
.kds-card.finished .kds-item-left { color: rgba(255,255,255,0.8); }
.kds-card.finished .status-tag { color: rgba(255,255,255,0.75); }

/* Floating Accent Cards styling */
.floating-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform var(--duration-normal) var(--ease-spring);
}

.floating-card strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text);
    font-weight: 700;
}

.floating-card span {
    display: block;
    font-size: 0.725rem;
    color: var(--color-text-secondary);
}

/* Floating Animation Keyframes */
@keyframes float-y-1 {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float-y-2 {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes float-y-3 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* Position Floating Cards */
.order-toast {
    top: -5%;
    left: -15%;
    animation: float-y-1 6s ease-in-out infinite;
}

.toast-icon {
    font-size: 1.4rem;
}

.sales-metrics {
    bottom: 5%;
    right: -15%;
    animation: float-y-2 7s ease-in-out infinite;
}

.metrics-icon {
    font-size: 1.4rem;
}

.speed-badge {
    bottom: -15%;
    left: 10%;
    animation: float-y-3 5s ease-in-out infinite;
    padding: 0.7rem 1.1rem;
    border-color: rgba(210, 28, 51, 0.2);
    background: rgba(210, 28, 51, 0.05);
}

.speed-badge strong {
    color: var(--color-brand);
    font-size: 1.05rem;
    font-family: var(--font-mono);
    line-height: 1;
}

.speed-badge span {
    font-size: 0.7rem;
    color: var(--color-brand);
    font-weight: 500;
}

/* ========================================================================
   LOGOS / TRUSTED BY
   ======================================================================== */
.logos-section {
    padding: 40px 0 20px;
    position: relative;
}

.logos-section .section-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

.logo-circle {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: default;
}

.logo-circle:hover {
    transform: translateY(-4px) scale(1.08);
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.logo-circle svg {
    width: 44px;
    height: 44px;
    color: var(--color-text-secondary);
    transition: color var(--duration-normal) ease, transform var(--duration-normal) var(--ease-spring);
}

.logo-circle:hover svg {
    color: var(--color-brand);
    transform: scale(1.1);
}

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

/* ========================================================================
   STATS / METRICS
   ======================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-md);
}

.stat-card {
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: background var(--duration-normal) ease;
}

.stat-card:hover {
    background: var(--color-surface-hover);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--color-brand);
    -webkit-text-fill-color: var(--color-brand);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* ========================================================================
   FEATURES SECTION
   ======================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-brand-subtle);
    border: 1px solid rgba(210, 28, 51, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--duration-normal) ease;
}

.feature-card:hover .feature-icon {
    background: var(--color-brand-glow);
    border-color: rgba(210, 28, 51, 0.2);
    box-shadow: 0 0 16px rgba(210, 28, 51, 0.1);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-brand);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-brand-subtle);
    border: 1px solid rgba(210, 28, 51, 0.08);
    color: var(--color-brand);
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-mono);
    margin-bottom: 1.25rem;
    transition: all var(--duration-normal) ease;
}

.feature-card:hover .feature-number {
    background: var(--color-brand-glow);
    border-color: rgba(210, 28, 51, 0.2);
    box-shadow: 0 0 16px rgba(210, 28, 51, 0.1);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.925rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================================================
   BENEFITS / WHY US
   ======================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.benefit-card {
    position: relative;
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-card-hover-border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.benefit-icon--speed { background: rgba(255, 180, 30, 0.12); }
.benefit-icon--align { background: rgba(60, 140, 240, 0.1); }
.benefit-icon--waste { background: rgba(50, 190, 120, 0.1); }

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.benefit-card p {
    font-size: 0.925rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonial-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 1.25rem;
    align-items: stretch;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(210, 28, 51, 0.3), transparent);
}

.testimonial-quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--color-brand);
    -webkit-text-fill-color: var(--color-brand);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    opacity: 0.25;
    font-family: Georgia, serif;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 400;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.testimonial-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Side stats */
.testimonial-stats {
    display: grid;
    gap: 1.25rem;
}

.testimonial-stat-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--duration-normal) var(--ease-out);
}

.testimonial-stat-card:hover {
    border-color: var(--color-card-hover-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-stat-card .stat-number {
    font-size: 2.2rem;
}

.testimonial-stat-card .stat-label {
    font-size: 0.85rem;
}

/* ========================================================================
   FAQ SECTION
   ======================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
}

.faq-card:hover {
    border-color: var(--color-card-hover-border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.faq-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

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

/* ========================================================================
   CTA SECTION
   ======================================================================== */
.cta-section {
    padding: var(--section-py) 0;
}

.cta-block {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-card-border);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(210, 28, 51, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-block::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-brand), transparent);
    pointer-events: none;
    opacity: 0.4;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    max-width: 20ch;
    color: var(--color-text);
    -webkit-text-fill-color: var(--color-text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.cta-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 48ch;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
    background: var(--color-bg-alt);
    padding: 64px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--section-px);
}

/* Footer CTA */
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 2.5rem;
    border-radius: var(--radius-xl);
    background: var(--color-card);
    border: 1px solid var(--color-card-border);
    box-shadow: var(--shadow-md);
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(210, 28, 51, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.footer-cta .eyebrow-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.5rem;
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-cta h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.footer-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Footer main grid */
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-brand p {
    max-width: 320px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-brand .brand-logo {
    width: 110px;
    margin-bottom: 0.5rem;
}

.footer-col h4 {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
}

.footer-col a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.8;
    transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
    color: var(--color-brand);
}

/* Social links */
.social-links {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--color-bg);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--duration-normal) var(--ease-out);
}

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--color-brand-subtle);
    border-color: rgba(210, 28, 51, 0.15);
    color: var(--color-brand);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(210, 28, 51, 0.5);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(210, 28, 51, 0);
    }
}

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

.reveal.visible {
    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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1040px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonial-layout {
        grid-template-columns: 1fr;
    }

    .testimonial-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        text-align: center;
    }

    .hero-text-block {
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual-block {
        margin-top: 1.5rem;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .order-toast {
        left: -8%;
        top: -8%;
    }

    .sales-metrics {
        right: -8%;
        bottom: 0%;
    }

    .speed-badge {
        bottom: -12%;
    }

    .cta-block {
        padding: 3rem 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .cta-actions .button {
        width: 100%;
    }

    .testimonial-stats {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }
}

/* ========================================================================
   RESTAURANT LOGO CIRCLES
   ======================================================================== */
.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.logo-circle .restaurant-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}


.site-nav .nav-item {
        font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
    color: var(--color-text);
}
