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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #4a4a4a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #FF6B9D;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fef7ff 0%, #f0f9ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #FF6B9D;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: #6a6a6a;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    color: white;
    padding: 16px 32px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}

/* App Store CTA (replaces raster badge for cleaner look) */
.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px 12px 18px;
    background: #0d0d0d;
    color: #fff;
    border-radius: 14px;
    text-decoration: none;
    font-family: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.btn-app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    background: #1a1a1a;
}

.btn-app-store__icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #fff;
}

.btn-app-store__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.btn-app-store__small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.88;
    text-transform: uppercase;
}

.btn-app-store__large {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.btn-app-store--inverse {
    background: #fff;
    color: #0d0d0d;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.btn-app-store--inverse:hover {
    background: #f5f5f5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.btn-app-store--inverse .btn-app-store__icon {
    color: #0d0d0d;
}

/* Hero Images */
.hero-images {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 16px;
    transform: rotate(3deg);
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid-image:hover {
    transform: scale(1.05);
}

.image-1 { grid-column: 1; grid-row: 1; }
.image-2 { grid-column: 2; grid-row: 1; }
.image-3 { grid-column: 3; grid-row: 1 / 3; }
.image-4 { grid-column: 1; grid-row: 2; }
.image-5 { grid-column: 2; grid-row: 2; }
.image-6 { 
    grid-column: 1 / 3; 
    grid-row: 3; 
    height: 120px;
    margin-top: 16px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: #6a6a6a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 157, 0.2);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-description {
    font-size: 16px;
    color: #6a6a6a;
    line-height: 1.6;
}

/* Smart Feature Section */
.smart-feature {
    padding: 120px 0;
    background: linear-gradient(135deg, #fef7ff 0%, #f0f9ff 100%);
}

.smart-feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #8B5CF6, #06D6A0);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smart-feature-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.smart-feature-description {
    font-size: 18px;
    color: #6a6a6a;
    line-height: 1.7;
    margin-bottom: 32px;
}

.smart-feature-benefits {
    list-style: none;
    padding: 0;
}

.smart-feature-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
    color: #4a4a4a;
}

.smart-feature-benefits li:before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 16px;
    font-weight: bold;
    font-size: 14px;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.feature-demo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Community Section */
.community {
    padding: 120px 0;
    background: white;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fef7ff 0%, #f0f9ff 100%);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B9D, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    color: #6a6a6a;
    font-weight: 500;
}

.community-testimonial {
    text-align: center;
    margin-top: 80px;
}

.testimonial-quote {
    font-size: 24px;
    font-style: italic;
    color: #4a4a4a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
}

.testimonial-quote:before {
    content: """;
    font-size: 80px;
    color: #FF6B9D;
    position: absolute;
    top: -20px;
    left: -40px;
    opacity: 0.3;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}

.download-description {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 40px;
}

.download-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #e0e0e0;
}

.benefit-icon {
    font-size: 20px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.download-btn {
    padding: 12px 22px 12px 18px;
}

.app-showcase {
    text-align: center;
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

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

.footer-tagline {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-link {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF6B9D;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    text-align: center;
}

.footer-copyright {
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .smart-feature-content,
    .download-content {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .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);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .smart-feature-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
    
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .smart-feature-title,
    .download-title {
        font-size: 32px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .image-3 {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    
    .image-4,
    .image-5 {
        grid-row: 3;
    }
    
    .image-6 {
        grid-column: 1 / 3;
        grid-row: 4;
        margin-top: 12px;
    }
}

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

.hero-content,
.feature-card,
.smart-feature-text,
.community-stats,
.download-text {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation for images */
.grid-image,
.feature-demo,
.app-screenshot {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effects */
.feature-card,
.stat-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.grid-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn:focus,
.btn-app-store:focus,
.footer-link:focus {
    outline: 2px solid #FF6B9D;
    outline-offset: 2px;
}

.btn-app-store--inverse:focus {
    outline-color: rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}