/* ═══════════════════════════════════════════════════════════
   Cadusay WordPress Theme — cadusay.css
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:  #2F455C;
  --teal:  #4DC2BF;
  --coral: #F87F6F;
  --cream: #F7F5F2;
  --mid:   #ECEAE6;
  --muted: #7E8E9E;
  --white: #FFFFFF;
  --container: 1160px;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
em { font-style: italic; color: var(--teal); }

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col-end { align-items: end; }
}

.mb-section { margin-bottom: 3rem; }

/* ─── Sections ───────────────────────────────────────────── */
.section-white  { background: var(--white);  padding-block: clamp(3rem, 6vw, 6rem); }
.section-cream  { background: var(--cream);  padding-block: clamp(3rem, 6vw, 6rem); }
.section-navy   { background: var(--navy);   padding-block: clamp(3rem, 6vw, 6rem); }
.section-cta    { background: var(--navy);   padding-block: clamp(4rem, 8vw, 8rem); text-align: center; position: relative; overflow: hidden; }

/* ─── Navigation ─────────────────────────────────────────── */
#cadusay-nav {
	 background: rgba(47, 69, 92, 1);
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(1rem, 4vw, 3rem);
  height: 68px;
  transition: background 0.4s, box-shadow 0.4s;
	 backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(47,69,92,0.08);
}
#cadusay-nav.solid {
  background: rgba(47, 69, 92, 1);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(47,69,92,0.08);
}
.logo-container { display: block; height: 32px; width: auto; opacity: 1; transition: opacity 0.2s; }
.logo-container:hover { opacity: 0.8; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 64rem) { .nav-desktop { display: flex; } }

.nav-link { font-size: 0.875rem; font-weight: 500; var(--white); transition: color 0.2s; }
.nav-link:hover { color: var(--white); }
#cadusay-nav.solid .nav-link { color: var(--white); }
#cadusay-nav.solid .nav-link:hover { color: var(--teal); }

.nav-action {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.5rem 1.25rem; border-radius: 1rem;
  background: var(--teal); color: white;
  transition: background 0.2s, color 0.2s;
}
.nav-action:hover { background:var(--white); color: var(--teal); }

/* Mobile toggle */
#nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  flex-direction: column; gap: 5px;
}
@media (min-width: 64rem) { #nav-toggle { display: none; } }
.bar { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.2s; }
#cadusay-nav.solid .bar { background: var(--navy); }

/* Mobile menu */
#mobile-menu {
  position: absolute; top: 68px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--mid);
  box-shadow: 0 8px 24px rgba(47,69,92,0.08);
}
#mobile-menu:not([hidden]) { display: block; }
#mobile-menu ul { padding: 1rem 0; }
#mobile-menu a {
  display: block; padding: 0.75rem clamp(1rem,4vw,3rem);
  font-size: 1rem; font-weight: 600; color: var(--navy);
  transition: color 0.2s, background 0.2s;
}
#mobile-menu a:hover { color: var(--teal); background: rgba(77,194,191,0.06); }
#mobile-menu .nav-action {
  margin: 0.5rem clamp(1rem,4vw,3rem);
  display: block; text-align: center;
}

/* ─── Hero ───────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 5rem clamp(1rem,4vw,3rem) 4rem;
  background: var(--navy); position: relative; overflow: hidden;
}
.hero-glow-left {
  position: absolute; bottom: -180px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.4; pointer-events: none;
}
.hero-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(77,194,191,0.1);
}
.hero-ring-1 { width: 600px; height: 600px; top: -120px; right: -100px; }
.hero-ring-2 { width: 400px; height: 400px; top: 30px; right: 60px; opacity: 0.5; display: none; }
@media (min-width: 48rem) { .hero-ring-2 { display: block; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.5rem 1rem; border-radius: 999px; margin-bottom: 2rem;
  border: 1px solid rgba(77,194,191,0.3); color: var(--teal);
  animation: fadeUp 0.7s ease both;
}

#hero h1 {
  max-width: 44rem; margin-inline: auto;
  font-size: clamp(1.6rem, 3.2vw, 2.9rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  color: white; margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,0.7);
  max-width: 38rem; margin-inline: auto; margin-bottom: 2.5rem;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: flex; flex-direction: column; gap: 1rem; width: 100%;
  align-items: center;
  animation: fadeUp 0.7s ease 0.3s both;
}
@media (min-width: 36rem) { .hero-cta { flex-direction: row; justify-content: center; width: auto; } }

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: clamp(1rem,4vw,3rem);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: white; animation: fadeUp 0.7s ease 0.5s both;
}
.scroll-line { width: 40px; height: 1px; background: linear-gradient(to right, rgba(77,194,191,0.5), transparent); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600; min-height: 44px;
  padding: 0.75rem 2rem; border-radius: 1rem;
  background: white; color: var(--coral);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--teal); color: white; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600; min-height: 44px;
  padding: 0.75rem 2rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: rgba(255,255,255,0.05); }

.btn-coral {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600; min-height: 44px;
  padding: 0.875rem 2.25rem; border-radius: 1rem;
  background: var(--coral); color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-coral:hover { background: white; color: var(--teal); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ─── Strip ──────────────────────────────────────────────── */
