/* SOLTIA — Global Stylesheet */
/* Colors: primary #BB4C81, secondary #E7324C, text #2E0547, bg #f8f6fa */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #BB4C81;
  --secondary: #E7324C;
  --text: #2E0547;
  --accent: #FF6E5B;
  --green: #5CC55A;
  --dark: #391385;
  --bg: #f8f6fa;
  --white: #fff;
  --gray: #666;
  --light-gray: #e5e7eb;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-white { background: var(--white); }
.section-bg { background: var(--bg); }
.text-center { text-align: center; }

/* === Promo Banner === */
.promo-bar {
  background: linear-gradient(90deg, var(--dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 14px;
  position: relative;
}
.promo-bar a { color: var(--white); font-weight: 600; text-decoration: underline; margin-left: 8px; }
.promo-bar .close-promo {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); font-size: 18px; cursor: pointer; opacity: 0.7;
}
.promo-bar .close-promo:hover { opacity: 1; }

/* === Navigation === */
.nav {
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo img { height: 36px; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; color: var(--text); font-weight: 500; font-size: 15px;
  border-radius: 8px; transition: background 0.2s, color 0.2s;
}
.nav-menu > li > a:hover, .nav-menu > li:hover > a {
  background: var(--bg); color: var(--primary); text-decoration: none;
}
.nav-menu > li > a .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-menu > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-menu > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; color: var(--text); font-size: 14px;
  border-radius: 8px; transition: background 0.15s;
}
.dropdown a:hover { background: var(--bg); text-decoration: none; }
.dropdown .badge {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 4px; margin-left: 8px; text-transform: uppercase;
}
.badge-new { background: var(--green); color: var(--white); }
.badge-promo { background: var(--secondary); color: var(--white); }

/* Nav CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white) !important; padding: 10px 22px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--text) 0%, var(--dark) 40%, var(--primary) 100%);
  padding: 100px 24px 80px; text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  margin-bottom: 20px; line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px; opacity: 0.85; max-width: 650px;
  margin: 0 auto 36px; font-weight: 300; line-height: 1.7;
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  border: none; text-align: center;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); box-shadow: 0 4px 16px rgba(187,76,129,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(187,76,129,0.4); color: var(--white); }
.btn-secondary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white); box-shadow: 0 2px 8px rgba(34,197,94,0.25);
}
.btn-white {
  background: var(--white); color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { color: var(--secondary); }

/* === Feature Badges (hero) === */
.badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px; margin-top: 40px;
}
.badge-item {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px; border-radius: 10px; font-size: 14px;
  color: rgba(255,255,255,0.9); backdrop-filter: blur(4px);
}
.badge-item strong { color: var(--white); }

/* === Pricing Cards === */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 48px;
}
.pricing-card {
  background: var(--white); border-radius: 16px; padding: 36px 28px;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden; text-align: center;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(187,76,129,0.15);
}
.pricing-card.featured::before {
  content: 'Popular'; position: absolute; top: 16px; right: -28px;
  background: var(--primary); color: var(--white); padding: 4px 40px;
  font-size: 12px; font-weight: 600; transform: rotate(45deg);
}
.pricing-discount {
  display: inline-block; background: var(--secondary); color: var(--white);
  padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 12px;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 8px; }
.pricing-price {
  font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1;
}
.pricing-price small { font-size: 16px; font-weight: 400; color: var(--gray); }
.pricing-old { text-decoration: line-through; color: var(--gray); font-size: 14px; margin-top: 4px; }
.pricing-features { margin: 24px 0; text-align: left; }
.pricing-features li {
  padding: 8px 0; border-bottom: 1px solid var(--light-gray);
  font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* === Feature Grid === */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white); border-radius: 14px; padding: 32px 24px;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* === Content Sections === */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.split-content h2 span { color: var(--primary); }
.split-content p { color: var(--gray); font-size: 15px; line-height: 1.8; }
.split-image { text-align: center; }
.split-image img { max-width: 400px; border-radius: 16px; }

/* === Section Headers === */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* === Domain Search === */
.search-box { max-width: 720px; margin: 0 auto; }
.search-form {
  display: flex; background: var(--white); border-radius: 14px;
  overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.search-form:focus-within { box-shadow: 0 8px 48px rgba(187,76,129,0.35); }
.search-input {
  flex: 1; border: none; padding: 18px 24px; font-size: 17px;
  font-family: inherit; color: var(--text); outline: none; min-width: 0;
}
.search-input::placeholder { color: #aaa; }
.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white); border: none; padding: 18px 36px;
  font-size: 16px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: opacity 0.2s; white-space: nowrap;
}
.search-btn:hover { opacity: 0.92; }
.tld-badges {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 24px; flex-wrap: wrap;
}
.tld-badge {
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); padding: 6px 16px; border-radius: 20px;
  font-size: 14px; font-weight: 500;
}

/* Domain Results */
.results-card { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; }
.s-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px; color: #888; }
.s-spinner {
  width: 26px; height: 26px; border: 3px solid #eee;
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.s-result {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; margin: 4px 0; border-radius: 10px;
  transition: transform 0.12s;
}
.s-result:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.s-result-info { display: flex; align-items: center; gap: 12px; flex: 1; }
.s-icon {
  width: 28px; height: 28px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 14px;
  font-weight: 700; color: var(--white); flex-shrink: 0;
}
.s-available { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-left: 4px solid #22c55e; }
.s-available .s-icon { background: #22c55e; }
.s-available .s-domain { color: #166534; }
.s-unavailable { background: linear-gradient(135deg, #fef2f2, #fee2e2); border-left: 4px solid #ef4444; }
.s-unavailable .s-icon { background: #ef4444; }
.s-unavailable .s-domain { color: #991b1b; }

/* === Footer === */
.footer {
  background: linear-gradient(135deg, var(--text), var(--dark));
  color: rgba(255,255,255,0.7); padding: 60px 24px 30px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  color: var(--white); font-size: 16px; transition: background 0.2s;
}
.social-links a:hover { background: var(--primary); }

/* === Animations === */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; padding: 24px;
    gap: 0; overflow-y: auto; z-index: 999;
  }
  .nav-menu.active { display: flex; }
  .nav-menu > li > a { padding: 14px 0; font-size: 17px; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 0 16px; display: none;
  }
  .nav-menu > li.open > .dropdown { display: block; }
  .nav-cta { display: none; }

  .hero { padding: 60px 20px 50px; }
  .hero h1 { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .search-form { flex-direction: column; border-radius: 12px; }
  .search-btn { border-radius: 0; }

  .s-result { flex-direction: column; gap: 10px; text-align: center; }
  .s-result-info { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding: 48px 0; }
}
