/* ═══════════════════════════════════════════════════════════
   CYGNUS BUSINESS SOLUTIONS — Main Stylesheet
   Aesthetic: Dynamic, energetic, upward momentum
   Fonts: Syne (display) + Plus Jakarta Sans (body)
   Colors: Deep navy · Electric green · Vibrant blue
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --c-bg:         #050E1F;
  --c-bg-2:       #0A1A30;
  --c-surface:    #0D2140;
  --c-border:     rgba(0, 230, 118, 0.12);
  --c-green:      #00E676;
  --c-green-dim:  rgba(0, 230, 118, 0.08);
  --c-blue:       #2563EB;
  --c-blue-dim:   rgba(37, 99, 235, 0.08);
  --c-white:      #F0F4FF;
  --c-muted:      #7A9CC0;

  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:       8px;
  --radius-lg:    16px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-green: 0 0 40px rgba(0,230,118,0.15);
}

/* ─── 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(--c-bg);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--c-green) 0%, #00BCD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--c-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-green);
  color: #050E1F;
}
.btn--primary:hover {
  background: #33FF99;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--c-green);
  color: var(--c-green);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--c-green);
  color: #050E1F;
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn--nav:hover { background: #33FF99; }

.btn--full { width: 100%; justify-content: center; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(5, 14, 31, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav__wordmark em {
  font-style: normal;
  color: var(--c-green);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--c-white); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--c-border);
  background: rgba(5, 14, 31, 0.95);
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; }
.nav__mobile ul li a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--transition);
}
.nav__mobile ul li a:hover { color: var(--c-green); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__svg-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chart-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 2.5s ease forwards 0.5s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  background: rgba(0,230,118,0.06);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.35s;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--c-muted);
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.hero__body {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 40px;
  line-height: 1.75;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.65s;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  animation-delay: 0.95s;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-green);
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--c-muted);
  margin-top: 4px;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  animation: bounceDown 2s ease infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--c-bg-2);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-green-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: var(--shadow-green);
}
.service-card:hover::before { opacity: 1; }

.service-card--accent {
  background: var(--c-green);
  border-color: transparent;
  color: #050E1F;
}
.service-card--accent::before { display: none; }
.service-card--accent:hover {
  background: #33FF99;
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,230,118,0.4);
}
.service-card--accent h3,
.service-card--accent p { color: #050E1F; }
.service-card--accent .service-card__num { color: rgba(5,14,31,0.3); }

.service-card__icon {
  margin-bottom: 20px;
}
.service-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-green);
  transition: gap var(--transition);
}
.service-card__link--dark { color: #050E1F; }
.service-card__link:hover { opacity: 0.75; }

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--c-bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.about__visual-bg {
  opacity: 0.9;
}
.about__pills {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
.about__pill {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
}
.about__pill--accent {
  background: var(--c-green-dim);
  border-color: rgba(0,230,118,0.3);
  color: var(--c-green);
}

.about__text p {
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.about__point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about__point svg { flex-shrink: 0; margin-top: 3px; }
.about__point strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.about__point p {
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.about__group-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--c-muted);
}
.about__group-note strong { color: var(--c-green); }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--c-bg-2);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__left p {
  font-size: 1.05rem;
  color: var(--c-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}
.contact__email:hover { opacity: 0.75; }

/* ─── FORM ───────────────────────────────────────────────── */
.contact__form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(122,156,192,0.5); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-green);
  background: rgba(0,230,118,0.03);
}

.form__disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-muted);
  margin-top: 12px;
  opacity: 0.6;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer__brand span {
  display: block;
  font-size: 0.75rem;
  color: var(--c-muted);
}

.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-size: 0.85rem;
  color: var(--c-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--c-green); }

.footer__copy {
  width: 100%;
  font-size: 0.75rem;
  color: rgba(122,156,192,0.4);
  text-align: center;
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
  margin-top: 16px;
}

/* ─── ACHIEVE SECTION ────────────────────────────────────── */
.achieve {
  padding: 120px 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
}
.achieve::before {
  content: '';
  position: absolute;
  top: -180px; left: -180px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.achieve__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.achieve__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.achieve__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-green-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.achieve__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,230,118,0.3);
  box-shadow: var(--shadow-green);
}
.achieve__card:hover::before { opacity: 1; }

.achieve__card--accent {
  background: var(--c-green);
  border-color: transparent;
  color: #050E1F;
}
.achieve__card--accent::before { display: none; }
.achieve__card--accent:hover {
  background: #33FF99;
  box-shadow: 0 12px 40px rgba(0,230,118,0.4);
}
.achieve__card--accent h3 { color: #050E1F; }
.achieve__card--accent p { color: rgba(5,14,31,0.7); }

.achieve__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.achieve__card--accent .achieve__num { color: rgba(5,14,31,0.35); }

.achieve__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.achieve__card p {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.achieve__card--accent p { color: rgba(5,14,31,0.65); }

.achieve__metric {
  font-size: 0.85rem;
  color: var(--c-muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
  padding-top: 16px;
  border-top: 1px solid rgba(0,230,118,0.12);
}
.achieve__metric .text-gradient {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-right: 6px;
}

/* ─── FOOTER EXTENDED ────────────────────────────────────── */
.footer__address {
  display: block;
  font-size: 0.72rem;
  color: var(--c-muted);
  margin-top: 3px;
  font-style: normal;
}
.footer__email {
  display: block;
  font-size: 0.72rem;
  color: var(--c-green);
  margin-top: 2px;
  transition: opacity 0.2s;
}
.footer__email:hover { opacity: 0.75; }
.footer__legal-link {
  opacity: 0.5;
}
.footer__legal-link:hover { color: var(--c-green); opacity: 1; }

/* ─── CONTACT ADDRESS ────────────────────────────────────── */
.contact__address {
  display: block;
  font-size: 0.9rem;
  color: var(--c-muted);
  font-style: normal;
  line-height: 1.7;
  margin-top: 16px;
}

/* ─── ANIMATIONS / SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__visual { display: none; }
  .services { padding: 80px 0; }
  .about, .contact, .achieve { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .achieve__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links,
  .btn--nav { display: none; }
  .nav__burger { display: flex; }

  .hero__content { padding-top: 80px; padding-bottom: 56px; }
  .hero__badge { margin-bottom: 20px; }
  .hero__body { margin-bottom: 28px; }
  .hero__ctas { margin-bottom: 40px; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .about__pills { display: none; }

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

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__brand { margin-right: 0; }
  .footer__nav { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .hero { min-height: 640px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.05; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .contact__form { padding: 24px; }
  .services { padding: 64px 0; }
  .about, .contact, .achieve { padding: 64px 0; }
  .services__grid { gap: 16px; }
  .service-card { padding: 24px; }
  .achieve__card { padding: 28px; }
  .section-subtitle { font-size: 0.95rem; }
}

/* ── ACHIEVE SECTION ──────────────────────────────────────── */
.achieve-section {
  padding: 80px 0;
  border-top: 1px solid rgba(0, 230, 118, 0.12);
}
.achieve-section .section-header {
  margin-bottom: 2.5rem;
}
.achieve-section__body {
  max-width: 720px;
  margin: 0 auto;
}
.achieve-section__body p {
  color: #7A9CC0;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: 'DM Sans', sans-serif;
}
.achieve-section__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.achieve-section__list li {
  padding: 0.85rem 1.2rem 0.85rem 1.5rem;
  border-left: 2px solid #00E676;
  background: rgba(0, 230, 118, 0.04);
  color: #CBD5E8;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
