:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --text: #1f2937;
    --background: #ffffff;
    --accent: #dbeafe;
    --border: #e5e7eb;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    background: var(--background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

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

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--accent);
    margin-top: 4rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

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

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

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

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

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

.app-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.app-image {
    position: relative;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.05);
}

.app-content {
    padding: 1.5rem;
}

.app-content h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.app-content p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

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

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

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Showcase Section */
.showcase {
    padding: 5rem 0;
    background: var(--background);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-content {
    padding-right: 2rem;
}

.showcase-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

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

    .mobile-menu {
        display: block;
        background: none;
        border: none;
        color: var(--text);
        font-size: 1.5rem;
        cursor: pointer;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .apps-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .showcase-content {
        padding-right: 0;
        text-align: center;
    }

    .showcase-image {
        margin: 0 auto;
    }
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text {
    padding-right: 2rem;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.value-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.background-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.background-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.background-section p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.mt-8 {
    margin-top: 2rem;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        padding-right: 0;
    }

    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .values-list {
        grid-template-columns: 1fr;
    }
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
    padding: 5rem 0;
    background: var(--background);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-wrapper h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.content-wrapper h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.last-updated {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    text-align: right;
}

/* App Details Page */
.app-details {
    padding: 5rem 0;
    background: var(--background);
}

.app-details .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-hero-image {
    margin: -2rem -2rem 2rem -2rem;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.app-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.app-details h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.app-details h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.app-details h4 {
    color: var(--text);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.app-details p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.app-details ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.app-details li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.disclaimer {
    background: var(--accent);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.disclaimer h4 {
    margin-top: 0;
}

.faq-section h4 {
    color: var(--primary);
}

.support-section, .download-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.download-section {
    text-align: center;
}

.download-section .btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .app-details .content-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}