





/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* ===== CSS Custom Properties ===== */
:root,
[data-theme="light"] {
    --primary: #f8fafc;
    --primary-dark: #f1f5f9;
    --primary-light: #ffffff;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1e40af;
    --gold-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --dark-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --glass-bg: rgba(37, 99, 235, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --section-dark: #f1f5f9;
    --section-darker: #e2e8f0;
    --card-bg: #ffffff;
    --nav-float-bg: rgba(255, 255, 255, 0.9);
    --nav-float-text: #0f172a;
    --nav-solid-bg: rgba(255, 255, 255, 0.98);
    --speaker-card-solid: #f1f5f9;
    --speaker-card-transparent: rgba(241, 245, 249, 0);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Admin Specific */
    --admin-bg: #f1f5f9;
    --admin-card: #ffffff;
    --admin-sidebar: #ffffff;
    --admin-border: #e2e8f0;
}

[data-theme="dark"] {
    --primary: #0f172a;
    --primary-dark: #020617;
    --primary-light: #1e293b;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #2563eb;
    --gold-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --dark-gradient: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --section-dark: #1e293b;
    --section-darker: #0f172a;
    --card-bg: #1e293b;
    --nav-float-bg: rgba(15, 23, 42, 0.8);
    --nav-float-text: #f8fafc;
    --nav-solid-bg: rgba(2, 6, 23, 0.95);
    --speaker-card-solid: #1e293b;
    --speaker-card-transparent: rgba(30, 41, 59, 0);

    /* Admin Specific */
    --admin-bg: #0f172a;
    --admin-card: #1e293b;
    --admin-sidebar: #020617;
    --admin-border: rgba(255, 255, 255, 0.1);
}

/* ===== Base Reset & Typography ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
    touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* ===== Header / Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1rem 2rem;
}

.navbar.floating .nav-container {
    background: var(--nav-float-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 0.6rem 2rem;
}

.navbar.floating {
    padding: 1.2rem 2rem;
}

.navbar.solid {
    padding: 0;
}

.navbar.solid .nav-container {
    background: var(--nav-solid-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    border-radius: 0;
    padding: 0.75rem 2rem;
    max-width: 100%;
    box-shadow: 0 1px 0 var(--glass-border), 0 4px 30px rgba(0, 0, 0, 0.12);
    border: none;
}

.navbar .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    transition: var(--transition-smooth) !important;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

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

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section (Section 1) ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 18s infinite;
    transform: scale(1);
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    5% {
        opacity: 1;
    }
    28% {
        opacity: 1;
    }
    33% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(10, 10, 26, 0.95) 30%, rgba(10, 10, 26, 0.98) 100%);
    z-index: 1;
}

/* Particle/Decorative elements */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 35%; animation-delay: 3s; }
.particle:nth-child(4) { left: 50%; animation-delay: 0.5s; }
.particle:nth-child(5) { left: 65%; animation-delay: 2s; }
.particle:nth-child(6) { left: 75%; animation-delay: 4s; }
.particle:nth-child(7) { left: 85%; animation-delay: 1s; }
.particle:nth-child(8) { left: 90%; animation-delay: 3.5s; }

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-title .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.3));
}

.hero-theme {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out 0.7s both;
    font-style: italic;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-theme em {
    color: var(--accent-light);
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(37, 99, 235, 0.3);
}

.hero-date-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    flex-wrap: wrap;
}

.hero-date-location .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-date-location .info-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

/* Countdown Timer */
.countdown-wrapper {
    animation: fadeInUp 1s ease-out 1s both;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.countdown-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    min-width: 90px;
    text-align: center;
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.countdown-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
    display: block;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Section common styling ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge::before,
.section-badge::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== About Section (Section 2) ===== */
.about-section {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    pointer-events: none;
}

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

.about-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.about-card:hover .card-icon {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--accent);
    transform: scale(1.1);
}

.about-card .card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

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

.about-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.about-card ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== Speakers Section (Section 3) ===== */
.speakers-section {
    background: var(--section-dark);
    position: relative;
}

.speakers-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.speakers-category {
    margin-bottom: 4rem;
}

