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

:root {
    --red-accent: #FF5252;
    --red-accent-dark: #E04848;
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
}

/* Header */
header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
}

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

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

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

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

.cta-button {
    background: var(--red-accent);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--red-accent-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 3rem 2rem;
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    padding: 0rem 0rem 0rem 7rem;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0rem 1rem;
        text-align: center;
    }
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
}

.hero-text h1 .highlight {
    background-color: var(--red-accent);
    padding: 0 15px;
    border-radius: 10px;
    color: var(--white);
}

@media (max-width: 768px) {
    .hero-text h1 .highlight {
        padding: 0 10px;
        border-radius: 8px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-text h1 .highlight {
        padding: 0 8px;
        border-radius: 6px;
    }
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

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

.btn-secondary {
    background: var(--white);
    color: var(--red-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--red-accent);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.qr-code {
    width: 200px;
    height: 200px;
    background: var(--white);
    border: 3px solid var(--red-accent);
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.qr-code svg {
    width: 100%;
    height: 100%;
}

.hero-image p {
    font-size: 0.9rem;
    color: var(--white);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.download-btn {
    display: inline-block;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.download-btn img {
    height: 54px;
    width: auto;
    display: block;
}

.download-btn:first-child img {
    height: 80px;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--white);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 5px solid rgba(204, 204, 204, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--red-accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--red-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--gray-light);
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--red-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.step p {
    color: var(--gray-dark);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-accent-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--red-accent) !important;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.cta-section .cta-button:hover {
    background: var(--black);
    color: var(--white) !important;
}

/* Footer */
footer {
    background: var(--white);
    color: var(--gray-dark);
    padding: 3rem 2rem 1rem;
    border-top: 2px solid var(--gray-light);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--red-accent);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--red-accent);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }

    .hero-buttons {
        gap: 0.75rem;
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1rem;
    }

    .hero {
        padding: 1.5rem 1rem;
        min-height: 50vh;
    }

    .features, .how-it-works, .cta-section {
        padding: 3rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .cta-button, .btn-secondary {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
}
