/* ===========================
   AKSHAY AI TOOLS - STYLESHEET
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── CSS Variables ── */
:root {
  --bg-primary: #050714;
  --bg-base: var(--bg-primary);
  --bg-secondary: #0a0f2e;
  --bg-card: var(--bg-secondary);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f5ff;
  --accent-violet: #7b2fff;
  --accent-pink: #ff2d78;
  --accent-gold: #ffd700;
  --text-primary: #f0f4ff;
  --text-secondary: rgba(240, 244, 255, 0.6);
  --text-muted: rgba(240, 244, 255, 0.35);
  --gradient-main: linear-gradient(135deg, #7b2fff 0%, #00f5ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(123,47,255,0.12) 0%, rgba(0,245,255,0.06) 100%);
  --shadow-glow: 0 0 40px rgba(123, 47, 255, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Background Grid ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
}

/* ── Orbs ── */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,47,255,0.22) 0%, transparent 70%);
  top: -120px; left: -100px;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,245,255,0.18) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation: orbFloat 12s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,45,120,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  animation: orbFloat 8s ease-in-out infinite 3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.04); }
  66% { transform: translate(-15px, 20px) scale(0.96); }
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ═══════════════════════════
   NAVIGATION
═══════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(5, 7, 20, 0.75);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
nav .nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem;
  text-decoration: none;
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: var(--glass-hover); }
.nav-links a.active { color: var(--accent-cyan); }
.nav-links .nav-btn {
  background: var(--gradient-main) !important; color: white !important;
  padding: 8px 18px !important; border-radius: 50px !important; font-weight: 600 !important;
}
.nav-links .nav-btn:hover { box-shadow: 0 4px 20px rgba(123,47,255,0.45) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-content { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123,47,255,0.12); border: 1px solid rgba(123,47,255,0.3);
  border-radius: 50px; padding: 6px 16px; font-size: 0.76rem;
  font-weight: 700; color: var(--accent-cyan); margin-bottom: 26px;
  letter-spacing: 0.06em; text-transform: uppercase;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 22px; animation: fadeInUp 0.6s 0.1s ease both;
}
.gradient-text {
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 500px;
  margin-bottom: 36px; animation: fadeInUp 0.6s 0.2s ease both; font-weight: 300;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.6s 0.3s ease both; }

.btn-primary {
  background: var(--gradient-main); color: white;
  padding: 13px 30px; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(123,47,255,0.5); }

.btn-secondary {
  background: var(--glass); color: var(--text-primary);
  padding: 13px 30px; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--glass-border); cursor: pointer; backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--glass-hover); transform: translateY(-2px); }

/* Hero Visual - Floating Cards */
.hero-visual {
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%); width: 440px; height: 440px;
  pointer-events: none; animation: fadeIn 1s 0.5s ease both;
}
.floating-card {
  position: absolute; background: var(--glass);
  backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 18px 22px;
}
.fc-1 { top: 30px; right: 20px; width: 195px; animation: floatCard 7s ease-in-out infinite; }
.fc-2 { top: 48%; right: 0; width: 175px; animation: floatCard 9s ease-in-out infinite -3s; }
.fc-3 { bottom: 50px; right: 40px; width: 210px; animation: floatCard 8s ease-in-out infinite -5s; }
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.fc-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.fc-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.fc-value { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; }
.fc-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.fc-bar-fill { height: 100%; border-radius: 2px; background: var(--gradient-main); animation: barGrow 2.5s ease-in-out infinite alternate; }
@keyframes barGrow { from{width:35%} to{width:88%} }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--glass-border);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  margin-top: 60px; overflow: hidden; animation: fadeInUp 0.6s 0.4s ease both;
}
.stat-item { background: var(--bg-primary); padding: 26px; text-align: center; }
.stat-number {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ═══════════════════════════
   SECTIONS
═══════════════════════════ */
.section { padding: 90px 0; position: relative; z-index: 1; }
.section-tag { display: inline-block; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 14px; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; }
.section-sub { color: var(--text-secondary); font-size: 1rem; max-width: 500px; font-weight: 300; }
.section-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; }