.speakers-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 2.5rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0.75rem auto 0;
}

.speakers-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.speaker-card {
    flex: 1 1 300px;
    max-width: 360px;
    width: 100%;
    background: var(--speaker-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.speaker-card .speaker-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.speaker-card .speaker-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.speaker-card:hover .speaker-image-wrapper img {
    transform: scale(1.08);
}

/* Bottom overlay on the image wrapper for seamless blend */
.speaker-card .speaker-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--speaker-card-transparent) 0%,
        var(--speaker-card-transparent) 55%,
        var(--speaker-card-solid) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.speaker-card .speaker-info {
    padding: 1.5rem 2rem 1.8rem;
    position: relative;
    z-index: 2;
    background: var(--speaker-card-solid);
}

.speaker-card .speaker-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-family: 'Inter', sans-serif;
}

.speaker-card .speaker-title {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.speaker-card .speaker-institution {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.speaker-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.speaker-social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
}

.speaker-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.speaker-social a svg {
    width: 16px;
    height: 16px;
}

.speaker-keynote .speaker-card {
    background: var(--speaker-card-solid);
    border-color: rgba(37, 99, 235, 0.2);
}

/* ===== Info Section (Section 4) ===== */
.info-section {
    background: var(--dark-gradient);
    position: relative;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: sticky;
    top: 100px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(0.5) brightness(0.8);
    transition: filter 0.4s ease;
}

.map-container:hover iframe {
    filter: grayscale(0) brightness(1);
}

.map-info {
    background: var(--card-bg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.map-info svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

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

/* Accordion */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 1rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header .acc-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.accordion-header .acc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.accordion-item.active .acc-icon {
    background: rgba(37, 99, 235, 0.2);
}

.accordion-header .acc-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.accordion-header .acc-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.accordion-item.active .acc-toggle {
    background: var(--gold-gradient);
    border-color: var(--accent);
    transform: rotate(180deg);
}

.accordion-header .acc-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.accordion-item.active .acc-toggle svg {
    color: var(--accent);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    padding: 0 1.5rem;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 600px;
    padding: 0 1.5rem 1.5rem;
    opacity: 1;
}

.accordion-body-inner {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.accordion-body-inner ul {
    list-style: none;
    padding: 0;
}

.accordion-body-inner ul li {
    padding: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-body-inner ul li:last-child {
    border-bottom: none;
}

.accordion-body-inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 200px;
    flex-shrink: 0;
    padding-right: 1rem;
}

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

/* Biaya Pendaftaran Alignment */
.price-list li {
    display: flex !important;
    align-items: center;
}

.price-list .price-label {
    flex: 0 0 240px;
}

.price-list .price-colon {
    flex: 0 0 20px;
    text-align: center;
}

.price-list .price-value {
    flex: 1;
}

@media (max-width: 576px) {
    .timeline-date {
        min-width: 135px;
        font-size: 0.8rem;
        padding-right: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .price-list .price-label {
        flex: 0 0 150px;
        font-size: 0.85rem;
    }
    
    .price-list .price-value {
        font-size: 0.85rem;
    }
}

/* ===== Partners Section (Section 5) ===== */
.partners-section {
    background: var(--section-dark);
    position: relative;
}

.partners-category {
    margin-bottom: 3rem;
}

.partners-category:last-child {
    margin-bottom: 0;
}

.partners-category-title {
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    min-width: 200px;
    min-height: 100px;
}

.partner-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.partner-card .partner-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-logo {
    color: var(--accent);
}

/* ===== Footer ===== */
.footer {
    background: var(--section-darker);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand .footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: white;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .map-container {
        position: relative;
        top: 0;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem 2.5rem;
        gap: 0.5rem;
        transition: right 0.4s ease;
        z-index: 1001;
    }

    /* Dark mode mobile menu */
    [data-theme="dark"] .nav-links {
        background: rgba(10, 10, 26, 0.98);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Light mode mobile menu - white bg */
    [data-theme="light"] .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        right: 0;
    }

    /* Mobile menu links - dark mode: white text */
    [data-theme="dark"] .nav-links a {
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    [data-theme="dark"] .nav-links a:hover,
    [data-theme="dark"] .nav-links a:active {
        color: var(--accent-light) !important;
    }

    /* Mobile menu links - light mode: dark text */
    [data-theme="light"] .nav-links a {
        color: #1a1a2e !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="light"] .nav-links a:hover,
    [data-theme="light"] .nav-links a:active {
        color: var(--accent) !important;
    }

    /* Common mobile menu link styles */
    .nav-links a {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        padding: 0.8rem 0 !important;
        display: block;
        letter-spacing: 1.5px;
        opacity: 0.85;
        transition: opacity 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover,
    .nav-links a:active {
        opacity: 1;
    }

    .nav-links a::after {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 1rem;
    }

    .countdown-item .number {
        font-size: 1.8rem;
    }

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

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-date-location {
        flex-direction: column;
        gap: 0.5rem;
    }

    .divider-dot {
        display: none;
    }

    /* === Mobile Layout Fixes === */

    /* Disable hover transform on touch devices - prevents double-tap issue */
    .about-card:hover {
        transform: none;
        box-shadow: none;
    }

    .about-card:active {
        border-color: rgba(37, 99, 235, 0.3);
        background: rgba(255, 255, 255, 0.06);
    }

    /* Hero section adjustments */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 0 1.2rem;
    }

    .hero-theme {
        font-size: 0.95rem !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    /* Section spacing for mobile */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* About section cards padding */
    .about-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    /* Product card touch-friendly button */
    .about-card .btn-primary {
        position: relative;
        z-index: 5;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.3);
        touch-action: manipulation;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .countdown {
        flex-wrap: wrap;
    }

    .countdown-item {
        flex: 1;
        min-width: 60px;
        padding: 0.75rem;
    }

    .countdown-item .number {
        font-size: 1.5rem;
    }

    .countdown-item .label {
        font-size: 0.6rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .partner-card {
        min-width: 150px;
        padding: 1rem 1.5rem;
    }

    /* Extra small screen adjustments */
    .about-card {
        padding: 1.2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* ===== Mobile nav overlay ===== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ===== Theme Toggle (inside navbar) ===== */
.theme-toggle {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent);
    transition: var(--transition-smooth);
    padding: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.4s ease;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Light mode scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f0f0f0;
}

/* Light mode hero text stays white */
[data-theme="light"] .hero-content,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-badge,
[data-theme="light"] .hero-theme,
[data-theme="light"] .hero-date-location .info-item,
[data-theme="light"] .countdown-label,
[data-theme="light"] .countdown-item .label,
[data-theme="light"] .scroll-indicator a {
    color: #ffffff;
}

[data-theme="light"] .hero-badge {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    color: #60a5fa;
}

[data-theme="light"] .countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .scroll-indicator .mouse {
    border-color: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

[data-theme="light"] .navbar.floating .nav-container {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar.floating .nav-logo {
    color: #1a1a2e;
}

[data-theme="light"] .navbar.floating .nav-links a {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .navbar.floating .nav-links a:hover {
    color: var(--accent);
}

[data-theme="light"] .navbar.floating .nav-toggle span {
    background: #1a1a2e;
}

/* Light mode nav solid */
[data-theme="light"] .navbar.solid .nav-logo {
    color: #1a1a2e;
}

[data-theme="light"] .navbar.solid .nav-links a {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .navbar.solid .nav-links a:hover {
    color: var(--accent);
}

[data-theme="light"] .navbar.solid .nav-toggle span {
    background: #1a1a2e;
}

/* Light mode particle visibility */
[data-theme="light"] .particle {
    background: var(--accent-dark);
}

@media (max-width: 768px) {
    .navbar.floating {
        padding: 0.8rem 1rem;
    }

    .navbar.floating .nav-container {
        padding: 0.5rem 1.2rem;
    }

    /* Hamburger: white only on floating navbar (over hero dark overlay) */
    .navbar.floating .nav-toggle span {
        background: #ffffff;
    }

    /* Hamburger: dark lines on solid navbar in light mode */
    [data-theme="light"] .navbar.solid .nav-toggle span {
        background: #1a1a2e;
    }

    /* Light mode nav-overlay */
    [data-theme="light"] .nav-overlay.active {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ===== Blog Page ===== */

/* Blog Hero */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    overflow: hidden;
}

/* Blog Hero Slideshow */
.blog-hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.blog-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: blog-slideshow 18s infinite;
    transform: scale(1);
}

.blog-hero-slide:nth-child(1) { animation-delay: 0s; }
.blog-hero-slide:nth-child(2) { animation-delay: 6s; }
.blog-hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes blog-slideshow {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    28% { opacity: 1; }
    33% { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1); }
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.85) 0%, rgba(10, 10, 26, 0.75) 50%, rgba(10, 10, 26, 0.9) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease-out both;
}

.blog-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
}

.blog-hero-title .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-tag {
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.filter-tag:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

.filter-tag.active {
    background: var(--gold-gradient);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* Blog Section */
.blog-section {
    background: var(--section-dark);
    position: relative;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Featured Card - spans full width */
.blog-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-card-featured .blog-card-image {
    height: 100%;
    min-height: 350px;
}

/* Card Image */
.blog-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-gradient);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Card Content */
.blog-card-content {
    padding: 1.5rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-featured .blog-card-content {
    padding: 2rem 2.5rem;
    justify-content: center;
}

/* Card Meta */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.blog-category {
    background: rgba(37, 99, 235, 0.12);
    color: var(--accent);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-date i {
    font-size: 0.7rem;
    color: var(--accent);
}

/* Card Title */
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.blog-card-featured .blog-card-title {
    font-size: 1.6rem;
}

.blog-card:hover .blog-card-title {
    color: var(--accent);
}

/* Card Excerpt */
.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-featured .blog-card-excerpt {
    -webkit-line-clamp: 4;
}

/* Card Footer */
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.blog-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
}

.blog-author span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.blog-read-more {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
}

.blog-read-more i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--accent-light);
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* Load More Button */
.blog-load-more {
    text-align: center;
    margin-top: 3rem;
}

.blog-load-more .btn-outline i {
    transition: transform 0.4s ease;
}

.blog-load-more .btn-outline:hover i {
    transform: rotate(180deg);
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card-featured {
        grid-template-columns: 1fr;
    }

    .blog-card-featured .blog-card-image {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero {
        height: 40vh;
        min-height: 300px;
    }

    .blog-card-featured .blog-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-filters {
        gap: 0.5rem;
    }

    .filter-tag {
        padding: 0.45rem 1rem;
        font-size: 0.78rem;
    }
}

/* ===== Blog Detail Page ===== */

/* Blog Detail Hero */
.blogd-hero {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--primary);
}

.blogd-hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blogd-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blogd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.7) 0%, rgba(10, 10, 26, 0.85) 40%, rgba(10, 10, 26, 0.98) 100%);
    z-index: 1;
}

.blogd-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem 3.5rem;
    animation: fadeInUp 0.8s ease-out both;
}

/* Breadcrumb */
.blogd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.blogd-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.blogd-breadcrumb a:hover {
    color: var(--accent);
}

.blogd-breadcrumb i {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.6rem;
}

.blogd-breadcrumb span {
    color: var(--accent);
    font-weight: 600;
}

.blogd-hero-content .blog-category {
    margin-bottom: 0.8rem;
    display: inline-block;
}

.blogd-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

/* Hero Meta */
.blogd-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.blogd-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.blogd-meta-item i {
    color: var(--accent);
    font-size: 0.8rem;
}

.blogd-meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

/* Blog Detail Layout */
.blogd-section {
    background: var(--section-dark);
    padding: 4rem 1rem;
}

.blogd-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* Article Body */
.blogd-article {
    position: relative;
    display: flex;
    gap: 2rem;
}

.blogd-body {
    flex: 1;
    min-width: 0;
}

/* Article Typography */
.blogd-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.6rem;
}

.blogd-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.blogd-body p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.blogd-lead {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: var(--text-primary) !important;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin-bottom: 2rem !important;
}

/* Lists */
.blogd-body ul,
.blogd-body ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.blogd-body ul li,
.blogd-body ol li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.blogd-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.blogd-body ol {
    counter-reset: ol-counter;
}

.blogd-body ol li {
    counter-increment: ol-counter;
}

.blogd-body ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* Blockquote */
.blogd-body blockquote {
    background: rgba(37, 99, 235, 0.06);
    border-left: 4px solid var(--accent);
    border-radius: 0 16px 16px 0;
    padding: 2rem 2rem 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.blogd-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.blogd-body blockquote p {
    font-size: 1.1rem !important;
    font-style: italic;
    color: var(--text-primary) !important;
    margin-bottom: 0.5rem !important;
    padding-left: 1rem;
}

.blogd-body blockquote cite {
    display: block;
    color: var(--accent);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    padding-left: 1rem;
}

/* Figures */
.blogd-figure {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.blogd-figure img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blogd-figure:hover img {
    transform: scale(1.03);
}

.blogd-figure figcaption {
    padding: 0.8rem 1.2rem;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: italic;
    text-align: center;
}

/* Timeline in article */
.blogd-timeline {
    margin: 1.5rem 0 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.blogd-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(37, 99, 235, 0.2));
}

.blogd-timeline-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.blogd-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--section-dark);
    transform: translateX(-50%);
    margin-left: -1px;
}

.blogd-timeline-date {
    min-width: 100px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    padding-top: 0.2rem;
    font-family: 'Inter', sans-serif;
}

.blogd-timeline-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.blogd-timeline-info p {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Table */
.blogd-table-wrapper {
    margin: 1.5rem 0 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.blogd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.blogd-table thead {
    background: rgba(37, 99, 235, 0.12);
}

.blogd-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

.blogd-table td {
    padding: 0.85rem 1.5rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.blogd-table tbody tr:last-child td {
    border-bottom: none;
}

.blogd-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* CTA Box */
.blogd-cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 20px;
    padding: 2rem;
    margin: 2.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.blogd-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.blogd-cta-text {
    flex: 1;
    min-width: 200px;
}

.blogd-cta-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.blogd-cta-text p {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Tags */
.blogd-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.blogd-tags-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blogd-tags-label i {
    color: var(--accent);
}

.blogd-tag {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.blogd-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
}

/* Share Bar (Sticky) */
.blogd-share-bar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.blogd-share-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.3rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.blogd-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
}

.blogd-share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-3px);
}

/* Sidebar */
.blogd-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blogd-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.8rem;
    transition: var(--transition-smooth);
}

.blogd-sidebar-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
}

/* Author Card */
.blogd-author-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blogd-author-avatar-lg {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.blogd-author-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.blogd-author-header p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.blogd-author-bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blogd-author-social {
    display: flex;
    gap: 0.5rem;
}

.blogd-author-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.85rem;
}

.blogd-author-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
}

/* Table of Contents */
.blogd-toc h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blogd-toc h4 i {
    color: var(--accent);
    font-size: 0.85rem;
}

.blogd-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blogd-toc ul li {
    border-bottom: 1px solid var(--glass-border);
}

.blogd-toc ul li:last-child {
    border-bottom: none;
}

.blogd-toc ul li a {
    display: block;
    padding: 0.6rem 0 0.6rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    position: relative;
}

.blogd-toc ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.blogd-toc ul li a:hover {
    color: var(--accent);
    padding-left: 1.3rem;
}

.blogd-toc ul li a:hover::before {
    height: 60%;
}

/* Newsletter */
.blogd-newsletter {
    text-align: center;
}

.blogd-newsletter-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

.blogd-newsletter h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.blogd-newsletter p {
    color: var(--text-muted);
    font-size: 0.83rem;
    margin-bottom: 1.2rem;
}

.blogd-newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
}

.blogd-newsletter-form:focus-within {
    border-color: var(--accent);
}

.blogd-newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
}

.blogd-newsletter-form input::placeholder {
    color: var(--text-muted);
}

.blogd-newsletter-form button {
    padding: 0.75rem 1.1rem;
    background: var(--gold-gradient);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.blogd-newsletter-form button:hover {
    opacity: 0.85;
}

/* Related Posts */
.blogd-related {
    background: var(--dark-gradient);
    padding: 5rem 1rem;
}

.blogd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog Detail Responsive */
@media (max-width: 1024px) {
    .blogd-container {
        grid-template-columns: 1fr;
    }

    .blogd-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blogd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogd-hero {
        height: 45vh;
        min-height: 350px;
    }

    .blogd-hero-title {
        font-size: 1.6rem;
    }

    .blogd-article {
        flex-direction: column;
    }

    .blogd-share-bar {
        position: relative;
        top: 0;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        padding: 1.5rem 0;
        border-top: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
        margin-top: 0;
        margin-bottom: 1.5rem;
        order: 1;
    }

    .blogd-share-label {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .blogd-sidebar {
        grid-template-columns: 1fr;
    }

    .blogd-related-grid {
        grid-template-columns: 1fr;
    }

    .blogd-cta-box {
        flex-direction: column;
        text-align: center;
    }

    .blogd-timeline-item {
        flex-direction: column;
        gap: 0.3rem;
    }

    /* Blog detail / product-ui page mobile fixes */
    .blogd-section {
        padding: 2.5rem 0.5rem;
    }

    .blogd-body h2 {
        font-size: 1.25rem;
        margin-top: 1.8rem;
    }

    .blogd-body p {
        font-size: 0.92rem;
    }

    .blogd-figure img {
        height: 200px;
    }

    /* Sidebar cards on mobile */
    .blogd-sidebar-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blogd-hero-content {
        padding: 0 1rem 2rem;
    }

    .blogd-hero-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blogd-meta-divider {
        display: none;
    }
}

/* ===== Checkout/License Modal Overlay ===== */
.license-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 1rem;
}

.license-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Checkout/License Modal ===== */
.license-modal {
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.license-modal-overlay.active .license-modal {
    transform: translateY(0) scale(1);
}

/* Close Button */
.license-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 1;
    font-size: 0.85rem;
}

.license-modal-close:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
}

/* Modal Header */
.license-modal-header {
    text-align: center;
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, transparent 100%);
}

.license-modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: var(--accent);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2); }
    50% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
}

