@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
    --primary: #9b88ed;
    --primary-light: #bbaeff;
    --secondary: #a3c9a8;
    --bg-color: #fcfbfe;
    --surface: #ffffff;
    --text-main: #2d2a32;
    --text-muted: #6b6870;
    --radius: 24px;
    --shadow: 0 10px 30px rgba(155, 136, 237, 0.1);
    --shadow-hover: 0 15px 40px rgba(155, 136, 237, 0.2);
    --gap: 30px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text-main); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--gap); }

/* Header */
.header { padding: 40px 0; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 700; color: var(--primary); letter-spacing: -1px; }
.nav-links { display: flex; gap: 40px; flex-wrap: wrap; }
.nav-links a { font-weight: 500; font-size: 16px; position: relative; }
.nav-links a:hover { color: var(--primary); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; margin-top: 60px; margin-bottom: 100px; }
.hero-title { font-size: 64px; line-height: 1.1; margin-bottom: 24px; }
.hero-text { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.hero-image { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); object-fit: cover; }

/* Text Block Main */
.text-block-main { background: var(--surface); padding: 60px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 100px; }
.text-block-main h2 { font-size: 42px; margin-bottom: 30px; color: var(--primary); }
.text-block-main p { font-size: 18px; color: var(--text-muted); margin-bottom: 20px; }

/* Asymmetric Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: 
        "a a b c"
        "a a d e"
        "f g g e";
    gap: var(--gap);
    margin-bottom: 100px;
}
.article-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.article-card img { width: 100%; height: 250px; object-fit: cover; }
.article-card.large { grid-area: a; }
.article-card.large img { height: 400px; }
.article-card.tall { grid-area: e; }
.article-card.tall img { height: 100%; min-height: 400px; }
.card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 24px; margin-bottom: 15px; }
.large .card-title { font-size: 36px; }
.card-excerpt { color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.read-more { font-weight: 600; color: var(--primary); align-self: flex-start; display: flex; align-items: center; gap: 5px; }

/* Contact Form */
.form-section { background: var(--surface); padding: 60px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 800px; margin: 100px auto; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-input { width: 100%; padding: 16px 20px; border: 2px solid #eee; border-radius: 16px; font-family: inherit; font-size: 16px; transition: border-color 0.3s ease; }
.form-input:focus { outline: none; border-color: var(--primary); }
.btn { background: var(--primary); color: #fff; border: none; padding: 18px 40px; border-radius: 100px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; display: inline-block; }
.btn:hover { background: var(--primary-light); transform: scale(1.02); color: #fff;}

/* Long Text Pages */
.content-page { max-width: 900px; margin: 80px auto; background: var(--surface); padding: 60px; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-page h1 { font-size: 48px; margin-bottom: 40px; color: var(--primary); }
.content-page h2 { font-size: 28px; margin-top: 40px; margin-bottom: 20px; }
.content-page p { margin-bottom: 20px; font-size: 18px; color: var(--text-muted); }
.content-page ul { margin-bottom: 20px; padding-left: 20px; color: var(--text-muted); font-size: 18px;}
.content-page li { margin-bottom: 10px; }

/* Footer */
.footer { background: var(--surface); padding: 60px 0 30px; margin-top: 100px; border-radius: var(--radius) var(--radius) 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { font-size: 20px; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid #eee; text-align: center; color: var(--text-muted); }

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "b c" "d e" "f g"; }
    .hero { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .articles-grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f" "g"; }
    .footer-grid { grid-template-columns: 1fr; }
    .header { flex-direction: column; gap: 20px; }
    .hero-title { font-size: 40px; }
    .content-page, .text-block-main, .form-section { padding: 30px; }
}