/* Tool Cards */
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}
.tool-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 30px; text-decoration: none;
  color: inherit; transition: var(--transition); position: relative;
  overflow: hidden; cursor: pointer;
  backdrop-filter: blur(10px); display: block;
}
.tool-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-card); opacity: 0; transition: var(--transition);
}
.tool-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-main); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s ease;
}
.tool-card:hover { transform: translateY(-6px); border-color: rgba(123,47,255,0.35); box-shadow: var(--shadow-glow), var(--shadow-card); }
.tool-card:hover::before { opacity: 1; }
.tool-card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px; position: relative; z-index: 1;
}
.card-icon.cyan { background: rgba(0,245,255,0.1); box-shadow: 0 4px 18px rgba(0,245,255,0.18); }
.card-icon.violet { background: rgba(123,47,255,0.1); box-shadow: 0 4px 18px rgba(123,47,255,0.18); }
.card-icon.pink { background: rgba(255,45,120,0.1); box-shadow: 0 4px 18px rgba(255,45,120,0.18); }
.card-icon.gold { background: rgba(255,215,0,0.1); box-shadow: 0 4px 18px rgba(255,215,0,0.18); }

.card-title { font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 9px; position: relative; z-index: 1; }
.card-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; position: relative; z-index: 1; font-weight: 300; }
.card-arrow { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--accent-cyan); position: relative; z-index: 1; transition: var(--transition); }
.tool-card:hover .card-arrow { gap: 12px; }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(123,47,255,0.12); border: 1px solid rgba(123,47,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0; margin-top: 2px;
}
.feature-text h4 { font-family: 'Syne', sans-serif; font-weight: 700; margin-bottom: 3px; font-size: 0.95rem; }
.feature-text p { font-size: 0.87rem; color: var(--text-secondary); font-weight: 300; }

