/**
 * EkoAkademia Custom Styles - dark-earth-875.css
 * Twilight Color Scheme with Bootstrap Framework
 * 
 * Структура:
 * 1. CSS Variables
 * 2. Global Styles & Typography
 * 3. Navigation & Header
 * 4. Hero & Featured Sections
 * 5. Cards & Articles
 * 6. Forms & Buttons
 * 7. Footer & Cookie Banner
 * 8. Utility Classes
 */

/* ========================================
   1. CSS VARIABLES
   ======================================== */

:root {
    /* Twilight Color Palette */
    --color-primary: #4a148c;
    --color-secondary: #6a1b9a;
    --color-accent: #8e24aa;
    --color-light: #ba68c8;
    --color-lightest: #e1bee7;

    
    /* Gradient backgrounds */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-light) 0%, var(--color-lightest) 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ========================================
   2. GLOBAL STYLES & RESET
   ======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

ul li {
    list-style: none;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

strong {
    font-weight: 600;
}

/* ========================================
   4. LAYOUT & CONTAINERS
   ======================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}


/* ========================================
   5. GRID SYSTEM
   ======================================== */

.grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
}

.grid-2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
}

.grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

.grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
}

.grid-5 {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2rem !important;
}

.grid-6 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 2rem !important;
}

/* Адаптивная сетка */
.grid-auto {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}

/* Асимметричные сетки */
.grid-2-1 {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 2rem !important;
}

.grid-1-2 {
    display: grid !important;
    grid-template-columns: 1fr 2fr !important;
    gap: 2rem !important;
}

/* Gap утилиты */
.gap-sm { gap: 1rem !important; }
.gap-md { gap: 2rem !important; }
.gap-lg { gap: 3rem !important; }

/* ========================================
   6. SPACING UTILITIES
   ======================================== */

/* Padding */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }


/* ========================================
   7. FLEXBOX UTILITIES
   ======================================== */

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.flex-1 {
    flex: 1;
}

/* ========================================
   8. TEXT UTILITIES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.capitalize {
    text-transform: capitalize;
}

/* ========================================
   9. COLOR UTILITIES
   ======================================== */

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: #ffffff;
}

.text-gray-600 {
    color: #666;
}

.text-gray-700 {
    color: #555;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-white {
    background-color: #ffffff;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}


/* ========================================
   10. BUTTONS
   ======================================== */

button,
[role="button"],
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    background: var(--gradient-primary);
    color: white;
}

button:hover,
[role="button"]:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    display: block;
}

/* ========================================
   11. CARDS
   ======================================== */

