/* ClawdUltra Website - Shared Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #00d4ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 1.4em;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ccc;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00d4ff;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3em;
    color: #888;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    margin-bottom: 15px;
    color: #ccc;
}

.card p:last-child {
    margin-bottom: 0;
}

/* About section */
.about p {
    font-size: 1.1em;
}

/* Projects grid */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s, border-color 0.2s;
    display: block;
    color: inherit;
}

.project:hover {
    transform: translateY(-3px);
    border-color: #00d4ff;
    text-decoration: none;
}

.project.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.project.coming-soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.project h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #fff;
}

.project p {
    font-size: 0.95em;
    color: #aaa;
    margin-bottom: 15px;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.status.live {
    background: rgba(107, 203, 119, 0.2);
    color: #6bcb77;
}

.status.soon {
    background: rgba(255, 217, 61, 0.2);
    color: #ffd93d;
}

/* Stack list */
.stack-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.stack-list li {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.95em;
}

.stack-list strong {
    color: #00d4ff;
}

/* CTA */
.cta {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin-top: 15px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

footer .small {
    font-size: 0.8em;
    margin-top: 10px;
    color: #555;
}

/* Tool-specific styles */
.tool-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 16px;
    resize: vertical;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.char-count {
    text-align: right;
    margin-top: 8px;
    color: #888;
    font-size: 0.9em;
}

.char-count.warning {
    color: #ff6b6b;
}

.options {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.option input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Results display */
.score-display {
    text-align: center;
    margin-bottom: 30px;
}

.score-number {
    font-size: 5em;
    font-weight: 700;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-label {
    font-size: 1.2em;
    color: #888;
}

.score-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77, #00d4ff);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.section-title {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #00d4ff;
}

.predictions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.prediction {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.prediction-name {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 5px;
}

.prediction-value {
    font-size: 1.4em;
    font-weight: 600;
}

.prediction-value.positive {
    color: #6bcb77;
}

.prediction-value.negative {
    color: #ff6b6b;
}

.suggestions {
    list-style: none;
}

.suggestions li {
    padding: 12px 15px;
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid #00d4ff;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.suggestions li.warning {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
}

.breakdown {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    font-family: monospace;
    white-space: pre-wrap;
    font-size: 0.9em;
    line-height: 1.6;
}

.algo-info {
    font-size: 0.9em;
    color: #888;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9em;
    }
    
    .card {
        padding: 20px;
    }
}
