/* ── DILROYAL.COM — SHARED STYLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #0d9488;
  --teal-d:     #0f766e;
  --teal-dd:    #115e59;
  --teal-light: #e8f5f3;
  --teal-mid:   #b2e8e4;
  --green:      #4caf50;
  --orange:     #f26522;
  --text:       #1a1a2e;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg:         #ffffff;
  --bg-soft:    #f8fffe;
  --border:     #e2f0ef;
  --border-mid: #b2e8e4;
  --shadow-sm:  0 1px 3px rgba(13,148,136,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(13,148,136,0.12), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 32px rgba(13,148,136,0.15), 0 4px 12px rgba(0,0,0,0.06);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex; align-items: center;
  padding: 0 5%;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  color: var(--teal); text-decoration: none;
  letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--text); }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); padding: 6px 13px;
  border-radius: var(--radius-sm); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-cta { background: var(--teal) !important; color: #fff !important; border-radius: var(--radius-sm) !important; padding: 7px 18px !important; }
.nav-cta:hover { background: var(--teal-d) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--text); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 70px 5% 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(13,148,136,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-light); color: var(--teal-d);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px; border: 1px solid var(--teal-mid);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 16px; line-height: 1.2;
}
.page-hero p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.75;
}

/* ── SECTIONS ── */
.section { padding: 72px 5%; }
.section-alt { background: var(--bg-soft); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.section-tag::before, .section-tag::after { content:''; display:block; width:20px; height:1.5px; background:var(--teal-mid); }
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px;
}
.section-desc { font-size: 0.975rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; line-height: 1.75; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.975rem;
  padding: 12px 26px; border-radius: var(--radius); text-decoration: none;
  transition: all 0.2s; box-shadow: 0 4px 14px rgba(13,148,136,0.3);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-d); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,148,136,0.38); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.975rem;
  padding: 12px 26px; border-radius: var(--radius); text-decoration: none;
  border: 1.5px solid var(--border-mid); transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-mid), transparent); margin: 0 5%; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dd) 0%, var(--teal) 60%, #0ea5a0 100%);
  padding: 72px 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(76,175,80,0.18) 0%, transparent 60%);
  pointer-events:none;
}
.cta-band h2 {
  font-family: 'Outfit', sans-serif; font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px;
}
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 460px; margin: 0 auto 32px; line-height: 1.7; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--teal);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.975rem;
  padding: 12px 26px; border-radius: var(--radius); text-decoration: none;
  transition: all 0.2s; box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.975rem;
  padding: 12px 26px; border-radius: var(--radius); text-decoration: none; transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: #0f172a; color: #94a3b8; padding: 56px 5% 28px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #1e293b;
}
.footer-brand-name {
  font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: var(--teal); margin-bottom: 10px; letter-spacing: -0.03em;
}
.footer-about { font-size: 0.85rem; line-height: 1.8; }
.footer-col-title {
  font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #cbd5e1; margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.85rem; color: #64748b; text-decoration: none; transition: color 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem;
}
.footer-bottom a { color: #64748b; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--teal); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; z-index: 99; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 50px 4% 44px; }
  .section { padding: 52px 4%; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }
.fade-up-2 { animation: fadeUp 0.5s 0.1s ease both; }
.fade-up-3 { animation: fadeUp 0.5s 0.2s ease both; }

/* HERO */
.hero{
  position:relative;
  padding:90px 5% 80px;
  overflow:hidden;
  background:linear-gradient(to bottom,#ffffff,#f8fffe);
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left,rgba(13,148,136,.08),transparent 35%),
    radial-gradient(circle at bottom right,rgba(76,175,80,.08),transparent 35%);
  pointer-events:none;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--teal-light);
  color:var(--teal-d);
  border:1px solid var(--border-mid);
  padding:6px 14px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  margin-bottom:20px;
}

.hero h1{
  font-family:'Outfit',sans-serif;
  font-size:clamp(2.8rem,6vw,5rem);
  line-height:1.05;
  letter-spacing:-.04em;
  margin-bottom:18px;
  max-width:780px;
}

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

.hero-sub{
  font-size:1.08rem;
  line-height:1.8;
  color:var(--text-muted);
  max-width:760px;
  margin-bottom:34px;
}

.hero-btns{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

/* SUBDOMAIN CARDS */
.subdomain-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:24px;
  max-width:1100px;
  margin:0 auto;
}

.subdomain-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:30px;
  text-decoration:none;
  transition:.25s ease;
  box-shadow:var(--shadow-sm);
}

.subdomain-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:var(--teal-mid);
}

.sd-url{
  display:inline-block;
  font-size:.8rem;
  color:var(--teal);
  margin-bottom:18px;
  font-weight:700;
}

.sd-icon{
  font-size:2rem;
  margin-bottom:18px;
}

.sd-label{
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--teal);
  margin-bottom:10px;
}

.sd-name{
  font-family:'Outfit',sans-serif;
  font-size:1.5rem;
  font-weight:800;
  color:var(--text);
  margin-bottom:14px;
}

.sd-desc{
  color:var(--text-muted);
  line-height:1.8;
  margin-bottom:22px;
}

.sd-link{
  color:var(--teal);
  font-weight:700;
}

/* FEATURES */
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:22px;
  max-width:1100px;
  margin:0 auto;
}

.feature-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px;
  transition:.25s ease;
}

.feature-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}

.feature-icon{
  font-size:1.8rem;
  margin-bottom:18px;
}

.feature-title{
  font-family:'Outfit',sans-serif;
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:10px;
}

.feature-desc{
  color:var(--text-muted);
  line-height:1.7;
}