/* ===========================
   DYMANET TECHNOLOGIES  v2
   Palette: Deep Purple + Cyan
   style.css
=========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:   #0e0a1f;
  --navy2:  #160e2e;
  --cyan:   #00d4ff;
  --cyan2:  #00b8d9;
  --cyan3:  #007a91;
  --purple: #7c3aed;
  --purple2:#6d28d9;
  --gray:   #9ca3c0;
  --white:  #fff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(14,10,31,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,212,255,0.12);
}

.nav-logo img { height: 42px; display: block; }

.nav-links { display: flex; gap: 2.2rem; list-style: none; }

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .03em;
  transition: color .25s;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  padding: .55rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: .9rem;
  transition: background .2s;
}

.nav-cta:hover { background: var(--cyan2); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: .3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--navy2);
  padding: 2rem 5%;
  z-index: 99;
  border-bottom: 1px solid rgba(0,212,255,0.12);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.mobile-menu a { color: var(--gray); text-decoration: none; font-size: 1rem; }
.mobile-menu a:hover { color: var(--cyan); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 5% 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  right: -10%; top: 15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,.2) 0%, rgba(0,212,255,.08) 50%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--cyan);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

h1 span { color: var(--cyan); }

.hero-sub {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.4rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .95rem;
  transition: background .2s, transform .15s;
}

.btn-primary:hover { background: var(--cyan2); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(0,212,255,.4);
  color: var(--cyan);
  padding: .85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}

.btn-outline:hover { background: rgba(0,212,255,.08); border-color: var(--cyan); }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap; }

.stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}

.stat span {
  font-size: .82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---- PIXEL DIVIDER ---- */
.pixel-divider {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0;
  gap: 6px;
}

.pixel-divider span {
  display: block;
  width: 8px; height: 8px;
  background: var(--purple2);
  border-radius: 2px;
  opacity: .3;
  animation: pixelFade 2s infinite;
}

.pixel-divider span:nth-child(2) { animation-delay: .2s; opacity: .5; }
.pixel-divider span:nth-child(3) { animation-delay: .4s; background: var(--cyan); opacity: .9; }
.pixel-divider span:nth-child(4) { animation-delay: .6s; opacity: .5; }
.pixel-divider span:nth-child(5) { animation-delay: .8s; opacity: .3; }

@keyframes pixelFade {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.5); }
}

/* ---- SECTIONS ---- */
section { padding: 5rem 5%; }

.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub { color: var(--gray); font-size: .97rem; line-height: 1.7; max-width: 600px; }

/* ---- SERVICES ---- */
.services { background: var(--navy2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,212,255,.1);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color .3s, transform .3s, background .3s;
  cursor: default;
}

.card:hover {
  border-color: rgba(0,212,255,.45);
  background: rgba(0,212,255,.05);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px; height: 48px;
  background: rgba(0,212,255,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.card-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }

.card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.card p { color: var(--gray); font-size: .9rem; line-height: 1.6; }

/* ---- WHY ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.6;
}

.why-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(0,212,255,.1);
  border: 1.5px solid var(--cyan);
  border-radius: 4px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.terminal {
  background: #06040f;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 12px;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: .85rem;
}

.terminal-bar { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }

.terminal-line { line-height: 2; color: var(--gray); }
.terminal-line .cmd     { color: var(--cyan); }
.terminal-line .out     { color: #67e8f9; }
.terminal-line .comment { color: #2d6e7e; }

/* ---- PLANS ---- */
.plans { background: var(--navy2); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.plan {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,212,255,.12);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: transform .3s;
}

.plan:hover { transform: translateY(-4px); }

.plan.featured {
  border-color: var(--cyan);
  background: rgba(0,212,255,.06);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--cyan);
}

.plan-price sub { font-size: .9rem; font-weight: 400; color: var(--gray); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.8rem; }

