:root {
  --color-primary: #3b82f6;
  --color-white: #ffffff;
  --color-text-light: rgba(255, 255, 255, 0.8);
  --color-text-muted: #afbcd5;
  --color-text-dark: #10182c;
  --color-bg-dark-1: #0a0e1a;
  --color-bg-dark-2: #0f172b;
  --color-bg-dark-3: #1e3a8a;
  --color-border: #343e4b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(180deg, #0d1425 0%, #0f1629 50%, #1a2847 100%);
  color: var(--color-white);
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #2573f5;
}

/* Header */
.site-header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 2147483640;
  background: linear-gradient(180deg, rgba(15, 23, 43, 0.95) 0%, rgba(15, 23, 43, 0.8) 100%);
  transition: all 0.3s ease;
}

.main-navbar {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 5vw, 94px);
  background-color: transparent;
  position: relative;
  z-index: 1;
  backdrop-filter: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: clamp(100px, 15vw, 135.727px);
  height: auto;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  color: var(--color-text-light);
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.2px;
}

.nav-links a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.nav-links a:hover {
  color: #3b82f6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.btn-login {
  color: var(--color-text-light);
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
  padding: 10px 0;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-nav-dropdown {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 20px;
  width: 200px;
  max-height: 80vh;
  overflow-y: auto;
  background: #0a1628 !important;
  border: 1px solid #303842;
  border-radius: 12px;
  padding: 16px 0;
  z-index: 2147483647;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: #0a1628;
  border: 1px solid #303842;
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
  z-index: 2147483647;
}

.mobile-nav-dropdown.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0);
}

.mobile-nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0 8px;
}

.mobile-nav-dropdown a:hover {
  color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}

.mobile-nav-actions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #303842;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 8px 0 8px;
}

.mobile-nav-actions .btn-login,
.mobile-nav-actions .btn-primary {
  text-align: center;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
}

.mobile-nav-actions .btn-login {
  background: transparent;
  border: 1px solid #303842;
  color: var(--color-white);
}

.mobile-nav-actions .btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-actions .btn-primary {
  background: #3b82f6;
  color: white;
  border: 1px solid #3b82f6;
}

.mobile-nav-actions .btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-animated:hover::before {
  left: 100%;
}

.btn-animated:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hover-glow {
  transition: opacity 0.3s ease;
}

