/* NovinEx - Modern Restaurant Solutions */

:root {
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-accent: #f97316;
    --color-accent-light: #fb923c;
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-700: #334155;
    --color-gray-900: #0f172a;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-gray-700);
    background: var(--color-white);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-300);
    transition: color 0.2s;
}

.nav-link:hover { color: var(--color-white); }

.nav-cta {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.mobile-toggle { display: none; }

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--color-primary);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    
    .nav.nav-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 0;
        padding: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--color-white);
    }
    
    .nav-link:hover {
        color: var(--color-accent);
    }
    
    .nav-cta {
        padding: 1rem 2.5rem;
        font-size: 1.125rem;
        margin-top: 1rem;
    }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 0.5rem;
        z-index: 1001;
        position: relative;
    }
    
    .mobile-toggle span {
        display: block;
        width: 26px;
        height: 3px;
        background: var(--color-white);
        border-radius: var(--radius-full);
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding-top: 80px;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero > .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    padding: 0.5rem 1.5rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
}

.hero-stat { text-align: center; }

.hero-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-white);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

/* Steps */
.steps {
    background: var(--color-gray-50);
    padding: 6rem 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-gray-500);
}

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

.step-card {
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--color-gray-500);
}

@media (max-width: 992px) {
    .steps-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* Products */
.products {
    padding: 6rem 0;
    background: var(--color-white);
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.products-label {
    display: inline-flex;
    padding: 0.25rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.products-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.products-description {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-gray-700);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.dashboard-preview {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.dashboard-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

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

.dashboard-content {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-stat-card {
    padding: 1rem;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
}

.dashboard-stat-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-bottom: 0.25rem;
}

.dashboard-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

.dashboard-chart {
    height: 120px;
    background: linear-gradient(to bottom, rgba(249, 115, 22, 0.1), transparent);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.dashboard-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light), var(--color-accent));
    clip-path: polygon(0 100%, 5% 80%, 15% 70%, 25% 85%, 35% 60%, 45% 75%, 55% 40%, 65% 55%, 75% 30%, 85% 50%, 95% 20%, 100% 35%, 100% 100%);
    opacity: 0.8;
}

@media (max-width: 992px) {
    .products-content { grid-template-columns: 1fr; }
    .products-visual { order: -1; }
}

/* Stats */
.stats {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}

.stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-value span { color: var(--color-accent); }

.stat-label {
    font-size: 1rem;
    color: var(--color-gray-400);
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--color-gray-50);
}

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

.testimonial-card {
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 60px;
    color: var(--color-accent);
    opacity: 0.2;
    font-style: normal;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--color-white);
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
}

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

@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--color-accent); }

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    color: var(--color-gray-500);
    font-size: 1.25rem;
    transition: all 0.2s;
}

.faq-item.active .faq-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer { max-height: 200px; }

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-gray-500);
}

/* CTA */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--color-gray-300);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-gray-900);
    padding: 4rem 0 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo img { height: 36px; width: auto; }

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.contact-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    transition: color 0.2s;
}

.footer-link:hover { color: var(--color-accent); }

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

.footer-copyright {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    transition: color 0.2s;
}

.footer-legal a:hover { color: var(--color-white); }

@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 576px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

