@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;900&family=Inter:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #333333;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
}

.container {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    animation: fadeIn 0.8s ease-out;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Header Styles */
.header {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.header p {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
}

.content {
    padding: 1.5rem 0;
}

/* Homepage Specific Styles */
.homepage-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.start-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    background: #3772FF;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.start-button:hover {
    background: #2563eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.start-button:active {
    transform: translateY(0);
}

.features {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feature:hover {
    background: #f1f3f5;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    fill: #3772FF;
}

.feature-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
}

/* Alert Styles */
.alert {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid;
    animation: slideDown 0.5s ease-out;
    background: #ffffff;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.alert h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.alert p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
}

/* Form Styles */
.form-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.form-container:hover {
    background: #f1f3f5;
}

.form-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}

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

label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="email"], select {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #333333;
}

input[type="email"]:focus, select:focus {
    outline: none;
    border-color: #3772FF;
    box-shadow: 0 0 0 3px rgba(55, 114, 255, 0.1);
}

.submit-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    background: #3772FF;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.submit-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.end-lab-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    background: #ef4444;
    color: #FFFFFF;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.end-lab-btn:hover {
    background: #dc2626;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Timer Styles */
.timer-container {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timer-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.countdown {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #166534;
    margin: 1rem 0;
    font-variant-numeric: tabular-nums;
}

.lab-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item {
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.info-item:hover {
    background: #f1f3f5;
}

.info-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 0.25rem;
}

.gcp-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    display: inline-block;
    background: #3772FF;
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gcp-link:hover {
    background: #2563eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Labs Grid */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lab-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: left;
    transition: all 0.2s ease;
}

.lab-card:hover {
    background: #f1f3f5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.lab-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.lab-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lab-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lab-meta span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.lab-start-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 900;
    background: #3772FF;
    color: #FFFFFF;
    padding: 0.875rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lab-start-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Responsive Design - Mobile Typography */
@media (max-width: 768px) {
    body {
        padding: 0;
        font-size: 16px;
    }
    
    .container {
        width: 100%;
        padding: 2rem 1rem;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .header h1 {
        font-size: 32px;
    }
    
    .header p {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 20px;
    }
    
    .content {
        padding: 2rem 0;
    }
    
    .countdown {
        font-size: 32px;
    }
    
    .timer-container h3 {
        font-size: 24px;
    }
    
    .alert h3 {
        font-size: 24px;
    }
    
    .form-container h3 {
        font-size: 22px;
    }
    
    .lab-card h3 {
        font-size: 24px;
    }
    
    .labs-grid {
        grid-template-columns: 1fr;
    }
    
    .start-button,
    .submit-btn,
    .end-lab-btn,
    .gcp-link,
    .lab-start-btn {
        font-size: 16px;
    }
    
    .feature-text,
    .lab-description,
    .info-value {
        font-size: 16px;
    }
}

.container {
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    animation: fadeIn 0.8s ease-out;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Header Styles */
.header {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.header p {
    font-size: 1.25rem;
    color: #333333;
    font-weight: 400;
}

.content {
    padding: 1.5rem 0;
}

/* Homepage Specific Styles */
.homepage-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subtitle {
    color: #333333;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.start-button {
    background: #3772FF;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.start-button:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.start-button:active {
    transform: translateY(0);
}

.features {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.feature:hover {
    background: #f1f3f5;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    fill: #3772FF;
}

.feature-text {
    color: #1a1a1a;
    font-weight: 500;
}

/* Alert Styles */
.alert {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid;
    animation: slideDown 0.5s ease-out;
    background: #ffffff;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.alert h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Form Styles */
.form-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.form-container:hover {
    background: #f1f3f5;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="email"], select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #333333;
}

input[type="email"]:focus, select:focus {
    outline: none;
    border-color: #3772FF;
    box-shadow: 0 0 0 3px rgba(55, 114, 255, 0.1);
}

.submit-btn {
    background: #3772FF;
    color: #FFFFFF;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
}

.submit-btn:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.end-lab-btn {
    background: #ef4444;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.end-lab-btn:hover {
    background: #dc2626;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Timer Styles */
.timer-container {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timer-container h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    font-size: 3rem;
    font-weight: 700;
    color: #166534;
    margin: 1rem 0;
    font-variant-numeric: tabular-nums;
}

.lab-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.info-item:hover {
    background: #f1f3f5;
}

.info-label {
    font-size: 0.75rem;
    color: #333333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 0.25rem;
}

.gcp-link {
    display: inline-block;
    background: #3772FF;
    color: #FFFFFF;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.gcp-link:hover {
    background: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Labs Grid */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lab-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: left;
    transition: all 0.2s ease;
}

.lab-card:hover {
    background: #f1f3f5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.lab-card h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lab-description {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.lab-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lab-meta span {
    background: #f8f9fa;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid #e9ecef;
}

.lab-start-btn {
    background: #3772FF;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.lab-start-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .container {
        width: 100%;
        padding: 2rem 1rem;
    }
    
    .header {
        padding: 2rem 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .content {
        padding: 2rem 0;
    }
    
    .countdown {
        font-size: 2rem;
    }
    
    .labs-grid {
        grid-template-columns: 1fr;
    }
    
    .start-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}