/* ============================================
   VybeCode Ltd — Main Stylesheet (Light Theme)
   ============================================ */

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

:root {
  --bg:        #ffffff;
  --bg-soft:   #f8f9fb;
  --bg-card:   #ffffff;
  --text:      #111118;
  --text-muted:#5c5c72;
  --border:    rgba(0,0,0,.08);
  --blue:      #3b82f6;
  --orange:    #f97316;
  --pink:      #e84393;
  --green:     #22c55e;
  --radius:    16px;
  --radius-sm: 10px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 0 var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--text); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: .15;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb--blue  { width: 500px; height: 500px; background: var(--blue);  top: -10%; left: -5%;  animation-delay: 0s; }
.hero-orb--pink  { width: 400px; height: 400px; background: var(--pink);  bottom: -5%; right: -5%; animation-delay: -7s; }
.hero-orb--green { width: 350px; height: 350px; background: var(--green); top: 40%;   left: 60%;  animation-delay: -14s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.6);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--orange));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

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

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,.4);
}

/* ---------- Section Shared ---------- */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-tag--warm { color: var(--orange); }

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Products Showcase ---------- */
.products {
  padding: 100px 0 120px;
  position: relative;
  background: var(--bg);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  perspective: 1200px;
}

.showcase-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: cardReveal .8s cubic-bezier(.4,0,.2,1) both;
  animation-delay: var(--delay, 0s);
  transform-style: preserve-3d;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(40px) rotateX(4deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}

.showcase-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.showcase-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.showcase-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow:
    0 20px 50px rgba(0,0,0,.08),
    0 8px 20px rgba(0,0,0,.04),
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

.card-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.card-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.showcase-card:hover .card-screen img {
  transform: scale(1.04);
}

.card-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.2) 0%,
    rgba(255,255,255,.05) 40%,
    transparent 60%
  );
  pointer-events: none;
  transition: opacity var(--transition);
}
.showcase-card:hover .card-gloss {
  opacity: .7;
}

.card-info {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}
.card-tag {
  display: inline-block;
  width: fit-content;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent, var(--blue));
  background: color-mix(in srgb, var(--accent, var(--blue)) 10%, transparent);
  padding: 4px 10px;
  border-radius: 6px;
}
.card-info p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
  flex: 1;
}
.card-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent, var(--blue));
  margin-top: 8px;
}

/* ---------- About ---------- */
.about {
  padding: 120px 0;
  position: relative;
  background: var(--bg-soft);
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.04), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--glow, var(--blue)) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--glow, var(--blue));
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* Expertise bar */
.expertise-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.expertise-item {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.expertise-item:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 5%, white);
}

/* ---------- Mindhelp.ing ---------- */
.mindhelping {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.mindhelping::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(249,115,22,.03) 50%, transparent);
  pointer-events: none;
}

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

.mindhelp-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
  color: var(--text);
}
.mindhelp-tagline {
  font-size: 1.15rem;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 20px;
}
.mindhelp-content > p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.mindhelp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.mindhelp-features li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--orange);
}
.mindhelp-features li strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.mindhelp-features li span {
  color: var(--text-muted);
  font-size: .85rem;
}

.mindhelp-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--orange);
  padding: 12px 28px;
  border: 1px solid var(--orange);
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}
.mindhelp-cta:hover {
  background: var(--orange);
  color: #fff;
}

.mindhelp-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,.08), 0 8px 20px rgba(0,0,0,.04);
}
.mindhelp-image img {
  width: 100%;
  display: block;
}

/* ---------- Upcoming ---------- */
.upcoming {
  padding: 120px 0;
  background: var(--bg-soft);
}

.upcoming-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 80px 40px;
  border: 1px dashed rgba(0,0,0,.12);
  border-radius: var(--radius);
  text-align: center;
  background: var(--bg-card);
}
.upcoming-icon svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: .4;
}
.upcoming-placeholder p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 24px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: .85rem; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---------- Sub-Pages Shared ---------- */
.page-content {
  padding: 120px 0 80px;
  min-height: 60vh;
}
.container--narrow {
  max-width: 760px;
}
.nav-active {
  color: var(--text) !important;
}

/* ---------- Contact Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--pink); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a0b8;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c5c72' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-consent {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--blue);
  text-decoration: underline;
}

.form-submit {
  align-self: flex-start;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 36px;
  border: none;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(59,130,246,.3);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,.4);
}

.form-note {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Legal Pages ---------- */
.legal-date {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-body section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.legal-body p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.legal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}
.legal-body li {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}
.legal-body a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-card { grid-column: span 1; }
  .showcase-card:nth-child(4) { grid-column: span 1; }
  .showcase-card:nth-child(5) { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }

  .mindhelp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }

  .hero { min-height: 80vh; padding: 100px 24px 60px; }
  .hero h1 { font-size: 2.25rem; }

  .showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .showcase-card,
  .showcase-card:nth-child(4),
  .showcase-card:nth-child(5) { grid-column: span 1; max-width: none; margin: 0; }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .card-info { padding: 18px 18px 22px; }
  .feature-card { padding: 28px 22px; }
}
