:root {
    --primary: #1a73e8;
    --bg: #fff;
    --text: #202124;
    --text-muted: #5f6368;
    --border: #ddd;
}

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

body {
    font-family: Roboto, Arial, sans-serif;
    background: #f9f9f9;
    color: var(--text);
    line-height: 1.6;
}

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

.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.hero {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.features {
    padding: 3rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* APP PAGE */
.app-page {
    background: white;
}

.app-page .container {
    padding: 2rem 20px;
}

.app-page h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.editor {
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.char-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.preview-section {
    margin-top: 2rem;
}

.preview-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.platform {
    margin-bottom: 2rem;
}

.platform h3 {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.serp-preview {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.desktop {
    max-width: 600px;
}

.mobile {
    max-width: 400px;
}

.serp-url {
    color: #006621;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.serp-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    word-break: break-word;
    line-height: 1.4;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-word;
}

.highlight {
    background: #ffeb3b;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .app-page h1 {
        font-size: 1.5rem;
    }
}
