/* =============================================
   TRANSILORIA.SHOP - BIO-NEON UNIQUE STYLE
   Unique dark bio-organic neon design
   Never repeated: asymmetric flows, neon glows, organic radii
   ============================================= */

:root {
  --bg-deep: #0a0f0a;
  --bg-card: #0f160f;
  --bg-elevated: #121b12;
  --accent-mint: #00ff9f;
  --accent-cyan: #00e5ff;
  --accent-lavender: #c084fc;
  --text-light: #e6f2e6;
  --text-muted: #9fb89f;
  --border-soft: rgba(0, 255, 159, 0.15);
  --glow-mint: rgba(0, 255, 159, 0.35);
  --radius-organic: 18px;
  --radius-pill: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-neon: 0 0 20px var(--glow-mint);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'system-ui', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

/* Typography - Unique elegant readable */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
}

h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.025em; }
h3 { font-size: 1.45rem; }

p { margin-bottom: 1.25rem; }

a {
  color: var(--accent-mint);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Header - Sticky with glass + neon border */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

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

.logo {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: "◉";
  font-size: 1.4rem;
  color: var(--accent-mint);
  -webkit-text-fill-color: var(--accent-mint);
}

nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-mint), var(--accent-cyan));
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after { width: 100%; }

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

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

/* Hero Section - Full width bio-neon cinematic */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(0, 255, 159, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
              var(--bg-deep);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(transparent, rgba(10,15,10,0.7)),
    url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22%3E%3Cdefs%3E%3Cpattern id=%22bio%22 patternUnits=%22userSpaceOnUse%22 width=%2230%22 height=%2230%22%3E%3Cpath d=%22M0 15 Q7.5 8 15 15 Q22.5 22 30 15%22 fill=%22none%22 stroke=%22%2300ff9f%22 stroke-width=%220.4%22 opacity=%220.12%22/%3E%3C/pattern%3E%3C/defs%3E%3Crect width=%22100%22 height=%22100%22 fill=%22url(%23bio)%22/%3E%3C/svg%3E');
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(0, 255, 159, 0.3);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-deep);
  background: var(--accent-mint);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
}

.cta-button:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.35);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* Section containers */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Intro long text block - elegant wide reading */
.intro-block {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.intro-block h3 {
  font-size: 1.65rem;
  margin: 3rem 0 1.25rem;
  color: var(--accent-mint);
}

.intro-block p {
  color: var(--text-muted);
}

/* Category filters - pill buttons neon */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.65rem 1.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-mint);
  color: var(--bg-deep);
  border-color: var(--accent-mint);
  box-shadow: var(--shadow-neon);
}

/* Blog Grid - Asymmetric Masonry feel with CSS Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid .card:nth-child(3n+1) { grid-row: span 1; }
  .blog-grid .card:nth-child(3n+2) { grid-row: span 2; } /* asymmetric heights */
  .blog-grid .card:nth-child(3n) { grid-row: span 1; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-organic);
  padding: 2rem 1.85rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--glow-mint) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-mint);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--accent-mint);
}

.card:hover::before { opacity: 0.08; }

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 255, 159, 0.1);
  color: var(--accent-mint);
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
  align-self: flex-start;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

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

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-mint);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.read-more:hover {
  gap: 14px;
  color: var(--accent-cyan);
}

/* Modal - Beautiful centered neon modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 10, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-organic);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-soft), 0 0 60px rgba(0, 255, 159, 0.1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
  font-size: 1.6rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
}

.modal-close:hover {
  background: var(--accent-mint);
  color: var(--bg-deep);
  border-color: var(--accent-mint);
}

.modal h2 {
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.modal .tag {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.modal .article-body {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.modal .article-body p {
  margin-bottom: 1.4rem;
}

/* Contact page form */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.65rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-mint);
  box-shadow: 0 0 0 4px rgba(0, 255, 159, 0.1);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-mint), var(--accent-cyan));
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 255, 159, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.4);
}

/* Thank you page */
.thankyou-hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.thankyou-hero h1 {
  color: var(--accent-mint);
  margin-bottom: 1rem;
}

.thankyou-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* Footer - Clean with required text */
footer {
  background: #070b07;
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 2rem 2.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

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

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col p, .footer-col a {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-mint);
}

.footer-disclaimer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}

/* Legal pages */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

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

.legal-page h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-mint);
  font-size: 1.55rem;
}

.legal-page h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.legal-page ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page li {
  margin-bottom: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container { padding: 1rem 1.25rem; }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    display: none;
  }
  
  nav ul.active { display: flex; }
  
  .hamburger { display: flex; }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero { min-height: 78vh; }
  
  .section { padding: 3.5rem 1.25rem; }
}

/* Subtle animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .intro-block p {
  animation: fadeUp 0.6s ease backwards;
}

.card:nth-child(2) { animation-delay: 80ms; }
.card:nth-child(3) { animation-delay: 140ms; }
 etc. /* more if needed but fine */