/* General Body Styles */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f8fafc;
    color: #334155;
    background-image: linear-gradient(to bottom right, #eff6ff, #ffffff, #faf5ff);
}

/* Layout Container */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #4b5563;
    transition: color 0.3s;
}

nav a:hover {
    color: #1d4ed8;
}


/* Main Content */
main {
    padding-top: 4rem; /* For fixed header */
}

/* Section Base Styles */
section {
    padding: 5rem 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(to right, #2563eb, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}


/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background-image: linear-gradient(to right, #2563eb, #9333ea, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-image: linear-gradient(to right, #2563eb, #9333ea);
    color: white;
}

.btn-secondary {
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
}

/* Stats Section */
.stats-section {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

#stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item .value {
    font-size: 2.25rem;
    font-weight: bold;
}

.stat-item .label {
    color: #4b5563;
}


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

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

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.app-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.app-card-content {
    padding: 1.5rem;
}

.app-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
}

.app-card .category {
    color: #9333ea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.app-card .description {
    color: #4b5563;
    margin-bottom: 1rem;
}

.app-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-card .rating {
    font-weight: bold;
}

.app-card .price {
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
}


/* About Section */
.about-section {
    background-image: linear-gradient(to right, #2563eb, #9333ea);
    color: white;
}

.about-section .section-title, .about-section .section-subtitle {
    color: white;
    background-image: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.about-text li::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.about-image img {
    width: 100%;
    border-radius: 0.75rem;
}


/* Contact Section */
.contact-section {
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f1f5f9;
    color: #4b5563;
} 