.feature-visual { position: relative; height: 400px; }
.code-mockup {
  background: #0d1117; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 22px;
  font-family: 'Courier New', monospace; font-size: 0.78rem;
  color: #8b949e; line-height: 1.85; height: 100%; overflow: hidden;
}
.mockup-topbar { display: flex; gap: 7px; margin-bottom: 18px; }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red{background:#ff5f57} .dot-yellow{background:#febc2e} .dot-green{background:#28c840}
.code-line { white-space: nowrap; }
.ck { color: #ff7b72; } .cf { color: #d2a8ff; } .cs { color: #a5d6ff; } .cm { color: #8b949e; } .cv { color: #ffa657; } .cn { color: #79c0ff; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testimonial-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(10px); transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(0,245,255,0.18); transform: translateY(-4px); }
.stars { color: var(--accent-gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; font-weight: 300; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-main); display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
}
.author-name { font-weight: 600; font-size: 0.88rem; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* CTA */
.cta-section { padding: 70px 0; position: relative; z-index: 1; }
.cta-box {
  background: var(--glass); border: 1px solid rgba(123,47,255,0.3);
  border-radius: 28px; padding: 64px; text-align: center;
  position: relative; overflow: hidden; backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(123,47,255,0.12);
}
.cta-box h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-box p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 32px; font-weight: 300; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 56px 0 28px; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.87rem; margin-top: 10px; font-weight: 300; max-width: 220px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.87rem; padding: 3px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-cyan); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.9rem; transition: var(--transition); color: var(--text-secondary);
}
.social-link:hover { background: var(--glass-hover); border-color: var(--accent-cyan); color: var(--accent-cyan); transform: translateY(-2px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--glass-border);
  font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 10px;
}

/* ═══════════════════════════
   AUTH PAGES
═══════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 100px 24px 40px;
  position: relative; z-index: 1;
}
.auth-card {
  background: rgba(10, 12, 35, 0.85); backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border); border-radius: 28px;
  padding: 44px; width: 100%; max-width: 420px;
  position: relative; overflow: hidden;
}
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-main); }
.auth-logo { text-align: center; margin-bottom: 6px; }
.auth-logo a { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 800; text-decoration: none; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-title { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; text-align: center; margin-bottom: 5px; }
.auth-subtitle { text-align: center; color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 28px; font-weight: 300; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 7px; }
.form-group input {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 12px 15px; color: var(--text-primary);
  font-family: 'DM Sans', sans-serif; font-size: 0.93rem;
  transition: var(--transition); outline: none;
}
.form-group input:focus { border-color: var(--accent-violet); background: rgba(123,47,255,0.07); box-shadow: 0 0 0 3px rgba(123,47,255,0.13); }
.form-group input::placeholder { color: var(--text-muted); }
.form-error { color: var(--accent-pink); font-size: 0.8rem; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.btn-full {
  width: 100%; padding: 13px; background: var(--gradient-main);
  color: white; border: none; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-size: 0.97rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-top: 6px;
}
.btn-full:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,47,255,0.5); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-muted); font-size: 0.78rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }
.auth-switch { text-align: center; font-size: 0.87rem; color: var(--text-secondary); margin-top: 18px; }
.auth-switch a { color: var(--accent-cyan); text-decoration: none; font-weight: 600; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-auth-btn {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 11px 14px; color: var(--text-primary);
  font-family: 'DM Sans', sans-serif; font-size: 0.87rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); display: flex;
  align-items: center; justify-content: center; gap: 7px;
}
.social-auth-btn:hover { background: var(--glass-hover); border-color: rgba(255,255,255,0.18); }

/* ═══════════════════════════
   DASHBOARD
═══════════════════════════ */
.dashboard { padding-top: 80px; min-height: 100vh; position: relative; z-index: 1; }
.dashboard-header { padding: 36px 0 0; }
.greeting-line { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.user-greeting h2 { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; margin-top: 4px; }
.user-greeting h2 .user-name-span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.dashboard-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 28px 0; }
.dash-stat {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 22px; transition: var(--transition); backdrop-filter: blur(10px);
}
.dash-stat:hover { transform: translateY(-3px); border-color: rgba(123,47,255,0.25); }
.dash-stat-icon { font-size: 1.6rem; margin-bottom: 10px; }
.dash-stat-value { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dash-stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.dashboard-section-title { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.dashboard-section-title::after { content: ''; flex: 1; height: 1px; background: var(--glass-border); }

.dash-tools-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 36px; }
.dash-tool-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 24px; text-decoration: none;
  color: inherit; display: flex; align-items: center; gap: 18px;
  transition: var(--transition); backdrop-filter: blur(10px); position: relative; overflow: hidden;
}
.dash-tool-card::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--gradient-main); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
}
.dash-tool-card:hover { transform: translateY(-3px); border-color: rgba(123,47,255,0.28); box-shadow: var(--shadow-glow); }
.dash-tool-card:hover::after { transform: scaleY(1); }
.dash-tool-icon { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.dash-tool-info { flex: 1; }
.dash-tool-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.97rem; margin-bottom: 3px; }
.dash-tool-desc { font-size: 0.8rem; color: var(--text-secondary); font-weight: 300; }
.dash-tool-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 9px; border-radius: 50px; background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.18); color: var(--accent-cyan); }

.recent-activity {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 36px; backdrop-filter: blur(10px);
}
.activity-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.035); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 7px var(--accent-cyan); }
.activity-dot.violet { background: var(--accent-violet); box-shadow: 0 0 7px var(--accent-violet); }
.activity-dot.pink { background: var(--accent-pink); box-shadow: 0 0 7px var(--accent-pink); }
.activity-dot.gold { background: var(--accent-gold); box-shadow: 0 0 7px var(--accent-gold); }
.activity-text { flex: 1; font-size: 0.87rem; }
.activity-time { font-size: 0.78rem; color: var(--text-muted); }

/* ═══════════════════════════
   TOOL WORKSPACE
═══════════════════════════ */
.tool-page { padding-top: 80px; min-height: 100vh; position: relative; z-index: 1; }
.tool-page-header { padding: 36px 0 28px; display: flex; align-items: center; gap: 18px; }
.back-btn { color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; gap: 6px; font-size: 0.87rem; font-weight: 500; transition: var(--transition); padding: 7px 14px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--glass-border); margin-right: 6px; }
.back-btn:hover { color: var(--text-primary); background: var(--glass-hover); }
.tool-page-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.tool-page-info h1 { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; }
.tool-page-info p { color: var(--text-secondary); font-size: 0.87rem; font-weight: 300; }

