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

:root {
    --primary-blue: #4A90E2;
    --primary-purple: #7B68EE;
    --dark-purple: #5A4FCF;
    --light-blue: #E3F2FD;
    --gradient-start: #E3F2FD;
    --gradient-end: #4A90E2;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --card-pink: #FF6B9D;
    --card-blue: #4ECDC4;
    --card-orange: #FFA726;
    --card-red: #FF7043;
    --card-teal: #26A69A;
    --card-purple: #9575CD;
}

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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    padding-right: 6rem;
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.download-btn-nav {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at top left, var(--gradient-start) 0%, var(--gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 2rem;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Section */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.app-icon-large {
    width: 225px;
    height: 225px;
    border-radius: 30px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

.app-title {
    font-family: Arial, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    font-style: italic;
    color: white;
    line-height: 1.1;
}

.app-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 400px;
}

.app-store-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.app-store-badge {
    height: 60px;
    width: auto;
}

/* Right Section - Phone Mockup */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    max-width: 100%;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen-dark {
    background: #1a1a1a;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.phone-status-bar-dark {
    color: white;
    padding-top: 50px;
}

.dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
}

.phone-status-icons {
    display: flex;
    gap: 6px;
    font-size: 12px;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

.phone-header-dark {
    color: white;
}

.refresh-icon, .settings-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.phone-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.phone-content-dark {
    background: #1a1a1a;
}

.storage-meter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.storage-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(
        #FF5252 0deg 309deg,
        #E0E0E0 309deg 360deg
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.storage-circle-dark {
    background: conic-gradient(
        #FF6B35 0deg 352deg,
        #4A4A4A 352deg 360deg
    );
}

.storage-circle::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.storage-circle-dark::before {
    background: #1a1a1a;
}

.storage-percentage {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    z-index: 1;
    position: relative;
}

.storage-percentage-dark {
    color: white;
}

.storage-label {
    font-size: 12px;
    color: var(--text-dark);
    z-index: 1;
    position: relative;
    margin-top: 4px;
}

.storage-label-dark {
    color: white;
}

.storage-details {
    font-size: 11px;
    color: #666;
    z-index: 1;
    position: relative;
    margin-top: 2px;
}

.storage-details-dark {
    color: #999;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.category-card {
    border-radius: 16px;
    padding: 16px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card.similar {
    background: linear-gradient(135deg, var(--card-pink) 0%, #9C27B0 100%);
}

.category-card.largest {
    background: linear-gradient(135deg, var(--card-blue) 0%, #26A69A 100%);
}

.category-card.live {
    background: linear-gradient(135deg, var(--card-orange) 0%, #FFB74D 100%);
}

.category-card.screenshots {
    background: linear-gradient(135deg, var(--card-red) 0%, #FF8A65 100%);
}

.category-card.blurry {
    background: linear-gradient(135deg, var(--card-teal) 0%, #4DB6AC 100%);
}

.category-card.videos {
    background: linear-gradient(135deg, var(--card-purple) 0%, #7986CB 100%);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.card-details {
    font-size: 10px;
    opacity: 0.9;
}

.phone-nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-nav-bar-dark {
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav-item-active .nav-icon {
    color: var(--primary-blue);
}

.nav-item-active .nav-label {
    color: var(--primary-blue);
}

.nav-icon {
    font-size: 20px;
    color: var(--primary-blue);
}

.nav-icon-active {
    color: var(--primary-blue);
}

.nav-label {
    font-size: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-label-active {
    color: var(--primary-blue);
}

/* Features Section */
.features-section {
    padding: 80px 2rem;
    background: white;
}

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

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

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EAF6 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(123, 104, 238, 0.2);
}

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

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    text-align: center;
}

.pricing-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1rem 0 0.5rem;
}

.pricing-period {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-description {
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: #666;
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 2rem;
    background: white;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #F5F7FA;
    border-radius: 16px;
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    text-align: center;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 2rem;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.footer-links {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        align-items: center;
        text-align: center;
    }

    .app-title {
        font-size: 3rem;
    }

    .phone-mockup {
        width: 280px;
        max-width: 100%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
    }

    .app-title {
        font-size: 2.5rem;
    }

    .app-tagline {
        font-size: 1rem;
    }

    .phone-mockup {
        width: 240px;
        max-width: 100%;
    }

    .hero-section {
        padding-top: 0;
    }

    .features-section h2,
    .pricing-section h2,
    .faq-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
}

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

/* Bouncing Down Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator svg {
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator:hover svg {
    animation: none;
    transform: translateY(-5px);
    transition: transform 0.2s ease;
}

