:root {
  --bg-primary: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --accent-color-1: #00a2d2;
  --accent-color-2: #0066cc;
  --accent-color-3: #33ccff;
  --accent-hover: #0088b3;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 20px rgba(0, 0, 0, 0.15);
  --radius-container: 12px;
  --radius-small: 8px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-small);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, 94vw);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.hero {
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.hero-grid {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(340px, 1fr) minmax(520px, 1.2fr);
  }
}

.hero-copy h1 {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-color-1);
  margin-bottom: var(--spacing-xs);
}

.lede {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 var(--spacing-md);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  align-items: center;
}

.primary-cta,
.ghost-cta {
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-small);
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-cta {
  background: var(--accent-color-1);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.primary-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xl);
}

.ghost-cta {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ghost-cta:hover {
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-color-1);
  padding: 0.35rem 0.6rem 0.35rem 0.35rem;
  border-radius: var(--radius-small);
  background: rgba(0, 162, 210, 0.078);
}

.hero-phone svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-color-1);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-img {
    width: clamp(400px, 60vw, 900px);
  }
}

@media (min-width: 1024px) {
  .hero-img {
    width: clamp(640px, 72vw, 1100px);
  }
}

.pillars {
  padding: var(--spacing-xl) 0 var(--spacing-2xl);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.pillars-grid {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  background: #fff;
  border-radius: var(--radius-container);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 162, 210, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 36px;
  height: 36px;
  fill: var(--accent-color-1);
}

.pillar-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-card h3 {
  margin: 0 0 var(--spacing-xs);
  font-size: 1.125rem;
  text-align: left;
}

.pillar-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: left;
}

.footer {
  background: linear-gradient(
    135deg,
    var(--accent-color-1) 0%,
    var(--accent-color-1) 100%
  );
  color: white;
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-lg);
  margin-top: auto;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

.footer-section p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xs);
  opacity: 0.95;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

/* Small screens (mobile) - up to 639px */
@media (max-width: 639px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .nav {
    padding: var(--spacing-xs) 0;
  }

  .logo img {
    height: 32px;
  }

  .hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .lede {
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-xs);
  }

  .primary-cta {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    font-size: 0.9375rem;
  }

  .hero-phone {
    justify-content: center;
    font-size: 0.875rem;
  }

  .hero-phone svg {
    width: 18px;
    height: 18px;
  }

  .hero-visual {
    order: -1;
    margin-bottom: var(--spacing-md);
  }

  .pillars {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
  }

  .pillar-card {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
  }

  .icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }

  .icon-circle svg {
    width: 32px;
    height: 32px;
  }

  .pillar-content {
    align-items: center;
  }

  .pillar-card h3 {
    text-align: center;
    font-size: 1rem;
  }

  .pillar-card p {
    text-align: center;
    font-size: 0.875rem;
  }

  .footer {
    padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-md);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h3 {
    font-size: 1.25rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }
}

/* Medium screens (tablets) - 640px to 1023px */
@media (min-width: 640px) and (max-width: 1023px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .hero {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .pillars-grid {
    gap: var(--spacing-lg);
  }

  .pillar-card {
    padding: var(--spacing-md);
  }

  .icon-circle {
    width: 68px;
    height: 68px;
  }

  .icon-circle svg {
    width: 34px;
    height: 34px;
  }

  .footer {
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-lg);
  }

  .footer-content {
    gap: var(--spacing-xl);
  }
}

/* Large screens (desktop) - 1024px and above */
@media (min-width: 1024px) {
  .hero {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
  }

  .pillars {
    padding: var(--spacing-2xl) 0;
  }

  .pillars-grid {
    gap: var(--spacing-lg);
  }
}

/* Animations for desktop view */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Apply animations only on desktop (1024px and above) */
@media (min-width: 1024px) {
  .site-header {
    animation: fadeInDown 0.6s ease-out;
  }

  .hero-copy {
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .hero-visual {
    animation: fadeInRight 0.8s ease-out 0.4s both;
  }

  .pillar-card {
    animation: fadeInUp 0.6s ease-out both;
  }

  .pillar-card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .pillar-card:nth-child(2) {
    animation-delay: 0.2s;
  }

  .pillar-card:nth-child(3) {
    animation-delay: 0.3s;
  }

  .footer {
    animation: fadeIn 0.8s ease-out 0.5s both;
  }
}
