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

:root {
    --primary-color: #420071;
    --secondary-color: #6C5CE7;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

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

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

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

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

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/main_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

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

.hero-title {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.app-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
    backdrop-filter: blur(10px);
}

.app-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

.features {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

footer {
    background: var(--primary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-links span {
    opacity: 0.5;
}

.content-page {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.content-page h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.75rem;
}

.content-page p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-left: 30px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.content-page li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-page a {
    color: var(--secondary-color);
    text-decoration: none;
}

.content-page a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features h2, .about h2 {
        font-size: 2rem;
    }
}