.strip {
  display: flex; overflow-x: auto; background: var(--teal);
  padding: 0.75rem clamp(1rem,4vw,3rem);
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip span {
  flex-shrink: 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: white; padding-inline: 1rem; white-space: nowrap;
  position: relative;
}
.strip span + span::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: rgba(47,69,92,0.25);
}

/* ─── Labels ─────────────────────────────────────────────── */
.label-coral { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--coral); margin-bottom: 0.75rem; }
.label-teal  { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal);  margin-bottom: 0.75rem; }

/* ─── Headings ───────────────────────────────────────────── */
h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--navy); margin-bottom: 1rem;
}
h2.on-dark { color: white; }
h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.on-dark h3 { color: white; }

.body-muted { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 38rem; margin-bottom: 1.5rem; }
.body-muted.on-dark { color: rgba(255,255,255,0.7); }

/* ─── Reveal animation ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── Icon box ───────────────────────────────────────────── */
.icon-box {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; border-radius: 0.75rem;
  background: var(--cream); border: 1px solid var(--mid);
}
.icon-box-teal {
  background: rgba(77,194,191,0.1); border: 1px solid rgba(77,194,191,0.2);
  color: var(--teal);
}

/* ─── Network visual ─────────────────────────────────────── */
.network-visual {
  position: relative; height: 420px; border-radius: 1rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
}
.network-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 35%, rgba(77,194,191,0.15) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 75%, rgba(248,127,111,0.08) 0%, transparent 45%);
}
.network-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(77,194,191,0.1); pointer-events: none;
}
.network-ring-1 { width: 360px; height: 360px; top: -40px; left: -80px; }
.network-ring-2 { width: 180px; height: 180px; bottom: 20px; right: -20px; }
.network-visual svg { position: relative; z-index: 2; width: 90%; max-width: 340px; }

.net-line { stroke: rgba(77,194,191,0.2); stroke-width: 1; }
.net-dash { fill: none; stroke: var(--teal); stroke-width: 1.2; animation: moveDash 2.2s linear infinite; }
.net-node { stroke: rgba(255,255,255,0.4); stroke-width: 1.2; fill: rgba(255,255,255,0.15); }
.net-label { font-size: 10px; font-weight: 500; fill: rgba(77,194,191,0.9); font-family: 'Outfit',sans-serif; }
.net-center-ring { stroke: rgba(255,255,255,1); stroke-width: 2; fill: rgba(255,255,255,0.15); }
.net-center-fill { fill: white; }

/* ─── Concept list ───────────────────────────────────────── */
.concept-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.concept-list li { display: flex; gap: 1rem; align-items: flex-start; }
.concept-list strong { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.concept-list p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Features grid ──────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 36rem) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .features-grid { grid-template-columns: repeat(3,1fr); } }

.feature-card {
  padding: 1.5rem; border-radius: 0.75rem; background: white;
  border: 1px solid var(--mid);
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--coral); }
.feature-card .tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.2rem 0.6rem; border-radius: 999px;
  color: var(--coral); background: rgba(248,127,111,0.1);
  margin: 0.75rem 0; transition: color 0.2s, background 0.2s;
}
.feature-card:hover .tag { color: white; background: var(--coral); }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ─── Use cases ──────────────────────────────────────────── */
.usecases-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem;
}
@media (min-width: 64rem) { .usecases-grid { grid-template-columns: 1fr 1fr; } }

.usecase-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; border-radius: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.usecase-card:hover { background: rgba(77,194,191,0.05); border-color: rgba(77,194,191,0.2); transform: translateY(-2px); }
.usecase-card h3 { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.usecase-card p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ─── Why grid ───────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
@media (min-width: 36rem) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .why-grid { grid-template-columns: repeat(4,1fr); } }

