:root {
    /* Enterprise POS Color Palette */
    --primary: #0f172a; /* Deep Charcoal */
    --accent: #0d9488; /* Teal Primary */
    --accent-light: #2dd4bf; /* Teal Light */
    --bg-light: #f8fafc; /* Neutral Light BG */
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: rgba(226, 232, 240, 0.8);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px -12px rgba(15, 23, 42, 0.12);
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --radius: 1.25rem;
}

html {
    scroll-behavior: auto;
}

html.is-loaded {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

/* STICKY NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* BUTTONS */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}

.btn-accent:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.4);
}

/* CARDS */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent);
}

/* BADGE */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(13, 148, 136, 0.08);
    color: var(--accent);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.badge:hover {
    background: rgba(13, 148, 136, 0.15);
    transform: scale(1.05);
}

/* HERO SECTION */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(15, 23, 42, 0.03), transparent 40%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* MOCKUPS */
.mockup-container {
    margin-top: 4rem;
    position: relative;
    perspective: 1200px;
    width: 100%;
}

.staggered-mockup {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 550px;
}

.terminal-mockup {
    width: 85%;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    transition: var(--transition);
}

.terminal-mockup img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
}

/* Floating UI Decorators */
.floating-ui {
    position: absolute;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 10;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(255,255,255,0.4);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-ui.ui-1 { top: 5%; left: 10%; animation-delay: 0s; }
.floating-ui.ui-2 { bottom: 20%; left: 5%; animation-delay: -2s; }
.floating-ui.ui-3 { top: 15%; right: 10%; animation-delay: -4s; }

.ui-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.bg-success { background: #10b981; }
.bg-warning { background: #f59e0b; }
.bg-indigo { background: #6366f1; }

/* PROBLEM/SOLUTION GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* INDUSTRIES */
.industry-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.industry-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.industry-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* HOW IT WORKS */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    counter-reset: step;
}

.step-item {
    flex: 1;
    position: relative;
    text-align: center;
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    z-index: 5;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes blurIn {
    from { opacity: 0; filter: blur(20px); transform: scale(1.1); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-10deg) translateY(50px); }
    to { opacity: 1; transform: rotate(0) translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1.0);
    will-change: transform, opacity;
}

.reveal-up { transform: translateY(50px) scale(0.92); }
.reveal-left { transform: translateX(-50px) scale(0.92); }
.reveal-right { transform: translateX(50px) scale(0.92); }
.reveal-scale { transform: scale(0.85); }

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* BRAND BADGE */
.brand-badge {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-badge:hover {
    background: white;
    border-color: #6366f1; /* Indigo brand color */
    transform: translateY(-2px);
}

.brand-badge-icon {
    width: 24px;
    height: 24px;
    background: #6366f1; /* Indigo brand color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
}

.brand-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.brand-badge-accent {
    color: #6366f1;
    font-weight: 700;
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .industry-card { grid-template-columns: 1fr; }
    .industry-content { padding: 2.5rem 1.5rem; }
    .industry-image { min-height: 300px; }
    .terminal-mockup { position: relative; bottom: 0; right: 0; margin: 2rem auto 0; width: 100%; max-width: 320px; }
    .pricing-card.featured { transform: none; margin-bottom: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-container { justify-content: center; }
    .nav-container .btn-primary { display: none; }
    .hero { padding: 6rem 0 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .section-padding { padding: 4rem 1rem; }
    .steps { flex-direction: column; gap: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .brand-badge { 
        bottom: 1rem; 
        left: 50%; 
        transform: translateX(-50%); 
        width: 90%; 
        justify-content: center;
        transform-origin: center;
    }
}
