:root {
    --bg-dark: #0f1115;
    --bg-card: rgba(26, 29, 36, 0.7);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-red: #19a794;
    --accent-red-hover: #138777;
    --accent-blue: #0e233e;
    --glow-color: rgba(25, 167, 148, 0.15);
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    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;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    border-radius: 2px;
}

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

.highlight {
    background: linear-gradient(90deg, var(--accent-red), #51d6c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 14px rgba(25, 167, 148, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 167, 148, 0.6);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-red);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225, 29, 72, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* POS Section */
.product-showcase {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #15181e 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.product-text {
    flex: 1;
}

.product-text .section-title {
    left: 0;
    transform: none;
    text-align: left;
    margin-bottom: 1rem;
}

.product-text .section-title::after {
    left: 0;
    width: 60px;
}

.product-text h3 {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-list span {
    color: var(--accent-red);
    font-weight: bold;
}

.product-image {
    flex: 1;
    position: relative;
}

.mockup-frame {
    position: relative;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.mockup-frame img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(25, 167, 148, 0.2) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background-color: #0a0c0f;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 1rem;
}

.footer-contact h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-email {
    color: var(--accent-red);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-email:hover {
    color: var(--accent-red-hover);
}

.contact-whatsapp {
    color: #25D366;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
}

.contact-whatsapp:hover {
    color: #128C7E;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav approach for now */
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .product-container {
        flex-direction: column;
    }

    .product-text .section-title, .product-text .section-title::after {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-text .section-title::after {
        transform: none;
        left: calc(50% - 30px);
    }

    .product-text {
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }
}
