/* STOVE Website - Toast-Inspired Design */

:root {
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --secondary: #2D3047;
    --navy: #0F172A;
    --text: #2D3047;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg: #ffffff;
    --bg-light: #F9FAFB;
    --bg-dark: #0F172A;
    --border: #E5E7EB;
    --success: #10B981;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 { 
    line-height: 1.2; 
    font-weight: 700; 
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { color: var(--text-light); }

a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.2s;
}

/* ===== NAVIGATION ===== */
.nav {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-link:hover {
    background: var(--bg-light);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 720px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    margin-top: 8px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

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

.mega-menu-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.mega-menu-link:hover {
    background: var(--bg-light);
}

.mega-menu-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.mega-menu-link h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.mega-menu-link p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
}

.nav-phone svg {
    width: 18px;
    height: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

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

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

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

.btn-outline:hover {
    border-color: var(--text);
}

.btn-dark {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.btn-dark:hover {
    background: var(--secondary);
}

.btn-white {
    background: white;
    color: var(--text);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block { width: 100%; }

.btn svg {
    width: 18px;
    height: 18px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 80px 0 60px;
    background: white;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #DBEAFE;
    color: #1E40AF;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

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

.hero h1 {
    margin-bottom: 24px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
}

.hero-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.hero-input:focus {
    outline: none;
    border-color: var(--primary);
}

.hero-video {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary);
}

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

.hero-video-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.2s;
}

.play-button:hover {
    transform: scale(1.05);
}

.play-button svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

/* ===== RESTAURANT TYPES SECTION ===== */
.restaurant-types {
    padding: 80px 0;
    background: white;
}

.types-container {
    display: grid;
    grid-template-columns: 300px 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.types-tabs {
    display: flex;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: 24px;
}

.types-tab {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
    color: var(--text-light);
}

.types-tab.active {
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.types-tab .badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    margin-left: 6px;
    vertical-align: middle;
}

.types-list {
    list-style: none;
}

.types-list li {
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.types-list li:hover,
.types-list li.active {
    border-left-color: var(--primary);
}

.types-list a {
    display: block;
    padding: 16px 20px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text);
}

.types-list a:hover {
    color: var(--primary);
}

.types-list .types-learn-more {
    display: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0 20px 16px;
}

.types-list li.active .types-learn-more {
    display: flex;
    align-items: center;
    gap: 4px;
}

.types-images {
    display: grid;
    gap: 16px;
    position: relative;
}

.types-image-set {
    display: none;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.types-image-set.active {
    display: grid;
}

.types-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.types-preview-wrapper {
    position: relative;
}

.types-preview {
    display: none;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.types-preview.active {
    display: block;
}

.types-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.types-preview-header svg {
    width: 20px;
    height: 20px;
}

.types-preview-content {
    padding: 20px;
}

.preview-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-table-num {
    width: 36px;
    height: 36px;
    background: #D1FAE5;
    color: #065F46;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.preview-table-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
}

.preview-table-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-table-meta {
    margin-left: auto;
    text-align: right;
}

.preview-table-meta .time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-table-meta .amount {
    font-weight: 600;
}

/* Preview order items */
.preview-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.preview-order-item .qty {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.preview-order-item .order-num {
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
}

.preview-order-item .item-info {
    flex: 1;
    min-width: 0;
}

.preview-order-item .item-info strong {
    display: block;
    font-weight: 600;
    color: var(--text);
}

.preview-order-item .item-info small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.preview-order-item .price {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.preview-order-item .total {
    font-weight: 600;
    color: var(--text);
    min-width: 50px;
    text-align: right;
}

.preview-order-item .order-time {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary);
}

/* ===== FEATURES ROW ===== */
.features-row {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--border);
}

.features-row-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}

.feature-row-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-row-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    color: var(--primary);
}

.feature-row-icon svg {
    width: 100%;
    height: 100%;
}

.feature-row-item h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.feature-row-item p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ===== AI/DATA SECTION ===== */
.ai-section {
    padding: 100px 0;
    background: white;
}

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

.ai-content {
    max-width: 500px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ai-content h2 {
    margin-bottom: 20px;
}

.ai-content p {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.ai-visual {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
}

.ai-chat-bubble {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.ai-chat-bubble.highlight {
    background: var(--primary);
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--navy) 0%, #2D3047 100%);
    color: white;
}

.solutions-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.solutions-section h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.solutions-section .section-header p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
}

.solutions-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.solution-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.solution-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.solution-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin: 16px 0 24px;
    max-width: 280px;
    font-size: 0.9375rem;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.5);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #2D3047 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-check {
    width: 20px;
    height: 20px;
    background: #D1FAE5;
    color: #065F46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* ===== SIGNUP ===== */
.signup-container {
    max-width: 800px;
    margin: 0 auto;
}

.signup-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.signup-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.signup-step.active {
    background: var(--primary);
    color: white;
}

.signup-step.completed {
    background: #D1FAE5;
    color: #065F46;
}

.signup-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ===== MOBILE ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 999;
    padding: 80px 24px 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 1024px) {
    .nav-menu, .nav-actions .nav-phone {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle, .hero-form {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .types-container {
        grid-template-columns: 1fr;
    }
    
    .ai-grid {
        grid-template-columns: 1fr;
    }
    
    .features-row-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-form {
        flex-direction: column;
    }
    
    .features-row-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .solutions-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .signup-steps {
        flex-direction: column;
    }
    
    .signup-card {
        padding: 24px;
    }
}
/* ================================================
   MOBILE FIXES - Append to /public/css/styles.css
   ================================================ */

/* Global fix: Prevent horizontal overflow */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ================================================
   NAV BAR - Mobile Fixes
   ================================================ */

.nav {
    width: 100%;
    max-width: 100vw;
}

.nav-container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile: Hide desktop nav, show hamburger */
@media (max-width: 992px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px !important;
        gap: 12px;
    }
    
    .nav-logo {
        flex-shrink: 0;
    }
    
    .nav-logo img {
        height: 32px !important;
        width: auto !important;
        max-width: 110px !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .nav-phone {
        display: none !important;
    }
    
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        flex-shrink: 0;
    }
    
    .mobile-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #1E293B;
        border-radius: 2px;
        transition: all 0.3s;
    }
}

@media (min-width: 993px) {
    .mobile-toggle {
        display: none !important;
    }
}

/* ================================================
   RESTAURANT TYPES SECTION - Complete Mobile Rewrite
   ================================================ */

.restaurant-types {
    padding: 60px 0;
    overflow: hidden;
}

.types-container {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* Types Navigation */
.types-nav {
    position: sticky;
    top: 100px;
}

.types-tabs {
    display: inline-flex;
    background: #F1F5F9;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 20px;
}

.types-tab {
    padding: 10px 18px;
    border: none;
    background: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    transition: all 0.2s;
    white-space: nowrap;
}

.types-tab.active {
    background: white;
    color: #1E293B;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.types-tab .badge {
    display: inline-block;
    padding: 2px 6px;
    background: #3B82F6;
    color: white;
    font-size: 9px;
    font-weight: 600;
    border-radius: 50px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Types List */
.types-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.types-list li {
    padding: 10px 0;
    padding-left: 16px;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.types-list li:hover {
    border-left-color: #CBD5E1;
}

.types-list li.active {
    border-left-color: #3B82F6;
}

.types-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.types-list li.active .types-name {
    color: #1E40AF;
    font-weight: 600;
}

.types-learn-more {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #3B82F6;
    text-decoration: none;
    margin-top: 4px;
}

.types-list li.active .types-learn-more {
    display: inline-flex;
}

.types-learn-more:hover {
    text-decoration: underline;
}

/* Types Images */
.types-images {
    position: relative;
    min-height: 280px;
}

.types-image-set {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.types-image-set.active {
    display: grid;
    opacity: 1;
}

.types-image {
    border-radius: 12px;
    min-height: 130px;
    background-size: cover !important;
    background-position: center !important;
}

/* Types Preview (POS mockup) */
.types-preview-wrapper {
    position: relative;
    min-height: 350px;
}

.types-preview {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.types-preview.active {
    display: block;
    opacity: 1;
}

/* ================================================
   TABLET RESPONSIVE (1100px and below)
   ================================================ */

@media (max-width: 1100px) {
    .types-container {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
    
    .types-preview-wrapper {
        display: none;
    }
    
    .types-images {
        min-height: 240px;
    }
}

/* ================================================
   MOBILE RESPONSIVE (768px and below)
   ================================================ */

@media (max-width: 768px) {
    .restaurant-types {
        padding: 32px 0;
    }
    
    .types-container {
        display: block;
    }
    
    /* Types nav on mobile */
    .types-nav {
        position: relative;
        top: 0;
        margin-bottom: 16px;
    }
    
    /* Tabs: full width, side by side */
    .types-tabs {
        display: flex;
        width: 100%;
        margin-bottom: 12px;
        border-radius: 10px;
    }
    
    .types-tab {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    /* Types list: horizontal scroll */
    .types-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        margin: 0 -20px;
        padding: 0 20px 8px 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .types-list::-webkit-scrollbar {
        display: none;
    }
    
    .types-list li {
        flex: 0 0 auto;
        padding: 8px 14px;
        border-left: none;
        border-bottom: 3px solid transparent;
        margin-left: 0;
        scroll-snap-align: start;
        white-space: nowrap;
    }
    
    .types-list li:hover,
    .types-list li.active {
        border-left: none;
        border-bottom-color: #3B82F6;
        background: #F1F5F9;
        border-radius: 8px 8px 0 0;
    }
    
    .types-name {
        font-size: 13px;
    }
    
    .types-learn-more {
        display: inline-flex !important;
        font-size: 11px;
        margin-top: 2px;
    }
    
    /* Images on mobile - show below list */
    .types-images {
        min-height: 160px;
        margin-top: 12px;
    }
    
    .types-image-set {
        gap: 8px;
    }
    
    .types-image {
        min-height: 120px;
        border-radius: 10px;
    }
    
    /* Hide POS preview on mobile */
    .types-preview-wrapper {
        display: none !important;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 70px 0 32px;
    }
    
    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
color: #fff;
    }
    
    .hero p,
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-form input,
    .hero-form .hero-input {
        width: 100%;
    }
    
    .hero-form button {
        width: 100%;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-video {
        display: none;
    }
    
    .hero-badge {
        font-size: 13px;
    }
}

/* ================================================
   SMALL MOBILE (480px and below)
   ================================================ */

@media (max-width: 480px) {
    .types-tabs {
        padding: 3px;
    }
    
    .types-tab {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .types-tab .badge {
        font-size: 8px;
        padding: 1px 4px;
    }
    
    .types-list li {
        padding: 6px 12px;
    }
    
    .types-name {
        font-size: 12px;
    }
    
    .types-image {
        min-height: 100px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
}

/* ================================================
   MOBILE MENU STYLES
   ================================================ */

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 10000;
    flex-direction: column;
    overflow-y: auto;
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border: none;
    background: #F1F5F9;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu nav {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
}

.mobile-nav-section {
    margin-bottom: 20px;
}

.mobile-nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8;
    margin-bottom: 8px;
}

.mobile-menu nav a {
    display: block;
    padding: 12px 0;
    color: #1E293B;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #F1F5F9;
}

.mobile-menu-actions {
    padding: 16px 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ================================================
   NAV MEGA-MENU FIX - Append to styles.css
   ================================================ */

/* Override mega-menu positioning to align left with parent nav-item */
.mega-menu {
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 40px !important; /* Space instead of margin to maintain hover */
}

/* Invisible hover bridge - prevents menu closing when moving mouse */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

/* Resources menu (last dropdown) - align to right edge */
.nav-menu > .nav-item:last-of-type .mega-menu {
    left: auto !important;
    right: 0 !important;
    min-width: 500px !important;
}

/* Ensure nav-item is the positioning context */
.nav-menu > .nav-item {
    position: relative !important;
}
/* ================================================
   NAV MEGA-MENU FIX - Append to styles.css
   ================================================ */

/* Override mega-menu positioning to align left with parent nav-item */
.mega-menu {
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 40px !important; /* Space instead of margin to maintain hover */
}

/* Invisible hover bridge - prevents menu closing when moving mouse */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

/* Resources menu (last dropdown) - align to right edge */
.nav-menu > .nav-item:last-of-type .mega-menu {
    left: auto !important;
    right: 0 !important;
    min-width: 500px !important;
}

/* Ensure nav-item is the positioning context */
.nav-menu > .nav-item {
    position: relative !important;
}

/* ================================================
   MOBILE TOGGLE (Hamburger Menu) FIX
   ================================================ */

/* Hide by default on desktop */
.mobile-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #1E293B;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Show hamburger on mobile/tablet */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-actions {
        display: none !important;
    }
}
/* ================================================
   NAV MEGA-MENU FIX - Append to styles.css
   ================================================ */

/* Override mega-menu positioning to align left with parent nav-item */
.mega-menu {
    left: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 40px !important; /* Space instead of margin to maintain hover */
}

/* Invisible hover bridge - prevents menu closing when moving mouse */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

/* Resources menu (last dropdown) - align to right edge */
.nav-menu > .nav-item:last-of-type .mega-menu {
    left: auto !important;
    right: 0 !important;
    min-width: 500px !important;
}

/* Ensure nav-item is the positioning context */
.nav-menu > .nav-item {
    position: relative !important;
}

/* ================================================
   MOBILE TOGGLE (Hamburger Menu) FIX
   ================================================ */

/* Show hamburger on mobile/tablet */
@media (max-width: 992px) {
    .nav .nav-container .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 8px !important;
    }
    
    .nav .nav-container .mobile-toggle span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        background-color: #1E293B !important;
        border-radius: 2px !important;
        margin: 0 !important;
    }
    
    .nav .nav-menu {
        display: none !important;
    }
    
    .nav .nav-actions {
        display: none !important;
    }
}

/* ================================================
   STICKY CTA FIX - Hide on mobile when form visible
   ================================================ */

@media (max-width: 768px) {
    .sticky-cta {
        display: none !important;
    }
}


