/* GitGauge Home Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.description {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
main {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2d3748;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #4a5568;
}

h4 {
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    color: #2d3748;
}

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

.button-primary {
      background-color: #00000094; 
      color: #f8d7da;
      padding: 5px 24px;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s ease;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: #f7fafc;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

/* API Documentation */
.endpoint {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.endpoint h3 {
    color: #667eea;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #2d3748;
    color: #68d391;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

code {
    background: #f1f5f9;
    color: #e53e3e;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
}

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

.feature {
    background: #f7fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: #667eea;
    margin-bottom: 15px;
}

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

.status-item {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.status-badge.queued {
    background: #fef3cd;
    color: #856404;
}

.status-badge.running {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.failed {
    background: #f8d7da;
    color: #721c24;
}

/* Quick Start */
.example {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.example h3 {
    color: #667eea;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-content a {
    color: #68d391;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #9ae6b4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    main {
        padding: 20px;
        margin-top: 20px;
    }
    
    .workflow {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .status-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    pre {
        font-size: 0.8rem;
        padding: 15px;
    }
}

/* Syntax Highlighting Overrides */
.token.string {
    color: #68d391;
}

.token.number {
    color: #f6ad55;
}

.token.boolean {
    color: #f6ad55;
}

.token.null {
    color: #f56565;
}

.token.key {
    color: #63b3ed;
}

.token.punctuation {
    color: #e2e8f0;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
    }

    .modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    }

    .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    }

    .close-btn:hover,
    .close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    }

    .feedback-form input[type=text], 
    .feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.feedback-form textarea {
    resize: vertical;
    min-height: 100px;
}