.license-modal-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.license-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.license-modal-subtitle strong {
    color: var(--accent);
    font-weight: 600;
}

/* Modal Body */
.license-modal-body {
    padding: 1.5rem 2.5rem 2rem;
}

.license-input-group {
    margin-bottom: 1.2rem;
}

.license-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-family: 'Inter', sans-serif;
}

.license-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--card-bg);
    border: 2px solid var(--glass-border);
    border-radius: 14px;
    padding: 0 1.2rem;
    transition: all 0.3s ease;
}

.license-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: rgba(37, 99, 235, 0.03);
}

.license-input-wrapper i {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.license-input-wrapper:focus-within i {
    color: var(--accent);
}

.license-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 0;
}

.license-input-wrapper input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.license-input-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding-left: 0.2rem;
}

/* Error state */
.license-input-group.error .license-input-wrapper {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.license-input-group.error .license-input-wrapper i {
    color: #ef4444;
}

.license-input-group.error .license-input-hint {
    color: #ef4444;
}

/* Success state */
.license-input-group.success .license-input-wrapper {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.license-input-group.success .license-input-wrapper i {
    color: #22c55e;
}

/* Message */
.license-message {
    margin-bottom: 1rem;
    padding: 0;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.license-message.visible {
    display: flex;
    padding: 0.9rem 1.2rem;
}

.license-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.license-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* Submit Button */
.license-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
}

.license-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Loading */
.license-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.license-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Footer */
.license-modal-footer {
    text-align: center;
    padding: 1.2rem 2.5rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.license-modal-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.license-modal-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.license-modal-footer a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .license-modal {
        max-width: 100%;
        border-radius: 20px;
    }
    .license-modal-header {
        padding: 2rem 1.5rem 1.2rem;
    }
    .license-modal-body {
        padding: 1.2rem 1.5rem 1.5rem;
    }
    .license-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}
