/* Landing Page Styling - Previous Dark Theme (Premium) */
:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: #ec4899; bottom: -50px; left: -50px; }
.blob-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 40%; }

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-links {
    display: flex; gap: 1.5rem;
}

.nav-btn {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-btn.primary { background: var(--primary); }
.nav-btn.primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.nav-btn:not(.primary):hover { background: rgba(255, 255, 255, 0.05); }

/* Hero Section */
.hero {
    padding: 8rem 0;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta { display: flex; gap: 1.5rem; }

.btn {
    text-decoration: none;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Glass Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Feature Mockup */
.mockup {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.mockup-header { display: flex; gap: 8px; margin-bottom: 1.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.mockup-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.receipt-preview {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
}

.box-highlight {
    position: absolute;
    top: 50px;
    left: 15px;
    width: 80px;
    height: 30px;
    border: 2px solid var(--primary);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.3; }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

/* Features */
.features { padding: 10rem 0; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.2rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); }

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 3rem; }
    .hero-cta { justify-content: center; }
    .feature-grid { grid-template-columns: 1fr; }
}
