:root {
  /* Tomattos Official Brand Palette */
  --color-rich-black: #051824;
  --color-blue-bolt: #00AFFF;
  --color-maastricht-blue: #062030;
  --color-wild-blue: #97B5CC;
  --color-police-blue: #3B5265;
  --color-pale-cyan: #8CDBFF;

  /* Enterprise Light Mode UI Variables */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC; /* Clean off-white for sections */
  --text-primary: var(--color-rich-black);
  --text-secondary: var(--color-police-blue);
  
  --primary-blue: var(--color-blue-bolt);
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0; /* Clean light grey borders */
  --card-shadow: 0 4px 6px -1px rgba(5, 24, 36, 0.05), 0 2px 4px -2px rgba(5, 24, 36, 0.05); /* AWS/Apple style ultra soft shadow */
  --card-shadow-hover: 0 10px 25px -5px rgba(5, 24, 36, 0.1), 0 8px 10px -6px rgba(5, 24, 36, 0.1);
  
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-azure: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1600px; /* Expansive, Azure-style container width */
  margin: 0 auto;
  padding: 0 40px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em; /* Tighter spacing for massive clear headers */
  margin-bottom: 24px;
  color: var(--text-primary);
}
h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px; /* Slightly rounded, AWS/Azure style */
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  border: 1px solid var(--primary-blue);
  text-decoration: none !important;
}

.btn-primary:hover {
  background-color: #009be6;
  border-color: #009be6;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 175, 255, 0.2);
}

.btn-outline {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--text-secondary);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
}

/* Azure Style Navbar */
.navbar {
  font-family: var(--font-azure); /* Strictly enforce Microsoft typography */
  padding: 0 40px; /* Expansive edge padding */
  background-color: #FFFFFF; /* Stark white Azure header */
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 52px; /* Very tight vertical height */
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(5, 24, 36, 0.08); /* Clean drop shadow */
  border-bottom-color: transparent;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
}

.vertical-divider {
  width: 1px;
  height: 20px;
  background-color: var(--card-border);
  margin: 0 16px;
}

.nav-brand-secondary {
  font-weight: 600;
  font-size: 16px; /* Azure specific robust header size */
  color: var(--text-primary);
  margin-right: 32px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-weight: 400; 
  font-size: 13px;
  color: #323130; /* Exact Microsoft Fluent grey */
  transition: color 0.1s ease;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Mega Menu Dropdowns */
.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-caret {
  margin-left: 6px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  border-radius: 4px;
  width: 500px; /* Big mega menu width naturally */
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  gap: 8px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
  margin-top: 16px; /* Span from bottom of slim navbar */
}

/* Invisible bridge so mouse doesn't fall off during hover */
.has-dropdown::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px; 
  bottom: -20px;
  left: 0;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-link {
  display: flex !important;
  align-items: flex-start;
  padding: 10px 12px;
  gap: 12px;
  color: #323130 !important;
  text-decoration: none !important;
  border-radius: 6px;
  transition: background-color 0.15s ease !important;
  opacity: 1 !important;
}

.mega-link:hover {
  background-color: #F3F2F1;
}

.mega-icon {
  flex-shrink: 0;
  color: var(--primary-blue);
  background-color: #EFF6FF;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.mega-category {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-cat-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 4px 12px 2px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--card-border);
}

.mega-content {
  display: flex;
  flex-direction: column;
}

.mega-title {
  font-size: 13.5px;
  font-weight: 600; /* Bolder titles inside menu */
  margin-bottom: 2px;
  color: var(--text-primary);
}

.mega-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Split Layout for Mega Menu */
.mega-menu.split-layout {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.split-layout .mega-menu-links {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}
.split-layout .mega-menu-cta {
  width: 100%;
  background-color: #F8FAFC;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--card-border);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* CTA Right Modifier */
.mega-menu.split-layout-right {
  flex-direction: row;
}
.split-layout-right .mega-menu-cta {
  width: 320px;
  border-top: none;
  border-left: 1px solid var(--card-border);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 0;
}
.mega-cta-badge {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.mega-cta-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.mega-cta-desc {
  font-size: 13px;
  color: #605E5C;
  margin-bottom: 20px;
  line-height: 1.5;
}

.nav-right {
  gap: 24px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #323130;
  cursor: pointer;
  transition: color 0.1s ease;
}
.nav-search:hover {
  color: var(--primary-blue);
}

.nav-link-subtle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #323130;
  transition: color 0.1s ease;
}
.nav-link-subtle:hover {
  color: var(--primary-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 400; /* Explicitly non-bold CTA */
  border-radius: 4px; /* Azure flat button logic */
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 400;
  color: #323130;
  background: #FFFFFF;
  border: 1px solid #C8C6C4; /* Very subtle Microsoft grey border */
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-nav:hover {
  background: #F3F2F1;
  color: #201F1E;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background-color: var(--bg-primary);
}

.hero .badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Domain Search */
.domain-search {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.search-container {
  text-align: center;
}

.search-container p {
  margin-bottom: 32px;
}

.search-form {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
  gap: 12px;
}

.search-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 6px;
  background-color: var(--bg-primary);
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  font-size: 1.125rem;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(5,24,36,0.05);
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 175, 255, 0.15);
}

/* Services Sections */
.services, .pricing {
  padding: 120px 0;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 40px 32px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: #cbd5e1; /* slightly darker grey border on hover */
}

/* SVG Styling */
.icon-svg {
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

/* Pricing Section */
.pricing {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: left;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--primary-blue);
  box-shadow: 0 10px 30px -10px rgba(0, 175, 255, 0.2);
  transform: translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-blue);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-card .desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--card-border);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
}

.price .currency {
  font-size: 1.75rem;
  font-weight: 600;
  margin-right: 2px;
}

.price .period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 4px;
}

.specs {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1; /* Pushes button to bottom */
}

.specs li {
  padding: 12px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Custom Bullet */
.specs li::before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: 800;
}

.pricing-card .btn {
  width: 100%;
}

/* Azure Style Footer */
.azure-footer {
  background-color: #f2f2f2;
  border-top: 1px solid #d6d6d6;
  color: #616161;
  font-family: var(--font-azure);
  padding: 48px 0 0 0;
}

.footer-top {
  margin-bottom: 40px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.footer-col h3 {
  font-size: 13px;
  font-weight: 600;
  color: #505050;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 11px;
  color: #8a8a8a;
  font-weight: 400;
}

.footer-col ul li a:hover {
  text-decoration: underline;
  color: #505050;
}

.footer-bottom {
  background-color: #f2f2f2;
  border-top: 1px solid #d6d6d6;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.70rem;
}

.footer-logo img {
  opacity: 0.9;
  display: block;
}

.legal-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.legal-links li a {
  font-size: 11px;
  color: #616161;
  font-weight: 400;
}

.legal-links li a:hover {
  text-decoration: underline;
  color: #000000;
}



@media (max-width: 900px) {
  .footer-legal-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .azure-desktop-hidden { display: none !important; }
}

@media (max-width: 900px) {
  h1 { font-size: 3rem; }
  .mobile-menu-btn { display: block; }
  .navbar { padding: 0 20px; }
  .nav-brand-secondary { display: none; }
  .vertical-divider { display: none; }
  .search-form { flex-direction: column; }
  .pricing-card.popular { transform: translateY(0); border-width: 1px; }
  .hero { padding: 80px 0; }
}
