:root {
  --primary-red: #FF0D45;
  --secondary-red: #D60033;
  --primary-orange: #FF6B00;
  --light-orange: #FF8800;
  --bg-dark: #0A0B10;
  --bg-card: rgba(22, 24, 38, 0.7);
  --bg-card-hover: rgba(30, 33, 52, 0.85);
  --text-main: #F2F4F8;
  --text-muted: #A0A5B5;
  --border-glow: rgba(255, 13, 69, 0.25);
  --gradient-main: linear-gradient(135deg, #FF0D45 0%, #FF6B00 100%);
  --gradient-chrome: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Organic Motion Blobs */
.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: var(--primary-red);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--primary-orange);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: #FF0055;
  bottom: 10%;
  left: 10%;
  animation-delay: -9s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 40px) scale(1.1) rotate(120deg); }
  100% { transform: translate(-40px, 80px) scale(0.95) rotate(240deg); }
}

/* Slim Unstuck Header */
.site-header {
  position: relative; /* Scrolls naturally off screen */
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 24, 38, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 13, 69, 0.5);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #FFF;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 5rem;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #FFF;
  text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.btn-cta {
  background: var(--gradient-main);
  color: #FFF;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 13, 69, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFF;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Nav Styles */
@media (max-width: 868px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(13, 14, 21, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    margin-top: 0.5rem;
  }
  .nav-menu.active { display: flex; }
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #C0C5D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0 3rem 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 13, 69, 0.1);
  border: 1px solid rgba(255, 13, 69, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  color: var(--primary-orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

/* Tool & Blog Grid Cards Architecture */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.tool-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 20px 40px rgba(255, 13, 69, 0.15);
  background: var(--bg-card-hover);
}

.card-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tool-card:hover .card-img {
  transform: scale(1.06);
}

.card-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFF;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #FFF;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  color: #D0D5E0;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-card:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #FFF;
  box-shadow: 0 4px 15px rgba(255, 13, 69, 0.3);
}

/* Single Page / Content Detail Styles */
.detail-hero {
  padding: 3rem 0 2rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--primary-orange);
  text-decoration: none;
}

.content-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.content-box h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 1.8rem 0 1rem 0;
  color: #FFF;
}

.content-box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.content-box ul {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.content-box li {
  margin-bottom: 0.5rem;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.feature-item h3 {
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 0.4rem;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;

}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  color: #E0E4EC;
  font-weight: 500;
}

.form-control {
  background: rgba(10, 11, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

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

/* Universal Mandatory Footer */
.site-footer {
  background: rgba(8, 9, 13, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-heading {
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.copyright-text {
  color: #72778A;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Cookie Consent Popup Persistence */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: rgba(18, 20, 32, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 13, 69, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none; /* Controlled by JS local storage check */
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.cookie-content a {
  color: var(--primary-orange);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background: var(--gradient-main);
  color: #FFF;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-decline {
  background: rgba(255,255,255,0.08);
  color: #CCC;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
}