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

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #f6f9fc 0%, #eef3fb 100%);
  color: #14213d;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20, 60, 111, 0.08);
  transition: box-shadow 0.3s ease;
}
header.scrolled {
  box-shadow: 0 4px 20px rgba(20, 60, 111, 0.15);
}
.container {
  width: 100vw;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background: #fff;
  transition: padding 0.3s ease;
}
header.scrolled .container {
  padding: 8px 12px;
}
.logo img {
  display: block;
  height: 88px;
  margin-left: 24px;
  transition: height 0.3s ease, margin-left 0.3s ease;
  border-radius: 0;
  background: #fff;
  padding: 4px;
}
header.scrolled .logo img {
  height: 60px;
  margin-left: 12px;
}
.menu ul {
  list-style: none;
  display: flex;
  gap: 0.8vw;
  align-items: center;
  margin-right: 28px;
  padding: 0;
}
.menu ul li {
  display: inline-block;
}
.menu ul a {
  color: #143c6f;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.08em;
  padding: 10px 18px;
  border-radius: 0;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  position: relative;
}
.menu ul a:hover,
.menu ul a.active {
  background: #e7f0fd;
  color: #2375b2;
  transform: translateY(-1px);
}
.menu ul a:focus-visible {
  outline: 3px solid rgba(36, 115, 191, 0.35);
  outline-offset: 2px;
}
.cart-link {
  font-weight: 700;
  position: relative;
  color: #143c6f;
  margin-left: 9px;
}
.cart-icon {
  font-size: 1.36em;
  vertical-align: middle;
  margin-right: 3px;
}
.cart-count {
  background: #fff;
  color: #143c6f;
  border-radius: 0;
  padding: 1px 8px;
  font-size: 0.98em;
  margin-left: 1px;
  font-weight: 600;
}

/* Responsive fix for nav */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
    padding-bottom: 12px;
  }
  .logo img {
    margin-left: 0;
    height: 64px;
  }
  .menu ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 4px;
    gap: 8px;
  }
  .menu ul a {
    font-size: 0.95em;
    padding: 8px 14px;
  }
}

/* Footer Flex Layout */
footer {
  margin-top: 60px;
}
.footer-flexcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  align-items: flex-start;
  background: #143c6f;
  color: #fff;
  padding: 40px 28px 20px 28px;
  border-radius: 0;
}
.logo-footer img {
  height: 64px;
  border-radius: 0;
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 60, 111, 0.08);
  padding: 4px;
}
.footer-about {
  max-width: 340px;
}
.footer-about h4 {
  margin: 12px 0 8px 0;
  font-size: 1.2rem;
}
.footer-about p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-cols {
  display: flex;
  flex-direction: row;
  gap: 48px;
}
.footer-col h5 {
  font-size: 1.11em;
  margin: 8px 0 10px 0;
  color: #7fc6ff;
}
.footer-col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-col li {
  margin-bottom: 9px;
  font-size: 0.99em;
}
.footer-col li a {
  color: #f5fafd;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col li a:hover {
  color: #c8e9ff;
}
.copyright {
  text-align: center;
  background: #153d6b;
  padding: 14px 0 5px 0;
  font-size: 1.03em;
  color: #d1e4fd;
}

@media (max-width: 900px) {
  .footer-flexcontainer {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 30px 20px 15px 20px;
  }
  .footer-about {
    margin-left: 0;
    text-align: center;
  }
  .footer-cols {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .footer-flexcontainer {
    padding: 18px 1vw 6px 1vw;
  }
  .footer-about,
  .footer-col {
    text-align: center;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #143c6f 0%, #4781b7 100%);
  color: #fff;
  padding: 88px 0 54px 0;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}
.hero-section .hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 3.1rem;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease;
}
.hero-content .subtitle {
  font-size: 1.22rem;
  opacity: 0.95;
  font-weight: 400;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease;
}
.dot {
  margin: 0 8px;
  opacity: 0.7;
}
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: #143c6f;
  border-radius: 0;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(20, 60, 111, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 1.2s ease;
}
.cta-btn:hover,
.cta-btn.secondary:hover {
  background: #143c6f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 60, 111, 0.25);
}
.cta-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}
.cta-btn.secondary {
  background: #143c6f;
  color: #fff;
  border: 2px solid #fff;
  margin-top: 1rem;
}

