@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --accent: #FFC107;
    --accent-glow: rgba(255, 193, 7, 0.4);

    --glass-blur: blur(30px);
    --glass-surface: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.04);

    --radius-bento: 44px;
    --radius-pill: 100px;
    --radius-card: 28px;

    --shadow-flat: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 12px 30px rgba(0, 0, 0, 0.06);
    --shadow-deep: 0 40px 100px rgba(0, 0, 0, 0.12);

    --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
    --section-gap: clamp(60px, 12vh, 140px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* --- Filter System --- */
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--glass-border);
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s var(--ease-apple);
    color: var(--text-secondary);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* --- Contact Form --- */
.glass-form {
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 18px 25px;
    border-radius: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* --- Utility Marquee Category Scroll --- */
.category-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.cat-chip {
    display: inline-block;
    padding: 20px 50px;
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #eee;
    transition: all 0.4s var(--ease-apple);
}

.cat-chip:hover {
    color: var(--accent);
    -webkit-text-stroke: 1px var(--accent);
    transform: scale(1.1);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- Scroll Progress --- */
.premium-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* --- Navigation Upgrade --- */
.navbar-dock {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 8px 24px;
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-float);
    transition: var(--ease-apple);
}

.search-btn:hover {
    opacity: 1;
    color: var(--accent);
    transform: scale(1.1);
}

.dock-logo {
    display: flex;
    align-items: center;
}

.dock-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dock-item {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    transition: 0.3s;
    color: var(--text-primary);
}

.dock-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.dock-cta {
    background: var(--text-primary);
    color: #fff;
}

.dock-cta:hover {
    background: var(--accent);
    color: #000;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    z-index: 8500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s var(--ease-apple);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay a {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

/* --- Split Hero System (1000x Upgrade) --- */
.master-hero.split-hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 160px 40px 100px;
    text-align: left;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 950;
    letter-spacing: -4px;
    line-height: 0.85;
    margin-bottom: 2rem;
}

.accent-text {
    color: var(--accent);
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-glow);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 550px;
    line-height: 1.6;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1.2;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    z-index: 10;
    transform: perspective(1000px) rotateY(-5deg);
    transition: 0.6s var(--ease-apple);
}

.speaker-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
    z-index: 20;
}

.badge-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.badge-txt {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    color: #000;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 1100px) {
    .master-hero.split-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        padding-bottom: 60px;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto;
        font-size: 1.1rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px !important;
    }

    .hero-btns .dock-item {
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem !important;
        text-align: center;
    }

    .speaker-frame {
        max-width: 400px;
        margin: 20px auto 0;
        transform: none;
        aspect-ratio: 1/1.1;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -15px;
        padding: 10px 20px;
    }

    .badge-num {
        font-size: 1.8rem;
    }

    .badge-txt {
        font-size: 0.55rem;
    }
}

/* --- Vertical Article Cards --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: var(--section-gap);
}

.vertical-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-flat);
    transition: var(--ease-apple);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
}

.vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-deep);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background: #eee;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

.vertical-card:hover .card-img-wrap img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 12px;
    height: 2.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.3s;
}

.vertical-card:hover .card-title {
    height: auto;
    -webkit-line-clamp: unset;
    color: var(--accent);
}

.card-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.3s;
}

.vertical-card:hover .card-excerpt {
    height: auto;
    -webkit-line-clamp: unset;
    color: var(--text-primary);
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.card-date {
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 500;
}

.read-btn {
    background: #000;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    transition: 0.3s;
}

.read-btn:hover {
    background: var(--accent);
    color: #000;
}

/* --- Glass Newsletter (Masterpiece) --- */
.newsletter-section {
    padding: 100px 0;
    background: #000;
    color: #fff;
    border-radius: var(--radius-bento);
    margin: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px);
    padding: 60px 40px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-box h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 950;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.email-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 40px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    outline: none;
    transition: border 0.3s;
}

.email-input:focus {
    border-color: var(--accent);
}

/* --- Deep Tech Spotlight --- */
.spotlight-section {
    padding: var(--section-gap) 0;
    background: #fafafa;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.spotlight-big {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    height: 600px;
    color: #fff;
}

@media (max-width: 768px) {
    .spotlight-big {
        height: auto;
        min-height: 450px;
        padding: 30px;
    }

    .spotlight-big h3 {
        font-size: 1.8rem !important;
    }

    .spotlight-big p {
        font-size: 1rem !important;
    }
}

.spotlight-big img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 1s;
}

.spotlight-big:hover img {
    transform: scale(1.05);
}

.spotlight-big .content {
    position: relative;
    z-index: 10;
}

.spotlight-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mini-article {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.mini-article img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.mini-article h4 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

/* --- Expert Team --- */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.expert-card {
    text-align: center;
}

.expert-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #eee;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-float);
}

.expert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Statistics Section --- */
.stats-section {
    padding: 100px 0;
    background: #000;
    color: #fff;
    border-radius: var(--radius-bento);
    margin: 0 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 40px;
}

.stat-box h3 {
    font-size: 4rem;
    font-weight: 950;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

/* --- Giant Footer --- */
.giant-footer {
    padding: 120px 0 60px;
    background: #fff;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* --- Responsive Perfection Extra --- */
@media (max-width: 1024px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spotlight-big h3 {
        font-size: 2.5rem;
    }

    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        padding-right: 0 !important;
    }

    .newsletter-section {
        margin: 40px 10px;
        padding: 40px 10px;
    }

    .glass-box {
        padding: 40px 20px;
    }

    .glass-box h2 {
        font-size: 2.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- Responsive Perfection --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1100px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .dock-links {
        display: none;
    }

    .navbar-dock {
        min-width: 250px;
        width: 90%;
    }

    .master-hero h1 {
        font-size: 3.5rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vertical-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .category-marquee {
        padding: 40px 0;
    }

    .cat-chip {
        font-size: 2rem;
        padding: 10px 30px;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s var(--ease-apple);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}