/* =====================================================
   Aktis Website — Global Stylesheet
   Brand: navy #0F1C2E · white #F8F6F1 · cyan #00C2D4
   ===================================================== */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  --navy: #0F1C2E;
  --navy-light: #1A2E45;
  --navy-hover: #243D5A;
  --cyan: #00C2D4;
  --cyan-dark: #0097A7;
  --white: #F8F6F1;
  --gray-light: #E8E6E1;
  --gray-mid: #C0BDB8;
  --gray: #8A8A8A;
  --text: #1A1A2E;
  --red: #E53E3E;
  --green: #38A169;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(15, 28, 46, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 28, 46, 0.16);
  --transition: 0.2s ease;
  --max-width: 1120px;
}

/* ==========================================================================
   Reset + Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

a {
  color: var(--cyan-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--navy);
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.nav-logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--white);
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: color var(--transition);
  text-decoration: none;
}

.nav-links li a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-links .active {
  color: var(--cyan) !important;
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid var(--gray-light);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: var(--text) !important;
  font-size: 0.9375rem;
  transition: background var(--transition);
}

.nav-dropdown-menu li a:hover {
  background: var(--gray-light);
  color: var(--navy) !important;
  text-decoration: none;
}

/* Nav CTA button */
.btn-nav {
  background: var(--cyan);
  color: var(--navy);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-nav:hover {
  background: var(--cyan-dark);
  color: var(--navy);
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
  width: 36px;
  height: 36px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav open state */
.nav.nav-open .nav-links {
  display: flex;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
  font-family: var(--font);
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
}

.btn-primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--navy);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Layout — Sections + Container
   ========================================================================== */

.section {
  padding: 5rem 1.5rem;
}

.section-sm {
  padding: 3rem 1.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-gray {
  background: var(--gray-light);
}

/* Section title block */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.section-dark .section-title h2 {
  color: var(--white);
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-dark .eyebrow {
  color: var(--cyan);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-sm {
  padding: 4rem 1.5rem 3rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

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

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--gray);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.card p {
  color: var(--gray);
  line-height: 1.7;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1rem 0 0;
}

.card-price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray);
}

.card-link {
  display: block;
  margin-top: 1.25rem;
  color: var(--cyan-dark);
  font-weight: 600;
}

.card-link:hover {
  color: var(--navy);
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--cyan);
  position: relative;
}

.pricing-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.pricing-price sup {
  font-size: 1.25rem;
  vertical-align: super;
}

.pricing-price small {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--gray);
  margin: 0.75rem 0 1.25rem;
}

.pricing-features {
  list-style: none;
  font-size: 0.9375rem;
  margin-bottom: auto;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.pricing-cta {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form-section {
  background: var(--gray-light);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(0, 194, 212, 0.2);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  background: var(--green);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: none;
  margin-bottom: 1rem;
}

.form-error {
  color: var(--red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand .footer-logo span {
  color: var(--cyan);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-links {
  list-style: none;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-navy   { color: var(--navy) !important; }
.text-cyan   { color: var(--cyan) !important; }
.text-white  { color: var(--white) !important; }
.text-gray   { color: var(--gray) !important; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.badge-cyan {
  background: var(--cyan);
  color: var(--navy);
}

.badge-navy {
  background: var(--navy);
  color: var(--white);
}

.badge-green {
  background: var(--green);
  color: var(--white);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--gray-light);
  margin: 2rem 0;
}

/* Prose */
.prose {
  max-width: 680px;
  line-height: 1.8;
}

.prose p + p {
  margin-top: 1rem;
}

/* Steps — numbered counter list */
.steps {
  list-style: none;
  counter-reset: steps-counter;
}

.steps li {
  counter-increment: steps-counter;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(steps-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ==========================================================================
   Responsive — 768px and below
   ========================================================================== */

@media (max-width: 768px) {
  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 99;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav.nav-open {
    position: sticky;
  }

  .nav.nav-open .nav-links {
    display: flex;
  }

  /* Hamburger animation */
  .nav.nav-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Dropdown in mobile — show inline */
  .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    margin: 0.25rem 0 0.5rem;
    padding: 0.25rem 0;
    border: none;
  }

  .nav-dropdown-menu li a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .nav-dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
  }

  /* Btn-nav in mobile */
  .btn-nav {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured::before {
    font-size: 0.6875rem;
  }

  /* Two col */
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-sub {
    font-size: 1.0625rem;
  }

  h1 {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Responsive — 480px and below
   ========================================================================== */

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }

  .section-sm {
    padding: 2rem 1rem;
  }

  .hero {
    padding: 4rem 1rem 3rem;
  }

  .hero-sm {
    padding: 3rem 1rem 2rem;
  }

  .contact-form {
    padding: 1.75rem 1.25rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}
