/*
Theme Name: YottoCode
Theme URI: https://yottocode.com
Author: MXBO STUDIO
Author URI: https://mxbo.studio
Description: Custom WordPress theme for yottoCode - Your AI agent, on Telegram
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: yottocode
*/

/* ── Design Tokens (ported from React site) ── */

:root {
  /* Colors */
  --bg: #FFFFFF;
  --bg-elevated: #F0F2F5;
  --bg-surface: #E4E8ED;
  --accent: #2AABEE;
  --accent-dark: #229ED9;
  --accent-light: #5BC3F5;
  --accent-teal: #186288;
  --accent-glow: rgba(42, 171, 238, 0.15);
  --teal-glow: rgba(24, 98, 136, 0.12);
  --text: #1A1A1A;
  --text-muted: #707579;
  --text-faint: #9DA3AB;
  --green: #4FAE4E;
  --red: #E53935;
  --yellow: #F5A623;
  --card-glass: rgba(255, 255, 255, 0.85);
  --card-border: rgba(0, 0, 0, 0.08);
  --card-border-hover: rgba(42, 171, 238, 0.25);

  /* Typography */
  --f-display: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", monospace;
}

/* ── Base Reset ── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

::selection {
  background: var(--accent);
  color: #FFFFFF;
}

/* ── Utility Classes ── */

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card:hover {
  border-color: rgba(42, 171, 238, 0.25);
}

.gradient-text {
  background: linear-gradient(135deg, #2AABEE 0%, #186288 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.08), transparent);
}

/* ── Custom Scrollbar ── */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(42, 171, 238, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 171, 238, 0.5);
}

/* ── WordPress Overrides ── */

.wp-site-blocks {
  padding-top: 0 !important;
}

body.wp-site-blocks,
body .wp-site-blocks {
  padding: 0 !important;
}

.wp-block-post-content,
.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: auto;
  margin-right: auto;
}

/* Make wp:html blocks span full width so section backgrounds work */
.wp-block-html {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Ensure template parts are also full width */
.wp-block-template-part {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* WordPress block editor layout overrides */
body .is-layout-constrained > .wp-block-html,
body .is-layout-constrained > .wp-block-template-part,
body .is-layout-constrained > .wp-block-group {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── Figma Style Layer (All Sections) ── */

.figma-section {
  position: relative;
  overflow: hidden;
}

.figma-section.section-padding {
  padding-top: clamp(92px, 11vw, 150px);
  padding-bottom: clamp(88px, 10vw, 140px);
}

.figma-shell {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.figma-shell--narrow {
  max-width: 960px;
  margin: 0 auto;
}

.figma-section .section-header {
  margin-bottom: 56px;
}

.figma-section .section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  padding-bottom: 4px;
}

.figma-section .section-subtitle {
  margin-top: 14px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
}

.figma-section .glass-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 28px rgba(15, 22, 38, 0.06);
}

.figma-section .glass-card:hover {
  border-color: rgba(42, 171, 238, 0.30);
  box-shadow: 0 12px 34px rgba(15, 22, 38, 0.10);
}

/* Shared dark wrapper for not-a-chatbot + how-it-works + media-showcase */
.nac-dark-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 130% 80% at 50% 0%, #163a6e 0%, #0f1f44 40%, #0a1734 100%);
}

.nac-dark-wrap::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 500px;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  top: -100px;
  left: -150px;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.45) 0%, rgba(42, 171, 238, 0.08) 50%, transparent 70%);
  animation: nac-orb-left 12s ease-in-out infinite;
}

.nac-dark-wrap::after {
  content: '';
  position: absolute;
  width: 650px;
  height: 550px;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  top: -80px;
  right: -180px;
  background: radial-gradient(circle, rgba(91, 195, 245, 0.35) 0%, rgba(24, 98, 136, 0.08) 50%, transparent 70%);
  animation: nac-orb-right 14s ease-in-out infinite;
}

