/* Global Variables */
:root {
    --bg-color: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-gold: #d4af37;
    --accent-gold-hover: #b5952f;
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --container-width: 1200px;
    --spacing-section: 100px;
}




/* Korean Typography Utilities */
.kr-keep {
    word-break: keep-all;
    overflow-wrap: normal;
    line-break: strict;
    hyphens: none;
}

.kr-balance {
    text-wrap: balance;
}

/* Responsive Utilities */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

@media (min-width: 769px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-inline {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    .d-sm-none {
        display: none !important;
    }

    /* Hero Text Width constraint for readability on mobile */
    .hero-content h1 {
        max-width: 22ch;
        /* Approx width for '마케팅을 맡기지 마세요' */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

@media (max-width: 768px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Staggered delay for cards */
.solution-card:nth-child(2) {
    transition-delay: 0.1s;
}

.solution-card:nth-child(3) {
    transition-delay: 0.2s;
}

.solution-card:nth-child(4) {
    transition-delay: 0.3s;
}

.solution-card:nth-child(5) {
    transition-delay: 0.4s;
}

.solution-card:nth-child(6) {
    transition-delay: 0.5s;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Space for bottom bar */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

.text-gold {
    color: var(--accent-gold);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 16px;
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 20px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links a {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 700;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Image Layer with Animation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/hero_bg.png') no-repeat center center/cover;
    z-index: 0;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

/* Overlay Layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darker overlay for better text readability */
    z-index: 1;
}

/* Content Layer */
.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes pulseGradient {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    white-space: pre-line;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* About Section */
.about {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    line-height: 1.8;
}

/* Solutions Section */
.solutions {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.solutions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/solutions_bg.png') no-repeat center center/cover;
    z-index: 0;
    animation: solutionsZoom 30s ease-in-out infinite alternate;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Slightly darker overlay for cards visibility */
    z-index: 1;
}

.solutions-grid,
.solutions .section-header {
    position: relative;
    z-index: 2;
}

@keyframes solutionsZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.solution-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Insights Section */
.insights {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.insights::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/insights_bg.png') no-repeat center center/cover;
    z-index: 0;
    animation: insightsZoom 25s ease-in-out infinite alternate;
}

.insights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Dark overlay */
    z-index: 1;
}

.insights .container {
    position: relative;
    z-index: 2;
}

@keyframes insightsZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.insight-card {
    border-left: 2px solid var(--accent-gold);
    padding-left: 20px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    padding: 20px;
}

.insight-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* New Insights Grid Styles */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.insight-card-new {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.insight-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.insight-thumb-box {
    width: 100%;
    height: 180px;
    background-color: #333;
    position: relative;
    overflow: hidden;
}

.insight-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insight-card-new:hover .insight-thumb-box img {
    transform: scale(1.05);
}

.badge-pinned-public {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d4af37;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.insight-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-snippet {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.insight-date {
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 15px;
}

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

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info h4 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

/* Stealth Admin Link */
.admin-link {
    text-decoration: none !important;
    color: inherit !important;
    cursor: text !important;
    pointer-events: auto;
    /* Ensure it's clickable but looks like text */
}

/* Floating Bottom Bar (Sticky Footer) */
.floating-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    border-top: 1px solid var(--accent-gold);
    padding: 15px 0;
    z-index: 999;
    backdrop-filter: blur(5px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.bottom-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.bottom-txt {
    font-size: 18px;
    font-weight: 600;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 15px;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: black;
}

.btn-gold:hover {
    background-color: #fff;
    color: black;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 30px;
    bottom: 100px;
    /* Above the bottom bar */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sidebar-icon:hover {
    transform: translateX(-5px);
}

.sidebar-icon.youtube:hover {
    background-color: #FF0000;
}

.sidebar-icon.blog:hover {
    background-color: #03C75A;
}

/* Naver Green */
.sidebar-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.sidebar-icon.kakao:hover {
    background-color: #FEE500;
    color: #3c1e1e;
}

.sidebar-icon.top {
    background-color: var(--accent-gold);
    color: black;
}

/* --- Contact Page Styles --- */
.contact-page-bg {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.contact-page-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/contact_bg.jpg') no-repeat center center/cover;
    z-index: 0;
    animation: contactZoom 25s ease-in-out infinite alternate;
}

.contact-page-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Dark overlay */
    z-index: 1;
}

.contact-hero {
    padding: 150px 0 60px;
    text-align: center;
    position: relative;
    background: transparent;
    z-index: 2;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

@keyframes contactZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.contact-title {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    word-break: keep-all;
    line-break: strict;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    word-break: keep-all;
    text-align: center;
}

.contact-desc p {
    margin-bottom: 10px;
}

.contact-desc p.mt-20 {
    margin-top: 30px;
    /* Increased visual separation */
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 28px;
        /* Smaller on mobile */
        line-height: 1.4;
    }

    .contact-desc {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
        /* Prevent edge touching */
        text-align: left;
    }
}

.mt-20 {
    margin-top: 20px;
}

.contact-form-section {
    padding-bottom: 100px;
    position: relative;
    z-index: 2;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.6);
    /* Semi-transparent dark background */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(10px);
}

/* Semi-transparent inputs for Contact Form */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--accent-gold);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: #ff6b6b;
    margin-left: 4px;
}

/* Privacy Policy Box */
.privacy-box {
    width: 100%;
    height: 150px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.checkbox-single {
    display: flex;
    align-items: center;
}

.checkbox-single label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 0;
}

.checkbox-single input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-gold);
}

.mt-10 {
    margin-top: 10px;
}

.sub-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label,
.checkbox-vertical label {
    display: flex;
    align-items: flex-start;
    /* box top align for multi-line */
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
    /* better line height for text */
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    margin-top: 3px;
    /* visual alignment */
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .contact-title {
        font-size: 28px;
    }

    .logo {
        font-size: 20px;
        z-index: 1002;
        /* Above overlay */
        position: relative;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger on mobile */
    }

    .hero-btns {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
    }

    /* Adjust floating elements for mobile */
    .floating-sidebar {
        right: 15px;
        bottom: 90px;
    }

    .sidebar-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .bottom-txt {
        font-size: 14px;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 13px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form {
        padding: 20px;
    }
}

/* --- Admin Dashboard Styles --- */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: var(--text-secondary);
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    vertical-align: middle;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-gold);
    font-weight: 600;
}

.list-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto;
}

.no-thumb {
    width: 60px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border-radius: 4px;
    margin: 0 auto;
    color: #666;
}

.badge-pinned {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.btn-edit,
.btn-delete {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 2px;
}

.btn-edit {
    background: #444;
    color: white;
}

.btn-delete {
    background: #3a1c1c;
    color: #ff6b6b;
}

.btn-edit:hover {
    background: #555;
}

.btn-delete:hover {
    background: #501c1c;
}

/* --- Insights Public Grid Logic --- */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 columns */
    gap: 20px;
    margin-top: 40px;
}

.insight-card-new {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.insight-card-new:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.insight-thumb-box {
    width: 100%;
    /* Aspect ratio 16:9 approx or fixed height */
    height: 180px;
    background: #222;
    position: relative;
    overflow: hidden;
}

.insight-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-card-new:hover .insight-thumb-box img {
    transform: scale(1.05);
}

.badge-pinned-public {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-gold);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.insight-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.insight-snippet {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.8;
}

.insight-date {
    margin-top: auto;
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Mobile Responsive Grid Override */
@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Mobile: 2 columns */
        gap: 12px;
    }

    .insight-thumb-box {
        height: 120px;
        /* Smaller height on mobile */
    }

    .insight-info {
        padding: 15px;
    }

    .insight-title {
        font-size: 14px;
    }
}

/* --- Toast Notification --- */
.toast-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-gold);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    pointer-events: none;
    /* Let clicks pass through when hidden */
    text-align: center;
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);

    pointer-events: auto;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.0s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

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

@keyframes floatYoyo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-element {
    animation: floatYoyo 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .floating-element {
        animation: none;
    }
}

/* --- About Section Enhancements --- */
/* --- About Section Background & Animation --- */
.about {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../media/about_bg.png') no-repeat center center/cover;
    z-index: 0;
    animation: aboutZoom 25s ease-in-out infinite alternate;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* Dark overlay */
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

@keyframes aboutZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    font-size: 32px;
    margin-bottom: 50px;
    line-height: 1.4;
    word-break: keep-all;
}

.about-highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.about-highlight p {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--accent-gold);
    margin: 0;
}

.about-desc,
.about-philosophy,
.about-closing {
    margin-bottom: 50px;
}

.about-desc p,
.about-philosophy p,
.about-closing p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}



.about-closing p {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.about-final p {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 80px;
    line-height: 1.5;
}

/* Mobile Responsive For About */
@media (max-width: 768px) {
    .about .section-title {
        font-size: 26px;
    }

    .about-highlight {
        padding: 30px 20px;
    }

    .about-highlight p {
        font-size: 18px;
    }



    .about-final p {
        font-size: 20px;
    }
}