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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: #2d3748;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
}

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

.btn-primary {
    background-color: #6366f1;
    color: white;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background-color: #f8fafc;
    color: #6366f1;
    border: 1px solid #e2e8f0;
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #2d3748;
}

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

nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6366f1;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

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

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

.hero-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

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

.feature-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #6366f1;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.screenshot-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Privacy Section */
.privacy {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.privacy-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.privacy-text {
    flex: 1;
}

.privacy-text ul {
    list-style: none;
    margin: 1.5rem 0;
}

.privacy-text ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-text ul li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.privacy-image {
    flex: 1;
    display: flex;
    justify-content: center;
    color: #6366f1;
}

/* Download Section */
.download {
    padding: 5rem 0;
    background-color: white;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.app-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.app-details h3 {
    margin-bottom: 0.25rem;
}

.ratings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stars {
    display: flex;
    color: #fbbf24;
}

.download-buttons {
    flex: 1;
}

.play-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

.play-store:hover {
    background: #333;
}

.play-store-icon {
    display: flex;
}

.play-store-text {
    display: flex;
    flex-direction: column;
}

.play-store-text span:first-child {
    font-size: 0.75rem;
    opacity: 0.8;
}

.app-info-text p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.footer-logo .logo h2 {
    color: white;
}

.footer-logo p {
    color: #9ca3af;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.link-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.link-column ul {
    list-style: none;
}

.link-column ul li {
    margin-bottom: 0.75rem;
}

.link-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .privacy-content,
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .privacy-text ul {
        text-align: left;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .features-grid,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    
    .app-info,
    .download-buttons {
        flex-direction: column;
        text-align: center;
    }
}

/* Privacy Policy Page */
.policy-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}
.policy-hero h1 {
    margin-bottom: 0.5rem;
}
.policy-hero .muted {
    color: #6b7280;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin: 2rem auto 4rem;
}

.policy-toc {
    position: sticky;
    top: 84px;
    align-self: start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
}
.policy-toc h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.policy-toc ul {
    list-style: none;
}
.policy-toc li { margin-bottom: 0.5rem; }
.policy-toc a { color: #4f46e5; text-decoration: none; }
.policy-toc a:hover { text-decoration: underline; }

.policy-content .card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}
.policy-content h2 {
    text-align: left;
}
.policy-content p, .policy-content li { color: #4a5568; }
.policy-content ul { padding-left: 1.25rem; }
.policy-content ul li { margin: 0.5rem 0; }

@media (max-width: 992px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }
    .policy-toc { position: static; }
}
