/* ============================================================
   Roomcility Theme — Main Stylesheet
   ============================================================ */

:root {
  --blue-darkest: #0a1628;
  --blue-dark:    #0f2b5b;
  --blue-mid:     #0078d4;
  --blue-bright:  #2196f3;
  --blue-light:   #deebf7;
  --blue-pale:    #f0f6ff;
  --accent:       #0078d4;
  --accent-hover: #106ebe;
  --white:        #ffffff;
  --text-dark:    #1a1a2e;
  --text-muted:   #5a6a80;
  --border:       #d0e3f5;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  color: var(--blue-mid);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 3.5rem; }

/* ── NAV ── */
.rc-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,120,212,0.25);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.rc-nav .nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.rc-nav .nav-logo span { color: var(--blue-mid); }

.rc-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.rc-nav ul a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.rc-nav ul a:hover { color: var(--white); }

.rc-nav .nav-cta {
  background: var(--blue-mid);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.rc-nav .nav-cta:hover { background: var(--accent-hover); }

/* ── HERO ── */
.rc-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-dark) 55%, #0d3d7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 6% 80px;
  position: relative;
  overflow: hidden;
}

.rc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(0,120,212,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(33,150,243,0.12) 0%, transparent 70%);
}

.rc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.rc-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.rc-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,120,212,0.2);
  border: 1px solid rgba(0,120,212,0.4);
  color: #90caf9;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.rc-hero .hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fc3f7;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.rc-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}

.rc-hero h1 em {
  font-style: normal;
  color: #64b5f6;
}

.rc-hero .subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(0,120,212,0.45);
  display: inline-block;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: #64b5f6; letter-spacing: -1px; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── SECTIONS SHARED ── */
.rc-section { padding: 90px 6%; }

/* ── WAT IS ROOMCILITY ── */
.rc-section-wat {
  background: var(--blue-pale);
  position: relative;
  overflow: hidden;
}

.rc-section-wat::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.07) 0%, transparent 70%);
}

.wat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.wat-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,78,140,0.1);
}

@media (max-width: 900px) {
  .wat-mockup {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wat-mockup > div {
    min-width: 600px;
  }
}

/* ── FEATURES ── */
.rc-section-features { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-bright));
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0,78,140,0.12);
  transform: translateY(-4px);
  border-color: rgba(0,120,212,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

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

/* ── DEMO ── */
.rc-section-demo {
  background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 60%, #0d3d7a 100%);
  padding: 90px 4%;
  position: relative;
  overflow: hidden;
}

.rc-section-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.demo-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.demo-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.demo-header .section-title { color: var(--white); }
.demo-header .section-sub { margin: 0 auto; color: rgba(255,255,255,0.65); }

.demo-frame-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  max-width: 1000px;
  margin: 0 auto;
}

.demo-frame-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.demo-frame-dot { width: 12px; height: 12px; border-radius: 50%; }
.demo-frame-dot.red   { background: #ff5f56; }
.demo-frame-dot.amber { background: #febc2e; }
.demo-frame-dot.green { background: #28c840; }

.demo-frame-url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Sora', sans-serif;
  margin-left: 8px;
}

.demo-iframe {
  width: 100%;
  height: 620px;
  border: none;
  border-radius: 10px;
  display: block;
}

@media (max-width: 900px) {
  .demo-iframe {
    height: 520px;
  }
  .demo-frame-wrapper {
    padding: 14px;
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .demo-iframe {
    height: 700px;
  }
}

.demo-caption {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  margin-top: 1.2rem;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* ── HOE HET WERKT ── */
.rc-section-hoe { background: var(--blue-pale); }

.steps-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 80px;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--blue-mid), rgba(0,120,212,0.1));
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,120,212,0.35);
  position: relative;
  z-index: 1;
}

.step-content { padding-top: 1.2rem; }

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PRIJZEN ── */
.rc-section-prijzen { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,78,140,0.1); }

.pricing-card.featured {
  background: linear-gradient(145deg, var(--blue-dark), #0d3d7a);
  border-color: var(--blue-mid);
  box-shadow: 0 8px 40px rgba(0,120,212,0.3);
  color: white;
}

.pricing-badge {
  display: inline-block;
  background: var(--blue-mid);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.plan-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.pricing-card.featured .plan-name { color: white; }

.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; margin: 1rem 0 0.25rem; color: var(--text-dark); }
.pricing-card.featured .plan-price { color: white; }
.plan-price span { font-size: 0.9rem; font-weight: 400; }

.plan-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card.featured .plan-period { color: rgba(255,255,255,0.6); }

.plan-features { list-style: none; margin-bottom: 2rem; flex: 1; }

.plan-features li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
}

.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.8); }

.plan-features li::before { content: '✓'; color: var(--blue-mid); font-weight: 800; flex-shrink: 0; }
.pricing-card.featured .plan-features li::before { color: #64b5f6; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.plan-btn-outline { border: 2px solid var(--blue-mid) !important; color: var(--blue-mid); background: transparent; }
.plan-btn-outline:hover { background: var(--blue-pale); }

.plan-btn-solid { background: var(--blue-mid); color: white; border: 2px solid var(--blue-mid) !important; }
.plan-btn-solid:hover { background: var(--accent-hover); transform: translateY(-2px); }

.plan-btn-white { background: white; color: var(--blue-dark); border: 2px solid white !important; }
.plan-btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.pricing-extra-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--blue-pale);
}

.pricing-extra-card .extra-icon { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pricing-extra-card .extra-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--text-dark); }
.pricing-extra-card .extra-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT ── */
.rc-section-contact {
  background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-dark) 100%);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-left .section-title { color: white; }
.contact-left .section-sub { color: rgba(255,255,255,0.65); }

.contact-team { display: flex; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }

.team-member { display: flex; align-items: center; gap: 0.9rem; }

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), #1565c0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}

.team-info-name { font-size: 0.9rem; font-weight: 700; color: white; }
.team-info-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form .form-row { margin-bottom: 1.2rem; }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: rgba(255,255,255,0.12);
}

.contact-form select option { background: var(--blue-dark); color: white; }
.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form .form-submit {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  background: var(--blue-mid);
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.contact-form .form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── FOOTER ── */
.rc-footer {
  background: var(--blue-darkest);
  padding: 2rem 6%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.rc-footer p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.rc-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.rc-footer a:hover { color: rgba(255,255,255,0.8); }

/* ── FADE-IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wat-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-extras { grid-template-columns: 1fr; }
  .rc-nav ul { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .rc-section { padding: 60px 5%; }
  .rc-hero { padding: 90px 5% 60px; }
  .rc-hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .step { grid-template-columns: 56px 1fr; gap: 1.2rem; }
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }
  .step:not(:last-child)::after { left: 27px; }
  .pricing-extras { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .demo-frame-topbar { gap: 5px; }
  .demo-frame-url { font-size: 0.65rem; padding: 4px 8px; }
  .section-title { font-size: 1.6rem; }
}