@keyframes nac-orb-left {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25%  { transform: translate(35vw, 15vh) scale(1.15); opacity: 0.8; }
  50%  { transform: translate(15vw, 35vh) scale(0.95); opacity: 0.5; }
  75%  { transform: translate(-5vw, 20vh) scale(1.1); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

@keyframes nac-orb-right {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.55; }
  25%  { transform: translate(-30vw, 20vh) scale(1.1); opacity: 0.75; }
  50%  { transform: translate(-10vw, 40vh) scale(1.2); opacity: 0.5; }
  75%  { transform: translate(-35vw, 10vh) scale(0.9); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
}

.nac-dark-wrap .wp-block-html,
.nac-dark-wrap .figma-section {
  background: transparent !important;
}

.nac-dark-wrap .figma-section {
  border-top: none !important;
}

#features.figma-section,
#mcp-integrations.figma-section,
#comparison.figma-section,
#pricing.figma-section {
  border-top: 1px solid rgba(42, 171, 238, 0.08);
}

#comparison .comparison-table-wrap .glass-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 38px rgba(15, 22, 38, 0.08);
}

#pricing .pricing-card {
  border-radius: 20px;
  border: 2px solid #FFFFFF;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(42, 171, 238, 0.15);
}

#engine .feature-icon,
#features .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

#engine .glass-card,
#features .glass-card {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-dark .section-title,
.section-dark h3 {
  color: #FFFFFF;
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .callout--warning p {
  color: rgba(255, 255, 255, 0.9);
}

/* Engine spotlight */

.engine-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 34px;
  padding: 38px;
}

.engine-spotlight__title {
  font-family: var(--f-display);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
  color: #0f172c;
}

.engine-spotlight__kicker {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.engine-spotlight__body {
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.66;
  color: var(--text-muted);
}

.engine-spotlight__copy .check-list {
  gap: 11px;
}

.engine-spotlight__link {
  display: inline-flex;
  margin-top: 20px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  color: #0f172c;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(42, 171, 238, 0.22);
  background: rgba(42, 171, 238, 0.10);
}

.engine-spotlight__preview {
  position: relative;
  min-height: 420px;
}

/* ── Terminal mockup (CSS-only) ── */

.engine-terminal-mockup {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(14, 24, 40, 0.14);
  box-shadow: 0 16px 36px rgba(10, 22, 40, 0.18);
  background: #1a1e2e;
}

.engine-terminal__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #2a2e3e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.engine-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.engine-terminal__dot--red { background: #ff5f57; }
.engine-terminal__dot--yellow { background: #febc2e; }
.engine-terminal__dot--green { background: #28c840; }

.engine-terminal__titlebar-text {
  margin-left: 12px;
  font-family: var(--f-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.engine-terminal__titlebar-clock {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.40);
}

.engine-terminal__body {
  padding: 16px 18px 20px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: #e0e6f0;
}

.engine-terminal__line--dim {
  color: rgba(200, 210, 230, 0.50);
}

.engine-terminal__line--success {
  color: #4FAE4E;
}

.engine-terminal__prompt {
  color: #5bc3f5;
}

.engine-terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: rgba(91, 195, 245, 0.7);
  vertical-align: text-bottom;
  animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Terminal dock (macOS-style) ── */

.engine-terminal__dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0 8px;
  background: #232738;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.engine-terminal__dock-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.engine-terminal__dock-dot--active {
  background: rgba(42, 171, 238, 0.6);
}

/* ── Phone mockup (CSS-only) ── */

.engine-phone-mockup {
  position: absolute;
  width: 230px;
  right: -8px;
  bottom: -18px;
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(14, 24, 40, 0.12);
  box-shadow: 0 20px 44px rgba(10, 22, 40, 0.22);
}

.engine-phone__status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px 2px;
  background: #2AABEE;
}

.engine-phone__status-time {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
}

.engine-phone__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
  background: #2AABEE;
  color: #ffffff;
}

.engine-phone__header-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.engine-phone__status {
  font-family: var(--f-body);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.engine-phone__back {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.engine-phone__avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
}

.engine-phone__name {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
}

.engine-phone__chat {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #e5ddd5;
  min-height: 180px;
}

.engine-phone__msg {
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 11.5px;
  line-height: 1.45;
}

.engine-phone__msg--user {
  align-self: flex-end;
  background: #dcf8c6;
  color: #1a1a1a;
  border-bottom-right-radius: 3px;
}

.engine-phone__msg--bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1a1a1a;
  border-bottom-left-radius: 3px;
}

.engine-phone__msg-text {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-body);
  font-size: 11px;
  line-height: 1.45;
  color: #1a1a1a;
}

