/* Base Variables & Reset */
:root {
    --primary-red: #d90000;
    --primary-red-hover: #b30000;
    --bg-color: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --card-bg: #ffffff;
    --border-color: #eaeaea;
    --light-bg: #fdfdfd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    background-color: var(--primary-red);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 1rem;
}

.menu-btn {
    background: #f0f0f0;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 40px 20px;
    /* Placeholder for the vending machine image */
    background: url('https://images.unsplash.com/photo-1575224300306-1b8da36134ec?auto=format&fit=crop&q=80') center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    padding: 16px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

/* Features Section */
.features-section {
    padding: 50px 20px;
    background-color: var(--light-bg);
    max-width: 800px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.feature-icon {
    background: #ffe6e6;
    color: var(--primary-red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Specifications Section */
.specs-section {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.section-label {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.specs-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.specs-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.specs-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.specs-header {
    background: #f8f8f8;
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-title {
    font-weight: 600;
    color: var(--text-main);
}

.spec-value {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

#callback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#callback-form input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .features-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .feature-card {
        flex: 1 1 calc(50% - 20px);
    }
    .hero-buttons {
        flex-direction: row;
        width: 80%;
    }
    .btn {
        flex: 1;
    }
}