/* YouTube Thumbnail Downloader Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #262626;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    /* YouTube-inspired color palette */
    --youtube-red: hsl(0, 100%, 50%);
    --youtube-red-dark: hsl(0, 100%, 45%);
    --youtube-red-light: hsl(0, 100%, 55%);
    
    /* Base colors */
    --background: #ffffff;
    --foreground: #262626;
    
    /* Card system */
    --card-bg: #ffffff;
    --card-foreground: #262626;
    --card-border: #e5e5e5;
    
    /* Primary system (YouTube red) */
    --primary: var(--youtube-red);
    --primary-foreground: #ffffff;
    --primary-hover: var(--youtube-red-dark);
    
    /* Secondary system */
    --secondary: #f5f5f5;
    --secondary-foreground: #333333;
    --secondary-hover: #ebebeb;
    
    /* Accent system */
    --accent: hsl(210, 100%, 50%);
    --accent-foreground: #ffffff;
    --accent-hover: hsl(210, 100%, 45%);
    
    /* Muted colors */
    --muted: #f5f5f5;
    --muted-foreground: #737373;
    
    /* Border and input */
    --border: #d4d4d4;
    --input-bg: #ffffff;
    --input-border: #cccccc;
    --ring: var(--youtube-red);
    
    /* Success and error */
    --success: hsl(120, 100%, 35%);
    --success-foreground: #ffffff;
    --error: hsl(0, 84%, 60%);
    --error-foreground: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(38, 38, 38, 0.1);
    --shadow-md: 0 4px 12px rgba(38, 38, 38, 0.15);
    --shadow-lg: 0 10px 25px rgba(38, 38, 38, 0.2);
    --shadow-youtube: 0 4px 15px rgba(255, 0, 0, 0.3);
    
    /* Border radius */
    --radius: 12px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2rem 0;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.page-nav-btn {
    min-width: 150px;
    margin-top: 1rem;
}

/* Add fade in animation for pages */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page:not(.hidden) {
    animation: pageFadeIn 0.4s ease-out forwards;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hidden {
    display: none !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

/* Button Components */
.btn-youtube {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    font-size: 1rem;
}

.btn-youtube:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-youtube);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
}

.btn-youtube:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    box-shadow: var(--shadow-lg);
}

.btn-cta {
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    font-size: 1rem;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Card Components */
.card-elevated {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card-elevated:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-hero {
    background: linear-gradient(145deg, var(--card-bg), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-hero:hover {
    box-shadow: 0 20px 40px rgba(38, 38, 38, 0.15);
    transform: translateY(-4px);
}

/* Input Components */
.input-primary {
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--foreground);
    transition: all 0.2s ease;
    width: 100%;
}

.input-primary:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.input-primary::placeholder {
    color: var(--muted-foreground);
}

/* Header */
.header {
    background: var(--background);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--muted-foreground);
}

.mobile-nav {
    border-top: 1px solid var(--card-border);
}

.mobile-nav-content {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
    background: var(--muted);
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 8rem;
    overflow: hidden;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.05;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-lg);
}

/* Downloader Section */
.downloader-section {
    padding: 4rem 0;
    background: rgba(245, 245, 245, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.downloader-container {
    max-width: 1000px;
    margin: 0 auto;
}

.downloader-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    pointer-events: none;
}

.input-wrapper .input-primary {
    padding-left: 2.5rem;
    font-size: 1.125rem;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--error);
    font-size: 0.875rem;
}

.submit-btn {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-content,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Thumbnail Results */
.thumbnail-results {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.results-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.success-icon {
    color: var(--success);
    flex-shrink: 0;
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.thumbnail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

.thumbnail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.thumbnail-preview {
    aspect-ratio: 16/9;
    background: var(--muted);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.thumbnail-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.thumbnail-resolution {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    background: var(--muted);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.download-btn {
    width: 100%;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    opacity: 0;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.feature-description {
    color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: rgba(245, 245, 245, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    opacity: 0;
}

.step-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-youtube);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.step-description {
    color: var(--muted-foreground);
}

/* Qualities Section */
.qualities-section {
    padding: 4rem 0;
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quality-card {
    text-align: center;
    opacity: 0;
}

.quality-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--primary-foreground);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.quality-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.quality-resolution {
    color: var(--primary);
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.quality-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.faq-answer {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* About Section */
.section-hero {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.story-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-paragraphs p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-big-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-big-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mission-card {
    padding: 2rem;
}

.mission-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.mission-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Section */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.contact-content {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form textarea {
    resize: none;
}

/* Privacy Section */
.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-section-card {
    padding: 2rem;
}

.privacy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.privacy-header svg {
    color: var(--primary);
    flex-shrink: 0;
}

.privacy-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.privacy-subsection {
    margin-bottom: 1.5rem;
}

.privacy-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.privacy-list {
    list-style-type: disc;
    list-style-position: inside;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.privacy-list li {
    margin-bottom: 0.5rem;
}

.privacy-text {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-note {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
}

.note-title {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.privacy-highlight {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
}

.highlight-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--muted);
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
    margin-top: auto;
}

main {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.footer-logo-text h2 {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 700;
}

.footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-links-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-disclaimer {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.social-link:hover {
    color: var(--primary);
}

/* Toast Component */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast-icon {
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--error);
}

.toast-message {
    font-weight: 500;
    color: var(--foreground);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AddToAny Share Buttons */
@media (max-width: 768px) {
    .a2a_floating_style {
        display: none;
    }
}

@media (min-width: 769px) {
    .a2a_mobile_share {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-story,
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .card-hero,
    .card-elevated {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .qualities-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-grid {
        grid-template-columns: 1fr;
    }
    
    .toast {
        min-width: 280px;
        margin: 0 1rem;
    }
}
