/* ========================================
   VEREGY EAST, LLC — Site 392
   Dark theme · Cyan accent (#06b6d4)
   ======================================== */

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

:root {
  --cyan: #06b6d4;
  --cyan-hover: #22d3ee;
  --cyan-dim: rgba(6, 182, 212, 0.1);
  --dark: #0a0e12;
  --dark-2: #0f1419;
  --dark-3: #151b23;
  --dark-4: #1c2430;
  --text: #e2e8f0;
  --text-muted: #8892a0;
  --border: #1e293b;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--cyan-hover); }

img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan);
  color: #0a0e12;
}
.btn-primary:hover {
  background: var(--cyan-hover);
  color: #0a0e12;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-dim);
  color: var(--cyan-hover);
  border-color: var(--cyan-hover);
}

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.navbar .logo span {
  color: var(--cyan);
}
.navbar .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e12;
  font-weight: 800;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: var(--dark-3);
}

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

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #fff;
}
.hero-content h1 .highlight {
  color: var(--cyan);
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  width: 100%;
  max-width: 420px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.hero-card .stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-card .stat:last-child { border-bottom: none; }
.hero-card .stat-label { color: var(--text-muted); font-size: 0.9rem; }
.hero-card .stat-value { color: var(--cyan); font-weight: 700; font-size: 1.05rem; }

/* --- Section Shared --- */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
}
.section-header .accent-line {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  margin-top: 0.75rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.1);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--cyan);
  font-size: 1.3rem;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- About / Team --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.about-text h2 span { color: var(--cyan); }
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-stat {
  text-align: center;
  padding: 1.25rem;
  background: var(--dark-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyan);
}
.about-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-member {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.team-member:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.team-member .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--cyan);
}
.team-member h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.team-member .role {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 500;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-detail .icon {
  width: 40px;
  height: 40px;
  background: var(--cyan-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.contact-detail .detail h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.15rem;
}
.contact-detail .detail span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  margin-bottom: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
}

/* --- CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-box {
  text-align: center;
  padding: 3rem 0;
}
.cta-box h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 300px;
}
.footer h4 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 60px;
}
.legal-page h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
}
.legal-content h2 {
  font-size: 1.35rem;
  color: #fff;
  margin: 2rem 0 0.75rem;
}
.legal-content h3 {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin: 1.5rem 0 0.5rem;
}
.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li {
  list-style: disc;
}
.legal-content ol li {
  list-style: decimal;
}
.legal-content a {
  color: var(--cyan);
}

/* --- 404 --- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}
.error-page h1 {
  font-size: 6rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.error-page h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0.5rem 0 1rem;
}
.error-page p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- Page Header (internal pages) --- */
.page-header {
  padding: 120px 0 50px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }
  .hamburger { display: flex; }

  .hero-content h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section-header h2 { font-size: 1.6rem; }
}
