:root {
  --bg: #0d0c09;
  --panel: #15120b;
  --panel-light: #1d180d;
  --text: #f8fafc;
  --muted: #9ca3af;
  --primary: #f59e0b;
  --violet: #d97706;
  --line: rgba(255, 255, 255, .1);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: Inter, sans-serif; overflow-x: hidden; }
html { scrollbar-width: thin; scrollbar-color: #d97706 #0d0c09; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #0d0c09; }
::-webkit-scrollbar-thumb { background: linear-gradient(#fbbf24, #d97706); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #f59e0b; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), 1280px); margin-inline: auto; }

.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 24px 0; transform: translateY(-100px); animation: header-in .8s cubic-bezier(.16,1,.3,1) forwards; transition: padding .3s, background .3s, border-color .3s; }
.header.scrolled { padding: 16px 0; background: rgba(11, 11, 15, .8); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner, .nav, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; }
.brand { gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.brand-logo { width: 168px; height: auto; object-fit: contain; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 4px; background: linear-gradient(135deg, #f59e0b, #d97706); color: #1b1202; font-size: 20px; transition: transform .3s; }
.brand:hover .brand-mark { transform: scale(1.1); }
.nav { gap: 32px; }
.nav > a:not(.button) { position: relative; color: #b4b7c2; font-size: 14px; font-weight: 600; transition: color .2s; }
.nav > a:hover { color: white; }
.nav > .section-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 999px; background: #f59e0b; transform: scaleX(0); transform-origin: center; transition: transform .25s; box-shadow: 0 0 12px rgba(245,158,11,.65); }
.nav > .section-link.active { color: #fbbf24; }
.nav > .section-link.active::after { transform: scaleX(1); }
.language-switcher { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); }
.language-switcher > i { margin-left: 7px; color: #fbbf24; font-size: 15px; }
.language-button { min-width: 31px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; border: 0; border-radius: 999px; background: transparent; color: #8f929d; font-size: 11px; font-weight: 800; cursor: pointer; transition: color .2s, background .2s; }
.language-button:hover { color: white; }
.language-button.active { color: #1b1202; background: #f59e0b; }
.menu-toggle { display: none; border: 0; background: none; color: white; font-size: 27px; cursor: pointer; }

.button { position: relative; z-index: 2; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 16px 32px; background: var(--primary); color: #1b1202; font-weight: 700; cursor: pointer; transition: .3s; box-shadow: 0 14px 35px rgba(245,158,11,.2); overflow: hidden; }
.button i { font-size: 18px; font-weight: 400; }
.button:hover { transform: translateY(-2px); background: #fbbf24; box-shadow: 0 18px 40px rgba(245,158,11,.35); }
.button-small { padding: 10px 20px; font-size: 14px; font-weight: 700; }
.button-outline { color: white; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); box-shadow: none; }
.button-outline:hover { background: rgba(255, 255, 255, .12); }
.button-glow { background: #0d0c09; color: white; border-color: rgba(245,158,11,.55); box-shadow: 0 0 20px rgba(245,158,11,.55); }
.button-glow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(245,158,11,.2), rgba(217,119,6,.2)); opacity: 0; transition: opacity .3s; }
.button-glow:hover { color: white; border-color: #fbbf24; box-shadow: 0 0 30px rgba(245,158,11,.85); }
.button-glow:hover::after { opacity: 1; }

.hero { min-height: 100vh; height: max(100vh, 680px); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; padding: 80px 0 0; }
#particles, .grid-bg, .glow { position: absolute; inset: 0; }
#particles { width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grid-bg { z-index: 0; background-image: linear-gradient(to right, rgba(245,158,11,.09) 1px, transparent 1px), linear-gradient(to bottom, rgba(245,158,11,.09) 1px, transparent 1px); background-size: 4rem 4rem; mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%); }
.glow { width: 384px; height: 384px; border-radius: 50%; filter: blur(128px); mix-blend-mode: screen; pointer-events: none; }
.glow-one { background: rgba(245,158,11,.18); top: 25%; left: 25%; }
.glow-two { background: rgba(217,119,6,.17); top: auto; left: auto; right: 25%; bottom: 25%; }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; will-change: transform, opacity; }
.system-tag { display: flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 32px; border: 1px solid rgba(245,158,11,.3); background: rgba(245,158,11,.09); backdrop-filter: blur(4px); color: #fcd34d; border-radius: 99px; font: 12px "JetBrains Mono"; letter-spacing: .05em; }
.system-tag .status-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #fbbf24; animation: pulse 1.5s infinite; }
.system-tag .status-text { width: auto; height: auto; background: none; animation: none; }
.hero h1 { position: relative; margin-bottom: 24px; line-height: 1; }
.hero h1::before { content: ""; position: absolute; inset: -8px; background: linear-gradient(90deg, rgba(245,158,11,.22), rgba(217,119,6,.2)); filter: blur(24px); opacity: .5; }
.hero-terminal { display: block; width: min(520px, calc(100vw - 32px)); overflow: hidden; border: 1px solid rgba(245,158,11,.3); border-radius: 14px; background: rgba(10,9,6,.88); box-shadow: 0 20px 70px rgba(0,0,0,.48), 0 0 34px rgba(245,158,11,.12); color: #d1d5db; font: 500 13px/1.55 "JetBrains Mono", monospace; text-align: left; backdrop-filter: blur(12px); }
.terminal-bar { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 9px 13px; border-bottom: 1px solid rgba(245,158,11,.18); background: linear-gradient(90deg, rgba(245,158,11,.11), rgba(255,255,255,.025), rgba(245,158,11,.07)); color: #9ca3af; font-size: 10px; letter-spacing: .04em; }
.terminal-controls { display: flex; gap: 6px; }
.terminal-controls i { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; }
.terminal-controls i:first-child { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.7); }
.terminal-controls i:nth-child(2) { background: #a16207; }
.terminal-controls i:nth-child(3) { background: #4b5563; }
.terminal-signal { justify-self: end; color: #a3a3a3; font-size: 9px; text-transform: uppercase; }
.terminal-signal i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 8px #f59e0b; animation: pulse 1.5s infinite; }
.terminal-body { position: relative; z-index: 1; display: block; min-height: 154px; padding: 17px 20px 18px; }
.terminal-line { display: block; min-height: 22px; white-space: nowrap; }
.terminal-command b { color: #fbbf24; font-weight: 600; }
.terminal-command em { color: #d97706; font-style: normal; }
.terminal-typing { display: inline-block; width: 0; overflow: hidden; vertical-align: bottom; animation: terminal-type .9s steps(14, end) .55s forwards; }
.terminal-cursor { display: inline-block; width: 7px; height: 15px; margin-left: 3px; vertical-align: -3px; background: #fbbf24; box-shadow: 0 0 8px rgba(245,158,11,.65); animation: terminal-cursor .75s steps(1) infinite; }
.terminal-result { color: #9ca3af; opacity: 0; transform: translateY(5px); animation: terminal-line-in .35s ease forwards; }
.terminal-result i { margin-right: 8px; color: #f59e0b; }
.terminal-result-one { margin-top: 7px; animation-delay: 1.6s; }
.terminal-result-two { animation-delay: 1.85s; }
.terminal-result-three { animation-delay: 2.1s; }
.terminal-ready { margin-top: 7px; color: #fcd34d; opacity: 0; animation: terminal-line-in .4s ease 2.45s forwards; }
.terminal-ready b { color: #d97706; font-weight: 500; }
.terminal-pulse { display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 9px #f59e0b; animation: pulse 1.4s 2.8s infinite; }
.hero h2 { max-width: 680px; margin-bottom: 20px; color: #e5e7eb; font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.hero p { max-width: 672px; margin: 0 0 48px; color: #9ca3af; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.radar-button { position: relative; }
.radar-ring { position: absolute; inset: 0; border: 2px solid rgba(245,158,11,.5); border-radius: 999px; pointer-events: none; animation: radar-primary 2s ease-out infinite; }
.radar-ring-delayed { border-color: rgba(245,158,11,.3); animation-delay: 1s; }
.radar-secondary .radar-ring { border-width: 1px; border-color: rgba(255,255,255,.3); animation: radar-secondary 2.5s ease-out .5s infinite; }
.button-aura { position: absolute; inset: -4px; border-radius: 999px; filter: blur(8px); transition: opacity .5s; pointer-events: none; }
.radar-primary .button-aura { background: linear-gradient(90deg, #f59e0b, #d97706); opacity: .7; animation: pulse-glow 3s ease-in-out infinite; }
.radar-secondary .button-aura { background: rgba(255,255,255,.3); opacity: 0; }
.radar-secondary:hover .button-aura { opacity: .5; animation: pulse 2s infinite; }
.button-outline { box-shadow: 0 0 15px rgba(255,255,255,.15); }
.button-outline:hover { border-color: rgba(255,255,255,.4); box-shadow: 0 0 25px rgba(255,255,255,.3); }
.scroll-hint { position: absolute; z-index: 2; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #6b7280; font-size: 12px; letter-spacing: .1em; opacity: 0; animation: fade-in 1s 1.5s forwards; }
.scroll-hint i { color: #6b7280; font-size: 25px; line-height: 16px; animation: bounce 2s ease-in-out infinite; }
.hero-enter { opacity: 0; transform: translateY(30px); animation: hero-in .8s ease forwards; }
.hero-delay-1 { transform: translateY(20px); animation-delay: .2s; }
.hero-delay-2 { animation-delay: .4s; }.hero-delay-3 { animation-delay: .6s; }.hero-delay-4 { animation-delay: .8s; }.hero-delay-5 { animation-delay: 1s; }

.section { position: relative; padding: 128px 0; overflow: hidden; }
.ambient-section {
  background-color: #100d07;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(245,158,11,.11), transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(217,119,6,.09), transparent 35%);
  background-size: 125% 125%, 130% 130%;
  animation: ambient-background 16s ease-in-out infinite alternate;
}
.bordered::before, .bordered::after { content: ""; position: absolute; z-index: 2; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(245,158,11,.45), transparent); }
.bordered::before { top: 0; }.bordered::after { bottom: 0; background: linear-gradient(90deg, transparent, rgba(217,119,6,.45), transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.eyebrow { color: #fbbf24 !important; font: 13px "JetBrains Mono"; letter-spacing: .06em; margin-bottom: 16px !important; }
.section h2 { font-family: "Space Grotesk"; font-size: clamp(30px, 4vw, 45px); line-height: 1.08; letter-spacing: -.045em; }
.section h2 span, .section-heading h2 span { color: transparent; background: linear-gradient(90deg, #fbbf24, #d97706); background-clip: text; }
.title-line { width: 80px; height: 4px; border-radius: 4px; background: #f59e0b; margin: 22px 0 30px; }
.lead { margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.section-heading { max-width: 672px; text-align: center; margin: 0 auto 80px; }
.section-heading > p:last-child { color: var(--muted); font-size: 19px; line-height: 1.65; margin-top: 20px; }

.terminal { margin-top: 36px; border: 1px solid var(--line); background: #0f111a; border-radius: 15px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.terminal-top { position: relative; display: flex; gap: 7px; padding: 13px 16px; background: #1a1d27; border-bottom: 1px solid var(--line); }
.terminal-top i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.terminal-top i:nth-child(2) { background: #eab308; }
.terminal-top i:nth-child(3) { background: #22c55e; }
.terminal-top span { position: absolute; left: 50%; transform: translateX(-50%); color: #858896; font: 11px "JetBrains Mono"; }
.terminal pre { padding: 25px; overflow-x: auto; font: 13px/1.8 "JetBrains Mono"; color: #e5e7eb; }
.terminal pre b { color: #f472b6; }.terminal pre em { color: #4ade80; font-style: normal; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .3s, background .3s; backdrop-filter: blur(4px); }
.feature-card:hover { transform: translateY(-5px) scale(1.02); background: rgba(255,255,255,.1); }
.icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: #fbbf24; background: rgba(245,158,11,.12); font: 700 23px "Space Grotesk"; }
.icon i { font-family: "remixicon"; font-size: 28px; font-weight: 400; }
.feature-card h3, .service-card h3 { margin: 20px 0 9px; font-size: 19px; }
.feature-card p, .service-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.cards { display: grid; gap: 24px; }.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; min-height: 278px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #0f111a; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 10px 40px -10px rgba(245,158,11,.3); }
.service-border { position: absolute; inset: -1px; border-radius: 24px; background: linear-gradient(90deg, #f59e0b, #fbbf24, #d97706); filter: blur(4px); opacity: 0; transition: opacity .5s; animation: pulse-glow 3s ease-in-out infinite; }
.service-surface { position: absolute; inset: 1px; z-index: 0; border-radius: 23px; background: #0f111a; }
.service-glow, .service-glow.violet, .service-glow.blue, .service-glow.green, .service-glow.amber, .service-glow.rose { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(245,158,11,.2), transparent); opacity: 0; transition: opacity .5s; }
.service-card:hover .service-border, .service-card:hover .service-glow { opacity: 1; }
.service-content { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.service-card .icon { margin-bottom: 24px; transition: transform .3s; }.service-card:hover .icon { transform: scale(1.1); }
.service-card h3 { margin: 0 0 16px; font-size: 24px; transition: color .3s; }.service-card:hover h3 { color: #fbbf24; }
.service-card p { font-size: 16px; line-height: 1.65; }

.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; }
.project { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--panel); }
.project { grid-column: span 2; }
.project:nth-child(4) { grid-column: 2 / span 2; }
.project:nth-child(5) { grid-column: 4 / span 2; }
.project { transition: transform .3s; }.project:hover, .project:focus { transform: translateY(-10px); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0b0b0f, rgba(11,11,15,.5), transparent); opacity: .8; transition: opacity .3s; }
.project:hover::after { opacity: .9; }
.project > div { position: absolute; z-index: 2; inset: auto 0 0; padding: 32px; transform: translateY(16px); transition: transform .3s; }
.project small { color: #fbbf24; font-size: 14px; font-weight: 500; }.project h3 { margin: 8px 0; font-size: 24px; }.project p { color: #d1d5db; font-size: 12px; opacity: 0; transition: opacity .3s .1s; }
.project:hover img, .project:focus img { transform: scale(1.1); }
.project:hover > div, .project:focus > div { transform: none; }
.project:hover p, .project:focus p { opacity: 1; }

.differentials-section { min-height: 770px; display: flex; align-items: center; isolation: isolate; }
.differentials-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .96fr; align-items: center; gap: 80px; }
.differentials-copy h2 { font-family: Inter, sans-serif; font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.differentials-copy .lead { max-width: 580px; margin-top: 64px; color: #a1a1aa; font-size: 15px; line-height: 1.7; }
.check-list { display: grid; margin-top: 27px; }
.check-list > div { display: flex; gap: 15px; min-height: 93px; padding: 25px 0; color: #9ca3af; line-height: 1.5; border-bottom: 1px solid rgba(255,255,255,.08); }
.check-list > div:last-child { border-bottom: 0; }
.check-list i { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; margin-top: 1px; border: 1px solid rgba(245,158,11,.45); border-radius: 50%; background: rgba(245,158,11,.1); color: #fbbf24; font-style: normal; font-size: 12px; font-weight: 800; box-shadow: inset 0 0 14px rgba(245,158,11,.08); }
.check-list b { display: block; color: white; font-size: 15px; margin-bottom: 5px; }
.check-list b + span { display: block; }
.performance-panel { overflow: hidden; border: 1px solid rgba(245,158,11,.18); border-radius: 20px; background: rgba(21,18,11,.9); box-shadow: 0 24px 80px rgba(0,0,0,.45), 0 0 55px rgba(245,158,11,.08); backdrop-filter: blur(8px); }
.performance-hero { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(251,191,36,.34), transparent 32%), linear-gradient(135deg, #3b2603, #8a4d05 48%, #422804); }
.performance-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(to bottom, #000, transparent); }
.performance-orbit { position: absolute; width: 160px; height: 160px; border: 1px solid rgba(251,191,36,.2); border-radius: 50%; animation: orbit-pulse 3s ease-in-out infinite; }
.performance-orbit::before, .performance-orbit::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(251,191,36,.16); border-radius: 50%; }
.performance-orbit::after { inset: 48px; }
.rocket { position: relative; z-index: 1; color: #fbbf24; font-size: 64px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.35)); animation: rocket-float 3.5s ease-in-out infinite; }
.performance-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px; }
.performance-stats article { min-height: 86px; display: flex; flex-direction: column; justify-content: center; padding: 15px 17px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: rgba(255,255,255,.035); transition: border-color .3s, background .3s, transform .3s; }
.performance-stats article:hover { transform: translateY(-3px); border-color: rgba(245,158,11,.28); background: rgba(245,158,11,.055); }
.performance-stats strong { color: #f5f5f4; font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.performance-stats strong span { color: #f59e0b; }
.performance-stats small { margin-top: 8px; color: #9ca3af; font-size: 11px; }

.contact::before { content: ""; position: absolute; width: 700px; height: 700px; background: rgba(245,158,11,.09); filter: blur(120px); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; }
.contact-info { display: grid; gap: 20px; }
.contact-info article, .contact-form { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding: 30px; }
.contact-info h3 { margin: 18px 0 10px; font-size: 23px; }.contact-info p { color: var(--muted); line-height: 1.7; }
.contact-info a { display: inline-flex; align-items: center; gap: 8px; color: #fbbf24; font-weight: 700; margin-top: 20px; }
.contact-info .contact-button { width: fit-content; padding: 12px 22px; color: #1b1202; border-radius: 999px; }
.contact-form { padding: 38px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; color: #d1d5db; font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; color: white; background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; outline: 0; resize: vertical; transition: .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.contact-form .button { border-radius: 12px; margin-top: 5px; }
.contact-form .button:disabled { cursor: wait; opacity: .7; transform: none; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 22px; margin: -4px 0 0; font-size: 13px; line-height: 1.55; }
.form-status.is-success { color: #86efac; }
.form-status.is-error { color: #fca5a5; }

footer { border-top: 1px solid var(--line); padding: 60px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-grid p, .footer-grid a, .footer-grid span:not(.brand-mark) { color: var(--muted); line-height: 1.7; }
.footer-grid p { max-width: 380px; margin-top: 12px; }
.footer-grid h3 { font-size: 15px; margin-bottom: 7px; }
.footer-grid a:hover { color: white; }
.copyright { border-top: 1px solid var(--line); padding-top: 25px; color: #656875; font-size: 13px; }

.modal { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 25px; background: rgba(0,0,0,.82); backdrop-filter: blur(14px); }
.modal.open { display: grid; }
.modal-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(950px, 100%); max-height: 90vh; overflow: auto; border: 1px solid var(--line); background: #12131c; border-radius: 26px; animation: modal-in .25s ease-out; }
.modal-card > img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.modal-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 50px; }
.modal-copy small { color: #fbbf24; text-transform: uppercase; letter-spacing: .08em; }
.modal-copy h2 { font: 700 38px/1.1 "Space Grotesk"; margin: 14px 0 22px; }
.modal-copy > p { color: var(--muted); line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 32px; }
.tags span { padding: 7px 11px; color: #fde68a; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.2); border-radius: 99px; font-size: 12px; }
.modal-close { position: absolute; z-index: 2; right: 15px; top: 15px; width: 38px; height: 38px; display: grid; place-items: center; color: white; border: 1px solid var(--line); background: rgba(0,0,0,.45); border-radius: 50%; font-size: 23px; cursor: pointer; }

.reveal { opacity: 0; transition: opacity .6s, transform .6s; transition-delay: var(--reveal-delay, 0ms); }
.reveal-up { transform: translateY(20px); }.reveal-left { transform: translateX(-50px); transition-duration: .8s; }.reveal-right { transform: translateX(50px); transition-duration: .8s; }.reveal-scale { transform: scale(.9); }
.reveal.visible { opacity: 1; transform: none; }
.section:target .reveal { opacity: 1; transform: none; }
@keyframes header-in { to { transform: translateY(0); } }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 15px #fbbf24; } }
@keyframes pulse-glow { 0%,100% { opacity: 1; box-shadow: 0 0 20px rgba(245,158,11,.45); } 50% { opacity: .8; box-shadow: 0 0 40px rgba(217,119,6,.75); } }
@keyframes radar-primary { from { transform: scale(1); opacity: .5; } to { transform: scale(1.3); opacity: 0; } }
@keyframes radar-secondary { from { transform: scale(1); opacity: .3; } to { transform: scale(1.2); opacity: 0; } }
@keyframes gradient { to { background-position: 200%; } }
@keyframes bounce { 50% { transform: translateY(8px); } }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(200%); } }
@keyframes float { 50% { transform: translateY(-20px); } }
@keyframes float-down { 50% { transform: translateY(20px); } }
@keyframes rocket-float { 50% { transform: translate(7px, -13px) rotate(3deg); } }
@keyframes orbit-pulse { 50% { transform: scale(1.14); opacity: .45; } }
@keyframes ambient-background {
  0% { background-position: 0% 0%, 100% 100%; }
  50% { background-position: 7% 5%, 94% 92%; }
  100% { background-position: 13% 9%, 87% 84%; }
}
@keyframes modal-in { from { opacity: 0; transform: scale(.95) translateY(15px); } }
@keyframes terminal-type { to { width: 15ch; } }
@keyframes terminal-cursor { 50% { opacity: 0; } }
@keyframes terminal-line-in { to { opacity: 1; transform: translateY(0); } }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.cursor-dot { z-index: 9999; width: 16px; height: 16px; background: #f59e0b; }
.cursor-ring { z-index: 9998; width: 40px; height: 40px; border: 1px solid #f59e0b; transition: background-color .2s; }
.cursor-dot.active, .cursor-ring.active { opacity: 1; }
.cursor-dot.hovering { transform: scale(0); }
.cursor-ring.hovering { background: rgba(245,158,11,.18); }

@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 18px; background: #11121a; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.4); }
  .nav.open { display: flex; }.nav > a { padding: 13px; }.nav .button { margin-top: 8px; }
  .nav > .section-link::after { top: 50%; right: auto; bottom: auto; width: 3px; height: 22px; transform: translateY(-50%) scaleY(0); }
  .nav > .section-link.active::after { transform: translateY(-50%) scaleY(1); }
  .language-switcher { width: fit-content; margin: 12px 13px 4px; }
  .split, .contact-grid, .differentials-layout { grid-template-columns: 1fr; gap: 55px; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .project, .project:nth-child(4), .project:nth-child(5) { grid-column: auto; }
  .modal-card { grid-template-columns: 1fr; }.modal-card > img { height: 280px; min-height: 0; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-logo { width: 145px; }
  .section { padding: 85px 0; }
  .hero-terminal { width: min(100%, 370px); font-size: 10px; }
  .terminal-bar { padding: 8px 10px; font-size: 8px; }
  .terminal-body { min-height: 137px; padding: 14px 15px 15px; }
  .terminal-line { min-height: 19px; }
  .terminal-cursor { width: 6px; height: 12px; vertical-align: -2px; }
  .hero h2 { font-size: 18px; }.hero p { font-size: 16px; }
  .system-tag { font-size: 9px; }
  .hero-actions { width: 100%; flex-direction: column; }.hero-actions .button { width: 100%; }
  .feature-grid, .services-grid, .portfolio-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 12px; }.feature-card { padding: 22px; }
  .service-card { min-height: auto; }
  .project > div { transform: none; }.project p { opacity: 1; }
  .differentials-copy .lead { margin-top: 36px; }
  .performance-hero { min-height: 180px; }
  .contact-form { padding: 24px; }
  .footer-grid { gap: 35px; }
  .modal { padding: 10px; }.modal-copy { padding: 30px 22px; }.modal-copy h2 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
