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

:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 15%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96%;
    --muted-foreground: 0 0% 45%;
    --accent: 0 0% 20%;
    --border: 0 0% 90%;
}

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

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

.icon {
    flex-shrink: 0;
}

/* Header */
.header {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 1.25rem 1.5rem;
}

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

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

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

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

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

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

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    z-index: 50;
}

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

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: hsl(var(--foreground));
    cursor: pointer;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background-color: hsl(var(--muted));
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16rem;
    background-color: hsl(var(--background));
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 2rem 1.5rem;
}

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

.mobile-nav-link {
    font-size: 1.125rem;
    padding: 0.5rem 0;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s;
}

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

.mobile-language {
    border-top: 1px solid hsl(var(--border));
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.mobile-language-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.mobile-language-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

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

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

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    opacity: 0.8;
}

.btn-ghost {
    background: transparent;
    color: hsl(var(--primary-foreground));
}

.btn-ghost:hover {
    background-color: hsla(var(--primary-foreground) / 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--muted));
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
}

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

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

.btn-full {
    width: 100%;
    max-width: 28rem;
    padding: 1.5rem;
}

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

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

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

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

.hero-stats {
    background: linear-gradient(135deg, hsla(var(--primary) / 0.05), hsla(var(--primary) / 0.02));
    border: 2px solid hsla(var(--primary) / 0.2);
    border-radius: 1rem;
    padding: 3rem;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.stat-label {
    color: hsl(var(--muted-foreground));
}

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

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
}

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

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

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

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    background: hsla(var(--primary) / 0.1);
    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;
}

.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-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

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

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

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

.contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: hsl(var(--primary));
}

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

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

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

/* Footer */
.footer {
    background-color: hsl(var(--secondary));
    padding: 2rem 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-separator {
    color: hsl(var(--muted-foreground));
}

/* Page Content */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 4rem 1.5rem;
}

.page-container {
    max-width: 48rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

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

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.page-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    margin-bottom: 2rem;
}

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

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-section p {
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
    margin-bottom: 1rem;
}

.content-section ul {
    color: hsl(var(--muted-foreground));
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

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

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

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

/* Subscribe Page */
.subscribe-content {
    text-align: center;
}

.process-card {
    background-color: hsl(var(--secondary));
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    gap: 1rem;
}

.process-number {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.process-step-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

.subscribe-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

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

.subscribe-terms {
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.subscribe-terms a {
    color: hsl(var(--primary));
}

.subscribe-terms a:hover {
    text-decoration: underline;
}

.subscription-cta {
    text-align: center;
}

.subscription-box {
    background-color: hsl(var(--secondary));
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.subscription-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-cards {
        flex-direction: row;
    }
}