.why-card {
  padding: 1.5rem 1.5rem 2rem; border-radius: 0.75rem;
  border: 2px solid var(--mid);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { border-color: var(--teal); box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-2px); }
.why-num {
  display: block; font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--mid);
  line-height: 1; margin-bottom: 1rem;
  transition: color 0.2s;
}
.why-card:hover .why-num { color: var(--teal); }
.why-card h3 { font-size: 0.875rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* ─── Security ───────────────────────────────────────────── */
.security-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.security-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: 0.75rem;
  background: white; border: 1px solid var(--mid);
  transition: border-color 0.2s;
}
.security-list li:hover { border-color: var(--teal); }
.check-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(77,194,191,0.1); color: var(--teal);
}
.security-list strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.security-list p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* Activity panel */
.activity-panel {
  padding: 2rem 2.5rem; border-radius: 1rem;
  background: var(--navy); display: flex; flex-direction: column; gap: 0.75rem;
  position: relative; overflow: hidden;
}
.activity-ring {
  position: absolute; width: 240px; height: 240px;
  top: -80px; right: -80px; border-radius: 50%;
  border: 1px solid rgba(77,194,191,0.1); pointer-events: none;
}
.activity-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem; border-radius: 0.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-teal  { background: var(--teal);  box-shadow: 0 0 8px rgba(77,194,191,0.6); }
.dot-coral { background: var(--coral); box-shadow: 0 0 8px rgba(248,127,111,0.5); }
.activity-text { font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.activity-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.activity-footer {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3); padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ─── CTA section ────────────────────────────────────────── */
.cta-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background: radial-gradient(ellipse at 50% 110%, var(--teal) 0%, transparent 60%);
}
.section-cta h2 { color: white; position: relative; padding-inline: 1rem; margin-bottom: 1rem; }
.section-cta > p { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; position: relative; }
.em-coral { color: var(--coral); font-style: italic; }
.section-cta .btn-coral { position: relative; }

/* ─── Footer ─────────────────────────────────────────────── */
#cadusay-footer {
  background: #1B2C3D;
  padding: 3rem clamp(1rem,4vw,3rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.footer-logo { display: block; opacity: 0.8; transition: opacity 0.2s; }
.footer-logo:hover { opacity: 1; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-nav a:hover { color: var(--teal); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-contact a { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-contact a:hover { color: var(--teal); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ─── Contact page ───────────────────────────────────────── */
.contact-hero { padding-top: 8rem; padding-bottom: 3rem; }
.contact-hero h1 { font-size: clamp(1.8rem,4vw,3.5rem); font-weight: 600; color: white; margin-bottom: 1rem; }
.contact-hero p { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 36rem; line-height: 1.7; }

.contact-grid { align-items: start; }

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact-item a { font-weight: 600; color: var(--navy); transition: color 0.2s; }
.contact-item a:hover { color: var(--teal); }
.contact-item p { font-weight: 600; }

.contact-profiles { margin-top: 2.5rem; }
.contact-profiles h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.profile-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-radius: 0.75rem; border: 1px solid var(--mid); background: white; margin-bottom: 0.75rem; }
.profile-card strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.profile-card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.6; }

/* Form */
.contact-form-wrap { background: white; border-radius: 1rem; padding: 2rem; border: 1px solid var(--mid); }
.contact-form-wrap h2 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 36rem) { .form-row { grid-template-columns: 1fr; } }

label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
label span { color: var(--coral); }

input, select, textarea {
  display: block; width: 100%;
  padding: 0.75rem 1rem; border-radius: 0.625rem;
  border: 1px solid var(--mid); background: var(--cream);
  font-family: inherit; font-size: 0.9375rem; color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(77,194,191,0.15);
}
textarea { resize: vertical; line-height: 1.6; }
select { cursor: pointer; appearance: auto; }

.form-success {
  padding: 1rem 1.25rem; border-radius: 0.75rem;
  background: rgba(77,194,191,0.1); border: 1px solid rgba(77,194,191,0.3);
  color: var(--navy); font-weight: 600; margin-bottom: 1.5rem;
}

/* ─── Utility ────────────────────────────────────────────── */
.hide-xs { display: none; }
@media (min-width: 36rem) { .hide-xs { display: inline; } .show-xs { display: none; } }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes moveDash {
  to { stroke-dashoffset: -36; }
}
