/* Design System Variables */
:root {
    --background: hsl(220, 40%, 15%);
    --foreground: hsl(0, 0%, 100%);
    --card: hsl(220, 35%, 20%);
    --card-foreground: hsl(0, 0%, 100%);
    --primary: hsl(265, 80%, 55%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(220, 30%, 25%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --border: hsl(220, 30%, 30%);
    --radius: 0.5rem;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

.btn-lg {
    height: 2.75rem;
    padding: 0 3rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: transparent;
    color: var(--foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header */
.header {
    background-color: var(--background);
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
}

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

.logo-img {
    height: 0.75rem;
    width: auto;
}

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

.nav-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

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

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

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

.mobile-nav-link {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

@media (min-width: 768px) {
    .logo-img {
        height: 1.75rem;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 5rem 1.5rem;
    background: linear-gradient(to bottom, var(--background), hsl(220, 50%, 10%), var(--background));
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 3rem;
    border: 1px solid var(--border);
}

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

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

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Features Section */
.features {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 4rem 1.5rem;
}

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

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

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    background-color: rgba(153, 102, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.steps-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.steps-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.steps-grid {
    display: grid;
    gap: 1.5rem;
}

.step-card {
    background-color: rgba(153, 102, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
}

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

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

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

/* Contact Section */
.contact {
    padding: 4rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
}

.contact-container {
    max-width: 48rem;
    text-align: center;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.contact-email {
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.footer-content {
    max-width: 64rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Page Content Styles */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
    padding: 4rem 1.5rem;
}

.page-content {
    max-width: 48rem;
    margin: 0 auto;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.page-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section-list {
    list-style-position: inside;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1rem;
    line-height: 1.8;
}

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

.page-updated {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.page-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(153, 102, 255, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
}

.note-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

.about-paragraph {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}