/* Astravyn - Light Mode Landio-style redesign */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --accent-light: rgba(59, 130, 246, 0.08);
    --accent-medium: rgba(59, 130, 246, 0.15);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 9999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font);
    --font-serif: 'Playfair Display', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.65rem 0;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px) saturate(1.35);
    -webkit-backdrop-filter: blur(16px) saturate(1.35);
    border-bottom: 1px solid transparent;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        padding 0.35s ease;
}

.navbar.is-scrolled {
    padding: 0.45rem 0;
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(226, 232, 240, 0.9);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 8px 28px rgba(15, 23, 42, 0.06);
}

.nav-container {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo:hover,
.logo:focus-visible {
    transform: scale(1.03);
    outline: none;
}

.logo-wordmark {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-wordmark--sm {
    font-size: 1rem;
}

.logo-icon {
    flex-shrink: 0;
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.12));
    transition: filter 0.3s ease;
}

.logo:hover .logo-icon,
.logo:focus-visible .logo-icon {
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.22));
}

.footer .logo .logo-icon {
    height: 2rem;
    max-height: 2rem;
    max-width: 9rem;
    filter: none;
}

.logo-text {
    color: var(--text);
}

.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0 auto;
    padding: 0.28rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92));
    border-radius: var(--radius-pill);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-indicator {
    position: absolute;
    top: 0.28rem;
    left: 0;
    height: calc(100% - 0.56rem);
    width: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(59, 130, 246, 0.04);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease;
}

.nav-links.is-ready .nav-indicator {
    opacity: 1;
}

.nav-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    outline: none;
}

.nav-link.is-active {
    color: var(--text);
    font-weight: 600;
}

.nav-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.btn-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 55%, #1e3a5f 100%);
    border: 1px solid rgba(15, 23, 42, 0.9);
    padding: 0.55rem 1.2rem 0.55rem 1.3rem;
    border-radius: var(--radius-pill);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.12),
        0 4px 12px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.btn-nav:hover,
.btn-nav:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow:
        0 6px 18px rgba(59, 130, 246, 0.28),
        0 2px 6px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    outline: none;
}

.btn-nav:active {
    transform: translateY(0);
}

.btn-nav svg,
.btn-nav .btn-premium-arrow {
    width: 14px;
    height: 14px;
}

.mobile-menu-btn {
    position: relative;
    z-index: 2;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(180deg, #fff, var(--bg-alt));
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    box-shadow: var(--shadow-xs);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    outline: none;
}

.mobile-menu-btn span {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease,
        background 0.25s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-btn.is-open {
    border-color: rgba(59, 130, 246, 0.4);
    background: var(--accent-light);
}

.mobile-menu-btn.is-open span {
    background: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
    .navbar,
    .logo,
    .logo-icon,
    .nav-indicator,
    .nav-link,
    .mobile-menu-btn,
    .mobile-menu-btn span {
        transition: none;
    }

    .logo:hover,
    .logo:focus-visible {
        transform: none;
    }
}

/* ===== HERO ===== */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.hero-brand {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--text-secondary);
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-bottom: 3rem;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #1d4ed8 140%);
    border: 1px solid rgba(15, 23, 42, 0.85);
    padding: 0.85rem 1.85rem 0.85rem 2rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.1),
        0 10px 28px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible {
    background: #fff;
    border-color: var(--accent);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.btn-hero:hover,
.btn-hero:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 55%, var(--accent-hover) 100%);
    border-color: transparent;
    transform: translateY(-3px) scale(1.015);
    box-shadow:
        0 14px 32px rgba(59, 130, 246, 0.32),
        0 4px 10px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    outline: none;
}

.btn-hero:active {
    transform: translateY(-1px) scale(1);
}

.btn-hero svg,
.btn-hero .btn-premium-arrow {
    width: 14px;
    height: 14px;
}

.hero-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-link {
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}

