html, body { height: 100%; margin: 0; padding: 0; }
* { font-family: 'Poppins', sans-serif; }
.mono { font-family: 'Courier Prime', monospace; }

:root {
  --bg: #ffffff;
  --surface: #f5f7fb;
  --text: #0f172a;
  --text-light: #475569;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #7c3aed;
  --border: #e2e8f0;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  box-sizing: border-box;
}

/* Navigation */
nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
  min-width: 0;
}

.brand-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #0f172a;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .brand-subtitle {
    font-size: clamp(9px, 2.2vw, 12px);
    letter-spacing: 0.8px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
}

/* Domain Cards */
.domain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.domain-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  transform: translateY(-4px);
}

.domain-icon {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.grid-col-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Contact Modal */
.contact-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.contact-overlay.open {
  display: flex;
}

.contact-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  position: relative;
  animation: fadeUp 0.3s ease forwards;
}

@media (max-width: 640px) {
  .contact-modal {
    padding: 24px 18px;
    border-radius: 12px;
  }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 0 12px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a, .mobile-menu button {
  padding: 12px 24px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.mobile-menu a:hover, .mobile-menu button:hover {
  background: var(--surface);
}

.contact-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
}

.contact-close:hover { color: var(--text); }

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.contact-info-row a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info-row a:hover { text-decoration: underline; }

.contact-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-input:focus { border-color: var(--primary); }

.contact-input.textarea { resize: vertical; min-height: 110px; }

.contact-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

#contact-success {
  display: none;
  text-align: center;
  padding: 16px 0 4px;
  color: #16a34a;
  font-weight: 600;
  font-size: 15px;
}
