/* ===== CSS Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== CSS Variables & Theme ===== */
:root {
    --bg-primary: #0d0d1a;
    --bg-secondary: #14142a;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --text-primary: #f0f0ff;
    --text-secondary: #a8a8c8;
    --text-muted: #7878a0;
    --accent-1: #ff3b6f;
    --accent-2: #ff7eb3;
    --accent-gradient: linear-gradient(135deg, #ff3b6f, #ff7eb3);
    --accent-glow: 0 0 30px rgba(255, 59, 111, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 70px;
}

[data-theme="light"] {
    --bg-primary: #f4f4fc;
    --bg-secondary: #e8e8f4;
    --bg-card: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #7a7a9a;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --accent-gradient: linear-gradient(135deg, #e94560, #ff6b6b);
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.6;
}

/* ===== Header / Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(13, 13, 26, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] header.scrolled {
    background: rgba(244, 244, 252, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    -webkit-text-fill-color: var(--accent-1);
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 10;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.theme-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.theme-toggle:hover {
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(255, 59, 111, 0.2);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 40%, rgba(255, 59, 111, 0.15), transparent 55%),
        radial-gradient(ellipse at 80% 60%, rgba(100, 50, 255, 0.12), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 126, 179, 0.08), transparent 45%);
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 24px rgba(255, 59, 111, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 59, 111, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}

.btn-outline:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(255, 59, 111, 0.3);
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
    padding: 30px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    max-width: 600px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ===== Banner Carousel ===== */
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin: 50px 0 0;
    height: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 40px;
    text-align: center;
    transform: scale(0.95);
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1);
}

.banner-slide h3 {
    font-size: 2rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.banner-slide p {
    max-width: 560px;
    color: var(--text-secondary);
    margin: 0 auto;
    font-size: 1.05rem;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.5;
}

.banner-dots span.active {
    background: var(--accent-1);
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 59, 111, 0.4);
}

/* ===== Section Common ===== */
section {
    padding: 100px 0;
    position: relative;
}

/* ===== Grid Layouts ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ===== Cards ===== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(255, 59, 111, 0.25);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-weight: 700;
}

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

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding: 24px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(8px);
    border-color: var(--accent-1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-1);
}

.timeline-year {
    font-weight: 700;
    font-size: 1.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.timeline-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-secondary);
}

/* ===== FAQ ===== */
.faq-item {
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-1);
}

.faq-question {
    padding: 20px 28px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    user-select: none;
    font-size: 1.05rem;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    transition: var(--transition);
    color: var(--accent-1);
}

.faq-item.open .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

/* ===== HowTo Steps ===== */
.howto-steps {
    counter-reset: step;
    max-width: 800px;
    margin: 0 auto;
}

.howto-step {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    align-items: flex-start;
    padding: 28px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.howto-step:hover {
    transform: translateX(8px);
    border-color: var(--accent-1);
}

.howto-step::before {
    counter-increment: step;
    content: counter(step);
    min-width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 59, 111, 0.25);
}

.howto-step h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.howto-step p {
    color: var(--text-secondary);
}

/* ===== Partner Grid ===== */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    width: 150px;
    height: 75px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0 12px;
    text-align: center;
}

.partner-logo:hover {
    border-color: var(--accent-1);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    margin-top: 40px;
}

[data-theme="light"] footer {
    background: rgba(0, 0, 0, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-col a,
.footer-col p {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent-1);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    margin: 0 10px;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-1);
}

/* ===== Search Box ===== */
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    padding: 4px 16px;
    max-width: 280px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(255, 59, 111, 0.1);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 10px 0;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    transition: var(--transition);
}

.search-box button:hover {
    color: var(--accent-1);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 24px rgba(255, 59, 111, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(255, 59, 111, 0.5);
}

/* ===== Form Inputs ===== */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 20px rgba(255, 59, 111, 0.08);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .section-title {
        font-size: 2.4rem;
    }

    .banner-carousel {
        height: 320px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(13, 13, 26, 0.96);
        backdrop-filter: blur(24px);
        padding: 24px 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        border-bottom: 1px solid var(--border-glass);
        gap: 16px;
    }

    [data-theme="light"] nav {
        background: rgba(244, 244, 252, 0.96);
    }

    nav.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

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

    .banner-carousel {
        height: 260px;
    }

    .banner-slide h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 70px 0;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -26px;
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card {
        padding: 24px 18px;
    }

    .banner-carousel {
        height: 220px;
    }

    .banner-slide {
        padding: 20px;
    }

    .banner-slide h3 {
        font-size: 1.3rem;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Additional Hover Effects ===== */
.card,
.timeline-item,
.howto-step,
.faq-item,
.partner-logo {
    will-change: transform;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-1);
}

/* Selection */
::selection {
    background: var(--accent-1);
    color: #fff;
}

/* ===== Gradient Banner Backgrounds ===== */
#culture {
    background: linear-gradient(180deg, transparent, rgba(255, 59, 111, 0.03), transparent);
}

#advantages {
    background: linear-gradient(180deg, transparent, rgba(100, 50, 255, 0.04), transparent);
}

#applications {
    background: linear-gradient(180deg, transparent, rgba(255, 59, 111, 0.02), transparent);
}

#testimonials {
    background: linear-gradient(180deg, transparent, rgba(100, 50, 255, 0.04), transparent);
}

/* ===== Contact Section ===== */
#contact .grid-2 > div {
    transition: var(--transition);
}

#contact .grid-2 > div:hover {
    border-color: var(--accent-1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* ===== News Card Image Placeholder ===== */
.card > div:first-child {
    transition: var(--transition);
}

.card:hover > div:first-child {
    transform: scale(1.02);
}

/* ===== Focus Styles for Accessibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-1);
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    header,
    .back-to-top,
    .banner-carousel,
    .search-box,
    .menu-toggle,
    .theme-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .card,
    .glass,
    .timeline-item,
    .howto-step,
    .faq-item {
        background: #f5f5f5 !important;
        border-color: #ddd !important;
        box-shadow: none !important;
    }

    .section-title {
        -webkit-text-fill-color: #e94560;
    }
}