/* ===========================
   DRIFFLEZ.COM — MAIN STYLESHEET
   Mind & Body / Nootropic Blend
   =========================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: #13131f;
  --bg-card-hover: #1a1a2e;
  --accent-purple: #a78bfa;
  --accent-violet: #7c3aed;
  --accent-pink: #f472b6;
  --accent-cyan: #22d3ee;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --border: rgba(167, 139, 250, 0.15);
  --border-hover: rgba(167, 139, 250, 0.4);
  --shadow: 0 0 0 1px rgba(167,139,250,0.08), 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 0 0 1px rgba(167,139,250,0.1), 0 20px 60px rgba(0,0,0,0.6);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet)); color: #fff; border-radius: 50px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6); background: linear-gradient(135deg, #b8a1fc, #8b5cf6); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: transparent; color: var(--text-primary); border: 1.5px solid var(--border-hover); border-radius: 50px; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; transition: all 0.3s ease; }
.btn-secondary:hover { background: rgba(167,139,250,0.1); border-color: var(--accent-purple); transform: translateY(-2px); }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.3s ease; }
.navbar.scrolled { background: rgba(10,10,15,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #1e1b4b, #312e81); border: 1px solid rgba(167,139,250,0.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; }
.logo-sub { font-size: 0.55rem; font-weight: 600; color: var(--accent-purple); letter-spacing: 0.15em; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links li { position: relative; }
.nav-links a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); transition: all 0.2s; }
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.arrow { font-size: 0.7rem; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 200px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease; box-shadow: var(--shadow-lg); }
.dropdown a { display: block; padding: 8px 12px; font-size: 0.88rem; color: var(--text-secondary); border-radius: 6px; }
.dropdown a:hover { background: rgba(167,139,250,0.1); color: var(--accent-purple); }
.nav-cta { flex-shrink: 0; padding: 10px 22px; background: linear-gradient(135deg, var(--accent-purple), var(--accent-violet)); color: #fff; border-radius: 50px; font-size: 0.88rem; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 16px rgba(124,58,237,0.3); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,0.5); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: 0.3s; }

.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #7c3aed, transparent); top: -200px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #a78bfa, transparent); bottom: -100px; right: -150px; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #22d3ee, transparent); top: 40%; left: 60%; opacity: 0.06; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(167,139,250,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,0.04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent); }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.25); border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent-purple); margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; background: var(--accent-purple); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-title { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.04em; color: var(--text-primary); margin-bottom: 24px; }
.hero-accent { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; font-family: 'Playfair Display', serif; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.hero-stats { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 32px; max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 40px; }
.stat { text-align: center; padding: 0 28px; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--accent-purple); letter-spacing: -0.03em; }
.stat-label { display: block; font-size: 0.67rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; z-index: 1; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent-purple), transparent); animation: scrollAnim 2s ease-in-out infinite; }
@keyframes scrollAnim { 0% { opacity: 1; transform: scaleY(1); transform-origin: top; } 100% { opacity: 0; transform: scaleY(0); transform-origin: top; } }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-flex; padding: 5px 14px; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.2); border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: var(--accent-purple); margin-bottom: 20px; }
.section-title-lg { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.04em; color: var(--text-primary); margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 20px; }
.section-subtitle { font-size: 1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.accent { background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.story-section { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-visual { position: relative; }
.story-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.card-tag { display: inline-flex; padding: 4px 14px; background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.25); border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-purple); margin-bottom: 24px; }
.card-icon { font-size: 4rem; margin-bottom: 16px; }
.card-title { font-size: 1.25rem; font-weight: 700; color: var(--accent-purple); margin-bottom: 12px; }
.card-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.card-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(167,139,250,0.12); border: 1px solid var(--border); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-top: 24px; }
.story-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--text-primary); box-shadow: var(--shadow); }
.story-float-1 { top: -20px; right: -20px; }
.story-float-2 { bottom: 40px; left: -30px; }
.story-text p { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.story-quote { border-left: 3px solid var(--accent-purple); padding: 16px 20px; background: rgba(167,139,250,0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 32px; }
.quote-icon { color: var(--accent-purple); margin-right: 6px; }

.ingredients-section { padding: 100px 0; background: var(--bg-primary); }
.ingredients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ingredient-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.ingredient-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink)); opacity: 0; transition: 0.3s; }
.ingredient-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.ingredient-card:hover::before { opacity: 1; }
.ing-icon { font-size: 2.2rem; margin-bottom: 16px; }
.ing-name { font-size: 1.05rem; font-weight: 700; color: var(--accent-purple); margin-bottom: 6px; }
.ing-amount { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.02em; }
.ing-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.ing-tag { display: inline-block; margin-top: 12px; padding: 3px 10px; background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.25); border-radius: 50px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-cyan); }

.method-section { padding: 100px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-list { max-width: 760px; margin: 0 auto; }
.step-item { display: flex; gap: 32px; margin-bottom: 48px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 56px; height: 56px; background: linear-gradient(135deg, var(--accent-violet), #4f46e5); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,0.4); }
.step-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.step-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.step-tip { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; background: rgba(167,139,250,0.07); border: 1px solid rgba(167,139,250,0.15); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.benefits-section { padding: 100px 0; background: var(--bg-primary); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.3s ease; }
.benefit-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: var(--shadow); }
.ben-icon { font-size: 2rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--accent-purple); margin-bottom: 12px; }
.benefit-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

.testimonial-section { padding: 80px 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonial-box { max-width: 700px; margin: 0 auto; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 40px; box-shadow: var(--shadow-lg); }
.t-stars { font-size: 1.4rem; color: var(--accent-purple); margin-bottom: 24px; letter-spacing: 4px; }
.t-quote { font-size: 1.15rem; font-style: italic; color: var(--text-primary); line-height: 1.8; margin-bottom: 24px; }
.t-source { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

.tips-section { padding: 100px 0; background: var(--bg-primary); }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s ease; }
.tip-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.tip-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: var(--accent-purple); margin-bottom: 14px; }
.tip-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.tip-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

.cta-section { padding: 100px 0; position: relative; overflow: hidden; background: var(--bg-secondary); }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.cta-orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(124,58,237,0.3), transparent); top: -100px; left: -100px; }
.cta-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(167,139,250,0.2), transparent); bottom: -100px; right: -100px; }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.04em; color: var(--text-primary); margin-bottom: 20px; }
.cta-content p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.faq-section { padding: 100px 0; background: var(--bg-primary); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--text-primary); text-align: left; transition: color 0.2s; gap: 16px; }
.faq-question:hover { color: var(--accent-purple); }
.faq-arrow { font-size: 1.4rem; font-weight: 300; color: var(--accent-purple); flex-shrink: 0; transition: transform 0.3s ease; line-height: 1; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer.open { max-height: 300px; }
.faq-answer p { padding-bottom: 20px; font-size: 0.93rem; color: var(--text-secondary); line-height: 1.75; }

.disclaimer-bar { background: rgba(167,139,250,0.06); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.disclaimer-bar p { font-size: 0.78rem; color: var(--text-muted); text-align: center; line-height: 1.6; }
.disclaimer-bar a { color: var(--accent-purple); text-decoration: underline; text-underline-offset: 3px; }

.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-purple); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent-purple); }

@media (max-width: 1024px) {
  .ingredients-grid, .benefits-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { padding: 16px 20px; }
  .stat { padding: 0 16px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .ingredients-grid, .benefits-grid, .tips-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }
  .stat { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}