:root {
  --bg: #06060b;
  --bg-elevated: #0e0e16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f8;
  --text-muted: #9b9bb0;
  --accent: #00d4aa;
  --accent-2: #7c5cff;
  --accent-glow: rgba(0, 212, 170, 0.35);
  --gradient: linear-gradient(135deg, #00d4aa 0%, #7c5cff 50%, #ff6b9d 100%);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --header-h: 96px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: rgba(0, 212, 170, 0.15);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(124, 92, 255, 0.18);
  bottom: 20%;
  left: -100px;
  animation-delay: -4s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(255, 107, 157, 0.12);
  top: 50%;
  right: 10%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 6, 11, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  animation: logoFloat 5s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(56px, 13vw, 84px);
  height: clamp(48px, 11vw, 72px);
}

.logo-s-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 212, 170, 0.4))
          drop-shadow(0 0 20px rgba(124, 92, 255, 0.22));
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6.5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
}

.logo-ytyk {
  color: var(--text);
  text-transform: uppercase;
}

.logo-ai {
  position: relative;
  display: inline-block;
  margin-left: 1px;
  text-transform: uppercase;
  background: var(--gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoAiPulse 3.5s ease-in-out infinite;
}

.logo-ai::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -6px;
  bottom: 0.05em;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  opacity: 0.55;
  animation: logoAiLine 3.5s ease-in-out infinite;
}

.logo-footer .logo-mark {
  width: clamp(48px, 11vw, 68px);
  height: clamp(42px, 9vw, 58px);
}

.logo-footer .logo-wordmark {
  font-size: clamp(1.65rem, 5vw, 2.25rem);
}

@keyframes logoFloat {
  0%, 100% {
    filter: drop-shadow(0 0 0 transparent);
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes logoAiPulse {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 170, 0.35));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 18px rgba(124, 92, 255, 0.55));
  }
}

@keyframes logoAiLine {
  0%, 100% { opacity: 0.4; transform: scaleX(0.92); }
  50% { opacity: 0.85; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .logo-ai,
  .logo-ai::after {
    animation: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 10px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.hero-inner {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 212, 170, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-subtitle strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin-inline: auto;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-head h2,
.about-content h2,
.contact-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-head p,
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-tag-light {
  color: rgba(0, 212, 170, 0.9);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 170, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-list {
  list-style: none;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.04), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 360px;
}

.about-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.about-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bg);
  flex-shrink: 0;
}

.about-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.about-role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-float {
  position: absolute;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: floatBadge 6s ease-in-out infinite;
}

.about-float-1 {
  top: 0;
  right: 0;
  animation-delay: 0s;
}

.about-float-2 {
  bottom: 80px;
  left: -20px;
  animation-delay: -2s;
}

.about-float-3 {
  bottom: 0;
  right: 40px;
  animation-delay: -4s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-content p {
  margin-bottom: 16px;
}

.about-content p strong {
  color: var(--text);
}

.about-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.highlight:hover {
  border-color: rgba(124, 92, 255, 0.3);
}

.highlight-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-2);
  opacity: 0.8;
}

.highlight strong {
  display: block;
  margin-bottom: 4px;
}

.highlight span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-item {
  padding: 28px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.why-item:hover {
  transform: scale(1.02);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  padding-bottom: 120px;
}

.contact-wrapper {
  position: relative;
  padding: 56px;
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.08), rgba(124, 92, 255, 0.12));
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.2), transparent 70%);
  pointer-events: none;
}

.contact-header {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}

.contact-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-inline: auto;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  background: rgba(6, 6, 11, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.contact-card:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  background: rgba(6, 6, 11, 0.85);
}

.contact-card-email {
  border-color: rgba(0, 212, 170, 0.35);
  background: rgba(0, 212, 170, 0.06);
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.contact-card-value {
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-card-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Bot block */
.bot-block {
  padding: 32px;
  background: rgba(6, 6, 11, 0.75);
  border: 2px solid rgba(0, 212, 170, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(0, 212, 170, 0.1);
}

.bot-block-head {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.bot-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--accent);
}

.bot-block-head h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.bot-block-head p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.bot-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bot-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.15);
}

.bot-prefix {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.bot-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 14px 8px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  outline: none;
}

.bot-input-wrap input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.bot-direct {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.bot-direct:hover {
  text-decoration: underline;
}

.contact-founder {
  position: relative;
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-founder strong {
  color: var(--text);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s 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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 280px;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 88px;
  }

  .container {
    width: min(1120px, calc(100% - 20px));
  }

  .logo-wordmark {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .contact-wrapper {
    padding: 32px 24px;
  }

  .bot-input-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .bot-prefix {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 84px;
  }

  .logo {
    gap: 8px;
  }

  .logo-wordmark {
    font-size: clamp(1.45rem, 8.5vw, 1.85rem);
  }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner .logo {
    justify-content: center;
  }
}