/* Plans Section */
.plans-section {
  background: #f0f4fa;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 54px 20px 24px 20px;
}
.plans-title {
  text-align: center;
  font-size: 2.7rem;
  color: #143c6f;
  margin-bottom: 38px;
  font-weight: 700;
}
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
  max-width: 1700px;
  margin: 0 auto;
}
.plan-card {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 26px rgba(20, 60, 111, 0.09);
  width: 320px;
  padding: 0 0 1.2em 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.16s, box-shadow 0.18s, border-color 0.18s;
  overflow: hidden;
  border: 1.5px solid #e2e9fb;
}
.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-9px) scale(1.022);
  box-shadow: 0 15px 40px rgba(35, 85, 190, 0.13);
  border-color: #cfe0ff;
}
.plan-img img {
  width: 100%;
  height: 196px;
  object-fit: cover;
  display: block;
  background: #c8d4ed;
  transition: transform 0.3s ease;
}
.plan-card:hover .plan-img img,
.plan-card:focus-within .plan-img img {
  transform: scale(1.03);
}
.plan-info {
  padding: 21px 24px 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.plan-info h3 {
  color: #143c6f;
  font-size: 1.25rem;
  margin: 0 0 7px 0;
  font-weight: 700;
}
.plan-desc {
  font-size: 0.99rem;
  color: #305080;
  margin-bottom: 10px;
  line-height: 1.5;
}
.plan-pricing {
  margin-bottom: 13px;
}
.plan-old {
  text-decoration: line-through;
  color: #c21f23;
  font-weight: 500;
  margin-right: 7px;
  font-size: 1rem;
}
.plan-new {
  font-weight: 800;
  color: #1e5e2c;
  font-size: 1.14rem;
}
.plan-actions {
  margin-top: 12px;
}
.details-link {
  font-size: 0.97em;
  color: #1e5e7a;
  margin-left: 13px;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}
.details-link:hover {
  color: #143c6f;
  text-decoration: none;
}
.details-link:focus-visible {
  outline: 2px dashed #1e5e7a;
  outline-offset: 2px;
  text-decoration: none;
}

/* Info Sections */
.info-section {
  background: #fff;
  padding: 48px 32px;
  margin: 32px auto;
  max-width: 1200px;
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(20, 60, 111, 0.08);
  animation: fadeIn 0.6s ease;
}
.info-section h2 {
  color: #143c6f;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.info-section p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 16px;
}
.info-section ul {
  list-style: none;
  padding: 0;
}
.details-list {
  list-style: none;
  padding: 0;
}
.details-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e6eeff;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 10px;
}
.details-list li:last-child {
  border-bottom: none;
}
.details-list li b {
  color: #143c6f;
  min-width: 180px;
}
.details-list li a {
  color: #4781b7;
  text-decoration: none;
  transition: color 0.2s;
}
.details-list li a:hover {
  color: #143c6f;
  text-decoration: underline;
}
.founders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(20, 60, 111, 0.1);
  border-radius: 0;
  overflow: hidden;
}
.founders-table thead {
  background: #143c6f;
  color: #fff;
}
.founders-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
}
.founders-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6eeff;
}
.founders-table tbody tr:hover {
  background: #f6f9fc;
}
.founders-table tbody tr:last-child td {
  border-bottom: none;
}
blockquote {
  background: #f6f9fc;
  border-left: 4px solid #143c6f;
  padding: 20px 24px;
  margin: 20px 0;
  border-radius: 0;
  font-style: italic;
  color: #4a5568;
  line-height: 1.8;
}
.bullet-check {
  list-style: none;
  padding: 0;
}
.bullet-check li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #4a5568;
  line-height: 1.6;
}
.bullet-check li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #1e5e2c;
  font-size: 1.2rem;
  font-weight: bold;
}
.info-section ol {
  padding-left: 24px;
  color: #4a5568;
  line-height: 1.8;
}
.info-section ol li {
  margin-bottom: 12px;
  padding-left: 8px;
}
.info-section ol li::marker {
  color: #143c6f;
  font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1000px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  .logo img {
    height: 64px;
  }
  .plans-grid {
    max-width: 98vw;
  }
  .plan-card {
    width: 96vw;
    max-width: 400px;
  }
  .menu ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-right: 4px;
  }
  .info-section {
    padding: 32px 20px;
    margin: 24px 12px;
  }
  .details-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .details-list li b {
    min-width: auto;
  }
}
@media (max-width: 700px) {
  .plans-grid {
    flex-direction: column;
    gap: 22px;
  }
  .plans-section,
  .hero-section {
    padding: 24px 0;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content .subtitle {
    font-size: 1rem;
  }
  .plans-title {
    font-size: 2rem;
  }
  .info-section h2 {
    font-size: 1.6rem;
  }
  .founders-table {
    font-size: 0.9rem;
  }
  .founders-table th,
  .founders-table td {
    padding: 8px;
  }
}
