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

:root {
    /* Color Palette - Warm Coral & Terracotta */
    --primary: #E08B79;
    --primary-dark: #C97764;
    --primary-light: #F5C4B6;
    --secondary: #9B8B7E;
    --secondary-dark: #7D6D61;
    --accent: #F4A582;
    --accent-light: #FDDCC4;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E08B79 0%, #F4A582 100%);
    --gradient-secondary: linear-gradient(135deg, #C97764 0%, #E08B79 100%);
    --gradient-warm: linear-gradient(135deg, #F4A582 0%, #FDDCC4 100%);
    --gradient-sunset: linear-gradient(135deg, #E08B79 0%, #F5C4B6 100%);
    
    /* Neutrals */
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-muted: #9E9E9E;
    --bg-primary: #FAFAFA;
    --bg-secondary: #F5F5F5;
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Prevent horizontal scroll on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-secondary) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-cta .app-store-button img {
    height: 50px;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Categories Section - Netflix Style */
.categories {
    padding: var(--spacing-2xl) 0;
    background: #0a0a0a;
    color: var(--white);
    width: 100%;
}

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

.categories .section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.categories .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.categories .section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.category-row {
    margin-bottom: 3rem;
}

.row-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.category-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.category-scroll::-webkit-scrollbar {
    height: 8px;
}

.category-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: rgba(224, 139, 121, 0.5);
    border-radius: 10px;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 139, 121, 0.7);
}

.category-tile {
    flex: 0 0 200px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base);
    background: #1a1a1a;
}

.category-tile:hover {
    transform: scale(1.05);
    z-index: 10;
}

.category-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.category-tile:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.category-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.more-categories {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 2rem;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-2xl) 2rem;
    background: var(--white);
}

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

.step {
    text-align: center;
}

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

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: var(--spacing-2xl) 2rem;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #F4A582;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-primary);
}

/* Download Section */
.download {
    padding: var(--spacing-2xl) 2rem;
    background: var(--gradient-primary);
    color: var(--white);
}

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

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-store-button img {
    height: 60px;
    transition: transform var(--transition-base);
}

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

.download-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: var(--spacing-xl) 2rem var(--spacing-lg);
    background: var(--text-primary);
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    text-align: center;
    opacity: 0.6;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Tablet Responsive Design (769px - 1024px) */
@media (max-width: 1024px) {
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive Design (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .nav-container {
        padding: 1rem;
    }
    
    .nav-title {
        font-size: 1.25rem;
    }
    
    .nav-logo {
        width: 32px;
        height: 32px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
        z-index: 999;
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.125rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--bg-secondary);
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta .app-store-button img {
        height: 45px;
    }
    
    .btn-secondary {
        width: 200px;
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    
    /* Categories Section Mobile */
    .categories {
        padding: var(--spacing-xl) 0;
    }
    
    .categories .container {
        padding: 0 1rem;
    }
    
    .categories .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .categories .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .category-row {
        margin-bottom: 2rem;
    }
    
    .row-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        padding: 0 1rem;
    }
    
    .category-scroll {
        gap: 0.75rem;
        padding: 0 1rem 1rem;
    }
    
    .category-tile {
        flex: 0 0 140px;
    }
    
    .category-image {
        height: 200px;
    }
    
    .category-overlay {
        padding: 1rem 0.75rem 0.75rem;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    }
    
    .category-overlay h4 {
        font-size: 0.9rem;
    }
    
    .category-overlay p {
        font-size: 0.75rem;
    }
    
    .more-categories {
        font-size: 1rem;
        padding: 1.5rem 1rem;
    }
    
    /* Features Section Mobile */
    .features {
        padding: var(--spacing-xl) 1rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-xl);
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9375rem;
    }
    
    /* How It Works Mobile */
    .how-it-works {
        padding: var(--spacing-xl) 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .step-description {
        font-size: 0.9375rem;
        padding: 0 1rem;
    }
    
    /* Testimonials Mobile */
    .testimonials {
        padding: var(--spacing-xl) 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .stars {
        font-size: 1.125rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        font-size: 0.875rem;
    }
    
    /* Download Section Mobile */
    .download {
        padding: var(--spacing-xl) 1rem;
    }
    
    .download-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-button img {
        height: 50px;
    }
    
    .download-note {
        font-size: 0.8125rem;
        padding: 0 1rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: var(--spacing-lg) 1rem var(--spacing-md);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-brand {
        flex-direction: column;
    }
    
    .footer-tagline {
        font-size: 0.875rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding-top: var(--spacing-md);
        font-size: 0.8125rem;
    }
}

/* Small Mobile Responsive Design (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .category-tile {
        flex: 0 0 120px;
    }
    
    .category-image {
        height: 160px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Very Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .nav-container {
        padding: 0.75rem;
    }
    
    .hero {
        padding: 5rem 0.75rem 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    
    .category-tile {
        flex: 0 0 110px;
    }
    
    .category-image {
        height: 140px;
    }
}