/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E55E4A;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --dark-color: #1F2937;
    --gray-color: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(229, 94, 74, 0.05);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem 20px;
    text-decoration: none;
    color: var(--gray-color);
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(229, 94, 74, 0.05);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-white {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #E55E4A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 94, 74, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FDE047 0%, #EAB308 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
}

/* Features Section */
.features {
    padding: 5rem 0;
}

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

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

/* LOTO Section */
.loto-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

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

.loto-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

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

.loto-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.loto-features svg {
    flex-shrink: 0;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-color);
}

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

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

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

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

.footer-column a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Mobile Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, .btn-secondary, .btn-white {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
        justify-items: center;
        padding: 0 1rem;
    }
    
    .hero-content {
        order: 2;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        text-align: center;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        word-wrap: break-word;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        flex-direction: column;
    }
    
    .hero-image {
        order: 1;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .hero-image img {
        max-width: 85%;
        height: auto;
        border-radius: 12px;
        max-height: 250px;
        object-fit: cover;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .feature-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .loto-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .loto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        align-items: center;
        justify-items: center;
    }
    
    .loto-text {
        order: 2;
        max-width: 100%;
    }
    
    .loto-section h2 {
        font-size: 1.875rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .loto-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    .loto-image {
        order: 1;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .loto-image img {
        max-width: 80%;
        height: auto;
        border-radius: 12px;
    }
    
    .btn-primary {
        display: inline-block;
        margin: 0 auto;
    }
    
    .cta {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta-content {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar .container {
        padding: 1rem 12px;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .hero .container {
        padding: 0 0.75rem;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
        padding: 0;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
        max-width: 98%;
    }
    
    .hero-content {
        padding: 0 0.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-white {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin: 0 auto;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-image {
        margin-bottom: 0.75rem;
    }
    
    .hero-image img {
        max-width: 90%;
        max-height: 200px;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.75rem;
        line-height: 1.2;
    }
    
    .loto-section h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .feature-card {
        padding: 1rem;
        margin: 0 auto;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .loto-features {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    .loto-image img {
        max-width: 85%;
        max-height: 250px;
    }
    
    .cta h2 {
        font-size: 1.375rem;
        padding: 0 0.75rem;
        line-height: 1.2;
    }
    
    .cta p {
        padding: 0 0.75rem;
        font-size: 1rem;
    }
    
    .features {
        padding: 2rem 0;
    }
    
    .loto-section {
        padding: 2rem 0;
    }
    
    .cta {
        padding: 2rem 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.25rem;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    
    .hero .container {
        padding: 0 0.5rem;
        gap: 0.75rem;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
        max-width: 260px;
    }
    
    .section-title {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .navbar .container {
        padding: 0.875rem 8px;
    }
    
    .hero {
        padding: 1.25rem 0;
    }
    
    .hero-image img {
        max-height: 180px;
    }
}