/* 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: #fff;
    background-color: #000;
    overflow-x: hidden;
}

/* Ensure all text elements are properly colored */
h1, h2, h3, h4, h5, h6, p, span, div, a {
    color: inherit;
}

/* Override any potential black text */
* {
    color: inherit;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 30px;
}

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

.nav-link:hover {
    color: #fff;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    min-height: 80vh;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.download-btn img {
    height: 60px;
    width: auto;
}

/* User Review */
.user-review {
    margin-top: 30px;
    text-align: center;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    font-style: italic;
    margin: 0;
}

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

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(-5deg) scale(1.05);
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Individual card hover effects */
.feature-card-1:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    border: 1px solid rgba(102, 126, 234, 0.6);
}

.feature-card-2:hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.4);
    border: 1px solid rgba(236, 72, 153, 0.6);
}

.feature-card-3:hover {
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.4);
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

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

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #fff;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.screenshot-item {
    background: #222;
    border-radius: 20px;
    padding: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 17px;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: #000000;
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ccc;
}

.download-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-section .download-buttons {
    justify-content: center;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
}

.footer-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.copyright {
    color: #999;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 15px 0;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: rotate(0deg);
        margin: 0 auto;
    }
    
    .phone-mockup:hover {
        transform: scale(1.05);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .download-btn img {
        height: 50px;
        max-width: 200px;
    }
    
    .user-review {
        margin-top: 25px;
        padding: 0 20px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 12px 0;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .nav {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .features-grid {
        gap: 20px;
        padding: 0 5px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .icon-img {
        width: 50px;
        height: 50px;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 5px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .download-content h2 {
        font-size: 1.8rem;
    }
    
    .download-content p {
        font-size: 1rem;
    }
    
    .download-btn img {
        height: 45px;
        max-width: 180px;
    }
    
    .user-review {
        margin-top: 20px;
        padding: 0 15px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-text {
        font-size: 1.3rem;
    }
}

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

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Touch-friendly buttons */
    .download-btn, .nav-link, .logo-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better touch targets */
    .feature-card {
        cursor: pointer;
    }
    
    /* Optimize images for mobile */
    .phone-screenshot, .screenshot-img {
        max-width: 100%;
        height: auto;
    }
}

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

.hero-content,
.hero-visual,
.feature-card,
.screenshot-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
