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

:root {
    --primary-color: #007aff;
    --secondary-color: #5856d6;
    --text-color: #1d1d1f;
    --text-secondary: #6e6e73;
    --background: #ffffff;
    --surface: #f5f5f7;
    --border: #d2d2d7;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

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

/* Header */
header {
    background: var(--gradient);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.25rem;
    color: white;
    opacity: 1;
    font-weight: 400;
}

/* Main Content */
main {
    padding: 60px 20px;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h2 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

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

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--surface);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.step-number {
    background: var(--gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
}

/* Keyboard Shortcuts */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.shortcut {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
}

kbd {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 16px;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px var(--shadow);
    font-weight: 600;
}

.shortcut span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ */
.faq-item {
    margin-bottom: 30px;
    padding: 30px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 1rem;
}

/* Support Section */
.support {
    text-align: center;
    padding: 60px 0;
    background: var(--surface);
    border-radius: 20px;
    margin-top: 60px;
}

.support h2 {
    margin-bottom: 20px;
}

.support > p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.support-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow);
}

.button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.secondary:hover {
    background: var(--surface);
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

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

    .hero h2 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

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

    .support-links {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}
