@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #8DAED1;
    --primary-dark: #7B9DC2;
    --secondary-color: #AC9D7F;
    --accent-color: #5B9FD7;
    --background-color: #22272C;
    --text-light: #ffffff;
    --text-main: #ffffff;
    --text-gray: #a0a0a0;
    --card-bg: #2a3038;
    --border-radius: 12px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        linear-gradient(135deg, rgba(91, 159, 215, 0.05) 0%, rgba(141, 174, 209, 0.08) 50%, rgba(172, 157, 127, 0.05) 100%),
        var(--background-color);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(91, 159, 215, 0.2) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(141, 174, 209, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 40% 20%, rgba(172, 157, 127, 0.12) 0%, transparent 28%);
    animation: heroGradientMove 12s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroGradientMove {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(10%, -8%) rotate(120deg);
    }
    66% {
        transform: translate(-8%, 10%) rotate(240deg);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--background-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(232, 184, 109, 0.3);
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    font-weight: 600;
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(141, 174, 209, 0.2);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.feature-card p {
    color: var(--text-gray);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    font-weight: 600;
}

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

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--background-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.step p {
    color: var(--text-gray);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.cta p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Content Page Styles */
.content-page {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.content-page .container {
    max-width: 900px;
}

.content-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.last-updated {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.content-section ul,
.content-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.content-section li {
    margin-bottom: 0.5rem;
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* FAQ Styles */
.faq-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--accent-color);
    margin-top: 0;
}

/* Footer */
footer {
    background-color: var(--background-color);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    color: var(--text-gray);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.footer-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

    .content-page h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }
}