/* 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', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #6366f1;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #6366f1;
    border: 2px solid #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
    min-height: 90vh;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 70vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn-secondary:hover {
    background: white;
    color: #4f46e5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.app-mockup {
    max-width: 350px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 6s ease-in-out infinite, rotate 20s linear infinite;
}

.app-mockup:hover {
    transform: scale(1.05) rotateY(10deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 15px 30px rgba(0, 0, 0, 0.4);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    25% { transform: rotateY(5deg); }
    50% { transform: rotateY(0deg); }
    75% { transform: rotateY(-5deg); }
    100% { transform: rotateY(0deg); }
}

/* Sections */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #111827 0%, #6b7280 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0,0,0,0.02) 50%, transparent 51%);
    background-size: 20px 20px;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: #f9fafb;
}

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

.screenshot-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.screenshot-img {
    width: 200px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.screenshot-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.screenshot-item p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Image Suggestions */
.image-suggestions {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.image-suggestions h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.image-suggestions ul {
    list-style: none;
    padding-left: 0;
}

.image-suggestions li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 6px;
}

.image-suggestions li strong {
    color: #6366f1;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download .section-title,
.download .section-subtitle {
    color: white;
}

.download-buttons {
    margin: 2rem 0;
}

.app-store-button img {
    height: 60px;
    transition: transform 0.3s ease;
}

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

.app-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem auto 0;
    max-width: 400px;
}

.app-info p {
    margin: 0.5rem 0;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: white;
}

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

.support-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

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

.support-item p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.support-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #9ca3af;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background: white;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #6366f1;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.legal-section p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.contact-info {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.legal-footer p {
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #1f2937;
}

.legal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 85vh;
    }

    .hero-container {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 24px;
        font-size: 1.1rem;
    }

    .app-mockup {
        max-width: 280px;
        margin: 0 auto;
    }

    .features {
        padding: 60px 0;
    }

    .feature-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .screenshot-item {
        margin: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

.feature-card,
.screenshot-item,
.support-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #f9fafb;
    }
    
    .navbar {
        background: rgba(17, 24, 39, 0.95);
    }
    
    .nav-link {
        color: #d1d5db;
    }
    
    .nav-link:hover {
        color: #a5b4fc;
    }
    
    .features {
        background: #111827;
    }
    
    .feature-card {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .feature-card h3 {
        color: #f9fafb;
    }
    
    .screenshots {
        background: #0f172a;
    }
    
    .screenshot-item,
    .image-suggestions {
        background: #1f2937;
    }
    
    .screenshot-item h4 {
        color: #f9fafb;
    }
    
    .support {
        background: #111827;
    }
    
    .support-item {
        background: #1f2937;
    }
    
    .support-item h3 {
        color: #f9fafb;
    }

    .nav-logo h1 {
        color: #f9fafb;
    }

    .bar {
        background-color: #d1d5db;
    }

    .section-title {
        background: linear-gradient(135deg, #f9fafb 0%, #c7d2fe 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }

    .section-title::after {
        background: linear-gradient(135deg, #a5b4fc 0%, #6b7280 100%);
    }

    .section-subtitle,
    .feature-card p,
    .screenshot-item p,
    .support-item p,
    .screenshot-img {
        color: #9ca3af;
    }

    .download .section-subtitle {
        color: white;
    }

    .image-suggestions h3 {
        color: #f9fafb;
    }

    .image-suggestions li {
        background: #374151;
        color: #e5e7eb;
    }

    .image-suggestions li strong,
    .support-link,
    .legal-section a {
        color: #a5b4fc;
    }

    .support-link:hover {
        color: #c7d2fe;
    }

    .screenshot-img {
        background: #374151;
    }

    .legal-page {
        background: #111827;
    }

    .legal-header h1,
    .legal-section h2,
    .legal-footer p {
        color: #f9fafb;
    }

    .legal-section h3 {
        color: #e5e7eb;
    }

    .legal-section p,
    .legal-section li {
        color: #d1d5db;
    }

    .last-updated {
        color: #9ca3af;
    }

    .contact-info {
        background: #1f2937;
    }

    .legal-footer {
        border-top-color: #374151;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .hero-buttons,
    .legal-actions {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .legal-page {
        padding: 1rem 0;
    }
}