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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 20px;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.page-title {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 2px solid #e2e8f0;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 0.9rem;
        padding-left: 0.75rem;
    }
}

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Slide-out Menu */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding-top: 80px;
    z-index: 100;
}

nav.active {
    right: 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    padding: 0;
}

nav li {
    border-bottom: 1px solid #eee;
}

nav a {
    display: block;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1.25rem 2rem;
}

nav a:hover,
nav a.active {
    background-color: #f8f9fa;
    color: #2c3e50;
    border-left: 4px solid #2c3e50;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    color: white;
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-header h2 {
        font-size: 1.5rem;
    }
}

/* Content Section */
.content {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.home-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.cta-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .content {
        padding: 1.5rem 0;
    }
    
    .home-content {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

.intro,
.about-content,
.contact-content,
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .intro,
    .about-content,
    .contact-content,
    .privacy-content {
        padding: 1.5rem;
        border-radius: 8px;
    }
}

h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.75rem;
}

h3:first-child {
    margin-top: 0;
}

h4 {
    color: #334155;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-card p {
    color: #475569;
}

a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

/* Contact Page Specific */
.contact-info {
    margin: 2rem 0;
    display: grid;
    gap: 2rem;
}

.contact-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.contact-note {
    margin-top: 2rem;
    font-style: italic;
    color: #666;
}

/* Apps Page */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.app-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 22px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.app-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.app-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.app-details .rating {
    color: #2c3e50;
    font-weight: 600;
}

.app-details .category,
.app-details .price {
    color: #666;
    background-color: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.app-link {
    display: inline-block;
}

.app-store-badge {
    width: 150px;
    height: auto;
    transition: opacity 0.3s ease;
}

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

/* Privacy Page Specific */
.privacy-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.last-updated {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-header h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}
