/* --------------------------------------------------------------------------
   adnoryx.eu - Styles
   -------------------------------------------------------------------------- */

:root {
  /* Dark theme */
  --bg-page: #0b0c0f;
  --bg-card: #121419;
  --bg-card-inner: #0d0f13;
  --bg-card-hover: #171a22;
  --bg-input: #0b0d11;

  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #ff4d2d;

  --text-title: #ffffff;
  --text-body: #c4c9d4;
  --text-muted: #7d8494;

  --accent-coral: #ff4d2d;
  --accent-coral-hover: #e63f20;
  --primary: #ff4d2d;

  --star-color: #f59e0b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;

  --max-w: 1040px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Light theme */
  --bg-page: #f2f4f8;
  --bg-card: #ffffff;
  --bg-card-inner: #f8fafc;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;

  --border: rgba(0, 0, 0, 0.08);
  --border-focus: #ff4d2d;

  --text-title: #0a0b0e;
  --text-body: #333a48;
  --text-muted: #64748b;

  --accent-coral: #ff4d2d;
  --accent-coral-hover: #e63f20;
  --primary: #ff4d2d;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
}

section[id], article[id], div[id] {
  scroll-margin-top: 90px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

a, a:visited {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Watermark */
.bg-watermark {
  position: fixed;
  top: 50%;
  left: -140px;
  transform: translateY(-50%) rotate(-90deg);
  font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ffffff;
  opacity: 0.048;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  text-transform: lowercase;
  isolation: isolate;
}

[data-theme="light"] .bg-watermark {
  color: #000000;
  opacity: 0.055;
}

.studio-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="light"] .site-header {
  background-color: rgba(242, 244, 248, 0.85);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

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

.nav-a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-a:hover {
  color: var(--text-title);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-title);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
}

.theme-btn:hover {
  border-color: var(--accent-coral);
}

.theme-btn svg {
  width: 14px;
  height: 14px;
}

.coral {
  color: var(--accent-coral);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-title);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

[data-theme="light"] .btn-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.btn-pill:hover {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-pill-coral {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: #ffffff;
}

.btn-pill-coral:hover {
  background: var(--accent-coral-hover);
  border-color: var(--accent-coral-hover);
  transform: translateY(-1px);
}

/* Hero */
.hero-editorial {
  padding: 4.5rem 0 3.5rem;
}

.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: end;
}

.hero-statement-main {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-title);
  margin-bottom: 1.5rem;
}

.hero-lead-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.hero-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #10b981;
}

.hero-status-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.hero-side-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
}

.hero-side-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Featured Project */
.featured-showcase-wrap {
  margin: 3.5rem 0;
}

.featured-project-card {
  background: linear-gradient(135deg, #101c11 0%, #0a110b 60%, #0d0f13 100%);
  border: 1px solid rgba(190, 242, 100, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.featured-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.greentaxi-logo {
  height: 44px;
  width: auto;
}

.gt-live-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #bef264;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(190, 242, 100, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.featured-visual-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.gt-headline {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.gt-subtext {
  color: #bef264;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gt-description {
  font-size: 0.94rem;
  color: #d1fae5;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.gt-car-img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.8));
}

.gt-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gt-metric-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
}

.gt-metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.gt-metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Services */
.services-section-wrap {
  margin: 4rem 0;
}

.services-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-duo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition), transform var(--transition);
}

.service-duo-card:hover {
  border-color: var(--accent-coral);
  transform: translateY(-2px);
}

.num-wireframe {
  width: 110px;
  height: 75px;
  color: var(--text-title);
  margin-bottom: 1.25rem;
}

.service-duo-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.service-duo-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-sublist-table {
  border-top: 1px solid var(--border);
}

.service-sublist-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-body);
}

.service-sublist-row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Unity Gamedev */
.unity-section-wrap {
  margin: 4rem 0;
}

.unity-craft-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.unity-viewport-card {
  background: #090a0d;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.unity-viewport-card img {
  width: 100%;
  height: auto;
  display: block;
}

.unity-text-box h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.unity-text-box p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.unity-note-clean {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent-coral);
  padding-left: 0.85rem;
  line-height: 1.5;
}

/* Reviews */
.reviews-section-wrap {
  margin: 4rem 0;
}

.reviews-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.reviews-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.reviews-empty-clean {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.reviews-empty-clean p {
  margin: 0;
}

.reviews-link-btn {
  background: none;
  border: none;
  color: var(--accent-coral);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.reviews-link-btn:hover {
  opacity: 0.8;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.review-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-author-name {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.96rem;
}

.review-stars {
  color: var(--star-color);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-card-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.review-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Modal */
.review-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.review-modal-backdrop.is-open {
  display: flex;
}

.review-modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
}

.review-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
}

.review-modal-close:hover {
  color: var(--text-title);
}

.star-rating-select {
  display: flex;
  gap: 6px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--border);
  margin-bottom: 1rem;
}

.star-rating-select span {
  transition: color 0.15s ease;
}

.star-rating-select span.selected,
.star-rating-select span.hovered {
  color: var(--star-color);
}

/* Contact */
.closing-combo-wrap {
  margin: 4rem 0 3rem;
}

.closing-combo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.closing-left-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.closing-left-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.process-compact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.process-compact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.process-compact-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-coral);
  padding-top: 1px;
}

.process-compact-content h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.2rem;
}

.process-compact-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.assurances-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-body);
}

.assurance-bullet {
  color: var(--accent-coral);
  margin-right: 0.35rem;
}

.closing-form-card {
  background: var(--bg-card-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-title);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-feedback {
  display: none;
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.4rem;
}

.form-group.has-error .form-feedback {
  display: block;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent-coral);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}

.btn-submit:hover {
  background: var(--accent-coral-hover);
}

.btn-submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Legal pages */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
}

.legal-card h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.legal-card .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-coral);
  margin-bottom: 2.25rem;
  display: inline-block;
}

.legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.65rem;
}

.legal-section p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.legal-section li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  font-weight: bold;
}

/* Footer & Cookies */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 99;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.site-footer {
  padding: 3rem 0 4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-info {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-links a,
.footer-links a:visited {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  z-index: 40;
}

.mobile-sticky-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .featured-visual-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gt-metrics-row {
    grid-template-columns: 1fr;
  }

  .services-duo-grid {
    grid-template-columns: 1fr;
  }

  .unity-craft-card {
    grid-template-columns: 1fr;
  }

  .closing-combo-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-editorial {
    padding: 3rem 0 2rem;
  }

  .hero-statement-main {
    font-size: 1.85rem;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 64px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 74px;
    max-width: none;
  }
}