.engine-phone__code {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.55;
  padding: 6px 8px;
  border-radius: 6px;
  background: #1a1e2e;
  color: #e0e6f0;
}

.engine-phone__code-kw { color: #c792ea; }
.engine-phone__code-fn { color: #82aaff; }

.engine-phone__permission {
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  max-width: 88%;
}

.engine-phone__permission-label {
  margin: 0 0 4px;
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  color: #2AABEE;
  text-transform: capitalize;
}

.engine-phone__permission-text {
  margin: 0 0 8px;
  font-family: var(--f-body);
  font-size: 11px;
  color: #1a1a1a;
}

.engine-phone__permission-actions {
  display: flex;
  gap: 6px;
}

.engine-phone__btn {
  flex: 1;
  padding: 5px 0;
  border: none;
  border-radius: 6px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  cursor: default;
}

.engine-phone__btn--allow {
  background: #4FAE4E;
  color: #ffffff;
}

.engine-phone__btn--deny {
  background: #E53935;
  color: #ffffff;
}

.engine-phone__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f0f0f0;
}

.engine-phone__input-placeholder {
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-faint);
}

.engine-phone__input-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #2AABEE;
  flex-shrink: 0;
}

.engine-phone__input-send svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  margin-left: 1px;
}

/* Modes compare */

.modes-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.modes-card {
  padding: 30px;
  border-radius: 18px;
}

.modes-card h3 {
  font-family: var(--f-display);
  font-size: 24px;
  margin: 0 0 20px;
}

.modes-card--muted {
  background: rgba(255, 255, 255, 0.06);
}

.modes-card--accent {
  background: linear-gradient(160deg, rgba(42, 171, 238, 0.18), rgba(24, 98, 136, 0.12));
  border-color: rgba(91, 195, 245, 0.35);
}

.modes-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.64;
  color: rgba(230, 237, 243, 0.78);
}

/* Upgrade section */

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.upgrade-card {
  padding: 28px 24px;
  position: relative;
}

.upgrade-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  color: #DFF4FF;
  background: linear-gradient(135deg, #2AABEE, #186288);
}

.upgrade-card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 20px;
}

.upgrade-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(200, 210, 225, 0.72);
}

.upgrade-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.upgrade-metric {
  text-align: center;
  padding: 16px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.upgrade-metric strong {
  display: block;
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1;
  color: #EAF7FF;
}

.upgrade-metric span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(200, 210, 225, 0.66);
}

.upgrade-warning {
  margin-top: 24px;
}

/* Newsletter */

.newsletter-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding: 38px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(8, 16, 34, 0.22);
}

.newsletter-copy {
  max-width: 520px;
}

