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

html, body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #182742 0, #050711 45%, #03040a 100%);
  color: #f4f4f5;
  line-height: 1.6;
}

:root{
  --accent-1: #2563eb;
  --accent-2: #06b6d4;
  --muted: #9ca3af;
  --card-bg: rgba(15,23,42,0.92);
  --glass-border: rgba(148,163,184,0.3);
}

/* Layout */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6vw;
  backdrop-filter: blur(14px);
  background: linear-gradient(to right, rgba(3, 7, 18, 0.9), rgba(15, 23, 42, 0.8));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #bfdbfe;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.top-nav nav {
  display: flex;
  gap: 1.25rem;
}

.top-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.top-nav a:hover {
  color: #93c5fd;
  border-color: #60a5fa;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  padding: 4rem 6vw 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 3vw + 1rem, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: #cbd5f5;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.4);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
}

.btn.ghost:hover {
  border-color: #60a5fa;
  color: #bfdbfe;
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.95));
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hero-card li span {
  color: #bfdbfe;
  font-weight: 500;
}

/* Sections */

.section {
  padding: 3.5rem 6vw;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(2,6,23,0.95);
  color: #fff;
  border-radius: 0.35rem;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(2,6,23,0.6);
  text-decoration: none;
}

/* Ensure headings are reachable when linked (account for sticky nav) */
.section-title {
  scroll-margin-top: 84px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #cbd5f5;
  max-width: 34rem;
  margin-bottom: 2rem;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1.25rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(51, 65, 85, 0.12);
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.card::before{
  content: "";
  display:block;
  height:3px;
  width:48px;
  border-radius:3px;
  margin-bottom:0.7rem;
  background: linear-gradient(90deg,var(--accent-1),var(--accent-2));
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(2,6,23,0.7);
  border-color: rgba(96,165,250,0.12);
}

.card p {
  font-size: 0.95rem;
  color: #e5e7f3;
  margin-bottom: 0.8rem;
}

.card ul {
  list-style: disc;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.card p{color:#e9eefb}

/* Improve link and focus visibility */
a:focus, button:focus, .btn:focus {
  outline: 3px solid rgba(96,165,250,0.24);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Accent section for cloud-security */
.section#cloud-security{
  background: linear-gradient(180deg, rgba(37,99,235,0.04), transparent 40%);
  border-top: 1px solid rgba(37,99,235,0.06);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Slightly larger cards on wide screens for polish */
@media (min-width: 1100px){
  .cards-grid { gap: 1.75rem; }
  .card { padding: 1.75rem; }
}

/* About */

.about-layout {
  max-width: 48rem;
  display: grid;
  gap: 0.9rem;
  font-size: 0.97rem;
}

.about-layout ul {
  margin-left: 1.3rem;
  list-style: disc;
}

/* Contact */

.contact-box {
  max-width: 32rem;
  padding: 1.5rem 1.4rem;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-box a {
  color: #93c5fd;
  text-decoration: none;
}

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

.muted {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

/* Footer */

.footer {
  padding: 1.2rem 6vw 1.8rem;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.85rem;
  color: #9ca3af;
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }
}

@media (max-width: 720px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .top-nav nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .section {
    padding-inline: 5vw;
  }
}
