:root {
    --bg-color: #020617; /* Very dark slate */
    --card-bg: rgba(15, 23, 42, 0.6);
    --primary: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --secondary: #0ea5e9; /* Light blue */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: var(--text-main);
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links .btn-primary {
    color: white !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* Generic Layout */
section {
    padding: 7rem 5%;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-align {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    color: #a5b4fc;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-graphics {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
}

.mockup-card {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    padding: 2rem;
    z-index: 2;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, rgba(30,41,59,0.8), rgba(15,23,42,0.9));
    box-shadow: -20px 20px 40px rgba(0,0,0,0.5);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.skeleton-line {
    height: 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    margin-bottom: 1.2rem;
}
.skeleton-line.full { width: 100%; }
.skeleton-line.partial { width: 65%; }
.skeleton-chart {
    height: 120px;
    background: linear-gradient(45deg, rgba(255,255,255,0.03), rgba(99, 102, 241, 0.15));
    border-radius: 8px;
    margin-top: 2rem;
}


/* Features Setup */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(180deg, rgba(30,41,59,0.4) 0%, rgba(15,23,42,0.8) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: transform 0.4s, background 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 65px;
    height: 65px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* SaaS Section */
.saas-food {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, var(--bg-color) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.saas-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.saas-orb {
    background: var(--secondary);
    left: 10%;
    opacity: 0.25;
}

.saas-pos-mockup {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    padding: 1.8rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.mockup-header-pos {
    font-family: 'Outfit';
    font-weight: 700;
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.mockup-header-pos i {
    color: var(--secondary);
}

.pos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.pos-item {
    background: rgba(30, 41, 59, 0.8);
    height: 90px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #38bdf8;
    transition: background 0.3s, transform 0.2s;
    border: 1px solid rgba(255,255,255,0.03);
    cursor: pointer;
}
.pos-item span {
    font-size: 0.8rem;
    font-family: 'Inter';
    margin-top: 5px;
    color: #cbd5e1;
}
.pos-item:hover {
    background: rgba(56, 189, 248, 0.15);
    transform: translateY(-3px);
}

.btn-pos {
    background: #10b981;
    color: white;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.btn-pos:hover {
    background: #059669;
}

.saas-content {
    flex: 1;
}

.saas-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.saas-benefits {
    list-style: none;
    margin-bottom: 3rem;
}

.saas-benefits li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
}

.saas-benefits li i {
    color: #10b981;
    font-size: 1.3rem;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(15,23,42,0.4);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.price {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.price span {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit';
}

/* Contact */
.contact {
    display: flex;
    justify-content: center;
}

.contact-box {
    text-align: center;
    padding: 5rem 4rem;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    background: linear-gradient(135deg, rgba(30,41,59,0.6), rgba(15,23,42,0.9));
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(30, 41, 59, 1);
}

form button {
    font-size: 1.15rem;
    padding: 1.2rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: #020617;
}

.footer-content .logo {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.socials {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials i {
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.socials i:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 800px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        margin-bottom: 4rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons, .pricing {
        justify-content: center;
    }

    .hero-graphics {
        display: none; /* Hide complex graphics on small screens for clarity */
    }

    .section-title, .section-title.left-align {
        text-align: center;
        font-size: 2.2rem;
    }

    .pricing {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }

    .contact-box {
        padding: 3rem 2rem;
    }
}
