/* Base styles */
:root {
    --primary-color: #4169E1;
    --secondary-color: #6C63FF;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #FFFFFF;
    --section-bg: #F8F9FA;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    display: block;
}

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

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

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-app {
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.featured-app:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

/* Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.apps-section, .about-section, .contact-section {
    padding: 4rem 0;
}

.apps-section {
    background: var(--section-bg);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    text-align: center;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* App Grid */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.iphone-frame {
    position: relative;
    width: 180px;
    height: 360px;
    margin: 20px auto;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.iphone-landscape-frame {
    position: relative;
    width: 360px;
    height: 180px;
    margin: 20px auto;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.ipad-portrait-frame {
    position: relative;
    width: 240px;
    height: 320px;
    margin: 20px auto;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.ipad-landscape-frame {
    position: relative;
    width: 320px;
    height: 240px;
    margin: 20px auto;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.app-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

.app-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    padding: 1rem;
    text-align: center;
}

.app-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.app-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 15px;
    pointer-events: none;
}

.app-card:hover .app-description {
    opacity: 1;
}

.app-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.app-link:hover {
    text-decoration: none;
}

/* Search styles */
.search-container {
    margin: 1rem 0 2rem 0;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #fff;
    border-radius: 25px;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
    background: #fff;
}

.search-bar:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

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

/* Responsive design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-container {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .iphone-frame, .iphone-landscape-frame {
        width: 120px;
        height: 240px;
    }
    
    .ipad-portrait-frame, .ipad-landscape-frame {
        width: 160px;
        height: 200px;
    }
}

/* About page styles */
.about-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.about-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.about-text {
    line-height: 1.8;
    color: #444;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Privacy Policy styles */
.privacy-section {
    padding-top: 8rem;
    background: var(--section-bg);
    min-height: 100vh;
}

.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.privacy-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.privacy-content ul {
    margin: 1rem 0 2rem 2rem;
    color: var(--light-text);
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.app-store-badge {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-store-icon {
    height: 40px;
    margin-bottom: 0.5rem;
}

.app-store-badge p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.app-store-link {
    text-align: center;
    padding: 1rem;
    margin-top: 0.5rem;
}

.app-badge {
    height: 40px;
    transition: opacity 0.3s;
}

.app-badge:hover {
    opacity: 0.8;
}

/* App detail page styles */
.app-detail-section {
    padding-top: 8rem;
    background: var(--section-bg);
    min-height: 100vh;
}

.app-detail {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.app-title {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
}

.app-description-full {
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-gallery-container {
    margin: 2rem 0;
}

.app-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.app-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.centered {
    text-align: center;
    margin: 2rem 0;
}

/* Remove hover description from app cards */
.app-description {
    display: none;
}

/* Contact Section */
.contact-section {
    background: var(--section-bg);
}

.contact-info {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin: 0.5rem 0;
    color: var(--light-text);
}

.contact-info span {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background: var(--background-color);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-text {
    color: var(--light-text);
    font-size: 0.9rem;
    text-align: center;
}

/* App showcase styles */
.app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 4rem;
    min-height: 60vh;
}

.showcase-frame {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

.showcase-frame.iphone-frame {
    width: 270px;
    height: 540px;
}

.showcase-frame.ipad-landscape-frame {
    width: 480px;
    height: 360px;
}

@media (max-width: 1024px) {
    .showcase-frame {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .showcase-frame {
        transform: scale(1);
    }
    
    .showcase-frame.iphone-frame {
        width: 180px;
        height: 360px;
    }
    
    .showcase-frame.ipad-landscape-frame {
        width: 320px;
        height: 240px;
    }
} 