.tool-workspace { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; overflow: hidden; margin-bottom: 36px; backdrop-filter: blur(10px); }
.workspace-topbar { padding: 16px 20px; background: rgba(0,0,0,0.2); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; }
.workspace-topbar-title { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text-secondary); }
.workspace-body { padding: 24px; }

.prompt-area {
  width: 100%; min-height: 110px; background: rgba(255,255,255,0.035);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 14px; color: var(--text-primary); font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem; resize: vertical; outline: none; transition: var(--transition); line-height: 1.6;
}
.prompt-area:focus { border-color: var(--accent-violet); box-shadow: 0 0 0 3px rgba(123,47,255,0.12); }
.prompt-area::placeholder { color: var(--text-muted); }

.tool-controls { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.control-select {
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 8px 13px; color: var(--text-primary);
  font-family: 'DM Sans', sans-serif; font-size: 0.83rem; cursor: pointer; outline: none;
}

.output-area {
  margin-top: 20px; background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 18px; min-height: 150px; font-size: 0.9rem; line-height: 1.75;
  color: var(--text-secondary); white-space: pre-wrap; font-weight: 300;
}
.output-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 150px; gap: 10px; color: var(--text-muted); }
.output-placeholder .op-icon { font-size: 2rem; }
.output-placeholder p { font-size: 0.87rem; }

.generating { display: flex; align-items: center; gap: 10px; color: var(--accent-cyan); font-size: 0.87rem; font-weight: 500; }
.gen-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-cyan); animation: genPulse 1.2s ease-in-out infinite; }
.gen-dot:nth-child(2){animation-delay:.2s} .gen-dot:nth-child(3){animation-delay:.4s}
@keyframes genPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(0.5);opacity:0.3} }

/* Image grid */
.image-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 20px; }
.image-placeholder {
  aspect-ratio: 1; background: rgba(255,255,255,0.025);
  border: 1px dashed rgba(255,255,255,0.1); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 7px; color: var(--text-muted); font-size: 0.83rem; transition: var(--transition);
}
.image-placeholder.generated { border-style: solid; border-color: var(--glass-border); background: var(--gradient-card); font-size: 2.5rem; }

/* Chat */
.chat-messages {
  display: flex; flex-direction: column; gap: 14px; padding: 20px;
  max-height: 360px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(123,47,255,0.3) transparent;
}
.chat-msg { display: flex; gap: 10px; max-width: 84%; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; background: var(--glass); border: 1px solid var(--glass-border); }
.chat-msg.user .chat-avatar { background: var(--gradient-main); }
.chat-bubble { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 14px; font-size: 0.87rem; line-height: 1.65; font-weight: 300; }
.chat-msg.user .chat-bubble { background: rgba(123,47,255,0.18); border-color: rgba(123,47,255,0.28); }
.chat-input-row { display: flex; gap: 10px; padding: 14px 18px; background: rgba(0,0,0,0.2); border-top: 1px solid var(--glass-border); }
.chat-input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 50px; padding: 10px 18px; color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: 0.88rem; outline: none; transition: var(--transition); }
.chat-input:focus { border-color: var(--accent-violet); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-main); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); flex-shrink: 0; }
.chat-send:hover { transform: scale(1.06); box-shadow: 0 4px 14px rgba(123,47,255,0.4); }

