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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
}

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

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e53e3e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e53e3e;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Header */
.header {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}


.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}


/* Hero Section */
.hero {
    background-color: #fff3ee;
    width: 100%;
    padding: 4rem 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.25rem;
    color: #000000;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
    text-align: justify;
}

/* Apps Section */
.apps {
    padding: 5rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.app-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.app-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.app-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
    padding: 10px;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.icon-placeholder {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e53e3e 0%, #f56565 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.app-category {
    color: #e53e3e;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

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

.stars {
    color: #fbbf24;
    font-size: 1rem;
}

.rating-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.app-store-button {
    display: block;
    transition: transform 0.2s ease;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

/* About Section */
.about {
    background: #f8fafc;
    padding: 5rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #ffad8a url('footer-bg.jpg') center/cover;
    background-blend-mode: overlay;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: #ffffff;
    line-height: 1.6;
}

.footer-link:link,
.footer-link:visited,
.footer-link:active {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-link:hover {
    color: #f0f0f0 !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a,
.social-links a:link,
.social-links a:visited,
.social-links a:active {
    color: #ffffff !important;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #f0f0f0 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem 20px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .app-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-store-button img {
        width: 120px;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-section:last-child .social-links {
        justify-content: center;
    }
    
    /* About page mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    /* Contact page mobile */
    .contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem;
        align-items: start;
    }
    
    .contact-info {
        max-width: 100%;
        width: 100%;
        grid-column: 1;
    }
    
    .contact-email {
        grid-column: 1;
        margin-top: 1rem;
        width: 100%;
    }
    
    
    /* Page headers mobile */
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Values and FAQ mobile */
    .values h2,
    .faq h2 {
        font-size: 2rem;
    }
    
    .values-grid,
    .faq-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    /* Legal pages mobile */
    .legal-text h2 {
        font-size: 1.5rem;
    }
    
    .legal-text h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .apps {
        padding: 3rem 0;
    }
    
    .about {
        padding: 3rem 0;
    }
    
    .app-card {
        padding: 1.25rem;
    }
    
    .icon-placeholder {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page Header */
.page-header {
    background: #ffad8a url('header-bg.jpg') center/cover;
    background-blend-mode: overlay;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
    background: white;
}

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

.about-text {
    max-width: 600px;
    text-align: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #e53e3e;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #e53e3e;
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.values {
    background: #f8fafc;
    padding: 5rem 0;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #e53e3e;
}

.value-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: justify;
    max-width: 100%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.contact-method p {
    color: #4a5568;
    margin: 0;
}

.contact-email {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-email h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.contact-email p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.email-address {
    font-size: 1.3rem;
}

.email-address a {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.email-address a:hover {
    color: #c53030;
    text-decoration: underline;
}

.faq {
    background: #f8fafc;
    padding: 5rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Legal Pages */
.legal-content {
    padding: 5rem 0;
    background: white;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #2d3748;
}

.legal-text h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.5rem;
    color: #e53e3e;
}

.legal-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Focus states for accessibility */
.app-store-button:focus,
.app-store-button:focus-visible {
    outline: 2px solid #e53e3e;
    outline-offset: 2px;
}

/* Loading animation for app cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeInUp 0.6s ease-out;
}

.app-card:nth-child(2) {
    animation-delay: 0.1s;
}

.app-card:nth-child(3) {
    animation-delay: 0.2s;
}
