/* ============================================
   DESIFUNHUB — MASTER CSS FILE
   ============================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --bg:          #0a0a0f;
  --bg-card:     #0f0f1a;
  --bg-card2:    #13131f;
  --purple:      #7c3aed;
  --purple-mid:  #8b5cf6;
  --purple-light:#a78bfa;
  --purple-glow: rgba(124,58,237,0.35);
  --purple-soft: rgba(139,92,246,0.12);
  --white:       #ffffff;
  --off-white:   #e2e8f0;
  --muted:       #64748b;
  --border:      rgba(139,92,246,0.18);
  --grad:        linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  --shadow:      0 20px 60px rgba(124,58,237,0.2);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body {
  background: var(--bg);
  color: var(--off-white);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 90px;
}
.site-header .container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.logo {
  font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.35rem;
  color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
}
.logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  color: var(--muted); text-decoration: none; font-size: 0.87rem; font-weight: 500;
  padding: 6px 10px; border-radius: 8px; display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: var(--purple-soft); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--white); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 1rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 80px 24px 40px;
  margin-top: auto;
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr; 
  gap: 48px; 
  margin-bottom: 48px; 
}

.footer-brand p { 
  color: var(--muted); 
  font-size: 0.87rem; 
  line-height: 1.7; 
  margin: 20px 0 24px; 
  max-width: 300px; 
}

.social-row { display: flex; gap: 12px; }

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover { 
  background: rgba(124,58,237,0.25); 
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.footer-col h4 { 
  font-family: 'Geist', sans-serif; 
  font-weight: 700; 
  color: var(--white); 
  margin-bottom: 20px; 
  font-size: 0.95rem; 
  letter-spacing: 0.02em;
}

.footer-col a { 
  display: block; 
  color: var(--muted); 
  text-decoration: none; 
  font-size: 0.88rem; 
  padding: 6px 0; 
  transition: var(--transition); 
  border-radius: 6px;
  padding-left: 4px;
}

.footer-col a:hover { 
  color: var(--purple-light); 
  background: var(--purple-soft);
  padding-left: 12px;
}

.footer-bottom { 
  border-top: 1px solid var(--border); 
  padding-top: 32px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 12px; 
  font-size: 0.85rem;
}

.footer-bottom p { 
  color: var(--muted); 
  margin: 0;
}

.footer-bottom a {
  color: var(--purple-light);
  text-decoration: none;
}

/* ── COMMON COMPONENTS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 24px rgba(124,58,237,0.5);
}

.btn-primary:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 12px 40px rgba(124,58,237,0.65); 
}

.btn-outline {
  background: transparent;
  color: var(--purple-light);
  border: 2px solid rgba(124,58,237,0.4);
}

.btn-outline:hover { 
  background: var(--purple-soft); 
  border-color: var(--purple-mid); 
  transform: translateY(-2px);
}

/* ── UTILITIES ── */
.reveal { 
  opacity: 0; 
  transform: translateY(40px); 
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.reveal.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

.section-header { 
  text-align: center; 
  margin-bottom: 72px; 
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 70px; 
    left: 0; 
    right: 0; 
    background: rgba(10,10,15,0.98); 
    backdrop-filter: blur(25px); 
    padding: 24px; 
    border-bottom: 1px solid var(--border); 
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  
  .main-nav.open { display: flex; }
  
  .nav-toggle { display: block; margin-left: auto; }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
    text-align: center;
  }
  
  .footer-bottom { 
    flex-direction: column; 
    gap: 16px; 
    text-align: center;
  }
  
  .site-header .container { gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .site-header { height: 64px; }
  .site-header.scrolled { height: 60px; }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}

/* Background gradient blobs */
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* 3D Floating Cubes — Pure CSS */
.cubes-wrapper {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.cube {
  position: absolute;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.7) 0%, rgba(88,28,135,0.9) 100%);
  box-shadow: 0 8px 32px rgba(124,58,237,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: floatCube linear infinite;
}
.cube::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
}
/* top face illusion */
.cube::after {
  content: '';
  position: absolute; top: -40%; left: 10%; right: -10%;
  height: 44%; border-radius: 8px;
  background: linear-gradient(135deg, rgba(167,139,250,0.55) 0%, rgba(124,58,237,0.4) 100%);
  transform: skewX(-30deg) scaleY(0.6);
  transform-origin: bottom;
}