/* Code */
.code-output { background: #0d1117; border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-md); padding: 18px; font-family: 'Courier New', monospace; font-size: 0.82rem; line-height: 1.85; color: #cdd9e5; margin-top: 18px; min-height: 200px; overflow-x: auto; white-space: pre; }
.code-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.code-lang-badge { background: rgba(123,47,255,0.2); border: 1px solid rgba(123,47,255,0.3); border-radius: 6px; padding: 3px 10px; font-size: 0.75rem; font-weight: 600; color: #d2a8ff; }
.copy-btn { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px; padding: 5px 12px; color: var(--text-secondary); font-size: 0.78rem; cursor: pointer; transition: var(--transition); font-family: 'DM Sans', sans-serif; }
.copy-btn:hover { background: var(--glass-hover); color: var(--text-primary); }

/* ═══════════════════════════
   TOAST
═══════════════════════════ */
.toast {
  position: fixed; bottom: 22px; right: 22px;
  background: rgba(10,12,35,0.95); backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 12px 18px; display: flex; align-items: center; gap: 10px;
  font-size: 0.87rem; font-weight: 500; z-index: 1000;
  transform: translateY(80px); opacity: 0; transition: var(--transition); max-width: 300px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(0,245,255,0.28); }
.toast.error { border-color: rgba(255,45,120,0.28); }
.toast-icon { font-size: 1rem; }

/* ═══════════════════════════
   ANIMATIONS & REVEALS
═══════════════════════════ */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media(max-width:1024px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-visual { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}
@media(max-width:768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,7,20,0.97); backdrop-filter: blur(20px); padding: 18px 22px; border-bottom: 1px solid var(--glass-border); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .stats-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .dash-tools-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 22px; }
  .cta-box { padding: 44px 22px; }
  .image-grid { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .dashboard-stats { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════
   LIGHT THEME
═══════════════════════════ */
[data-theme="light"] {
  --bg-primary: #f0f4ff;
  --bg-secondary: #e8eeff;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.9);
  --text-primary: #0a0f2e;
  --text-secondary: rgba(10, 15, 46, 0.65);
  --text-muted: rgba(10, 15, 46, 0.4);
  --shadow-glow: 0 0 40px rgba(123, 47, 255, 0.15);
}
[data-theme="light"] body::before { background-image: linear-gradient(rgba(123,47,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(123,47,255,0.04) 1px, transparent 1px); }
[data-theme="light"] nav { background: rgba(240,244,255,0.85); }
[data-theme="light"] .code-mockup { background: #1e1e2e; }
[data-theme="light"] .code-output { background: #1e1e2e; }
[data-theme="light"] .orb-1 { background: radial-gradient(circle, rgba(123,47,255,0.15) 0%, transparent 70%); }
[data-theme="light"] .orb-2 { background: radial-gradient(circle, rgba(0,245,255,0.12) 0%, transparent 70%); }

/* ═══════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════ */
.theme-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-btn:hover { background: var(--glass-hover); transform: rotate(20deg); }

/* ═══════════════════════════
   LANGUAGE SELECT
═══════════════════════════ */
.lang-select-wrap {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.lang-select-wrap label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
#lang-select {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm); padding: 6px 12px;
  color: var(--text-primary); font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem; cursor: pointer; outline: none;
}

/* ═══════════════════════════
   VOICE BUTTON
═══════════════════════════ */
#voice-btn {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 50%; width: 40px; height: 40px;
  cursor: pointer; font-size: 1.1rem; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#voice-btn:hover { background: rgba(0,245,255,0.12); border-color: var(--accent-cyan); }

/* ═══════════════════════════
   PROFILE PHOTO
═══════════════════════════ */
.photo-upload-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 20px; gap: 10px;
}
.photo-preview-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gradient-main); display: flex;
  align-items: center; justify-content: center;
  font-size: 2rem; border: 3px solid var(--glass-border);
  overflow: hidden; cursor: pointer; transition: var(--transition);
  position: relative;
}
.photo-preview-circle:hover { border-color: var(--accent-cyan); }
.photo-preview-circle img { display: none; width: 100%; height: 100%; object-fit: cover; }
.photo-upload-label {
  font-size: 0.8rem; color: var(--accent-cyan); cursor: pointer;
  font-weight: 600; text-decoration: underline;
}
#profile-photo { display: none; }

/* User avatar in nav/dashboard */
.user-avatar-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-main); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; overflow: hidden;
  border: 2px solid var(--glass-border); flex-shrink: 0;
}

/* ═══════════════════════════
   HISTORY PAGE
═══════════════════════════ */
.history-item {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 10px; transition: var(--transition);
}
.history-item:hover { border-color: rgba(123,47,255,0.3); }
.history-badge {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 50px;
  font-weight: 700; white-space: nowrap;
}
