/* TCode.AI Shared Design System */

:root {
    --terra-bright: #e74c6f;
    --terra-mid: #c23d5a;
    --terra-deep: #9e2f45;
    --terra-darker: #7a2130;
    --terra-darkest: #56131c;
    --bg-primary: #0c0e10;
    --bg-secondary: #151518;
    --bg-surface: #1a1a1f;
    --text-primary: #f8f9fa;
    --text-secondary: #c1c7d0;
    --text-muted: #8a8a8a;
    --transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', Arial, sans-serif;
}

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

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--terra-bright);
    font-weight: bold;
}

/* Links */
a {
    color: var(--terra-bright);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--terra-mid);
}

/* Layout Components */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    margin-bottom: 4rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Cards */
.card {
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid rgba(231, 76, 111, 0.1);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.card:hover {
    border-color: rgba(231, 76, 111, 0.3);
    transform: translateY(-2px);
}

.card h3 {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terra-deep), var(--terra-darkest));
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 111, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 111, 0.35);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--terra-bright);
    border: 2px solid var(--terra-bright);
}

.btn-secondary:hover {
    background: rgba(231, 76, 111, 0.1);
    color: var(--terra-bright);
}

/* Badges */
.badge {
    background: var(--terra-bright);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Navigation */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--terra-bright);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--terra-mid);
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

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