article {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

article header {
    margin-bottom: 1rem;
}

article header strong {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-bordered {
    border: 2px solid #e2e8f0;
}

.card-bordered:hover {
    border-color: var(--color-accent);
}

/* ========================================
   12. FORMS
   ======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(74, 20, 140, 0.2);
    border-radius: var(--radius-md);
    background: white;
    transition: all var(--transition-base);
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(142, 36, 170, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}


/* ========================================
   13. NAVIGATION
   ======================================== */

header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
}

nav a:hover {
    color: var(--color-accent);
}

/* ========================================
   14. HERO SECTIONS
   ======================================== */

.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero h1,
.hero h2,
.hero h3 {
    color: white;
}

.hero p {
    opacity: 0.95;
}

.hero-split {
    padding: 4rem 0;
}

/* ========================================
   15. FEATURES SECTIONS
   ======================================== */

.features {
    padding: 5rem 0;
    background: linear-gradient(180deg, white 0%, rgba(225, 190, 231, 0.1) 100%);
}

.features hgroup {
    text-align: center;
    margin-bottom: 3rem;
}

.features-icons {
    padding: 5rem 0;
}

.features-icons hgroup {
    text-align: center;
    margin-bottom: 3rem;
}

.features-icon-item {
    text-align: center;
    padding: 1.5rem;
}

.features-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.features-icon-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.features-icon-text {
    color: #666;
}

/* ========================================
   16. STATISTICS
   ======================================== */

.stats {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* ========================================
   17. TESTIMONIALS
   ======================================== */

.testimonials {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(225, 190, 231, 0.1) 0%, white 100%);
}

.testimonials hgroup {
    text-align: center;
    margin-bottom: 3rem;
}

/* ========================================
   18. FAQ
   ======================================== */

.faq {
    padding: 5rem 0;
}

.faq hgroup {
    text-align: center;
    margin-bottom: 3rem;
}

details {
    margin-bottom: 1rem;
    border: 2px solid var(--color-lightest);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

details:hover {
    border-color: var(--color-light);
}

summary {
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    margin-bottom: 1rem;
}

/* ========================================
   19. CONTACT SECTION
   ======================================== */

.contacts {
    padding: 5rem 0;
    background: linear-gradient(180deg, white 0%, rgba(225, 190, 231, 0.1) 100%);
}

.contacts hgroup {
    margin-bottom: 2rem;
}

/* ========================================
   20. FOOTER
   ======================================== */

footer {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 4rem 0 2rem;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover {
    color: var(--color-lightest);
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-center {
    text-align: center;
}


/* ========================================
   21. COOKIE BANNER
   ======================================== */

.cookie-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

.cookie-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-bottom-text {
    flex: 1;
    min-width: 300px;
}

.cookie-bottom-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-bottom-link {
    color: #3498db;
    text-decoration: underline;
}

.cookie-bottom-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn-accept {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.cookie-btn-accept:hover {
    background: #229954;
}

.cookie-btn-reject {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   22. TOPBAR
   ======================================== */

.topbar {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 10px 0;
    font-size: 13px;
}

.topbar-promo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-promo-link {
    color: white;
    text-decoration: underline;
    margin-left: 10px;
}


/* ========================================
   23. BORDERS & SHADOWS
   ======================================== */

.border {
    border: 1px solid #e2e8f0;
}

.border-2 {
    border: 2px solid #e2e8f0;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* ========================================
   24. DISPLAY & VISIBILITY
   ======================================== */

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.hidden {
    display: none;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.overflow-hidden {
    overflow: hidden;
}

/* ========================================
   25. WIDTH & HEIGHT
   ======================================== */

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.max-w-sm {
    max-width: 24rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}


/* ========================================
   26. TRANSITIONS & ANIMATIONS
   ======================================== */

.transition {
    transition: all var(--transition-base);
}

.transition-fast {
    transition: all var(--transition-fast);
}

.transition-slow {
    transition: all var(--transition-slow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-in;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }


/* ========================================
   27. HOVER EFFECTS
   ======================================== */

.hover-lift {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.hover-scale {
    transition: all var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-lg);
}

.hover-opacity:hover {
    opacity: 0.8;
}

/* ========================================
   28. SPECIAL COMPONENTS
   ======================================== */

/* Icon Box */
.icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-light);
    color: var(--color-primary);
    font-size: 2rem;
    transition: all var(--transition-base);
}

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
    color: white;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: white;
}

.badge-success {
    background-color: #10b981;
}

.badge-warning {
    background-color: #f59e0b;
}

.badge-danger {
    background-color: #ef4444;
}

/* Alert */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-warning {
    background-color: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-danger {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-info {
    background-color: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Divider */
.divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 2rem 0;
    border: none;
}

.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 3rem 0;
    border: none;
}


/* ========================================
   29. IMAGES
   ======================================== */

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-rounded {
    border-radius: var(--radius-md);
}

.img-circle {
    border-radius: 50%;
}

.content-image-rounded {
    width: 100%;
    border-radius: var(--radius-md);
}

/* ========================================
   30. LISTS
   ======================================== */

.list-none {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-checkmark {
    list-style: none;
    padding: 0;
}

.list-checkmark li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.list-checkmark li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.25rem;
}

/* ========================================
   31. UTILITIES
   ======================================== */

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.select-none {
    user-select: none;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

/* ========================================
   32. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    /* Grids */
    .grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6,
    .grid-2-1,
    .grid-1-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Cookie banner */
    .cookie-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    /* Navigation */
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-4,
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ========================================
   33. PRINT STYLES
   ======================================== */

@media print {
    .topbar,
    .cookie-bottom,
    nav,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ========================================
   34. ACCESSIBILITY
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ========================================
   35. SELECTION
   ======================================== */

::selection {
    background: var(--color-light);
    color: white;
}

::-moz-selection {
    background: var(--color-light);
    color: white;
}

/* ========================================
   36. SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}
