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

:root {
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent: #16a34a;
  --accent-light: #22c55e;
  --accent-dim: rgba(22, 163, 74, 0.08);
  --accent-border: rgba(22, 163, 74, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Coda', system-ui, sans-serif; font-weight: 400; line-height: 1.3; }

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}

.logo {
  font-family: 'Coda', sans-serif; font-size: 18px;
  color: var(--accent); font-weight: 800; letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); opacity: 1; }

.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: all 0.3s; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px; max-width: 1200px; margin: 0 auto; gap: 60px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block; background: var(--accent-dim); color: var(--accent);
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 100px; border: 1px solid var(--accent-border); margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px); font-weight: 800;
  color: var(--text); margin-bottom: 20px; letter-spacing: -0.02em;
}

.hero-desc {
  color: var(--text-muted); font-size: 16px; margin-bottom: 36px; max-width: 480px;
}

.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Coda', sans-serif; font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

.btn-outline-small {
  background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border);
  padding: 8px 18px; font-size: 13px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s;
}
.btn-outline-small:hover { border-color: var(--accent); color: var(--accent); }

.btn-submit {
  background: var(--accent); color: #fff; border: none; padding: 14px 32px;
  font-size: 15px; font-weight: 700; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s; width: 100%; margin-top: 8px;
}
.btn-submit:hover { background: var(--accent-light); }

/* Hero Visual */
.hero-visual { flex: 0 0 auto; width: 320px; }
.domain-grid { display: flex; flex-direction: column; gap: 10px; }

.dg-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  font-family: 'SF Mono', Menlo, monospace; font-size: 15px; color: var(--text);
  transition: all 0.2s; animation: fadeSlideIn 0.5s ease forwards; opacity: 0;
  box-shadow: var(--shadow);
}
.dg-item:nth-child(1) { animation-delay: 0.1s; }
.dg-item:nth-child(2) { animation-delay: 0.2s; }
.dg-item:nth-child(3) { animation-delay: 0.3s; }
.dg-item:nth-child(4) { animation-delay: 0.4s; }
.dg-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.dg-item:hover { border-color: var(--accent); background: var(--accent-dim); }
.dg-item span { color: var(--text-dim); }
.dg-item .ailys { color: var(--accent); }
.dg-item .dg-brand { color: var(--accent); }

/* ===== Section Titles ===== */
section h2 { font-size: clamp(28px, 4vw, 40px); color: var(--text); margin-bottom: 12px; }
.section-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; max-width: 560px; }

/* ===== Why Section ===== */
.why-section { padding: 80px 0; border-top: 1px solid var(--border); }
.why-section h2 { margin-bottom: 40px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all 0.2s;
  box-shadow: var(--shadow);
}
.why-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 28px; margin-bottom: 14px; }
.why-card h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== Domains Section ===== */
.domains-section { padding: 80px 0; }
.domains-section h2 { margin-bottom: 8px; }

.domains-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }

.domain-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.25s;
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.domain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); opacity: 0; transition: opacity 0.25s;
}
.domain-card:hover {
  border-color: var(--accent); background: var(--bg-card-hover);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.domain-card:hover::before { opacity: 1; }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-tag {
  font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-dim);
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em;
  border: 1px solid var(--accent-border);
}
.card-status { font-size: 11px; color: var(--text-dim); border: 1px solid var(--border); padding: 2px 10px; border-radius: 100px; }

.card-domain {
  font-family: 'SF Mono', Menlo, monospace; font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.card-domain span { color: var(--text-dim); }
.card-brand { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.card-tagline {
  font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}

.card-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.metric {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 10px; font-size: 12px;
}
.metric-val { color: var(--text); font-weight: 600; }
.metric-unit { color: var(--text-dim); margin-left: 4px; }

.card-positioning { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }

.card-scenarios { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.scenario-tag {
  font-size: 11px; color: var(--text-muted); background: var(--bg);
  border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px;
}

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 16px; border-top: 1px solid var(--border);
}
.card-price { font-size: 13px; color: var(--text-dim); }

.btn-inquire {
  background: var(--accent); color: #fff; border: none; padding: 8px 18px;
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.btn-inquire:hover { background: var(--accent-light); transform: scale(1.03); }

.long-domain .card-domain { font-size: 19px; }

/* ===== Combined Section ===== */
.combined-section { padding: 80px 0; border-top: 1px solid var(--border); background: var(--bg); }
.combined-section h2 { margin-bottom: 32px; }
.combined-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.combined-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.2s;
  box-shadow: var(--shadow);
}
.combined-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cc-domain-pair { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.dp {
  font-family: 'SF Mono', Menlo, monospace; font-size: 14px; color: var(--text);
  background: var(--bg); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border);
}
.dp-arrow { color: var(--accent); font-size: 16px; font-weight: 700; }
.combined-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== Process Section ===== */
.process-section { padding: 80px 0; border-top: 1px solid var(--border); }
.process-section h2 { margin-bottom: 40px; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative; transition: all 0.2s;
  box-shadow: var(--shadow);
}
.step:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Coda', sans-serif; font-size: 48px; font-weight: 800;
  color: var(--accent); opacity: 0.15; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 16px; color: var(--text); margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 700; }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.step p strong { color: var(--accent); }

/* ===== Details Section ===== */
.details-section { padding: 80px 0; border-top: 1px solid var(--border); background: var(--bg); }
.details-section h2 { margin-bottom: 32px; }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 24px; }
.detail-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.detail-item strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 6px; font-weight: 700; }
.detail-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.disclaimer { font-size: 12px; color: var(--text-dim); text-align: center; padding-top: 16px; border-top: 1px solid var(--border); }

/* ===== Contact Section ===== */
.contact-section { padding: 80px 0; border-top: 1px solid var(--border); }
.contact-section h2 { margin-bottom: 8px; }
.contact-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; max-width: 520px; }

.inquiry-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; max-width: 640px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group.full { margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.form-group .required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px;
  font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s;
  font-family: inherit; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 80px; }

.email-template {
  margin-top: 32px; padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius); max-width: 640px;
  box-shadow: var(--shadow);
}
.et-label { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.et-code {
  font-family: 'SF Mono', Menlo, monospace; font-size: 12px;
  color: var(--text-muted); background: var(--bg); border-radius: var(--radius-sm);
  padding: 16px; white-space: pre-wrap; word-break: break-all; margin-bottom: 14px;
  line-height: 1.6; border: 1px solid var(--border);
}

/* ===== Footer ===== */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border); background: var(--bg-card); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: 'Coda', sans-serif; font-size: 20px; font-weight: 800;
  color: var(--accent); margin-bottom: 10px;
}
.footer-desc { font-size: 13px; color: var(--text-muted); }
.footer h4 {
  font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 14px; font-family: 'Inter', sans-serif;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-muted); font-size: 13px; }
.footer a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.copyright { text-align: right; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  animation: modalIn 0.2s ease;
  box-shadow: var(--shadow-md);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  color: var(--text-muted); font-size: 24px; cursor: pointer; z-index: 1;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all 0.2s;
}
.modal-close:hover { color: var(--text); background: var(--bg); }
.modal-body { padding: 32px; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: #fff; padding: 10px 22px;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  z-index: 999; animation: toastIn 0.2s ease;
}
.toast.show { animation: toastIn 0.2s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.hidden { display: none !important; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px);
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--border);
  }
  .hero { flex-direction: column; padding-top: 100px; min-height: auto; }
  .hero-visual { width: 100%; }
  .hero-title br { display: block; }
  .domains-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .copyright { text-align: left; }
}
