/* =============================================
   MediaKita - Majalah Digital Indonesia
   Color Scheme: Pink / Rose (#e11d48 primary)
   ============================================= */

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

:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-darker: #9f1239;
    --primary-light: #fb7185;
    --primary-lighter: #fecdd3;
    --primary-bg: #fff1f2;
    --text: #1a1a2e;
    --text-light: #4a4a68;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #fafafa;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text);
}

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

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.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
   ============================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 650px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background: #fff;
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* =============================================
   Featured Strip
   ============================================= */
.featured-strip {
    background: var(--primary-darker);
    padding: 14px 0;
}

.strip-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.strip-label {
    background: #fff;
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.strip-inner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

/* =============================================
   Sections
   ============================================= */
.section {
    padding: 72px 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text);
}

/* =============================================
   About Section
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

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

/* =============================================
   Pull Quote
   ============================================= */
.pullquote-section {
    background: var(--bg-alt);
    padding: 60px 0;
}

.pullquote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 40px;
}

.pullquote::before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    color: var(--primary-lighter);
    font-family: var(--font-serif);
    line-height: 1;
}

.pullquote p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.pullquote cite {
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

/* =============================================
   Article Grid
   ============================================= */
.articles-section {
    background: var(--bg);
}

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

.article-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card-img {
    height: 180px;
    width: 100%;
}

.article-card-body {
    padding: 24px;
}

.article-category {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--text);
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.article-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.article-featured .article-card-img {
    height: 100%;
    min-height: 280px;
}

.article-featured .article-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.article-featured h3 {
    font-size: 1.5rem;
}

.article-featured p {
    font-size: 1rem;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    background: var(--bg-alt);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-box h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 28px;
    position: relative;
}

.cta-box .btn-primary {
    position: relative;
}

/* =============================================
   Editorial Section
   ============================================= */
.editorial-box {
    max-width: 800px;
    margin: 0 auto;
    border-top: 3px solid var(--primary);
    padding-top: 32px;
}

.editorial-box h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.editorial-box p {
    color: var(--text-light);
    margin-bottom: 14px;
    font-size: 1rem;
}

/* =============================================
   Article Page Hero
   ============================================= */
.article-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 100px 0 60px;
    text-align: center;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20h20v20H20zM0 0h20v20H0z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.article-hero h1 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

/* =============================================
   Article Body
   ============================================= */
.article-main {
    padding: 60px 0;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-intro {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-intro .lead {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.6rem;
    margin: 48px 0 20px;
    padding-top: 16px;
    color: var(--text);
}

.article-body p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.85;
}

/* In-article Pull Quote */
.article-body .pullquote {
    margin: 40px -20px;
    padding: 32px 40px;
    background: var(--primary-bg);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    text-align: left;
}

.article-body .pullquote::before {
    position: static;
    display: block;
    transform: none;
    font-size: 3rem;
    margin-bottom: -20px;
    color: var(--primary-lighter);
}

.article-body .pullquote p {
    font-size: 1.2rem;
    color: var(--text);
}

.pullquote-alt {
    border-left-color: var(--primary-dark) !important;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #fff 100%) !important;
}

/* Stats Highlight */
.stats-highlight {
    margin: 40px 0;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 12px;
}

.stat-big {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interview Blocks */
.interview-block {
    margin: 24px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.interview-q {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text);
}

.interview-a {
    font-size: 1rem;
    color: var(--text-light);
    padding-left: 16px;
    border-left: 3px solid var(--primary-lighter);
}

/* Article CTA */
.article-cta {
    margin: 48px 0;
    padding: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    margin-bottom: 20px;
}

/* Article Tags */
.article-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: #fff;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border);
}

.related-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

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

.related-card {
    display: block;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.related-card:hover {
    border-color: var(--primary-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.related-card h4 {
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.45;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 14px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

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

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
    }

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

    .article-featured {
        grid-column: 1 / -1;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 2px solid var(--primary);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 20px;
    }

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

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

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

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

    .article-featured .article-card-img {
        min-height: 200px;
    }

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

    .article-hero h1 {
        font-size: 1.9rem;
    }

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

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

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .article-hero {
        padding: 80px 0 40px;
    }

    .article-hero h1 {
        font-size: 1.5rem;
    }

    .article-meta-bar {
        font-size: 0.85rem;
    }

    .article-body h2 {
        font-size: 1.3rem;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-big {
        font-size: 1.6rem;
    }

    .pullquote p {
        font-size: 1.15rem;
    }

    .strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}