/* =============================================
   Cloud Vertex — styles.css
   ============================================= */

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

:root {
  --navy:       #0f172a;
  --navy-mid:   #1e293b;
  --navy-light: #334155;
  --amber:      #f59e0b;
  --amber-dark: #d97706;
  --amber-glow: rgba(245,158,11,0.15);
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim:   #64748b;
  --white:      #ffffff;
  --border:     rgba(255,255,255,0.07);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.45);
  --transition: 0.22s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION SHARED ---------- */
.section { padding: 96px 0; }
.section-dark { background-color: var(--navy-mid); }

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

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 56px;
}

.accent { color: var(--amber); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-dark);
  box-shadow: 0 0 24px rgba(245,158,11,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-outline {
  color: var(--text);
  border: 1.5px solid var(--navy-light);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-nav {
  background: var(--amber);
  color: var(--navy);
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn-nav:hover { background: var(--amber-dark); }

.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo strong { color: var(--amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-glow);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  padding: 24px;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  flex: 1;
  min-width: 120px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.br-desktop { display: none; }
.br-mobile { display: block; }

/* ---------- PROBLEMS ---------- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.problem-card:hover {
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-3px);
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: var(--amber-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- STEPS ---------- */
.steps-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
  text-align: center;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}

.step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.6;
}

.step-connector {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  padding-left: 32px;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: rgba(245,158,11,0.25);
  transform: translateY(-3px);
}

.service-card-highlight {
  border-color: rgba(245,158,11,0.4);
  background: linear-gradient(135deg, rgba(245,158,11,0.06), var(--navy-mid));
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.pricing-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-card-main {
  border-color: rgba(245,158,11,0.5);
  background: linear-gradient(160deg, rgba(245,158,11,0.07), var(--navy));
  box-shadow: 0 0 40px rgba(245,158,11,0.1);
}

.pricing-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.pricing-tag-alt { color: var(--text-dim); }

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-top: -12px;
}

.pricing-value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-percent {
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

.pricing-percent-alt {
  font-size: 1.8rem;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.team-card {
  display: flex;
  gap: 24px;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition);
}

.team-card:hover { border-color: rgba(245,158,11,0.25); }

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber-glow);
  border: 2px solid rgba(245,158,11,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber);
  flex-shrink: 0;
}

.team-info { flex: 1; }

.team-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color var(--transition);
}
.team-linkedin:hover { color: var(--amber); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(245,158,11,0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--amber); }

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-dim);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--amber);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer.open { display: block; }

/* ---------- CONTACT ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-left .section-title { margin-bottom: 14px; }

.contact-left > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-right {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.required { color: var(--amber); }
.optional { color: var(--text-dim); font-weight: 400; }

.form-group input,
.form-group select {
  background: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.12);
}

.form-group input.error { border-color: #ef4444; }

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-brand { max-width: 260px; }

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.55;
}

.footer-email {
  font-size: 0.875rem;
  color: var(--amber);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--amber-dark); }

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; }

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: border-color var(--transition), color var(--transition);
}
.social-link:hover { border-color: var(--amber); color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 62px;
  white-space: nowrap;
  background: var(--navy-mid);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.36s; }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 768px) {
  .br-desktop { display: block; }
  .br-mobile  { display: none; }
}

@media (max-width: 1024px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Navbar */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 24px 24px;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .btn-nav {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero { padding: 120px 0 72px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .stat { padding: 0; }

  /* Steps */
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-number { text-align: left; }
  .step-connector { padding-left: 0; }

  /* Contact */
  .contact-right { padding: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { grid-column: auto; }

  /* WhatsApp */
  .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }
  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .pricing-card { padding: 24px; }
  .team-card { flex-direction: column; }
  .hero-stats .stat-divider { display: none; }
}
