:root {
    --primary: #2563eb;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --text: #334155;
    --white: #ffffff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

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

nav a {
    margin-left: 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

.attribution {
    font-size: 0.8rem;
    color: #64748b;
    margin-left: 30px;
}

.attribution a {
    color: var(--primary);
    text-decoration: underline;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

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

.btn.primary:hover {
    background-color: #1d4ed8;
}

.btn.secondary {
    background-color: #e2e8f0;
    color: var(--text);
}

/* Services */
.services {
    padding: 60px 0;
    background: var(--white);
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

/* AI Tool */
.ai-tool {
    padding: 60px 0;
    background: #1e293b;
    color: white;
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tool-interface {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.input-group {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.input-group label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.status-bar {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
}

.progress {
    height: 4px;
    background: #e2e8f0;
    width: 100%;
    margin-top: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s;
}

.output-area {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 6px;
    min-height: 150px;
    border: 1px solid #e2e8f0;
}

.output-area h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.output-content {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    color: var(--text);
}

/* Contact */
.contact {
    padding: 60px 0;
    text-align: center;
}

.contact-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.contact-form input {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 300px;
}

footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    header .container { flex-wrap: wrap; }
    nav { margin-top: 10px; width: 100%; text-align: center; }
    nav a { margin: 0 10px; }
    .attribution { width: 100%; text-align: center; margin-top: 10px; }
    .contact-form { flex-direction: column; }
    .contact-form input { width: 100%; }
}