:root {
  --bg: #04152f;
  --bg-2: #0b2f68;
  --bg-3: #0e56d8;
  --line: rgba(255,255,255,0.16);
  --text: #f7fbff;
  --muted: #b5cbed;
  --ink: #0b1730;
  --soft: #eef5ff;
  --card: rgba(255,255,255,0.06);
  --card-strong: rgba(255,255,255,0.1);
  --accent: #e62f22;
  --accent-dark: #b91f16;
  --accent-soft: #fde9e7;
  --accent-2: #ff6b60;
  --radius: 24px;
  --shadow: 0 12px 60px rgba(8,24,51,.20);
  --container: 1240px;
  --transition: 320ms cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #04101f 0%, #072a59 50%, #eaf3ff 50%, #f7fbff 100%);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, .brand-text, .footer-brand {
  font-family: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  font-feature-settings: 'ss01' on, 'liga' on;
}

button { font: inherit; }
img { max-width: 100%; display: block; }

.page-shell { overflow: clip; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(2, 14, 34, .42);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(145deg, #ff6b60, #e62f22 58%, #a81912);
  display: grid; place-items: center; font-weight: 800; color: white; box-shadow: 0 8px 24px rgba(230,47,34,.32);
}
.brand-text { display: flex; flex-direction: column; line-height: .95; gap: 4px; font-weight: 800; letter-spacing: -.03em; }
.brand-text span:last-child { opacity: .94; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: rgba(255,255,255,.78); font-size: 15px; transition: color var(--transition); }
.site-nav a:hover, .footer-links a:hover { color: #fff; }
.site-nav a:hover { color: #ff8c84; }
.project-card:hover .project-topline, .service-card:hover .service-icon { color: var(--accent-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display:none; background:none; border:none; color:#fff; font-size:28px; }

.lang-switcher {
  display: inline-flex; padding: 4px; gap: 4px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); border-radius: 999px;
}
.lang-btn {
  border: none; background: transparent; color: rgba(255,255,255,.8); padding: 9px 12px;
  border-radius: 999px; cursor: pointer; transition: all var(--transition);
}
.lang-btn.active { background: rgba(230,47,34,.92); color: #fff; box-shadow: 0 6px 18px rgba(230,47,34,.24); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 600;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #f04a3e, var(--accent)); color: #fff; box-shadow: 0 10px 30px rgba(230,47,34,.30); }
.btn-secondary { border: 1px solid rgba(255,255,255,.22); color: #fff; background: transparent; }
.btn-secondary.is-light { color: var(--ink); border-color: rgba(11,23,48,.18); background: rgba(255,255,255,.7); }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 28%, rgba(114, 193, 255, .33), transparent 26%),
    radial-gradient(circle at 18% 12%, rgba(32, 100, 255, .18), transparent 32%),
    linear-gradient(135deg, #031326 0%, #072857 42%, #0a4dc1 100%);
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .88;
}
.hero-glow {
  position: absolute; inset: auto auto 5% 52%; width: 520px; height: 520px; border-radius: 50%;
  filter: blur(90px); background: radial-gradient(circle, rgba(114,193,255,.28), transparent 68%); z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 110px 0 70px;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(199,224,255,.92); margin-bottom: 18px;
}
.text-blue { color: var(--accent); }
.hero h1 {
  margin: 0 0 20px; font-size: clamp(50px, 7vw, 92px); line-height: .95; letter-spacing: -.06em; max-width: 720px;
}
.hero-description {
  margin: 0; max-width: 690px; font-size: 19px; line-height: 1.7; color: var(--muted);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; max-width: 700px;
}
.hero-stats div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats strong { display:block; font-size: 34px; margin-bottom: 6px; }
.hero-stats span { color: rgba(220,235,255,.8); font-size: 14px; }
.hero-card-stack { position: relative; min-height: 560px; }
.floating-card {
  position: absolute; right: 0; width: min(420px, 100%); padding: 24px;
  border-radius: 24px; border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  box-shadow: var(--shadow); backdrop-filter: blur(16px);
  animation: floatY 8s ease-in-out infinite;
}
.floating-card:nth-child(1) { top: 52px; }
.floating-card:nth-child(2) { top: 220px; right: 26px; animation-delay: -2s; }
.floating-card:nth-child(3) { top: 392px; right: 8px; animation-delay: -4s; }
.floating-card h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.045em; font-weight: 500; }
.floating-card p { margin: 0; color: rgba(230,241,255,.82); line-height: 1.65; }
.card-kicker {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; margin-bottom: 14px; font-size: 12px; font-weight: 700;
  background: rgba(230,47,34,.16); color: #ffd1cd; border: 1px solid rgba(255,107,96,.32);
}
.card-lg { width: min(460px, 100%); }

.section { padding: 110px 0; position: relative; }
.section-light { color: var(--ink); background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%); }
.section-blue {
  background: linear-gradient(180deg, #edf5ff 0%, #f7fbff 100%); color: var(--ink);
}
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 {
  margin: 0 0 16px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.05em;
}
.section-head p { margin: 0; color: #50627b; font-size: 18px; line-height: 1.75; }

.projects-grid,
.services-grid { display: grid; gap: 22px; }
.projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.services-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.project-card,
.service-card,
.company-panel,
.cta-panel {
  border-radius: 28px; background: rgba(255,255,255,.75); border: 1px solid rgba(17, 75, 170, .08);
  box-shadow: 0 14px 50px rgba(17,56,120,.08);
}
.project-card {
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover, .service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(17,56,120,.12); }
.project-visual { height: 224px; background-size: cover; background-position: center; }
.visual-bunyodkor { background: linear-gradient(140deg, #1c65e7, #8fd0ff 56%, #163d7e); position: relative; }
.visual-bunyodkor::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 62% 62%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 13%), linear-gradient(0deg, rgba(255,255,255,.08), rgba(255,255,255,.08)); clip-path: polygon(64% 18%, 75% 55%, 65% 55%, 74% 82%, 50% 82%, 58% 55%, 49% 55%); }
.visual-menyu { background: linear-gradient(140deg, #0a1d38, #114fb4 56%, #84d1ff); position: relative; }
.visual-menyu::before,
.visual-menyu::after { content: ''; position:absolute; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.visual-menyu::before { width: 120px; height: 220px; background: linear-gradient(180deg, #fafcff, #dce9ff); right: 42px; top: 16px; transform: rotate(8deg); }
.visual-menyu::after { width: 140px; height: 240px; background: linear-gradient(180deg, #ffffff, #eef5ff); right: 112px; top: 10px; opacity:.9; }
.visual-future { background: radial-gradient(circle at 50% 30%, #9cd9ff, transparent 18%), linear-gradient(135deg, #08204a, #0e56d8 54%, #67bfff); position: relative; overflow: hidden; }
.visual-future::after { content:''; position:absolute; inset:0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 68%); animation: sweep 5s linear infinite; }
.project-body { padding: 24px; }
.project-body h3 { margin: 0 0 10px; font-size: 31px; letter-spacing: -.045em; font-weight: 500; }
.project-body p { margin: 0 0 18px; color: #50627b; line-height: 1.7; }
.project-topline { color:var(--accent); font-weight:700; margin-bottom:12px; }
.status-pill {
  display:inline-flex; align-items:center; padding:9px 14px; border-radius:999px; background:var(--accent-soft); color:var(--accent-dark); font-size:13px; font-weight:700;
}
.status-pill.is-progress { background:rgba(230,47,34,.10); color:var(--accent); }
.status-pill.is-outline { background:transparent; border:1px solid rgba(230,47,34,.28); color:var(--accent); }

.service-card { padding: 26px; }
.service-icon {
  width: 54px; height: 54px; display:grid; place-items:center; border-radius: 16px;
  background: linear-gradient(135deg, #fff4f3, #fde2df); color:var(--accent); font-weight: 800; margin-bottom: 18px;
}
.service-card h3 { margin:0 0 10px; font-size: 26px; letter-spacing: -.04em; font-weight: 500; }
.service-card p { margin:0; color:#51637e; line-height:1.7; }

.company-grid { display:grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: start; }
.company-copy h2 {
  margin: 0 0 18px; font-size: clamp(38px, 4.5vw, 66px); line-height: .98; letter-spacing: -.05em;
}
.company-copy p { color:#4f627d; font-size:18px; line-height:1.8; margin: 0 0 14px; }
.company-panel { padding: 18px 24px; }
.info-row {
  display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 0; border-bottom:1px solid rgba(17,75,170,.09);
}
.info-row:last-child { border-bottom:none; }
.info-row span { color:#51637e; }
.info-row strong { color:#0b1730; max-width: 56%; text-align: right; }

.cta-section {
  background: linear-gradient(135deg, #06214a 0%, #0a46a8 55%, #0f65e5 100%);
  color:#fff;
}
.cta-panel {
  display:grid; grid-template-columns: 1fr auto; gap: 30px; align-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.06)); border:1px solid rgba(255,255,255,.16);
  padding: 36px; backdrop-filter: blur(10px);
}
.cta-panel h2 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1; letter-spacing: -.05em; }
.cta-panel p { margin: 0; color: rgba(236,245,255,.82); line-height:1.75; max-width: 720px; }
.cta-actions { display:flex; gap:14px; flex-wrap: wrap; justify-content:flex-end; }

.site-footer {
  background: #041224; color: rgba(240,247,255,.82); padding: 26px 0 40px; border-top:1px solid rgba(255,255,255,.08);
}
.footer-wrap { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-brand { font-size: 18px; font-weight: 800; color:#fff; margin-bottom: 6px; }
.footer-links { display:flex; flex-wrap:wrap; gap:24px; }

.reveal {
  opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity:1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(120%); }
}

@media (max-width: 1100px) {
  .hero-grid, .company-grid, .cta-panel { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-card-stack { min-height: 510px; }
  .floating-card { left: 0; right: auto; width: min(100%, 480px); }
  .floating-card:nth-child(2) { left: 70px; right:auto; }
  .floating-card:nth-child(3) { left: 26px; right:auto; }
  .cta-actions { justify-content:flex-start; }
}

@media (max-width: 860px) {
  .menu-toggle { display:block; }
  .site-nav {
    position: absolute; top: 84px; left: 20px; right: 20px; display:none; flex-direction:column; align-items:flex-start;
    padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(5,24,51,.92);
  }
  .site-nav.open { display:flex; }
  .header-actions { margin-left:auto; }
  .header-actions .btn-primary { display:none; }
  .hero h1 { font-size: clamp(44px, 14vw, 72px); }
  .hero-description, .section-head p, .company-copy p { font-size:17px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-card-stack { min-height: 520px; }
  .floating-card:nth-child(1), .floating-card:nth-child(2), .floating-card:nth-child(3) { position:absolute; width:100%; left:0; }
  .floating-card:nth-child(1) { top: 16px; }
  .floating-card:nth-child(2) { top: 192px; }
  .floating-card:nth-child(3) { top: 368px; }
  .info-row { flex-direction:column; align-items:flex-start; }
  .info-row strong { max-width:100%; text-align:left; }
  .footer-wrap { flex-direction:column; align-items:flex-start; }
  .footer-right { align-items:flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 76px; }
  .brand-text { font-size: 13px; }
  .section { padding: 84px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 26px; }
}


.floating-link { display: block; cursor: pointer; }
.floating-link:hover { border-color: rgba(164,218,255,.45); }

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}
.project-open {
  color: #135cc9;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--transition), color var(--transition);
}
.project-card:hover .project-open { transform: translateX(3px); color: #073f9a; }
.visual-talaba {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 34%, rgba(255,255,255,.88) 0 4%, transparent 4.3%),
    radial-gradient(circle at 58% 22%, rgba(170,222,255,.95) 0 3%, transparent 3.3%),
    linear-gradient(140deg, #061b39 0%, #0b51b9 52%, #71c6ff 100%);
}
.visual-talaba::before {
  content: '@TalabaOneBot';
  position: absolute;
  left: 28px;
  bottom: 34px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.04em;
}
.visual-talaba::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: 34px;
  top: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(196,229,255,.72));
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}
.social-actions { align-items: center; }
.social-btn { min-width: 138px; }
.cta-panel .btn-secondary { border-color: rgba(255,255,255,.26); color:#fff; background:rgba(255,255,255,.06); }
.footer-right { display:flex; flex-direction:column; gap:14px; align-items:flex-end; }
.footer-socials { display:flex; flex-wrap:wrap; gap:18px; color:#8fc6ff; font-size:14px; }
.footer-socials a { transition: color var(--transition); }
.footer-socials a:hover { color:#fff; }


/* Red brand accent — attention elements only */
.project-open { color: var(--accent); font-weight: 700; }
.project-card:hover .project-open { color: var(--accent-dark); }
.footer-socials a:hover { color: #ff746b; }
.social-actions .btn-secondary:hover { border-color: rgba(230,47,34,.65); color: #ffd7d3; }
::selection { background: rgba(230,47,34,.9); color: #fff; }