.cube:nth-child(1)  { width:90px;  height:90px;  top:12%; right:18%; animation-duration:9s;  animation-delay:0s;    transform: rotate(25deg); }
.cube:nth-child(2)  { width:60px;  height:60px;  top:25%; right:8%;  animation-duration:11s; animation-delay:-3s;   transform: rotate(-15deg); }
.cube:nth-child(3)  { width:110px; height:110px; top:55%; right:15%; animation-duration:13s; animation-delay:-6s;   transform: rotate(40deg); }
.cube:nth-child(4)  { width:75px;  height:75px;  top:70%; right:30%; animation-duration:10s; animation-delay:-2s;   transform: rotate(-30deg); }
.cube:nth-child(5)  { width:50px;  height:50px;  top:8%;  right:40%; animation-duration:8s;  animation-delay:-4s;   transform: rotate(10deg); }
.cube:nth-child(6)  { width:80px;  height:80px;  top:40%; left:5%;   animation-duration:12s; animation-delay:-1s;   transform: rotate(-20deg); }
.cube:nth-child(7)  { width:45px;  height:45px;  top:20%; left:15%;  animation-duration:7s;  animation-delay:-5s;   transform: rotate(35deg); }

@keyframes floatCube {
  0%   { transform: translateY(0)   rotate(var(--r,25deg)); }
  50%  { transform: translateY(-28px) rotate(calc(var(--r,25deg) + 8deg)); }
  100% { transform: translateY(0)   rotate(var(--r,25deg)); }
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.35);
  color: var(--purple-light); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-light); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero h1 {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--white); margin-bottom: 24px;
}
.hero h1 .grad {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem); color: #bbbfc5; max-width: 540px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.65); }
.btn-outline {
  background: transparent; color: var(--purple-light);
  border: 1px solid rgba(124,58,237,0.4);
}
.btn-outline:hover { background: var(--purple-soft); border-color: var(--purple-mid); transform: translateY(-2px); }

/* hero scroll indicator */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
  color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em;
}
.mouse {
  width: 22px; height: 36px; border: 2px solid rgba(139,92,246,0.4);
  border-radius: 20px; position: relative;
}
.mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--purple-light); border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0%{opacity:1;top:6px} 100%{opacity:0;top:20px} }

/* ── STATS BAR ── */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(124,58,237,0.05); padding: 32px 24px;
}
.stats-bar .container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center;
}
.stat-num {
  font-family: 'Geist', sans-serif;font-size: 3.2rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 6px; font-weight: 500; }

/* ── SECTION COMMONS ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple-light); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 {
  font-family: 'Geist', sans-serif; font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 14px;
}
.section-header h2 span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--muted); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── TOOLS GRID ── */
.tools-section { padding: 100px 24px; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  text-decoration: none; color: inherit;
  transition: all 0.3s; position: relative; overflow: hidden;
  display: block;
}
.tool-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 70%);
  transition: opacity 0.3s;
}
.tool-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(124,58,237,0.2); }
.tool-card:hover::before { opacity: 1; }

.tool-card-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: all 0.3s;
}
.tool-card:hover .tool-card-icon-wrap { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.4); }
.tool-card-icon-wrap svg { width: 24px; height: 24px; stroke: var(--purple-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tool-card h3 {
  font-family: 'Geist', sans-serif;font-weight: 600; font-size: 1.1rem;
  color: var(--white); margin-bottom: 10px;
}
.tool-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 20px; }
.tool-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple-light); font-size: 0.82rem; font-weight: 600;
  transition: gap 0.2s;
}
.tool-card:hover .tool-card-arrow { gap: 10px; }
.tool-card-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform 0.2s; }
.tool-card:hover .tool-card-arrow svg { transform: translateX(3px); }

/* ── AD SLOT ── */
.ad-slot {
  background: var(--bg-card); border: 1px dashed var(--border);
  border-radius: 16px; min-height: 90px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.8rem; margin: 0 24px 0;
  max-width: 1200px; margin-inline: auto;
}

