/* =========================================
   SOSHIANT — Global Styles
   ========================================= */

:root {
  --bg-primary:    #070c18;
  --bg-secondary:  #0b1222;
  --bg-card:       #0e1628;
  --bg-card-hover: #111c35;

  --text-primary:  #eef2ff;
  --text-secondary:#8896b0;
  --text-muted:    #4a556a;

  --gold:          #c49a3c;
  --gold-light:    #e4b84d;
  --gold-dim:      rgba(196, 154, 60, 0.15);

  --blue-accent:   #3d6eb5;

  --border:        rgba(255, 255, 255, 0.06);
  --border-gold:   rgba(196, 154, 60, 0.25);
  --border-hover:  rgba(196, 154, 60, 0.5);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --shadow-card:   0 4px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow:   0 0 60px rgba(196, 154, 60, 0.06);

  --font-heading:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;

  --nav-height:    72px;
  --section-gap:   140px;
  --max-width:     1160px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--text-secondary); }

/* =========================================
   LAYOUT HELPERS
   ========================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-title {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--gold);
  color: #060b14;
  font-weight: 600;
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(196, 154, 60, 0.3);
}

.btn--secondary {
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  background: transparent;
}
.btn--secondary:hover {
  border-color: var(--border-hover);
  background: var(--gold-dim);
  transform: translateY(-1px);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav__logo-icon {
  width: 32px;
  height: 32px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__cta {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold) !important;
  color: var(--text-primary) !important;
  transition: all 0.25s ease !important;
}
.nav__cta:hover {
  background: var(--gold-dim) !important;
  border-color: var(--border-hover) !important;
  color: var(--gold-light) !important;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(7, 12, 24, 0.97);
  backdrop-filter: blur(20px);
  padding: 24px 32px 32px;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 6px;
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--text-primary); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}
.hero__glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196, 154, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 32px;
  padding-top: var(--nav-height);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-gold);
  background: var(--gold-dim);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 36px;
}
.hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
.hero__title {
  margin-bottom: 24px;
  background: linear-gradient(180deg, #eef2ff 0%, #8896b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-secondary);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.stats__item {
  text-align: center;
  padding: 12px 32px;
  border-right: 1px solid var(--border);
}
.stats__item:last-child { border-right: none; }
.stats__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stats__value span { color: var(--gold); }
.stats__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* =========================================
   ABOUT
   ========================================= */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  position: relative;
  height: 420px;
}
.about__symbol {
  width: 100%;
  height: 100%;
}
.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.about__pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s;
}
.about__pillar:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
}
.about__pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.about__pillar-icon svg { width: 16px; height: 16px; }
.about__pillar-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.about__pillar-text {
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================
   PRODUCTS
   ========================================= */
.products {
  background: var(--bg-secondary);
}
.products__header {
  text-align: center;
  margin-bottom: 72px;
}
.products__header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.product-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover::before { opacity: 1; }
.product-card__bg {
  position: absolute;
  top: -80px; right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,60,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.product-card__number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 20px;
}
.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
}
.product-card__icon svg { width: 24px; height: 24px; }
.product-card__title {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}
.product-card__tagline {
  font-size: 0.88rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 20px;
}
.product-card__desc {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.product-card__capabilities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.product-card__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--text-secondary);
}
.product-card__cap::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  transition: gap 0.2s;
}
.product-card__link:hover { gap: 12px; }
.product-card__link svg { width: 14px; height: 14px; }

/* =========================================
   INNOVATION
   ========================================= */
.innovation__header {
  max-width: 600px;
  margin-bottom: 72px;
}
.innovation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.innovation-card {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s;
}
.innovation-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.innovation-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}
.innovation-card__icon svg { width: 20px; height: 20px; }
.innovation-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.innovation-card__text {
  font-size: 0.85rem;
  line-height: 1.7;
}

.innovation__cta {
  padding: 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(196, 154, 60, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.innovation__cta-text h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.innovation__cta-text p {
  font-size: 0.9rem;
  max-width: 480px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  background: var(--bg-secondary);
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 16px; }
.contact__info p { margin-bottom: 40px; }
.contact__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact__item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact__item-icon svg { width: 16px; height: 16px; }
.contact__item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  margin-bottom: 2px;
}
.contact__item-value {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form__group:last-of-type { margin-bottom: 28px; }
.form__label {
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.form__input,
.form__select,
.form__textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus { border-color: var(--border-gold); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 120px; }
.form__submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #060b14;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  border: none;
}
.form__submit:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 32px rgba(196, 154, 60, 0.3);
  transform: translateY(-1px);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 56px;
}
.footer__brand {
  max-width: 280px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer__links-group h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links-group a {
  font-size: 0.87rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__links-group a:hover { color: var(--text-primary); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(1) translateY(0); opacity: 1; }
  50%  { transform: scaleY(0.5) translateY(10px); opacity: 0.5; }
  100% { transform: scaleY(1) translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  :root { --section-gap: 100px; }
  .about__layout      { grid-template-columns: 1fr; gap: 56px; }
  .about__visual      { height: 300px; }
  .products__grid     { grid-template-columns: 1fr; }
  .innovation__grid   { grid-template-columns: 1fr 1fr; }
  .contact__layout    { grid-template-columns: 1fr; gap: 48px; }
  .innovation__cta    { flex-direction: column; gap: 28px; }
  .stats__grid        { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; --nav-height: 64px; }
  .container          { padding: 0 20px; }
  .nav__container     { padding: 0 20px; }
  .nav__links         { display: none; }
  .nav__hamburger     { display: flex; }
  .hero__content      { padding: 0 20px; padding-top: var(--nav-height); }
  .hero__cta          { flex-direction: column; align-items: center; }
  .stats__grid        { grid-template-columns: 1fr; }
  .stats__item        { border-right: none; border-bottom: 1px solid var(--border); padding: 20px 0; }
  .stats__item:last-child { border-bottom: none; }
  .innovation__grid   { grid-template-columns: 1fr; }
  .innovation__cta    { padding: 36px 28px; }
  .contact__form      { padding: 32px 24px; }
  .form__row          { grid-template-columns: 1fr; }
  .footer__top        { flex-direction: column; gap: 40px; }
  .footer__bottom     { flex-direction: column; text-align: center; }
  .product-card       { padding: 36px 28px; }
}
