/* CSS Variables */
:root {
    --background: 207 35% 22%;
    --foreground: 0 0% 100%;
    --primary: 180 50% 65%;
    --primary-foreground: 207 35% 22%;
    --secondary: 207 30% 30%;
    --secondary-foreground: 0 0% 100%;
    --muted: 207 25% 35%;
    --muted-foreground: 0 0% 75%;
    --border: 207 20% 40%;
    --card: 207 30% 28%;
    
    --container-max-width: 1200px;
    --transition: all 0.3s ease;
}

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

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

/* Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

.text-primary {
    color: hsl(var(--primary));
}

.icon {
    flex-shrink: 0;
}

/* Buttons */
.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1rem;
}

/* Header */
.header {
    background-color: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    padding: 1.25rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    text-decoration: none;
}

.logo-accent {
    color: hsl(var(--primary));
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .nav-mobile {
        display: none !important;
    }
    .nav-mobile {
        display: none;
    }
}

.nav-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.language-toggle, .language-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.9);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.language-toggle:hover, .language-toggle-mobile:hover {
    color: hsl(var(--primary));
}

.menu-toggle {
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background-color: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-link {
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    padding: 5rem 1.5rem;
    background-color: hsl(var(--background));
}

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

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.hero-description {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.hero-stats {
    background-color: hsl(var(--secondary) / 0.5);
    border-radius: 1rem;
    padding: 3rem;
    border: 2px solid hsl(var(--primary) / 0.3);
}

.stats-content {
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.stats-text {
    color: hsl(var(--muted-foreground));
}

/* Features Section */
.features {
    background-color: hsl(var(--secondary) / 0.3);
    padding: 4rem 1.5rem;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background-color: hsl(var(--secondary));
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.1);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    background-color: hsl(var(--primary) / 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: hsl(var(--foreground));
}

.feature-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Steps Section */
.steps {
    padding: 4rem 1.5rem;
    background-color: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
}

.steps-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.steps-subtitle {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background-color: hsl(var(--secondary));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid hsl(var(--primary));
}

.step-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

/* Contact Section */
.contact {
    padding: 4rem 1.5rem;
    background-color: hsl(var(--background));
}

.contact-content {
    text-align: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

.contact-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: hsl(var(--secondary));
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--primary) / 0.2);
}

.contact-item .icon {
    color: hsl(var(--primary));
}

.contact-link {
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: hsl(var(--primary));
}

/* Footer */
.footer {
    background-color: hsl(var(--secondary) / 0.3);
    border-top: 1px solid hsl(var(--border));
    padding: 2rem 1.5rem;
}

.footer-content {
    text-align: center;
}

.footer-link-wrapper {
    margin-bottom: 1rem;
}

.footer-link {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: underline;
    transition: var(--transition);
}

.footer-link:hover {
    color: hsl(var(--foreground));
}

.footer-copyright {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Pages */
.page {
    min-height: 60vh;
}

.page-container {
    padding: 3rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: hsl(var(--foreground));
}

/* About Page */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-card {
    background-color: hsl(var(--secondary) / 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
}

.about-icon {
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

.about-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.about-card-desc {
    color: hsl(var(--muted-foreground));
}

/* Terms Page */
.terms-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: hsl(var(--muted-foreground));
    max-width: none;
}

.terms-content p {
    margin-bottom: 1rem;
}

.terms-content section {
    margin-top: 1.5rem;
}

.terms-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.terms-subheading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    color: hsl(var(--foreground));
}