/* ── HOW IT WORKS ── */
.how-section { padding: 100px 24px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 36px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.step-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px; text-align: center; position: relative;
  transition: border-color 0.3s;
}
.step-card:hover { border-color: rgba(124,58,237,0.45); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); font-family: 'Geist', sans-serif; font-weight: 600; font-size: 1.2rem;
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 0 24px rgba(124,58,237,0.5);
}
.step-card h3 { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* ── FEATURED ── */
.featured-section { padding: 60px 24px 100px; }
.featured-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 28px; padding: 60px; overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.featured-card::before {
  content: ''; position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.featured-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.featured-text h2 {
  font-family: 'Geist',sans-serif; font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 16px; line-height: 1.15;
}
.featured-text p { color: var(--muted); line-height: 1.7; margin-bottom: 28px; }

.mock-terminal {
  background: #0d0d18; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.mock-titlebar {
  background: #161626; padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 12px; height: 12px; border-radius: 50%; }
.mock-dot.r { background: #ff5f56; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-body { padding: 24px; }
.mock-label { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.mock-input-box {
  background: rgba(124,58,237,0.08); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--off-white);
  font-size: 0.9rem; margin-bottom: 16px; font-family: 'Plus Jakarta Sans', sans-serif;
}
.mock-result-box {
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 10px; padding: 14px 16px; color: var(--purple-light);
  font-size: 0.875rem; line-height: 1.6; min-height: 70px;
}

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 100px 24px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px; transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(124,58,237,0.4); }
.t-stars { color: var(--purple-light); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.t-text { color: var(--off-white); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 0.875rem; color: var(--white); }
.t-city { font-size: 0.78rem; color: var(--muted); }

/* ── CTA ── */
.cta-section { padding: 60px 24px 120px; }
.cta-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(88,28,135,0.15) 100%);
  border: 1px solid rgba(124,58,237,0.3); border-radius: 28px;
  text-align: center; padding: 80px 40px; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
}
.cta-box h2 {
  font-family: 'Geist',sans-serif; font-weight: 600;
  font-size: clamp(2rem,4vw,3.2rem); letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 14px;
}
.cta-box p { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }
















/* ── RESPONSIVE FIXES ── */

/* Tablets */
@media (max-width: 1024px) {

  .featured-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
    text-align: center;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}


/* Mobile */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding: 100px 16px 60px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  /* remove heavy background shapes */
  .hero::before,
  .hero::after {
    display: none;
  }

  /* STATS */
  .stats-bar {
    padding: 24px 16px;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  /* TOOLS */
  .tools-section {
    padding: 60px 16px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  /* HOW IT WORKS */
  .how-section {
    padding: 60px 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before {
    display: none;
  }

  /* FEATURED */
  .featured-section {
    padding: 40px 16px 60px;
  }

  .featured-card {
    padding: 30px 20px;
    gap: 30px;
  }

  /* TERMINAL */
  .mock-body {
    padding: 16px;
  }

  /* TESTIMONIALS */
  .testimonials-section {
    padding: 60px 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section {
    padding: 40px 16px 80px;
  }

  .cta-box {
    padding: 50px 20px;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }

  /* SCROLL HINT */
  .scroll-hint {
    display: none;
  }
}


/* Small phones */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .featured-text h2 {
    font-size: 1.6rem;
  }
}


/* 

Meme Generator 

*/
/* ── TOOL SPECIFIC STYLES ── */
.tool-hero { padding: 120px 0 60px; text-align: center; position: relative; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); }

/* Icon Options Grid */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.icon-option { cursor: pointer; text-align: center; transition: 0.3s; }
.icon-inner { 
    height: 60px; background: var(--bg-card2); border-radius: 16px; 
    display: flex; align-items: center; justify-content: center; 
    border: 1px solid var(--border); margin-bottom: 8px;
}
.icon-option svg { stroke: #64748b; transition: 0.3s; }
.icon-option span { font-size: 11px; color: #64748b; font-weight: 500; }

.icon-option.active .icon-inner { border-color: var(--purple-light); background: var(--purple-soft); }
.icon-option.active svg { stroke: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.icon-option.active span { color: var(--white); }

/* Input Styling */
.input-wrapper { position: relative; }
textarea { 
    width: 100%; height: 120px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px; color: white; resize: none; outline: none; transition: 0.3s; font-family: inherit;
}
textarea:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.meme-display { min-height: 400px; display: flex; align-items: center; justify-content: center; position: relative; background: #05050a; }
.meme-placeholder { text-align: center; color: #64748b; padding: 40px; }
.p-icon { margin-bottom: 15px; color: #2a2a3a; }

.meme-content { width: 100%; height: 400px; background-size: cover; background-position: center; position: relative; display: none; }
.text-top, .text-bottom { 
    position: absolute; width: 100%; left: 0; text-align: center; color: white; 
    font-family: 'Impact', 'Arial Black', sans-serif; font-size: clamp(24px, 5vw, 36px); 
    text-transform: uppercase; padding: 20px; line-height: 1.2;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 0 5px 10px rgba(0,0,0,0.5);
}
.text-top { top: 0; }
.text-bottom { bottom: 0; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }
.action-btn.wa { border-color: rgba(37, 211, 102, 0.2); color: #25d366; }
.action-btn.wa:hover { background: rgba(37, 211, 102, 0.1); }

.w-full { width: 100%; justify-content: center; }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}




/* ── ROAST GENERATOR SPECIFIC (REUSING MEME GEN THEME) ── */
/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
.form-group label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
input[type="text"], select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit;
}
input:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Roast Level Tags (Purple Theme) */
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px 10px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 8px; color: #64748b; transition: 0.3s; }
.tag span { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.roast-display { 
    min-height: 380px; padding: 40px; display: flex; align-items: center; 
    justify-content: center; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.roast-placeholder { text-align: center; color: #64748b; }
.p-icon { margin-bottom: 20px; color: #2a2a3a; }

.roast-content { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.roast-text-card { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 30px; border-radius: 20px; text-align: center; position: relative;
}
.quote-icon { 
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); 
    background: var(--purple-mid); color: white; padding: 8px; border-radius: 10px; 
    display: flex; align-items: center;
}
.roast-text-card p { font-size: 1.25rem; line-height: 1.7; color: var(--white); font-weight: 500; margin-top: 10px; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-primary-gen { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-primary-gen:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}

/* 
Future Predictor */



/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
.form-group label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
input[type="text"], input[type="number"], select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit;
}
input:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Prediction Type Tags */
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px 10px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 8px; color: #64748b; transition: 0.3s; }
.tag span { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.result-display { 
    min-height: 380px; padding: 40px; display: flex; align-items: center; 
    justify-content: center; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.placeholder-content { text-align: center; color: #64748b; }
.p-icon { margin-bottom: 20px; color: #2a2a3a; }

.prediction-content { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.prediction-card { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 30px; border-radius: 20px; text-align: center; position: relative;
}
.crystal-icon-wrap { 
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%); 
    background: var(--purple-mid); color: white; padding: 10px; border-radius: 12px; 
    display: flex; align-items: center; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.prediction-card p { font-size: 1.25rem; line-height: 1.7; color: var(--white); font-weight: 500; margin-top: 15px; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-predict { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-predict:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}


/* 
Recipe Randomizer */

/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
.form-group label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
textarea, select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit; resize: none;
}
textarea { min-height: 100px; }
textarea:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Time Selection Tags */
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px 10px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 6px; color: #64748b; transition: 0.3s; }
.tag span { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.result-display { 
    min-height: 450px; padding: 30px; display: flex; flex-direction: column; 
    justify-content: flex-start; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.placeholder-content { margin: auto; text-align: center; color: #64748b; }

.recipe-content { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.recipe-card { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 25px; border-radius: 20px; color: var(--white);
}
.recipe-header-inner { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 15px; }
.recipe-title-text { font-size: 1.2rem; font-weight: 700; color: var(--purple-light); }
.recipe-meta { font-size: 0.8rem; color: var(--muted); }

.recipe-body { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }
.recipe-body strong { color: var(--white); display: block; margin-top: 15px; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-cook { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-cook:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}

/* 
Excuse Generator */

/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
textarea, select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit; resize: none;
}
textarea { min-height: 100px; }
textarea:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Excuse Level Tags */
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px 10px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 6px; color: #64748b; transition: 0.3s; }
.tag span { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.result-display { 
    min-height: 380px; padding: 40px; display: flex; align-items: center; 
    justify-content: center; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.placeholder-content { text-align: center; color: #64748b; }
.p-icon { margin-bottom: 20px; color: #2a2a3a; }

.excuse-content { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.excuse-text-card { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 30px; border-radius: 20px; text-align: center; position: relative;
}
.top-icon-wrap { 
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); 
    background: var(--purple-mid); color: white; padding: 8px; border-radius: 10px; 
    display: flex; align-items: center;
}
.excuse-text-card p { font-size: 1.15rem; line-height: 1.7; color: var(--white); font-weight: 500; margin-top: 10px; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-generate { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-generate:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}


/* 
Plan Generator */

/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
input[type="text"], select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit;
}
input:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Tag Rows (Days & Interests) */
.tag-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 12px 5px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 6px; color: #64748b; transition: 0.3s; display: block; }
.tag span { display: block; font-size: 10px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.result-display { 
    min-height: 450px; padding: 30px; display: flex; flex-direction: column; 
    justify-content: flex-start; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.placeholder-content { margin: auto; text-align: center; color: #64748b; }

.plan-content { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.plan-card { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 25px; border-radius: 20px; color: var(--white);
}
.plan-header-inner { border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 15px; }
.plan-destination { font-size: 1.3rem; font-weight: 700; color: var(--purple-light); }
.plan-summary { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.plan-itinerary { font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; }
.day-block { margin-top: 15px; border-left: 2px solid var(--purple-mid); padding-left: 15px; }
.day-block strong { color: var(--white); display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-plan { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-plan:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
    .tag-row { grid-template-columns: repeat(2, 1fr); }
}

/* 
Caption Generator */

/* ── BRAND THEME ALIGNMENT (PURPLE/DARK) ── */
.tool-hero { padding: 120px 0 60px; text-align: center; }
.tool-icon-main { 
    width: 64px; height: 64px; background: var(--purple-soft); 
    border-radius: 18px; display: flex; align-items: center; 
    justify-content: center; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.tool-icon-main svg { stroke: var(--purple-light); width: 32px; }

.main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; margin-bottom: 80px; }

/* Control Panel Card */
.step-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; margin-bottom: 24px; }
.step-tag { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 800; letter-spacing: 1px; }
.step-box h3 { font-size: 1.1rem; margin: 8px 0 20px; color: var(--white); font-weight: 700; }

/* Inputs & Form Elements */
textarea, select { 
    width: 100%; padding: 14px; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 14px; color: white; outline: none; transition: 0.3s; font-family: inherit; resize: none;
}
textarea { min-height: 120px; }
textarea:focus, select:focus { border-color: var(--purple-mid); box-shadow: 0 0 15px rgba(124, 58, 237, 0.1); }

/* Platform Tags */
.tag-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tag { 
    cursor: pointer; background: var(--bg-card2); border: 1px solid var(--border); 
    border-radius: 16px; padding: 15px 10px; text-align: center; transition: 0.3s;
}
.tag-icon { margin-bottom: 6px; color: #64748b; transition: 0.3s; }
.tag span { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.tag.active { border-color: var(--purple-light); background: var(--purple-soft); }
.tag.active .tag-icon { color: var(--purple-light); filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.4)); }
.tag.active span { color: white; }

/* Preview Sticky Card */
.preview-sticky { 
    position: sticky; top: 110px; background: #0d0d18; border: 1px solid var(--border); 
    border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.4); 
}
.preview-header { background: #161626; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot-group { display: flex; gap: 6px; margin-right: 15px; }
.dot-group span { width: 8px; height: 8px; border-radius: 50%; background: #2a2a3a; }
.preview-title { font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

.result-display { 
    min-height: 480px; padding: 25px; display: flex; flex-direction: column; 
    justify-content: flex-start; position: relative; 
    background: radial-gradient(circle at top right, var(--purple-soft), transparent);
}
.placeholder-content { margin: auto; text-align: center; color: #64748b; }

.caption-list { width: 100%; display: none; animation: fadeIn 0.5s ease; }
.caption-item { 
    background: rgba(255,255,255,0.02); border: 1px solid var(--border); 
    padding: 15px 20px; border-radius: 16px; margin-bottom: 12px; position: relative;
    transition: 0.3s; cursor: pointer;
}
.caption-item:hover { background: var(--purple-soft); border-color: var(--purple-light); }
.caption-style-label { font-size: 10px; text-transform: uppercase; color: var(--purple-light); font-weight: 700; margin-bottom: 5px; display: block; }
.caption-text { color: #cbd5e1; font-size: 0.95rem; line-height: 1.5; }

.action-bar { padding: 20px; display: flex; gap: 12px; background: #161626; }
.action-btn { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); color: white; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.3s; }
.action-btn:hover { background: var(--purple-soft); border-color: var(--purple-light); }

.btn-generate { 
    background: var(--grad-primary); color: white; border: none; padding: 18px; border-radius: 18px; 
    font-weight: 700; width: 100%; cursor: pointer; display: flex; align-items: center; 
    justify-content: center; gap: 10px; transition: 0.4s; box-shadow: var(--shadow-glow); 
}
.btn-generate:hover { transform: translateY(-3px); opacity: 0.9; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) { 
    .main-grid { grid-template-columns: 1fr; }
    .preview-sticky { position: relative; top: 0; }
}
