/* Osmonvera — Unique Modern Blog Design | Ice-Neon Cyan Theme | Asymmetric Magazine + Sticky Sidebar */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --accent-dark: #0891b2;
  --navy: #0f172a;
  --border: #e2e8f0;
  --shadow: 0 10px 15px -3px rgb(15 23 42 / 0.05), 0 4px 6px -4px rgb(15 23 42 / 0.05);
  --shadow-hover: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
  --radius: 20px;
  --radius-sm: 14px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header - Elegant Glass */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
}

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

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--accent-dark);
  font-weight: 600;
}

.cta-btn {
  background: var(--navy);
  color: white;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(6 182 212 / 0.3);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
}

/* Hero - Split Asymmetric */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 520px;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgb(103 232 249 / 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Decorative right panel */
.hero-visual {
  position: relative;
  height: 520px;
  border-radius: 28px;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border: 1px solid rgba(103, 232, 249, 0.2);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.hero-visual::before {
  width: 280px;
  height: 280px;
  top: -60px;
  right: -40px;
}

.hero-visual::after {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: 60px;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -25px) scale(1.05); }
}

.floating-shapes {
  position: absolute;
  inset: 0;
}

.shape {
  position: absolute;
  background: rgba(103, 232, 249, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 9999px;
}

.shape-1 { width: 92px; height: 92px; top: 22%; left: 18%; }
.shape-2 { width: 56px; height: 56px; top: 58%; right: 22%; }
.shape-3 { width: 38px; height: 38px; bottom: 18%; left: 32%; }

/* Content sections */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.section-header .subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Asymmetric Grid for Featured */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

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

.featured-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 42px 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.3s ease;
}

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

.featured-card .category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 9999px;
  background: #e0f2fe;
  color: var(--accent-dark);
  margin-bottom: 18px;
  width: fit-content;
}

.featured-card h3 {
  font-size: 1.65rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.featured-card .excerpt {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  flex: 1;
}

.featured-card .meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Standard Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #bae6fd;
}

.post-card .category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 9999px;
  background: #f1e7ff;
  color: #7c3aed;
  width: fit-content;
  margin-bottom: 14px;
}

.post-card h4 {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 12px;
}

.post-card .excerpt {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.post-card .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.author-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: var(--accent-dark);
  font-weight: 600;
}

.cat-pill .count {
  font-size: 0.8rem;
  background: white;
  padding: 1px 8px;
  border-radius: 9999px;
  color: var(--text-muted);
}

/* Long form text blocks */
.text-block {
  max-width: 780px;
  margin: 0 auto;
}

.text-block h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 1rem;
}

.text-block p {
  margin-bottom: 1.35rem;
  color: #334155;
}

/* Footer */
footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 70px 24px 40px;
  font-size: 0.925rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

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

.footer-col h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: #94a3b8;
  margin-bottom: 9px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid #334155;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.disclaimer {
  font-size: 0.75rem;
  max-width: 620px;
  opacity: 0.75;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 7px;
  font-size: 0.9rem;
  color: var(--text);
}

input, textarea, select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 15px;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: var(--accent-dark);
}

/* Thank you page special */
.thankyou-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, #0f172a, #1e3a5f);
  color: white;
  padding: 40px 20px;
}

.thankyou-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.thankyou-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Legal pages */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-container h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.legal-container .last-updated {
  color: var(--text-muted);
  margin-bottom: 42px;
  font-size: 0.95rem;
}

.legal-container h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 42px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0f2fe;
}

.legal-container p, .legal-container li {
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-container ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-container ul li {
  margin-bottom: 8px;
}

/* Misc */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
  margin-top: 12px;
}

.read-more:hover {
  gap: 10px;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 60px 0;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .section {
    padding: 60px 20px;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
}