/* DESIGN SYSTEM: Cryo Corporate / Dark Ice */
:root {
  /* Colors */
  --bg-dark: #080c14;
  --bg-card: #0f1522;
  --bg-input: #151b2b;

  --text-main: #ffffff;
  --text-muted: #94a3b8;

  --primary: #00d4ff; /* Ice Blue */
  --primary-dark: #0077ff; /* Deep Blue */
  --accent-hover: #00b8dd;

  --border: 1px solid rgba(255, 255, 255, 0.1);
  --glass: rgba(15, 21, 34, 0.7);
  --glass-blur: blur(12px);

  /* Layout */
  --container: 1240px;
  --radius: 12px;

  /* Fonts */
  --font-head: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* AMBIENT BACKGROUND */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-dark);
  top: -200px;
  left: -100px;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  bottom: -100px;
  right: -100px;
}

/* UTILS */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
  border-bottom: var(--border);
}
.center {
  text-align: center;
  margin-bottom: 60px;
}
.txt-gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  color: transparent;
}

/* BUTTONS */
.btn-primary {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  transition: 0.3s;
}
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary-lg {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  font-family: var(--font-head);
  transition: 0.3s;
  letter-spacing: 1px;
}
.btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 119, 255, 0.4);
}

.btn-glass {
  display: inline-block;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-head);
  transition: 0.3s;
}
.btn-glass:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-contact-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn-contact-outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
}
.btn-contact-outline i {
  width: 16px;
  height: 16px;
}

/* HEADER */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--border);
  z-index: 1000;
}
.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-spin {
  transform-origin: center;
  animation: spinLogo 10s linear infinite;
}
@keyframes spinLogo {
  100% {
    transform: rotate(360deg);
  }
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-head);
}
.lt-main {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: white;
}
.lt-sub {
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 2px;
}

.desktop-menu {
  display: flex;
  gap: 30px;
}
.desktop-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ccc;
  transition: 0.2s;
}
.desktop-menu a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-btn span {
  width: 25px;
  height: 2px;
  background: white;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #0b101b;
  z-index: 2000;
  padding: 30px;
  transform: translateX(100%);
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  border-left: var(--border);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mm-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--primary);
}
#closeMm {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.mm-links a {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: var(--font-head);
}
.mm-highlight {
  color: var(--primary) !important;
  font-size: 1.2rem !important;
  margin-top: 20px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.9) 0%,
    rgba(8, 12, 20, 0.7) 100%
  );
  z-index: -1;
}
.hero-text-block {
  max-width: 800px;
}
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  max-width: 650px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
}

/* TICKER */
.ticker-section {
  background: rgba(255, 255, 255, 0.03);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 20px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-label {
  padding-left: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 40px;
  white-space: nowrap;
  letter-spacing: 1px;
  font-family: var(--font-head);
}
.ticker-wrapper {
  flex-grow: 1;
  overflow: hidden;
}
.ticker-move {
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-muted);
  animation: scroll 30s linear infinite;
}
.ticker-move span {
  margin: 0 30px;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* METHODOLOGY */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.feature-card {
  background: var(--bg-card);
  border: var(--border);
  padding: 40px 30px;
  border-radius: var(--radius);
  transition: 0.3s;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  background: #131b2e;
}
.fc-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 25px;
}
.fc-icon i {
  width: 30px;
  height: 30px;
}
.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* BLOG */
.bg-contrast {
  background: #0b101b;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-item {
  background: var(--bg-dark);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.3s;
}
.blog-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}
.bi-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.bi-content {
  padding: 30px;
}
.bi-meta {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.bi-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.4;
}
.bi-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.link-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  transition: 0.3s;
}
.link-arrow i {
  width: 16px;
  transition: 0.3s;
}
.link-arrow:hover {
  color: var(--primary);
}
.link-arrow:hover i {
  transform: translateX(5px);
}

/* FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  background: var(--bg-card);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.acc-header {
  width: 100%;
  padding: 25px;
  text-align: left;
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}
.acc-header i {
  transition: 0.3s;
  color: var(--text-muted);
}
.acc-header.active i {
  transform: rotate(180deg);
  color: var(--primary);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  background: rgba(0, 0, 0, 0.2);
}
.acc-content {
  padding: 0 25px 25px 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CONTACT FORM */
.section-form {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1321 100%);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.cw-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.cw-info p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.cw-contacts li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.cw-contacts strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 5px;
}
.cw-contacts span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cw-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  border: var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-check {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  align-items: start;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-check a {
  color: var(--primary);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-head);
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 119, 255, 0.4);
}

/* FOOTER */
.footer {
  background: #05080e;
  border-top: var(--border);
  padding: 80px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.f-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 25px;
}
.f-social a {
  margin-right: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.f-links h5,
.f-legal h5,
.f-address h5 {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 20px;
  font-family: var(--font-head);
  letter-spacing: 1px;
}
.f-links a,
.f-legal a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: 0.2s;
}
.f-links a:hover,
.f-legal a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.f-address p {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.hl-mail {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-top: 15px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(15, 21, 34, 0.95);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  display: none;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 5000;
}
.cb-text {
  font-size: 0.9rem;
  color: #ccc;
  flex-grow: 1;
}
.cb-btn {
  padding: 10px 25px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .desktop-menu,
  .btn-primary,
  .btn-contact-outline {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .hero-content {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .contact-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .blog-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .ticker-label {
    margin-bottom: 10px;
    padding-left: 20px;
  }
  .ticker-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-text-block {
    margin: 0 auto;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
