/* ============================
   MEIREKEMU — STYLESHEET
   ============================ */

:root {
  --primary: #0a0f1e;
  --secondary: #111827;
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-glow: rgba(59,130,246,.18);
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.14);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.18; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

em { font-style: normal; color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 4px 18px rgba(59,130,246,.3);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,.4); }
.btn-outline {
  border-color: var(--accent); color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: white; transform: translateY(-2px); }
.btn-nav {
  background: var(--accent); color: white;
  padding: .5rem 1.4rem; font-size: .88rem;
  border-radius: 50px;
}
.btn-nav:hover { background: var(--accent-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
  padding: 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(15,23,42,.08);
}
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.2rem 0;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: 1.25rem;
  color: white; font-weight: 400;
  flex-shrink: 0;
}
.logo strong { font-weight: 800; }
#navbar.scrolled .logo { color: var(--text); }
.logo-icon { display: flex; }

.nav-links {
  display: flex; gap: .2rem; align-items: center;
  margin-left: auto;
}
.nav-links a {
  padding: .45rem .9rem; border-radius: 8px;
  font-size: .92rem; font-weight: 400;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,.12); }
#navbar.scrolled .nav-links a { color: var(--text-muted); }
#navbar.scrolled .nav-links a:hover { color: var(--text); background: var(--surface-alt); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 4px; transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1b3e 50%, #0f2050 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; position: relative; overflow: hidden;
  padding-top: 5rem;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: -200px; left: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: -100px; right: 30%;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  grid-column: 1; z-index: 1;
  padding: 6rem 0 5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
  color: #93c5fd; padding: .45rem 1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500; margin-bottom: 1.8rem;
}
.hero-title {
  color: white; margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title em { 
  color: #60a5fa;
  position: relative;
}
.hero-desc {
  color: rgba(255,255,255,.72); font-size: 1.1rem;
  max-width: 520px; margin-bottom: 2.4rem; font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-cta .btn-outline { border-color: rgba(255,255,255,.4); color: white; }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,.1); color: white; }
.hero-stats {
  display: flex; gap: 1.5rem; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: white; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); font-weight: 300; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,.15); }

.hero-image-wrap {
  grid-column: 2; height: 100%; position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .45;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.8) 30%, black 60%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.8) 30%, black 60%);
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--accent); overflow: hidden;
  padding: .85rem 0; position: relative;
}
.ticker-track {
  display: inline-flex; gap: 2rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  color: white; opacity: .9;
}
.ticker-track span:nth-child(even) { opacity: .4; font-size: .7rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 7rem 0; }
.section-alt { background: var(--surface-alt); }

.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  background: var(--accent-glow); color: var(--accent);
  border: 1px solid rgba(59,130,246,.25);
  padding: .35rem 1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.section-tag.light {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.2);
}
.section-title { margin-bottom: 1rem; }
.section-title-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-glow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.ic-blue  { background: #eff6ff; color: #3b82f6; }
.ic-green { background: #f0fdf4; color: #22c55e; }
.ic-orange{ background: #fff7ed; color: #f97316; }
.ic-purple{ background: #f5f3ff; color: #8b5cf6; }
.ic-red   { background: #fef2f2; color: #ef4444; }
.ic-teal  { background: #f0fdfa; color: #14b8a6; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin-bottom: 1.2rem; }
.service-link { color: var(--accent); font-weight: 600; font-size: .88rem; transition: gap .2s; display: inline-flex; align-items: center; gap: .4rem; }
.service-link:hover { gap: .7rem; }

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text p { color: var(--text-muted); font-size: 1rem; }
.col-text p + p { margin-top: 1rem; }

.section-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
}

/* ===== DOMAIN TLDs ===== */
.domain-tlds {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin: 1.8rem 0 2rem;
}
.tld-pill {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50px; padding: .5rem 1.1rem;
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
  transition: var(--transition);
}
.tld-pill span { font-family: var(--font-body); font-size: .75rem; font-weight: 400; color: var(--text-muted); }
.tld-pill:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.tld-featured { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  position: relative; transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-popular {
  border-color: var(--accent); background: #fafcff;
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
}
.pricing-popular:hover { transform: translateY(-14px) scale(1.02); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: .3rem 1.1rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.pricing-label { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.pricing-price { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 1.8rem; }
.pricing-price strong { font-size: 2.4rem; font-weight: 800; }
.pricing-price span { color: var(--text-muted); font-size: .9rem; }
.pricing-features { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.pricing-features li { font-size: .9rem; color: var(--text); }
.pricing-features li.dim { color: var(--text-muted); }

/* ===== SSL ===== */
.ssl-partners { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.8rem 0 2rem; }
.ssl-item { display: flex; gap: 1rem; align-items: flex-start; }
.ssl-icon { font-size: 1.6rem; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.ssl-item strong { display: block; font-weight: 700; margin-bottom: .25rem; }
.ssl-item p { color: var(--text-muted); font-size: .88rem; }

/* ===== ABOUT ===== */
.about-highlights {
  display: flex; gap: 2rem; margin-top: 2rem;
  padding-top: 1.8rem; border-top: 1px solid var(--border);
}
.highlight-item { display: flex; flex-direction: column; gap: .2rem; }
.highlight-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.highlight-item span:last-child { font-size: .8rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; }
.testi-card > p { color: var(--text-muted); font-size: .92rem; line-height: 1.65; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .92rem; font-weight: 700; }
.testi-author span { font-size: .78rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.section-contact {
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1b3e 100%);
  position: relative; overflow: hidden;
}
.section-contact::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.contact-layout { position: relative; z-index: 1; }
.white { color: white !important; }
.white-text { color: rgba(255,255,255,.68); font-size: 1rem; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; width: 40px; }
.contact-item strong { display: block; color: white; font-size: .9rem; margin-bottom: .25rem; }
.contact-item p, .contact-item a { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.5; }
.contact-item a:hover { color: #60a5fa; }

.col-form {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; box-shadow: var(--shadow-lg);
}
.col-form h3 { font-size: 1.3rem; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .45rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: .92rem; color: var(--text);
  background: #f8fafc; transition: border-color .2s;
  outline: none; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); background: white; }
.form-success { display: none; margin-top: 1rem; padding: .85rem 1rem; background: #f0fdf4; border: 1px solid #86efac; color: #15803d; border-radius: 10px; font-size: .88rem; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary); padding-top: 5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: .88rem; line-height: 1.6; margin-bottom: 1.2rem; }
.footer-contact-quick { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact-quick span { font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-links { display: contents; }
.footer-col h4 { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: white; border: none;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(59,130,246,.4);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--accent-dark); }

/* ===== ANIMATE IN ===== */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .65s ease, transform .65s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .hero-content { padding: 8rem 0 5rem; grid-column: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-links { display: contents; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,15,30,.97); padding: 1.5rem 5%; gap: .5rem; backdrop-filter: blur(16px); }
  .nav-links.open a { color: rgba(255,255,255,.85); padding: .75rem 1rem; font-size: 1rem; }
  .hamburger { display: flex; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 2.5rem; direction: ltr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.3rem; }
  .about-highlights { gap: 1.2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-popular { transform: none; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .domain-tlds { gap: .5rem; }
}
