/* Modern SaaS Landing Page Styles for Tiyul */
:root {
    --brand-blue: #326DFF;
    --brand-blue-dark: #1d4ed8;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --white: #ffffff;
    --black: #000000;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header styles */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand:hover {
    color: var(--brand-blue-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav a:hover {
    color: var(--brand-blue);
}

/* Footer styles */
.site-footer {
    background-color: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    padding: 3rem 0;
    margin-top: auto;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--white);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.journey-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgb(50 109 255 / 0.2);
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgb(50 109 255 / 0.3);
    color: var(--white);
}

.hero-subtext {
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subtext-line {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    text-align: center;
}

.subtext-line:last-child {
    margin-bottom: 0;
}

/* Logos Strip Section */
.logos-strip {
    background: #F7F9FF;
    padding: 4rem 0;
    border-top: 1px solid #E5E7EB;
}

.logos-headline {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accent {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--brand-blue);
    text-underline-offset: 2px;
}

.logos-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.university-logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.logos-caption {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 0;
    background-color: var(--gray-50);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.school-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 2rem;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 100px;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.university-logo {
    margin-bottom: 1rem;
}

.logo-svg {
    width: 80px;
    height: 80px;
    transition: transform 0.2s ease;
}

.logo-item:hover .logo-svg {
    transform: scale(1.05);
}

.logo-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
}

.social-proof-tagline {
    color: var(--gray-500);
    font-size: 1rem;
    margin-top: 2rem;
}

.highlight-stat {
    color: var(--brand-blue);
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    color: var(--gray-800);
}

.author-school {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Page content styles */
.page-content {
    padding: 4rem 0;
    flex: 1;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features grid */
.features-section {
    margin-bottom: 4rem;
}

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

.feature-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Blog styles */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.blog-post h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.post-meta {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* About page styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text h2,
.about-features h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-features ul {
    list-style: none;
    padding: 0;
}

.about-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.about-features li:last-child {
    border-bottom: none;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--surface-color);
    border-radius: 8px;
    margin-top: 3rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-wrap {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .school-logos-row {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .logo-svg {
        width: 60px;
        height: 60px;
    }
    
    .logo-name {
        font-size: 0.8rem;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .social-proof,
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Page Mobile Styles */
    .about-hero {
        padding: 4rem 0 3rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .steps-row {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .step-item {
        max-width: none;
    }
    
    .about-cta {
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Blog Page Mobile Styles */
    .blog-hero {
        padding: 4rem 0 3rem;
    }
    
    .blog-title {
        font-size: 2.25rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-content {
        padding: 2rem 1rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-box {
        padding: 1.5rem;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .blog-cta .cta-title {
        font-size: 1.75rem;
    }
    
    .blog-cta .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Logos Strip Mobile Styles */
    .logos-strip {
        padding: 3rem 0;
    }
    
    .logos-headline {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .logos-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .university-logo {
        max-height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .school-logos-row {
        gap: 1.5rem;
        padding: 0 0.5rem;
        justify-content: flex-start;
    }
    
    .logo-svg {
        width: 50px;
        height: 50px;
    }
    
    .logo-name {
        font-size: 0.75rem;
    }
    
    /* Logos Strip Mobile Styles */
    .logos-strip {
        padding: 2.5rem 0;
    }
    
    .logos-headline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .logos-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .logo-container:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    .logo-container {
        padding: 0.75rem;
    }
    
    .university-logo {
        max-height: 36px;
    }
}

/* Authentication Styles */
.auth-button {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.login-btn {
    background: transparent;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.login-btn:hover {
    background: var(--brand-blue);
    color: white;
}

.logout-btn {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.logout-btn:hover {
    background: var(--gray-200);
}

.signup-btn {
    background: var(--brand-blue);
    color: white;
    border: 1px solid var(--brand-blue);
}

.signup-btn:hover {
    background: #2757E6;
}

.user-email {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* Auth Container Styles */
.auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--gray-900);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray-600);
    margin: 0;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(50, 109, 255, 0.1);
}

.form-group small {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-submit-btn {
    width: 100%;
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.auth-submit-btn:hover {
    background: #2757E6;
}

.auth-error {
    background: #FEF2F2;
    color: #B91C1C;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #FECACA;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    color: var(--gray-600);
    margin: 0;
}

.auth-footer a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Mobile Auth Styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
}

/* Product Page Styles - Following Style Guide */
.product-page {
    background: #FFFFFF;
    min-height: 100vh;
    padding: 48px 0;
}

.product-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Area */
.product-header {
    position: relative;
    margin-bottom: 48px;
}

.journey-accent {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
}

.journey-lines {
    width: 100%;
    height: 100%;
}

.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #111111;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-icon {
    color: #326DFF;
    font-size: 32px;
}

.product-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #5B5B5B;
    margin: 0;
}

/* Control Bar */
.control-bar {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 32px;
    padding: 0;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin: 0;
}

.format-select {
    min-width: 200px;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #E6EAF2;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #111111;
    background: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.format-select:focus {
    outline: none;
    border-color: #326DFF;
    box-shadow: 0 0 0 2px rgba(50, 109, 255, 0.1);
}

.optimize-btn {
    height: 44px;
    padding: 12px 18px;
    background: #326DFF;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.optimize-btn:hover:not(:disabled) {
    background: #2757E6;
    box-shadow: 0 2px 4px rgba(50, 109, 255, 0.2);
}

.optimize-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(50, 109, 255, 0.3);
}

.optimize-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 14px;
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    margin-left: auto;
}

/* Input Area */
.input-section {
    margin-bottom: 48px;
}

.activity-textarea {
    width: 100%;
    min-height: 240px;
    padding: 16px;
    border: 1px solid #E6EAF2;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    background: #FFFFFF;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.activity-textarea:focus {
    outline: none;
    border-color: #326DFF;
    box-shadow: 0 0 0 2px rgba(50, 109, 255, 0.1);
}

.activity-textarea::placeholder {
    color: #98A2B3;
    font-style: normal;
}

/* Results Area */
.results-section {
    margin-bottom: 48px;
}

.results-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #111111;
    margin: 0 0 24px 0;
}

/* Empty State */
.empty-state {
    margin-bottom: 32px;
}

.empty-card {
    background: #F7F9FF;
    border: 1px solid #E6EAF2;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
}

.journey-motif {
    width: 100px;
    height: 60px;
    margin: 0 auto 16px;
}

.empty-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #5B5B5B;
    margin: 0;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Result Cards */
.result-card {
    background: #FFFFFF;
    border: 1px solid #E6EAF2;
    border-radius: 12px;
    padding: 18px;
}

.result-header {
    margin-bottom: 16px;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.platform-badge {
    background: #F7F9FF;
    color: #326DFF;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.char-meta {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #5B5B5B;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-section {
    margin-bottom: 12px;
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.improvements-icon {
    color: #17B26A;
    font-size: 12px;
}

.tips-icon {
    color: #326DFF;
    font-size: 12px;
}

.result-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    margin: 0;
    padding: 0;
}

.result-text.original {
    color: #5B5B5B;
    font-style: italic;
}

.result-text.optimized {
    font-weight: 500;
}

.result-list {
    margin: 0;
    padding-left: 16px;
    list-style-type: disc;
}

.result-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    margin-bottom: 4px;
}

.result-list li:last-child {
    margin-bottom: 0;
}

/* Error State */
.error-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.error-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-icon {
    color: #B00020;
    font-size: 16px;
    flex-shrink: 0;
}

.error-message {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #B00020;
    flex-grow: 1;
}

.error-dismiss {
    background: none;
    border: none;
    color: #B00020;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.error-dismiss:hover {
    background: rgba(176, 0, 32, 0.1);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .control-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .format-select {
        min-width: 100%;
    }
    
    .optimize-btn {
        width: 100%;
        justify-content: center;
    }
    
    .status-text {
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 24px 0;
    }
    
    .product-page .container {
        padding: 0 20px;
    }
    
    .product-header {
        margin-bottom: 32px;
    }
    
    .product-title {
        font-size: 28px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .product-icon {
        font-size: 28px;
    }
    
    .control-bar {
        margin-bottom: 24px;
    }
    
    .activity-textarea {
        min-height: 200px;
    }
    
    .results-section {
        margin-bottom: 32px;
    }
    
    .results-title {
        font-size: 24px;
    }
    
    .result-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .school-logos-row {
        gap: 1.5rem;
        padding: 0 0.5rem;
        justify-content: flex-start;
    }
    
    .logo-svg {
        width: 50px;
        height: 50px;
    }
    
    .logo-name {
        font-size: 0.75rem;
    }
}

/* Activity Optimizer Page Styles */
.product-page {
    background-color: var(--gray-900) !important;
    color: var(--gray-50) !important;
}

.product-page .site-header {
    background-color: var(--gray-800);
    border-bottom-color: var(--gray-700);
}

.product-page .brand {
    color: var(--brand-blue);
}

.product-page .nav a {
    color: var(--gray-300);
}

.product-page .nav a:hover {
    color: var(--brand-blue);
}

.product-page .site-footer {
    background-color: var(--gray-800);
    border-top-color: var(--gray-700);
    color: var(--gray-400);
}

.activity-optimizer {
    background: var(--gray-900);
    min-height: 100vh;
}

/* About Page Styles */
.about-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    padding: 5rem 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.mission-text:last-child {
    margin-bottom: 0;
}

.features-section {
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.how-it-works {
    background: white;
}

.steps-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.about-cta {
    background: linear-gradient(135deg, var(--brand-blue) 0%, #1d4ed8 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--brand-blue);
    text-decoration: none;
}

/* Blog Page Styles */
.blog-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.blog-section {
    margin-bottom: 4rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
}

.content-block {
    margin-bottom: 2rem;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

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

/* Warning Box */
.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Criteria List */
.criteria-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.criteria-list li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.criteria-list li::before {
    content: "•";
    color: var(--brand-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-box {
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid;
}

.comparison-box.strong {
    background: #f0fdf4;
    border-color: #22c55e;
}

.comparison-box.weak {
    background: #fef2f2;
    border-color: #ef4444;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.comparison-icon {
    font-size: 1.25rem;
}

.comparison-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

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

.comparison-box li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.comparison-box.strong li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.comparison-box.weak li::before {
    content: "×";
    color: #ef4444;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Platform Cards */
.platform-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.platform-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 2rem;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.platform-icon {
    font-size: 1.5rem;
}

.platform-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

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

.platform-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item strong {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* Key Takeaway */
.key-takeaway {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.takeaway-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    margin-top: 3rem;
}

.blog-cta .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.blog-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.card {
    border: none;
    background: var(--bs-body-bg);
}

.form-check:hover {
    background-color: var(--bs-secondary-bg);
    transition: background-color 0.2s ease;
}

.form-check-input:checked + .form-check-label {
    color: var(--bs-primary);
}

#activityText {
    resize: vertical;
    min-height: 120px;
}

#optimizedText {
    font-size: 1.1rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Character count styling */
#charCount {
    font-weight: 600;
}

/* Badge styling */
.badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* List styling */
#improvementsList li,
#tipsList li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

#improvementsList li:last-child,
#tipsList li:last-child {
    border-bottom: none;
}

#improvementsList li::before {
    content: "✓";
    color: var(--bs-success);
    font-weight: bold;
    margin-right: 0.5rem;
}

#tipsList li::before {
    content: "💡";
    margin-right: 0.5rem;
}

/* Copy button feedback */
.btn-copied {
    background-color: var(--bs-success) !important;
    border-color: var(--bs-success) !important;
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
}

/* Loading state button */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