.newsletter-title {
  margin: 0;
  color: #F3FBFF;
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.newsletter-subtitle {
  margin: 10px 0 0;
  color: rgba(237, 248, 255, 0.84);
  font-size: 15px;
  line-height: 1.65;
}

.newsletter-form {
  width: min(620px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0 16px;
  font-family: var(--f-body);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(235, 245, 255, 0.75);
}

.newsletter-form button {
  height: 52px;
  min-width: 132px;
  border: 0;
  border-radius: 12px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  color: #09223A;
  background: #8EEBFF;
  cursor: pointer;
}

/* Hero — base values aligned with Figma node 77:6923 */

.figma-hero {
  min-height: 900px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  isolation: isolate;
  padding: 90px 24px 110px;
  background: radial-gradient(ellipse 130% 80% at 50% 100%, #163a6e 0%, #0f1f44 40%, #0a1734 100%);
}

.figma-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 340px at 10% 100%, rgba(42, 171, 238, 0.32), transparent 65%),
    radial-gradient(900px 340px at 90% 100%, rgba(42, 171, 238, 0.28), transparent 65%),
    radial-gradient(1100px 380px at 50% -40px, rgba(91, 195, 245, 0.12), transparent 62%);
  animation: hero-bg-pulse 8s ease-in-out infinite;
}

.figma-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
}

.figma-hero__orb--left {
  width: 700px;
  height: 500px;
  left: -150px;
  bottom: -100px;
  top: auto;
  background: radial-gradient(circle, rgba(42, 171, 238, 0.45) 0%, rgba(42, 171, 238, 0.08) 50%, transparent 70%);
  animation: hero-orb-left 12s ease-in-out infinite;
}

.figma-hero__orb--right {
  width: 650px;
  height: 550px;
  right: -180px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(91, 195, 245, 0.35) 0%, rgba(24, 98, 136, 0.08) 50%, transparent 70%);
  animation: hero-orb-right 14s ease-in-out infinite;
}

.figma-hero__inner {
  width: min(760px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.figma-hero__logo {
  margin-bottom: 120px;
  width: 238px;
  height: auto;
}

.figma-hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 1.0;
  letter-spacing: -2.94px;
  padding-bottom: 0.15em;
  background: linear-gradient(95deg, #FFF 0%, #B3E6FF 50%, #FFF 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-text-shimmer 6s ease-in-out infinite;
}

@keyframes hero-text-shimmer {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes hero-orb-left {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25%  { transform: translate(25vw, -10vh) scale(1.15); opacity: 0.8; }
  50%  { transform: translate(10vw, -25vh) scale(0.95); opacity: 0.5; }
  75%  { transform: translate(-5vw, -15vh) scale(1.1); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
}

@keyframes hero-orb-right {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.55; }
  25%  { transform: translate(-20vw, -10vh) scale(1.1); opacity: 0.75; }
  50%  { transform: translate(-8vw, -20vh) scale(1.2); opacity: 0.5; }
  75%  { transform: translate(-25vw, -5vh) scale(0.9); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
}

.figma-hero__subtitle {
  margin-top: 32px;
  max-width: 660px;
  font-family: var(--f-body);
  font-size: clamp(15px, 2vw, 16px);
  line-height: 27.2px;
  font-weight: 400;
  color: #ffffff;
}

.figma-hero__cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.figma-hero .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 241px;
  height: 56px;
  border-radius: 14px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  color: #0f1626;
  background: #5bc3f5;
  box-shadow: 0 0 44px rgba(42, 171, 238, 0.50);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.figma-hero .cta-button:hover {
  transform: translateY(-1px);
}

.figma-hero__meta {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 17.6px;
  letter-spacing: 0.11px;
  color: #ffffff;
}

@media (max-width: 767px) {
  .engine-spotlight {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .engine-spotlight__title {
    font-size: 34px;
  }

  .engine-spotlight__preview {
    min-height: 300px;
  }

  .engine-phone-mockup {
    width: 180px;
    right: -2px;
    bottom: -12px;
  }

  .engine-phone__chat {
    min-height: 140px;
  }

  .modes-compare,
  .upgrade-grid,
  .upgrade-metrics {
    grid-template-columns: 1fr;
  }

  .newsletter-wrap {
    padding: 26px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form button {
    width: 100%;
  }

  .figma-hero {
    min-height: 760px;
    padding-top: 60px;
    padding-bottom: 84px;
  }

  .figma-hero__logo {
    margin-bottom: 80px;
    width: 190px;
  }
}