.hover-glow:hover {
  opacity: 0.8;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hover-lift:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

@media (max-width: 1024px) {
  .main-navbar {
    padding: 20px 40px;
    position: relative;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-container {
    flex-direction: column;
    gap: 40px;
  }
  .hero-content {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .main-navbar {
    padding: 16px 20px;
  }
  .logo img {
    width: 100px !important;
  }
  .hero-section {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 32px !important;
    line-height: 1.2;
  }
  .hero-image-container {
    max-width: 100%;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-wrapper {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px !important;
  }
  .read-time {
    font-size: 12px;
  }
  .author-info {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .hero-image-container {
    min-height: 250px;
  }
  .featured-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
}

@media (max-width: 360px) {
  .main-navbar {
    padding: 12px 16px;
  }
  .logo img {
    width: 80px !important;
  }
  .hero-title {
    font-size: 20px !important;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .btn-primary,
  .btn-login {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Hero */
.hero-section {
  padding: 80px 0;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 0 0 436px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.read-time {
  font-size: 16px;
  color: var(--color-text-light);
  letter-spacing: -0.3px;
}

.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--color-white);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-text-light);
}

.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.separator-dot {
  width: 3px;
  height: 3px;
  background-color: #747373;
  border-radius: 50%;
  margin: 0 4px;
}

.hero-image-container {
  flex: 1;
  position: relative;
  background-color: #121212;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 700 / 615;
}

.featured-badge {
  position: absolute;
  top: 29.9px;
  left: 30.4px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 17.6px;
  z-index: 2;
}

.rocket-illustration {
  position: absolute;
  top: -51.56px;
  left: -20.5px;
  width: 740.87px;
  height: 740.87px;
  background: linear-gradient(136deg, #062fbe 0%, #5596f3 142.77%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.content-section {
  padding-bottom: 80px;
}

.content-container {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.sidebar {
  flex: 0 0 436px;
  position: sticky;
  top: 120px;
}

.subscribe-box {
  background-color: var(--color-bg-dark-2);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.subscribe-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.subscribe-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subscribe-input {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 8px 12px;
  border: none;
  font-size: 16px;
  height: 40px;
  color: var(--color-text-dark);
}

.subscribe-input::placeholder {
  color: var(--color-text-dark);
  opacity: 0.3;
}

.subscribe-button {
  width: 100%;
  height: 40px;
}

.main-article {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.article-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.article-heading-large {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--color-white);
}

.article-paragraph {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  letter-spacing: -0.3px;
}

.article-paragraph p {
  margin-bottom: 1em;
}

.article-paragraph h1,
.article-paragraph h2,
.article-paragraph h3 {
  color: var(--color-white);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.article-paragraph ul,
.article-paragraph ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
  list-style: disc;
}

.article-paragraph li {
  margin-bottom: 0.5em;
}

.illustration-block {
  width: 100%;
}

.illustration-container {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mlops-illustration {
  position: absolute;
  top: -322.26px;
  left: 0.66px;
  width: 700.1px;
  height: 628.52px;
  background: linear-gradient(136deg, #062fbe 0%, #5596f3 142.77%);
}

.illustration-text {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: var(--color-white);
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background: transparent;
  padding: 32px 0 20px;
  margin-top: 32px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 410px;
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white);
}

.footer-tagline strong {
  font-weight: 800;
}

.footer-subscribe {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-subscribe-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.footer-subscribe-form {
  display: flex;
  gap: 8px;
}

.footer-subscribe-input {
  flex-grow: 1;
  background-color: #f5f5f5;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 8px 12px;
  height: 40px;
  font-size: 16px;
  color: var(--color-text-dark);
}

.footer-subscribe-input::placeholder {
  color: var(--color-text-dark);
  opacity: 0.5;
}

.footer-subscribe-button {
  font-size: 14px;
  padding: 10px 16px;
  white-space: nowrap;
}

.footer-terms {
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: none;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright,
.legal-links a {
  font-size: 12px;
  color: #7c7c7c;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-links .separator-dot {
  background-color: #7c7c7c;
  width: 2px;
  height: 2px;
}

.logo-text {
  color: var(--color-white);
  font-size: 24px;
  font-weight: 800;
}

.rocket-img {
  position: absolute;
  left: 184.33px;
  top: 143.84px;
  width: 328.11px;
  height: 453.19px;
  z-index: 2;
}

.blog_comment {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.blog_comment p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.blog_comment strong {
  color: var(--color-white);
  font-weight: 500;
}

.comment-form-wrapper {
  margin-top: 32px;
}

.comment-textarea {
  width: 100%;
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 12px;
  border: none;
  font-size: 16px;
  min-height: 120px;
  color: var(--color-text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 12px;
  resize: vertical;
}

.comment-textarea::placeholder {
  color: var(--color-text-dark);
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .content-container {
    flex-direction: column;
    gap: 40px;
  }
  .sidebar {
    position: static;
    width: 100%;
    flex: 0 0 auto;
  }
  .main-article {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .content-section {
    padding: 40px 0;
  }
  .sidebar {
    order: 2;
  }
  .main-article {
    order: 1;
    max-width: 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: transform, opacity;
}

.animate-on-scroll.animate-in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

.animate-fade-in-up {
  animation: fadeInUp 0.9s ease-out both;
}

.animate-fade-in-down {
  animation: fadeInDown 0.9s ease-out both;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.9s ease-out both;
}

.animate-fade-in-right {
  animation: fadeInRight 0.9s ease-out both;
}

.animate-scale-in {
  animation: scaleIn 0.8s ease-out both;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out both;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-main {
    flex-direction: column;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-left {
    max-width: 100%;
  }
  .footer-nav {
    text-align: center;
  }
}

/* Newsletter and Comment Styles */
.newsletter-message {
  margin-top: 12px;
  display: none;
  font-size: 14px;
}

.newsletter-message.show {
  display: block;
}

.newsletter-message.success {
  color: #10b981;
}

.newsletter-message.error {
  color: #ef4444;
}

.comments-container {
  margin-bottom: 32px;
}

.separator-dot {
  display: inline-block;
  margin: 0 8px;
}

.comment-content {
  margin-top: 8px;
}

.login-prompt {
  margin-top: 24px;
}

.login-link {
  color: var(--color-primary);
}

