* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple: #6b46c1;
    --purple-light: #8b5cf6;
    --red: #c41e3a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --news-color: #c41e3a;
    --inspiring-color: #d97706;
    --creative-color: #6b46c1;
}

body {
    font-family: 'Cochin', Georgia, serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* HEADER */
header {
    background-color: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: white;
    transform: rotate(-45deg);
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -8px;
    opacity: 0.9;
}

.logo-icon span { position: relative; z-index: 2; }

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: -0.02em;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* NAV */
nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

nav > ul > li { position: relative; }

nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 0.5rem 0.75rem;
    display: block;
    border-radius: 4px;
}

nav a:hover { color: var(--purple); }

.has-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; opacity: 0.6; }

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 999;
    overflow: hidden;
}

.dropdown li { list-style: none; }

.dropdown a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background-color: var(--light-gray); color: var(--purple); }

.has-dropdown:hover > .dropdown { display: block; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--purple);
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* HERO */
.hero {
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content { max-width: 800px; margin: 0 auto; animation: heroEntry 1.2s ease-out; }

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

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-buttons { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Cochin', Georgia, serif;
}

.btn-primary { background-color: var(--red); color: var(--white); }
.btn-primary:hover { background-color: #a01828; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(196,30,58,0.3); }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--purple); }

/* SECTIONS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h3 { font-size: 2.5rem; font-weight: 700; color: var(--purple); margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-header p { font-size: 1.15rem; color: var(--medium-gray); max-width: 700px; margin: 0 auto; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.15);
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(102,126,234,0.25); }

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-card h4 { font-size: 1.5rem; font-weight: 700; color: var(--purple); margin-bottom: 1rem; }
.feature-card p { color: var(--medium-gray); font-size: 1.05rem; line-height: 1.6; }

/* DIVISION BADGES */
.division-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.badge-news { background-color: #fde8eb; color: var(--news-color); }
.badge-inspiring { background-color: #fef3c7; color: var(--inspiring-color); }
.badge-flash { background-color: #ede9fe; color: var(--creative-color); }
.badge-short { background-color: #ede9fe; color: var(--creative-color); }
.badge-serial { background-color: #ede9fe; color: var(--creative-color); }

/* STORY CARDS */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem; }

.story-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.story-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: var(--purple); }

.story-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.story-content { padding: 1.75rem; }
.story-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.story-card h4 { font-size: 1.4rem; font-weight: 700; color: var(--purple); margin-bottom: 0.75rem; line-height: 1.3; }
.story-card p { color: var(--medium-gray); font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--medium-gray);
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h2 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* STORY LIST */
.stories-list { display: flex; flex-direction: column; gap: 2rem; }

.story-list-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    background: white;
    text-decoration: none;
}

.story-list-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: var(--purple); }

.story-list-thumb {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    color: white;
}

.story-list-content { flex: 1; }
.story-list-content h4 { font-size: 1.5rem; font-weight: 700; color: var(--purple); margin-bottom: 0.5rem; margin-top: 0.5rem; line-height: 1.3; }
.story-list-content p { color: var(--medium-gray); font-size: 1.05rem; line-height: 1.6; margin-bottom: 0.75rem; }
.story-list-meta { font-size: 0.875rem; color: var(--medium-gray); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--medium-gray); }
.empty-state .icon { font-size: 4rem; margin-bottom: 1.5rem; }
.empty-state h4 { font-size: 1.75rem; color: var(--purple); margin-bottom: 1rem; }
.empty-state p { font-size: 1.1rem; }

/* CTA */
.cta-section { background-color: var(--light-gray); padding: 5rem 2rem; text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-section h3 { font-size: 2.5rem; font-weight: 700; color: var(--purple); margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.15rem; color: var(--medium-gray); margin-bottom: 2.5rem; }

.newsletter-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Cochin', Georgia, serif;
    transition: border-color 0.3s;
}
.newsletter-form input:focus { outline: none; border-color: var(--purple); }

#contactForm input:focus,
#contactForm textarea:focus { outline: none; border-color: var(--purple) !important; }

/* FOOTER */
footer { background-color: var(--purple); color: var(--white); padding: 3rem 2rem 2rem; }

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: 0.02em; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; font-size: 0.95rem; cursor: pointer; }
.footer-section a:hover { color: var(--white); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(60px) scale(0.95); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0) scale(1); }

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--purple);
        padding: 5rem 2rem 2rem;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    nav.active { right: 0; }
    nav ul { flex-direction: column; gap: 0; }
    nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    nav a { color: white; font-size: 1.1rem; padding: 0.9rem 0; }
    nav a:hover { color: rgba(255,255,255,0.7); background: none; }

    .has-dropdown > a::after { content: ' +'; }

    .dropdown {
        display: none;
        position: static;
        background: rgba(0,0,0,0.15);
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .dropdown.mobile-open { display: block; }
    .dropdown a { color: rgba(255,255,255,0.9); padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }

    .header-content { position: relative; z-index: 1000; }
    .hero h2 { font-size: 2.5rem; }
    .hero p { font-size: 1.15rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; text-align: center; }
    .section-header h3 { font-size: 2rem; }
    .stories-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { width: 100%; }
    .story-list-item { flex-direction: column; }
    .story-list-thumb { width: 100%; height: 160px; }
    .page-hero h2 { font-size: 2rem; }
}