.social-link[aria-label="Twitter"] { color: #000000; }
.social-link[aria-label="Twitter"]:hover { color: #333; transform: scale(1.15); }
.social-link[aria-label="Instagram"] { color: #E4405F; }
.social-link[aria-label="Instagram"]:hover { color: #d62e4c; transform: scale(1.15); }
.social-link[aria-label="LinkedIn"] { color: #0A66C2; }
.social-link[aria-label="LinkedIn"]:hover { color: #004182; transform: scale(1.15); }
.social-link[aria-label="Copy page link"],
button.social-link {
    color: var(--text-muted);
}
button.social-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    line-height: 0;
}
.social-link[aria-label="Copy page link"]:hover { color: var(--text); transform: scale(1.15); }
.social-link[aria-label="WhatsApp"] { color: #25D366; }
.social-link[aria-label="WhatsApp"]:hover { color: #128C7E; transform: scale(1.15); }

.social-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.hero-scroll {
    color: var(--text-light);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== QUOTE SECTION ===== */
.quote-section {
    padding: 5rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.quote-section .container {
    max-width: 800px;
    text-align: center;
}

.quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.quote-badge svg {
    color: var(--accent);
}

.quote-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem;
    font-style: normal;
    border: none;
    padding: 0;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.quote-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-medium));
    border: 2px solid var(--accent-medium);
}

.quote-author span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== SECTION COMMON ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.section-badge svg {
    color: var(--accent);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-heading em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-secondary);
}

.section-subtext {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

/* ===== BENEFITS ===== */
.benefits-section {
    padding: 6rem 0;
    text-align: center;
}

.benefits-section .section-subtext {
    margin: 0 auto 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
    transform: translateY(-4px);
}

.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card:nth-child(1) .benefit-icon-wrap { color: #3B82F6; }
.benefit-card:nth-child(2) .benefit-icon-wrap { color: #F59E0B; }
.benefit-card:nth-child(3) .benefit-icon-wrap { color: #8B5CF6; }

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== SERVICES ===== */
.services-section {
    position: relative;
    padding: 6rem 0;
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, rgba(59, 130, 246, 0.07), transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 72%, rgba(16, 185, 129, 0.05), transparent 50%),
        var(--bg-alt);
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}

.services-section .section-subtext {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.service-card {
    --mx: 50%;
    --my: 50%;
    --service-accent: var(--accent);
    --service-accent-soft: rgba(59, 130, 246, 0.12);
    position: relative;
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    isolation: isolate;
    box-shadow: var(--shadow-xs);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card[data-accent="emerald"] {
    --service-accent: #10b981;
    --service-accent-soft: rgba(16, 185, 129, 0.14);
}

.service-card[data-accent="blue"] {
    --service-accent: #3b82f6;
    --service-accent-soft: rgba(59, 130, 246, 0.14);
}

.service-card[data-accent="slate"] {
    --service-accent: #64748b;
    --service-accent-soft: rgba(100, 116, 139, 0.12);
}

.service-card[data-accent="indigo"] {
    --service-accent: #4f46e5;
    --service-accent-soft: rgba(79, 70, 229, 0.12);
}

.service-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        420px circle at var(--mx) var(--my),
        var(--service-accent-soft),
        transparent 55%
    );
    transition: opacity 0.35s ease;
    z-index: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--service-accent), transparent 80%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    z-index: 1;
}

.service-card:hover,
.service-card:focus-visible {
    border-color: color-mix(in srgb, var(--service-accent) 45%, var(--border));
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.08),
        0 0 0 1px color-mix(in srgb, var(--service-accent) 18%, transparent);
    transform: translateY(-5px);
    outline: none;
}

.service-card:hover::before,
.service-card:focus-visible::before {
    opacity: 1;
}

.service-card:hover .service-card-glow,
.service-card:focus-visible .service-card-glow {
    opacity: 1;
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--service-accent);
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--service-accent) 22%, transparent);
    border-color: color-mix(in srgb, var(--service-accent) 35%, var(--border));
}

.service-card:hover .service-cta,
.service-card:focus-visible .service-cta {
    opacity: 1;
    transform: translateY(0);
    color: var(--service-accent);
}

.service-card-muted {
    background: rgba(255, 255, 255, 0.45);
    border-style: dashed;
    border-color: var(--border);
    box-shadow: none;
}

.service-card-muted:hover,
.service-card-muted:focus-visible {
    border-color: color-mix(in srgb, var(--service-accent) 28%, var(--border));
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

.service-card-muted::before {
    opacity: 0;
}

.service-card-muted:hover::before,
.service-card-muted:focus-visible::before {
    opacity: 0.55;
}

.service-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.75rem 1.5rem;
    min-height: 14.5rem;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.service-status {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

.service-status.available {
    color: #047857;
    background: #ecfdf5;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.18);
}

.service-status.beta {
    color: var(--accent-hover);
    background: var(--accent-light);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.service-status.soon {
    color: var(--text-light);
    background: var(--border-light);
}

.service-status.builtin {
    color: var(--text-secondary);
    background: var(--border-light);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: var(--service-accent);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--service-accent) 12%, #fff), #fff);
    border: 1px solid color-mix(in srgb, var(--service-accent) 16%, var(--border));
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card-muted .service-icon {
    color: var(--text-muted);
    background: var(--border-light);
    border-color: var(--border);
}

.service-arrow {
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    color: var(--text-muted);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1.15rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    opacity: 0.72;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.service-cta svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-cta svg,
.service-card:focus-visible .service-cta svg {
    transform: translateX(3px);
}

.service-cta--muted {
    opacity: 0.55;
    font-weight: 500;
    color: var(--text-light);
}

.service-card-muted:hover .service-cta--muted,
.service-card-muted:focus-visible .service-cta--muted {
    opacity: 0.85;
    color: var(--text-secondary);
}

.paper-plane-fly {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin: 0;
    will-change: transform, opacity;
    animation: paperPlaneFly 1.35s cubic-bezier(0.33, 0.1, 0.25, 1) forwards;
}

.paper-plane-fly svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.35));
}

@keyframes paperPlaneFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(-28deg) scale(0.85);
    }
    20% {
        opacity: 1;
        transform: translate(28px, -36px) rotate(-14deg) scale(1);
    }
    55% {
        opacity: 1;
        transform: translate(72px, -96px) rotate(2deg) scale(1.05);
    }
    100% {
        opacity: 0;
        transform: translate(140px, -180px) rotate(18deg) scale(0.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    .paper-plane-fly {
        animation: none;
        opacity: 0;
    }
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card--live:hover .service-title,
.service-card--live:focus-visible .service-title {
    color: color-mix(in srgb, var(--service-accent) 55%, var(--text));
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    max-width: 30ch;
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-icon,
    .service-arrow,
    .service-cta,
    .service-card-glow {
        transition: none;
    }

    .service-card:hover,
    .service-card:focus-visible,
    .service-card-muted:hover,
    .service-card-muted:focus-visible {
        transform: none;
    }

    .service-card:hover .service-icon,
    .service-card:focus-visible .service-icon {
        transform: none;
    }
}

/* ===== FEATURES ===== */
.features-section {
    padding: 6rem 0;
    text-align: center;
}

.features-section .section-subtext {
    margin: 0 auto 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
}

.feature-item:nth-child(1) .feature-icon-box { color: #3B82F6; background: rgba(59, 130, 246, 0.06); border-color: rgba(59, 130, 246, 0.12); }
.feature-item:nth-child(2) .feature-icon-box { color: #8B5CF6; background: rgba(139, 92, 246, 0.06); border-color: rgba(139, 92, 246, 0.12); }
.feature-item:nth-child(3) .feature-icon-box { color: #F59E0B; background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.12); }
.feature-item:nth-child(4) .feature-icon-box { color: #10B981; background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.12); }
.feature-item:nth-child(5) .feature-icon-box { color: #EF4444; background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.12); }
.feature-item:nth-child(6) .feature-icon-box { color: #EC4899; background: rgba(236, 72, 153, 0.06); border-color: rgba(236, 72, 153, 0.12); }

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== PROCESS ===== */
.process-section {
    padding: 6rem 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.process-section .section-subtext {
    margin: 0 auto 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.process-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
    padding: 6rem 0;
}

.cta-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.cta-caption {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    padding: 0.95rem 1.75rem;
    border-radius: var(--radius-pill);
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus-visible {
    border-color: var(--accent);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    overflow: hidden;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #2563eb 50%, #1d4ed8 100%);
    border: 1px solid rgba(37, 99, 235, 0.85);
    padding: 0.95rem 2.1rem 0.95rem 2.2rem;
    border-radius: var(--radius-pill);
    box-shadow:
        0 2px 4px rgba(37, 99, 235, 0.2),
        0 12px 28px rgba(59, 130, 246, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        background 0.35s ease,
        filter 0.35s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #60a5fa 0%, var(--accent) 40%, #1d4ed8 100%);
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.04);
    box-shadow:
        0 16px 36px rgba(59, 130, 246, 0.38),
        0 4px 12px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    outline: none;
}

.btn-cta:active {
    transform: translateY(-1px) scale(1);
}

.btn-cta svg,
.btn-cta .btn-premium-arrow {
    width: 14px;
    height: 14px;
}

/* Shared premium button polish */
.btn-premium {
    isolation: isolate;
}

.btn-premium-label {
    position: relative;
    z-index: 1;
}

.btn-premium-arrow {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-premium:hover .btn-premium-arrow,
.btn-premium:focus-visible .btn-premium-arrow {
    transform: translateX(3px);
}

.btn-premium-shine {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 28%,
        rgba(255, 255, 255, 0.28) 48%,
        transparent 68%
    );
    transform: translateX(-120%);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-premium:hover .btn-premium-shine,
.btn-premium:focus-visible .btn-premium-shine {
    transform: translateX(120%);
}

@media (prefers-reduced-motion: reduce) {
    .btn-nav,
    .btn-hero,
    .btn-hero-secondary,
    .btn-cta,
    .btn-cta-secondary,
    .btn-premium-arrow,
    .btn-premium-shine {
        transition: none;
    }

    .btn-nav:hover,
    .btn-nav:focus-visible,
    .btn-hero:hover,
    .btn-hero:focus-visible,
    .btn-hero-secondary:hover,
    .btn-hero-secondary:focus-visible,
    .btn-cta:hover,
    .btn-cta:focus-visible,
    .btn-cta-secondary:hover,
    .btn-cta-secondary:focus-visible {
        transform: none;
    }

    .btn-premium:hover .btn-premium-arrow,
    .btn-premium:focus-visible .btn-premium-arrow {
        transform: none;
    }

    .btn-premium:hover .btn-premium-shine,
    .btn-premium:focus-visible .btn-premium-shine {
        transform: none;
        opacity: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}

.footer-social-link[aria-label="Twitter"] { color: #000000; }
.footer-social-link[aria-label="Twitter"]:hover { color: #333; transform: scale(1.15); }
.footer-social-link[aria-label="LinkedIn"] { color: #0A66C2; }
.footer-social-link[aria-label="LinkedIn"]:hover { color: #004182; transform: scale(1.15); }
.footer-social-link[aria-label="Instagram"] { color: #E4405F; }
.footer-social-link[aria-label="Instagram"]:hover { color: #d62e4c; transform: scale(1.15); }
.footer-social-link[aria-label="Copy page link"],
button.footer-social-link {
    color: var(--text-muted);
}
button.footer-social-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    line-height: 0;
}
.footer-social-link[aria-label="Copy page link"]:hover { color: var(--text); transform: scale(1.15); }
.footer-social-link[aria-label="WhatsApp"] { color: #25D366; }
.footer-social-link[aria-label="WhatsApp"]:hover { color: #128C7E; transform: scale(1.15); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-size: 0.8125rem;
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-legal-link:hover {
    color: var(--text);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .benefits-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1.5rem;
        right: 1.5rem;
        margin: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 0.65rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 200;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links .nav-indicator {
        display: none;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }

    .nav-link.is-active,
    .nav-link:hover,
    .nav-link:focus-visible {
        background: var(--accent-light);
        color: var(--accent-hover);
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .hero-brand {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .logo-wordmark {
        font-size: 1rem;
    }

    .benefits-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.terms-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.legal-updated {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-intro {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.legal-section p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== BLOG PAGE ===== */
.blog-page {
    padding: 2rem 0 5rem;
    min-height: 60vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
}

/* ===== NEWS PAGE shell ===== */
.news-page {
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(59, 130, 246, 0.09), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(14, 165, 233, 0.06), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 28%, #ffffff 100%);
}

.news-page-inner {
    max-width: 1120px;
}

.news-page-header {
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.news-brand-mark {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.65rem;
}

.news-page-header .blog-title {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.news-page-header .blog-subtitle {
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.55;
}

.news-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 1.25rem;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.blog-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.read-btn {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s ease;
}

.read-btn:hover {
    color: var(--accent-hover);
}

/* ===== NEWS ARTICLE PAGE (/n/<id>) ===== */
.news-article-page .news-article-back {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
}

.news-article-page .news-article-back a {
    color: var(--accent);
    font-weight: 600;
}

.news-article-page .news-article-body {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.news-article-page .news-article-body p {
    margin: 0;
}

.news-article-page .news-article-read-more-wrap {
    margin: 0 0 2rem;
}

.news-article-page .read-more {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

.news-article-page .read-more:hover {
    color: var(--accent-hover);
}

/* ===== BLOG ARTICLE PAGE (single article, infographic/SaaS style) ===== */
.blog-page.blog-article {
    background: #f5f6f8;
    padding: 2rem 0 4rem;
    min-height: auto;
}

.blog-article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 1. Article header */
.article-header {
    margin-bottom: 2rem;
}

.article-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

.article-logo .logo-icon {
    flex-shrink: 0;
}

.article-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin: 0;
}

.article-caption {
    font-family: var(--font);
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0.75rem 0 0;
}

/* 2. Hero */
.article-hero {
    margin-bottom: 2.5rem;
}

.article-hero-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    background: #fff;
}

.article-hero-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* 3–6. Section common */
.article-section {
    margin-bottom: 2.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.cards-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.article-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
}

.article-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    color: var(--accent);
    margin-bottom: 1rem;
}

.article-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.article-card-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Key drivers: 3 cards already use .cards-three */

/* 4. Conflict impact */
.conflict-impact-content {
    display: grid;
    gap: 1.25rem;
}

.conflict-map-wrap {
    padding: 0;
    overflow: hidden;
}

.conflict-map-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.conflict-map-credit {
    margin: 0;
    padding: 0.5rem 0.75rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.conflict-map-credit a {
    color: var(--accent);
}

.conflict-impact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 5. Economic impact icon cards */
.icon-cards .article-card-icon {
    margin-bottom: 0.75rem;
}

/* 6. Astravyn insight */
.insight-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    border-left: 4px solid var(--accent);
}

.insight-lead {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.trending-signals {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trending-signals li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.signal-dot {
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* Blog article responsive */
@media (max-width: 768px) {
    .blog-article-container {
        padding: 0 1rem;
    }

    .cards-three {
        grid-template-columns: 1fr;
    }

    .article-hero-image {
        max-height: 280px;
    }

    .conflict-map-image {
        max-height: 240px;
    }
}

@media (min-width: 769px) and (max-width: 960px) {
    .cards-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== NEWS PAGE: Filters ===== */
.news-filters {
    margin-bottom: 2rem;
    padding: 1.15rem 1.25rem 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-xs);
}

.news-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 1.25rem 1.75rem;
    align-items: start;
}

.news-filters .filter-group {
    margin-bottom: 0;
    min-width: 0;
}

.news-filters .trending-section {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-light);
}

.filter-heading {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 0 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.trending-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.trending-section-head .filter-heading {
    margin-bottom: 0;
}

.filter-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin: 0;
}

.filter-btn:hover {
    background: #eef2f7;
    color: var(--text);
}

.filter-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.22);
}

.location-filter,
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.trending-section .topics-btn {
    flex-shrink: 0;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.trending-section .topics-btn:hover,
.trending-section .topics-btn[aria-expanded="true"] {
    background: var(--accent-light);
    border-color: rgba(59, 130, 246, 0.28);
    color: var(--accent-hover);
    box-shadow: none;
}

.topics-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.topics-menu.is-open {
    display: flex;
}

.topics-menu[hidden] {
    display: none !important;
}

.tag {
    display: inline-flex;
    align-items: center;
    background: var(--bg-alt);
    color: var(--text-secondary);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    margin: 0;
    font-size: 0.8125rem;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag:hover {
    background: #eef2f7;
    color: var(--text);
}

.tag.is-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.22);
}

.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    background: var(--bg-alt);
    color: var(--text-secondary);
    border: 1px solid transparent;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    font: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.clear-filter-btn:hover {
    background: #eef2f7;
    color: var(--text);
}

.clear-filter-btn.is-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.22);
}

.news-filter-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-light);
}

.news-filter-status[hidden] {
    display: none !important;
}

.news-filter-status-text {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.news-clear-all-btn {
    border: none;
    background: transparent;
    color: var(--accent-hover);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

.news-clear-all-btn:hover {
    background: var(--accent-light);
    color: var(--accent-hover);
}

@media (max-width: 720px) {
    .news-filter-toolbar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-filters {
        padding: 1rem;
    }
}

/* ===== NEWS PAGE: Featured article ===== */
.featured-news {
    margin-bottom: 2rem;
}

.featured-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    animation: newsFeatureIn 0.55s ease both;
}

.featured-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.featured-card > a:first-child {
    display: block;
    min-height: 100%;
}

.featured-card .featured-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--bg-alt);
}

.featured-card .featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.03);
}

.featured-card .featured-body {
    padding: 1.5rem 1.5rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.featured-card .news-meta .date,
.featured-card .news-meta .news-published,
.featured-card .news-meta .news-fetched {
    color: var(--text-muted);
}

.featured-card .news-meta .news-fetched {
    font-size: 0.75rem;
    opacity: 0.95;
}

.featured-card .news-meta .news-published {
    font-size: 0.8125rem;
}

.featured-card .news-meta .news-location,
.news-card .news-meta .news-location {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.featured-card .news-meta .news-feed-icons,
.news-card .news-meta .news-feed-icons {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.news-feed-icons--api,
.news-feed-icons--rss {
    background: none;
    border: none;
    box-shadow: none;
}

.featured-card .news-meta .news-feed-icons .news-feed-icon,
.news-card .news-meta .news-feed-icons .news-feed-icon {
    display: block;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #64748b;
    stroke: #64748b;
    background: none;
}

.featured-card .news-meta .news-feed-icons .news-feed-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.featured-card .news-meta .news-meta-details,
.news-card .news-meta .news-meta-details {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    min-width: 0;
}

.featured-card .news-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.65rem;
    line-height: 1.28;
}

.featured-card .news-title .read-more {
    color: inherit;
    font-weight: inherit;
}

.featured-card .news-title .read-more:hover {
    color: var(--accent-hover);
}

.featured-card .news-description {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

.featured-card .read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s ease;
    align-self: flex-start;
}

.featured-card .read-more:hover {
    color: var(--accent-hover);
}

.featured-card .news-article-source-wrap {
    margin: 0;
    padding: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.featured-card .news-card-actions {
    margin-top: 0.85rem;
    padding: 0;
    justify-content: flex-start;
}

@keyframes newsFeatureIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 860px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card .featured-image-wrap {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* ===== NEWS PAGE: News grid & cards ===== */
.news-feed {
    margin-top: 0.25rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(226, 232, 240, 0.95);
}

.news-card-image-link {
    display: block;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    outline: none;
    overflow: hidden;
}

.news-card-image-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.news-card .news-image {
    width: 100%;
    height: 176px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.news-card:hover .news-image {
    transform: scale(1.04);
}

.news-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    padding: 0.9rem 1.1rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-card .category-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: capitalize;
}

.news-card .news-meta .date,
.news-card .news-meta .news-published,
.news-card .news-meta .news-fetched {
    color: var(--text-muted);
}

.news-card .news-meta .news-fetched {
    font-size: 0.7rem;
    opacity: 0.95;
}

.news-card .news-meta .news-published {
    font-size: 0.75rem;
}

.news-card .news-meta .news-syndicated-hint,
.featured-card .news-meta .news-syndicated-hint {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.95;
}

.news-card .news-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    padding: 0.45rem 1.1rem 0;
    line-height: 1.35;
}

.news-card .news-title a:hover {
    color: var(--accent-hover);
}

.news-card .news-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    padding: 0.45rem 1.1rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-article-source-wrap {
    margin: 0;
    padding: 0.35rem 1.1rem 0;
    font-size: 0.78rem;
    line-height: 1.4;
}

.news-article-source-link {
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 0.12em;
}

.news-article-source-link:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.news-card .read-more {
    display: inline-block;
    padding: 0.65rem 1.1rem 0.15rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s ease;
}

.news-card .read-more:hover {
    color: var(--accent-hover);
}

.news-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: auto;
    padding: 0.65rem 1.1rem 1rem;
}

.news-item-share-btn,
.news-item-share-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    background: var(--bg-alt);
    color: var(--text-muted);
    text-decoration: none;
    box-sizing: border-box;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s, opacity 0.2s;
}

.news-item-share-btn {
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    line-height: 0;
    vertical-align: middle;
}

.news-item-copy-link-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    gap: 0;
}

.news-item-copy-link-btn .news-copy-link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.news-item-share-btn:hover {
    color: var(--text);
    background: var(--bg-card);
    border-color: var(--border);
}

.news-item-share-wa {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.06);
}

.news-item-share-wa:hover {
    color: #128C7E;
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(18, 140, 126, 0.45);
    transform: scale(1.04);
}

.news-card.news-card--share-highlight,
.featured-card.news-card--share-highlight {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    transition: outline 0.2s ease;
}

.news-card.appended {
    animation: cardFadeIn 0.35s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category badge colors */
.category-badge.technology { background: #dbeafe; color: #1d4ed8; }
.category-badge.business { background: #d1fae5; color: #047857; }
.category-badge.automotive { background: #fef3c7; color: #b45309; }
.category-badge.sports { background: #fce7f3; color: #be185d; }
.category-badge.entertainment { background: #ede9fe; color: #5b21b6; }
.category-badge.science { background: #cffafe; color: #0e7490; }
.category-badge.default { background: var(--bg-alt); color: var(--text-muted); }

/* ===== Load More ===== */
.load-more-wrap {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
    padding: 0.8rem 1.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Skeleton loading (news page) ===== */
.news-card-skeleton {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.news-card-skeleton .skeleton-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.news-card-skeleton .skeleton-line {
    height: 12px;
    margin: 0.75rem 1.25rem 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.news-card-skeleton .skeleton-line.short {
    width: 40%;
}

.news-card-skeleton .skeleton-line.medium {
    width: 75%;
}

.news-card-skeleton .skeleton-line:last-of-type {
    margin-bottom: 1rem;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.featured-skeleton .skeleton-image {
    height: 240px;
}

.featured-skeleton .skeleton-line {
    margin: 1rem 1.5rem 0;
    height: 14px;
}

.featured-skeleton .skeleton-line.medium {
    width: 60%;
}

/* Responsive: news grid */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-card .featured-image-wrap {
        aspect-ratio: 16/9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .featured-card,
    .news-card.appended {
        animation: none;
    }

    .featured-card .featured-image,
    .news-card .news-image,
    .featured-card:hover,
    .news-card:hover {
        transform: none;
        transition: none;
    }
}

/* ===== COMMENT SECTION (blog article) ===== */
.comment-section {
    margin-top: 60px;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.comment-section-title,
.comment-section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.comment-section-subtitle {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.comment-section #rating {
    display: block;
    width: 100%;
    max-width: 200px;
    padding: 10px 12px;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
}

.comment-avg-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.comment-avg-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.comment-avg-stars {
    color: #f59e0b;
}

.comment-avg-value {
    font-weight: 600;
    color: var(--text);
}

.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #b45309;
    background: #fef3c7;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
}

.comment-section input[type="text"],
.comment-section textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 10px;
    font-family: var(--font);
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    transition: border-color 0.2s;
}

.comment-section textarea {
    height: 100px;
    min-height: 100px;
    resize: vertical;
}

.comment-section input:focus,
.comment-section textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.comment-submit-btn {
    margin-top: 10px;
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.comment-submit-btn:hover {
    background: var(--accent-hover);
}

.comment-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.comment-list {
    margin-top: 1.5rem;
}

.comment-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.comment-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: var(--border);
}

.comment-card.top-comment {
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
}

.comment-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.35rem;
}

.comment-card .comment-rating {
    font-size: 0.9375rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.comment-card .comment-body {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.comment-card .comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.comment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.comment-like-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.comment-like-btn.liked {
    background: var(--accent-light);
    color: var(--accent);
}

.comment-card .top-comment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-left: auto;
}

.comment-loading,
.comment-empty {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
    padding: 1rem 0;
}
