/* CreateSolution — modern static landing */

:root {
  --bg: #07080c;
  --bg-elevated: #0e1017;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --accent: #3ee8b6;
  --accent-2: #5b8cff;
  --gradient: linear-gradient(135deg, #3ee8b6 0%, #5b8cff 50%, #a78bfa 100%);
  --radius: 2px;
  --radius-sm: 0px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 12, 0.75);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switch__btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.6rem;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-switch__btn:last-child {
  border-right: none;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.is-active {
  background: rgba(91, 140, 255, 0.18);
  color: var(--text);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo--small {
  font-size: 0.95rem;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--gradient);
  color: #07080c;
  font-size: 0.75rem;
  font-weight: 700;
}

.logo__text {
  text-transform: lowercase;
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
  font-size: 1.0625rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--gradient);
  color: #07080c;
  box-shadow: 0 8px 32px rgba(62, 232, 182, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(91, 140, 255, 0.35);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--secondary {
  background: rgba(91, 140, 255, 0.12);
  border-color: rgba(91, 140, 255, 0.35);
  color: var(--text);
}

.btn--secondary:hover {
  background: rgba(91, 140, 255, 0.2);
}

.btn--light {
  background: #fff;
  color: #07080c;
}

.btn--light:hover {
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__rect {
  position: absolute;
  border-radius: var(--radius);
  opacity: 0.35;
}

.hero__rect--1 {
  width: 200px;
  height: 140px;
  background: linear-gradient(145deg, #5b8cff, transparent);
  top: 8%;
  right: 8%;
  border: 1px solid rgba(91, 140, 255, 0.35);
}

.hero__rect--2 {
  width: 160px;
  height: 100px;
  background: linear-gradient(145deg, #3ee8b6, transparent);
  bottom: 12%;
  left: 5%;
  border: 1px solid rgba(62, 232, 182, 0.3);
}

.glass-card {
  position: relative;
  margin-left: auto;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(14, 16, 23, 0.65);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.glass-card__row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--text-muted);
}

.dot--ok {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.dot--pulse {
  background: var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.glass-card__bar {
  height: 6px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 1rem 0 0.5rem;
}

.glass-card__bar span {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  background: var(--gradient);
}

.glass-card__caption {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--tint {
  background: linear-gradient(180deg, transparent, rgba(91, 140, 255, 0.04) 40%, transparent);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__title--light {
  color: #fff;
}

.section__subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 2.5rem;
}

.section__subtitle a {
  color: var(--accent-2);
  font-weight: 500;
}

.section__subtitle a:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(62, 232, 182, 0.25);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Projects & tabs */
.project-tabs {
  margin-bottom: 2.5rem;
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.tabs__tab {
  flex: 1 1 160px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.85rem 0.75rem;
  border: none;
  border-right: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tabs__tab:last-child {
  border-right: none;
}

.tabs__tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.tabs__tab.is-active {
  color: var(--text);
  background: rgba(91, 140, 255, 0.14);
  box-shadow: inset 0 -2px 0 0 var(--accent-2);
}

.tabs__panels {
  min-height: 0;
}

.tabs__panel {
  display: none;
}

.tabs__panel.is-active {
  display: block;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-grid--tabs {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .tabs__tab {
    flex: 1 1 45%;
    min-width: 0;
  }
}

.project-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.2s;
}

.project-card:hover {
  border-color: rgba(91, 140, 255, 0.35);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  background: rgba(62, 232, 182, 0.12);
  color: var(--accent);
}

.tag--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.project-card p {
  flex: 1;
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.project-card .link-arrow {
  align-self: flex-start;
}

.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow--second {
  margin-top: 0.5rem;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.fh-reviews-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.review-card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(14, 16, 23, 0.65);
}

.review-card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
  line-height: 1.5;
}

.review-card footer {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-card a {
  color: var(--accent-2);
  font-weight: 500;
}

.about__text a {
  color: var(--accent-2);
  font-weight: 500;
}

.about__text a:hover {
  text-decoration: underline;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.about__text {
  color: var(--text-muted);
  margin: 0;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.stats li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.stats li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stats strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* CTA */
.section--cta {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(62, 232, 182, 0.15) 0%, rgba(91, 140, 255, 0.2) 50%, rgba(167, 139, 250, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta__lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 420px;
  margin: 0.5rem 0 0;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.75rem 2rem;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.0625rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}
