:root {
    --primary: #95EDB0;
    --primary-dark: #386150;
    --secondary: #45D688;
    --grey: #8C91A5;
    --light-grey: #F5F6FA;
    --extreme-light-grey: #222327;
    --dark-grey: #6C757D;
    --soft-grey: #8A99B6;
    --success: #20C05C;
    --error: #FD4F48;
    --background: #011627;
    --yellow: #FFED00;
    --dark-bluish-grey: #011627;
    --light-green: #7EE081;
    --white: #FFFFFF;
    --card-bg: #1A2634;
    --input-bg: #0D1B2A;
    --border-radius: 8px;
}

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

html {
    font-size: 62.5%;
}

body {
    font: 1.6rem 'Space Grotesk', 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--background);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.hidden {
    display: none !important;
}

/* Header */
header {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo a {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-size: 2rem;
    color: var(--grey);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Container */
.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    margin-bottom: 2rem;
}

.input-group input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    background-color: var(--input-bg);
    color: var(--white);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.primary-btn {
    padding: 1.5rem 3rem;
    background-color: var(--primary);
    color: var(--input-bg);
    font-weight: bold;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

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

.secondary-btn {
    padding: 1.5rem 3rem;
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--grey);
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Video Preview */
.video-preview {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.video-info {
    display: flex;
    align-items: center;
}

.video-info img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 2rem;
}

.video-details h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.video-details p {
    color: var(--grey);
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: rgba(0, 0, 0, 0.2);
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--grey);
}

/* Results Page */
.results-container {
    padding: 4rem 0;
}

.video-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.video-header .video-thumbnail {
    width: 240px;
    height: 135px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 3rem;
}

.video-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.video-author {
    color: var(--grey);
    font-size: 1.8rem;
}

/* Processing Status */
.processing-status {
    text-align: center;
    padding: 6rem 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    margin: 0 auto 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.processing-status h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.processing-status p {
    color: var(--grey);
    margin-bottom: 3rem;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

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

/* Error Status */
.error-status {
    text-align: center;
    padding: 6rem 0;
}

.error-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: var(--error);
}

.error-status h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.error-status p {
    color: var(--grey);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Summary Container */
.summary-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 4rem;
}

.summary-header {
    margin-bottom: 3rem;
}

.summary-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.summary-description {
    color: var(--grey);
    font-size: 1.8rem;
}

.key-points {
    margin-top: 4rem;
}

.key-points h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.key-points ul {
    list-style-position: inside;
    padding-left: 2rem;
}

.key-points li {
    margin-bottom: 1rem;
    font-size: 1.7rem;
}

.topics-container h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.topics-timeline {
    position: relative;
    padding-left: 3rem;
}

.topics-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.topic-item {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topic-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.topic-timestamp {
    position: absolute;
    left: -3rem;
    top: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transform: translateX(-50%);
}

.topic-content {
    padding-top: 4rem;
}

.topic-content h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.topic-content p {
    color: var(--grey);
    font-size: 1.6rem;
}

/* Contact Page */
.contact-container {
    padding: 6rem 0;
}

.contact-container h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-container .subtitle {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: inherit;
    font-size: 1.6rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .primary-btn {
    width: 100%;
    border-radius: var(--border-radius);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 5rem;
}

.info-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.info-item p {
    color: var(--grey);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--grey);
}

.social-links a:hover {
    color: var(--primary);
}

/* Error Page */
.error-page {
    padding: 10rem 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-page .error-icon {
    font-size: 6rem;
    margin-bottom: 3rem;
    color: var(--error);
}

.error-page h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.error-page p {
    color: var(--grey);
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.error-actions .primary-btn,
.error-actions .secondary-btn {
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

footer p {
    color: var(--grey);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .primary-btn {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .video-header {
        flex-direction: column;
        text-align: center;
    }
    
    .video-header .video-thumbnail {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .error-actions {
        flex-direction: column;
    }
} 