:root {
    /* Colors */
    --bg-dark: #0a0b10;
    --bg-panel: rgba(20, 22, 32, 0.6);
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --secondary: #2563eb;
    --accent: #f43f5e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

/* Background Effects */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.4) 0%, rgba(10,11,16,0) 70%);
    top: -200px;
    left: -200px;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, rgba(10,11,16,0) 70%);
    top: 20%;
    right: -100px;
}

.bg-shape-3 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244,63,94,0.2) 0%, rgba(10,11,16,0) 70%);
    bottom: -300px;
    left: 20%;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h1 span {
    background: linear-gradient(135deg, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

h2 span {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary));
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 11, 16, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: #a78bfa;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #a78bfa;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat i {
    color: #10b981;
}

/* Visuals & Glassmorphism */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-visual {
    position: relative;
}

.main-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
}

.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #eab308; }
.dots span:nth-child(3) { background: #22c55e; }

.mockup-title {
    margin: 0 auto;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 60px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    gap: 16px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-item:hover, .sidebar-item.active {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
}

.canvas-area {
    flex: 1;
    padding: 24px;
    background: repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 50% / 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas {
    width: 80%;
    height: 80%;
    background: white;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.element {
    position: absolute;
    border: 2px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.el-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    transform: rotate(-10deg);
}

.el-2 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    right: 20%;
    transform: rotate(15deg);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 5s ease-in-out infinite reverse;
}

.floating-badge img {
    width: 24px;
    height: 24px;
}

.floating-badge i {
    font-size: 24px;
    color: #f43f5e;
}

.badge-1 {
    top: 10%;
    right: -20px;
}

.badge-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Desktop App Section */
.desktop-app-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(10,11,16,1) 0%, rgba(15,23,42,0.8) 100%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

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

.app-mockup {
    display: flex;
    height: 400px;
}

.app-sidebar {
    width: 80px;
    background: rgba(0,0,0,0.4);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 30px;
}

.app-icon {
    width: 40px;
    height: 40px;
}

.app-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.menu-item {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: var(--transition);
}

.menu-item.active {
    color: white;
    border-left-color: var(--primary);
    background: rgba(124,58,237,0.1);
}

.app-content {
    flex: 1;
    padding: 24px;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.order-item:hover {
    background: rgba(255,255,255,0.08);
}

.order-item.new {
    border-color: rgba(37,99,235,0.5);
    background: rgba(37,99,235,0.1);
}

.order-info h4 {
    margin-bottom: 4px;
}

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

.order-status {
    font-size: 0.875rem;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-status.complete {
    color: #10b981;
}

.alarm-visual {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.desktop-visual {
    position: relative;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,99,235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37,99,235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235, 0); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.bell-shake {
    animation: shake 1s infinite;
}

.desktop-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.download-action {
    margin-top: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.btn-download {
    width: 100%;
    justify-content: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20,22,32,0.8), rgba(30,41,59,0.8));
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.btn-download:hover {
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(40,50,70,0.9));
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), 0 0 20px rgba(124,58,237,0.2);
}

.download-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-text strong {
    font-size: 1.125rem;
}

.download-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    background: rgba(0,0,0,0.3);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .desktop-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .desktop-visual {
        order: -1;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add mobile menu logic for production */
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stat {
        font-size: 0.75rem;
    }
}
