/* CarolCal About Page Styles */

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

:root {
    /* Dark HUD theme */
    --bg-950: #0A0F14;
    --bg-900: #0F1720;
    --panel-800: #111827;
    --panel-700: #1E293B;
    --cyan-400: #4DE2FF;
    --cyan-300: #00E5FF;
    --accent-rose: #E91E63;

    --primary-color: var(--cyan-400);
    --primary-dark: var(--cyan-300);
    --accent-color: var(--accent-rose);
    --text-primary: #FFFFFF;
    --text-secondary: #9FB0C7;
    --background: var(--bg-950);
    --background-secondary: var(--bg-900);
    --card-background: rgba(17, 24, 39, 0.6);
    --card-border: rgba(148, 163, 184, 0.18);
    --border-color: rgba(148, 163, 184, 0.18);
    --shadow-sm: 0 2px 10px rgba(0, 229, 255, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 229, 255, 0.12);
    --border-radius: 16px;
    --blur-sm: blur(6px);
    --blur-md: blur(12px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, 
                 Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    background-image:
        radial-gradient(1200px 800px at 50% -200px, rgba(77, 226, 255, 0.08), transparent 60%),
        radial-gradient(800px 500px at 0% 0%, rgba(14, 165, 233, 0.05), transparent 60%),
        radial-gradient(800px 500px at 100% 0%, rgba(233, 30, 99, 0.04), transparent 60%),
        linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 20px rgba(77, 226, 255, 0.25);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

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

.hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-family: 'Exo 2', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(77, 226, 255, 0.16);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Content Sections */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.section-block {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.section-block h2 {
    font-family: 'Exo 2', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-block p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(77, 226, 255, 0.35);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Stack */
.tech-section {
    background: var(--card-background);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
}

.tech-section h2 {
    color: var(--text-primary);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.tech-item {
    text-align: center;
}

.tech-item strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* How It Works List */
.how-it-works-list {
    list-style: none;
    counter-reset: step-counter;
}

.how-it-works-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 32px;
}

.how-it-works-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.how-it-works-list li strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.how-it-works-list li p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Privacy Note */
.privacy-note {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid rgba(77, 226, 255, 0.35);
}

.privacy-note h2 {
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .hero-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .section-block {
        padding: 32px 24px;
    }

    .section-block h2 {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-stack {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .how-it-works-list li {
        padding-left: 50px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .section-block {
        padding: 24px 20px;
    }
}

