/* ================================
   VORTEXHYDRO — style.css
   ================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0a0c10;
  --ink-mid: #1a1d24;
  --ink-soft: #2c3040;
  --cyan: #00d4e8;
  --cyan-dim: #00a8bb;
  --lime: #b8ff57;
  --white: #f5f7ff;
  --muted: #8892a4;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: var(--ink);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 232, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(245,247,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* --- SECTION LABELS --- */
.section-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ================================
   NAV
   ================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo span { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--cyan) !important;
  color: var(--ink) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--lime) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================
   HERO
   ================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: -100px; left: -100px;
  animation: drift1 12s ease-in-out infinite alternate;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7b2fff, transparent 70%);
  bottom: -80px; right: -80px;
  animation: drift2 15s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(60px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-60px, -60px) scale(1.15); } }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,232,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--cyan);
  display: block;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Badge */
.hero-badge {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 160px;
  z-index: 2;
  animation: spin 20s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.badge-ring text {
  fill: var(--muted);
  font-size: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.badge-icon {
  font-size: 32px;
  color: var(--cyan);
  position: relative;
  z-index: 3;
  animation: spin-reverse 20s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollAnim 1.6s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.5) translateY(10px); }
}

/* ================================
   TICKER
   ================================ */
.ticker-wrap {
  overflow: hidden;
  background: var(--cyan);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.ticker .sep {
  color: rgba(10,12,16,0.4);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================
   SERVICES
   ================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,212,232,0.07), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(0,212,232,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  font-size: 36px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  color: var(--white);
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-card ul li {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before {
  content: '◈';
  color: var(--cyan);
  font-size: 8px;
  flex-shrink: 0;
}
.service-card ul li:last-child { border-bottom: none; }

/* ================================
   WHY US
   ================================ */
.why {
  background: var(--ink-mid);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.why-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-stat {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  color: var(--cyan);
}
.stat-num em {
  font-style: normal;
  font-size: 28px;
  color: var(--cyan-dim);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.why-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.why-feat {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-feat span {
  color: var(--lime);
  font-size: 16px;
  font-weight: 700;
}

/* ================================
   PROCESS
   ================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 24px;
  position: relative;
}
.step-arrow {
  font-size: 24px;
  color: var(--cyan);
  margin-top: 40px;
  flex-shrink: 0;
  opacity: 0.5;
}
.step-num {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1;
  color: rgba(0,212,232,0.15);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ================================
   CTA BAND
   ================================ */
.cta-band {
  background: linear-gradient(135deg, rgba(0,212,232,0.12), rgba(123,47,255,0.12));
  border-top: 1px solid rgba(0,212,232,0.15);
  border-bottom: 1px solid rgba(0,212,232,0.15);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 36px;
}

/* ================================
   CONTACT
   ================================ */
.contact { background: var(--ink); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-left p:not(.section-tag) {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--muted);
}
.info-icon {
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--ink-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.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 label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,212,232,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136,146,164,0.5); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.form-success p { color: var(--muted); }

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--ink-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.65;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

/* ================================
   PRIVACY PAGE (privacy.html)
   ================================ */
.privacy-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.privacy-content h1 {
  font-family: var(--font-display);
  font-size: 56px;
  margin-bottom: 8px;
}
.privacy-content .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 48px;
}
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 40px 0 12px;
  color: var(--cyan);
}
.privacy-content p, .privacy-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.privacy-content ul { padding-left: 20px; list-style: disc; }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .hero-badge { right: 30px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--ink-mid);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 28px;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid rgba(255,255,255,0.06);
    z-index: 998;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 16px; color: var(--white); }

  .hero { padding: 100px 20px 60px; }
  .hero-badge { display: none; }
  .scroll-hint { display: none; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: -8px auto;
  }
  .step { padding: 0; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .why-right { grid-template-columns: 1fr 1fr; }
  .why-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .why-right { grid-template-columns: 1fr; }
}