.plan-features li {
  color: var(--gray);
  font-size: .88rem;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.plan-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

.plan-btn {
  display: block;
  text-align: center;
  padding: .75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid rgba(0,212,255,.4);
  color: var(--cyan);
  transition: background .2s, color .2s;
}

.plan.featured .plan-btn { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.plan-btn:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }

/* ---- CONTACT ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info p { color: var(--gray); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }

.contact-item { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; color: var(--gray); font-size: .9rem; }

.contact-item svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 1.8; flex-shrink: 0; }

form { display: flex; flex-direction: column; gap: 1rem; }

input, textarea, select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 8px;
  padding: .85rem 1rem;
  color: var(--white);
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}

input::placeholder, textarea::placeholder { color: var(--gray); }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); }
select option { background: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

button[type="submit"] {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  padding: .9rem;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: 'Inter', sans-serif;
}

button[type="submit"]:hover { background: var(--cyan2); transform: translateY(-2px); }

/* ---- FOOTER ---- */
footer {
  background: #060310;
  padding: 3rem 5% 2rem;
  border-top: 1px solid rgba(0,212,255,.1);
}

.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo img { height: 36px; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  color: var(--gray);
  font-size: .82rem;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  transform: translateY(150%);
  transition: transform .4s;
  z-index: 999;
  font-size: .92rem;
}

.toast.show { transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { text-align: center; }
  .hero-sub { margin: 0 auto 2.4rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ---- SITE NAME IN NAV ---- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.site-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .site-name { font-size: .78rem; }
}

/* ---- LIGHT CLIENT REFRESH: GLASS BLUE ---- */
:root {
  --navy:   #fbfdff;
  --navy2:  #f1f8ff;
  --cyan:   #0077c8;
  --cyan2:  #005f9e;
  --cyan3:  #dff4ff;
  --purple: #7557f7;
  --purple2:#b7a7ff;
  --gray:   #5f7088;
  --white:  #132238;
  --paper:  #fbfdff;
  --panel:  #ffffff;
  --line:   rgba(0,119,200,.16);
  --soft:   rgba(0,119,200,.08);
  --lift:   0 18px 45px rgba(18,35,56,.08);
}

body {
  background: var(--paper);
  color: var(--white);
}

nav,
.mobile-menu {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(18,35,56,.07);
}

.nav-links a,
.mobile-menu a,
.hero-sub,
.section-sub,
.card p,
.why-list li,
.plan-features li,
.plan-price sub,
.contact-info p,
.contact-item,
.footer-links a,
.footer-copy,
.stat span {
  color: var(--gray);
}

.site-name,
.nav-links a:hover,
.mobile-menu a:hover,
h1 span,
.section-label,
.card-icon svg,
.contact-item svg,
.stat strong,
.plan-price,
.plan-features li::before,
.footer-links a:hover,
.terminal-line .cmd {
  color: var(--cyan);
}

.hamburger span {
  background: var(--white);
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f4fbff 54%, #eef5ff 100%);
}

.hero-grid-bg {
  background-image:
    linear-gradient(rgba(0,119,200,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117,87,247,.07) 1px, transparent 1px);
}

.hero-glow {
  background: radial-gradient(circle, rgba(117,87,247,.18) 0%, rgba(0,119,200,.12) 46%, transparent 70%);
}

.hero-badge,
.card-icon {
  background: var(--soft);
  border-color: var(--line);
}

h1,
.section-title,
.card h3,
.plan,
.terminal,
.footer-copy {
  color: var(--white);
}

.btn-primary,
.nav-cta,
button[type="submit"],
.toast,
.plan.featured .plan-btn,
.plan-badge {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,119,200,.24);
}

.btn-primary:hover,
.nav-cta:hover,
button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--cyan2), #5f46da);
}

.btn-outline,
.plan-btn {
  border-color: rgba(0,119,200,.34);
  color: var(--cyan);
}

.btn-outline:hover,
.plan-btn:hover {
  background: rgba(0,119,200,.08);
  color: var(--cyan2);
  border-color: var(--cyan);
}

.services,
.plans {
  background: var(--navy2);
}

.card,
.plan,
.terminal,
input,
textarea,
select {
  background: rgba(255,255,255,.88);
  border-color: var(--line);
  box-shadow: var(--lift);
}

.card:hover,
.plan.featured {
  background: #ffffff;
  border-color: rgba(0,119,200,.34);
}

.pixel-divider span {
  background: var(--purple2);
}

.pixel-divider span:nth-child(3) {
  background: var(--cyan);
}

.why-list li::before {
  background-color: rgba(0,119,200,.08);
  border-color: var(--cyan);
}

.terminal-line {
  color: var(--gray);
}

.terminal-line .out {
  color: #109db5;
}

.terminal-line .comment {
  color: #7790a7;
}

input,
textarea,
select {
  color: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: #8795a8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan);
}

select option {
  background: #ffffff;
}

footer {
  background: #f3f9ff;
  border-top: 1px solid var(--line);
}

/* ---- MOBILE HERO FRAME FIX ---- */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    min-height: auto;
    width: 100%;
    padding: 7rem 1rem 3rem;
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    font-size: .68rem;
    letter-spacing: .08em;
    padding: .4rem .75rem;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 11vw, 2.85rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-sub {
    max-width: 100%;
    font-size: .95rem;
    line-height: 1.6;
    padding: 0 .1rem;
  }

  .hero-btns {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    min-width: 0;
    padding: .85rem .6rem;
    text-align: center;
    font-size: .92rem;
  }

  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .7rem;
    margin-top: 2.4rem;
  }

  .stat {
    min-width: 0;
  }

  .stat strong {
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .stat span {
    display: block;
    font-size: .68rem;
    line-height: 1.25;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .hero-btns,
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
