/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0d0d0d;
  --surface: #1a1a2e;
  --primary: #00d4ff;
  --accent: #7f5af0;
  --text: #e0e0e0;
  --muted: #888;
  --card-bg: #16213e;
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Navbar ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: 70px;
  background: #f5f7fa;
  color: #111;
}

.hero-left {
  flex: 0 0 42%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  padding-top: 2rem;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem 3rem 3rem;
}

.hero-right h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  margin-bottom: 1.8rem;
}

.highlight {
  color: #1565C0;
}

/* Steps */
.hero-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #333;
}

.step-icon {
  width: 22px;
  height: 22px;
  background: #222;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.step-line {
  flex: 1;
  min-width: 30px;
  height: 2px;
  background: #bbb;
  margin: 0 0.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.2rem;
  margin-top: -0.5rem;
  text-decoration: none;
  border: none;
}

.hero-sub::after {
  display: none;
}

.hero-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 2.8rem;
  max-width: 500px;
}

.hero-terms {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1.8rem;
}

.hero-terms a {
  color: #1565C0;
  text-decoration: none;
}

.hero-terms a:hover {
  text-decoration: underline;
}

.btn-hero {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: #1565C0;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(21,101,192,0.35);
}

.btn-hero:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: #000;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Sections ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects, .contact {
  padding: 5rem 0;
}

/* ===== About Section ===== */
.about {
  background: #fff;
  padding: 0;
}

.about-inner {
  display: flex;
  align-items: stretch;
  min-height: 420px;
}

.about-left {
  flex: 1;
  padding: 3.5rem 3rem 3.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.about-left::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #1565C0;
  border-radius: 0 4px 4px 0;
}

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1565C0;
  margin-bottom: 0.8rem;
  display: block;
}

.about-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  display: block;
}

.about-title::after {
  display: none;
}

.about-highlight {
  color: #1565C0;
}

.about-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  max-width: 480px;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.8rem;
  background: #1565C0;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-about:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

.about-right {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.about-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img-fallback {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column;
  }

  .about-left {
    padding: 3rem 1.5rem;
  }

  .about-right {
    flex: 0 0 auto;
    min-height: 260px;
  }
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===== Services Section ===== */
.services {
  padding: 5rem 0;
  background: #fff;
}

.services-eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1565C0;
  margin-bottom: 0.8rem;
}

.services-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 3rem;
  display: block;
}

.services-title::after {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 1px solid #e8edf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.service-card.active {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(21,101,192,0.12);
  border-color: #1565C0;
}

.service-icon {
  width: 72px;
  height: 72px;
  background: #e8f0fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  padding: 16px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Why Choose Us ===== */
.why-us {
  background: #f5f7fb;
  padding: 5rem 0;
}

.why-eyebrow {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1565C0;
  margin-bottom: 0.5rem;
  display: block;
}

.why-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 0.8rem;
  display: block;
}

.why-title::after {
  display: none;
}

.why-highlight {
  color: #1565C0;
}

.why-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  padding: 14px;
}

.why-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== How It Works ===== */
.how-it-works {
  background: #fff;
  padding: 5rem 0;
}

.hiw-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hiw-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #1565C0;
  white-space: nowrap;
  display: block;
}

.hiw-title::after {
  display: none;
}

.hiw-divider {
  width: 1px;
  height: 40px;
  background: #ccc;
  flex-shrink: 0;
}

.hiw-subtitle {
  font-size: 1rem;
  color: #666;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.hiw-item {
  position: relative;
  padding-top: 0.5rem;
}

.hiw-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.hiw-icon svg {
  width: 100%;
  height: 100%;
}

.hiw-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1565C0;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.hiw-number::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: #00b4d8;
  border-radius: 2px;
}

.hiw-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.hiw-item p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hiw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .hiw-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== Contact Form ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

form input,
form textarea {
  padding: 0.85rem 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary);
}

form textarea {
  resize: vertical;
}

/* ===== Pricing Section ===== */
.pricing {
  background: #f5f7fb;
  padding: 5rem 0;
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pricing-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #1565C0;
  white-space: nowrap;
  display: block;
}

.pricing-title::after { display: none; }

.pricing-divider {
  width: 1px;
  height: 36px;
  background: #ccc;
  flex-shrink: 0;
}

.pricing-sub {
  font-size: 0.95rem;
  color: #666;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.plan-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #e8edf5;
  padding: 2rem 1.5rem;
  position: relative;
  transition: box-shadow 0.25s ease;
}

.plan-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.plan-card.popular {
  border-color: #1565C0;
  padding-top: 3rem;
  box-shadow: 0 8px 30px rgba(21,101,192,0.15);
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: #1565C0;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.04em;
}

.plan-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1565C0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111;
  margin: 0.3rem 0 0.8rem;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1565C0;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: #888;
}

.plan-per {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.plan-features li {
  font-size: 0.82rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.plan-features li.sub {
  padding-left: 1.6rem;
  color: #777;
  font-size: 0.78rem;
  list-style: disc;
  display: list-item;
  margin-left: 1.2rem;
}

.tick {
  color: #1565C0;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.plan-btn.outline {
  border: 2px solid #1565C0;
  color: #1565C0;
}

.plan-btn.outline:hover {
  background: #1565C0;
  color: #fff;
}

.plan-btn.filled {
  background: #1565C0;
  color: #fff;
  border: 2px solid #1565C0;
}

.plan-btn.filled:hover {
  background: #0d47a1;
  border-color: #0d47a1;
}

.pricing-learn {
  text-align: center;
  margin-top: 2.5rem;
}

.learn-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #1565C0;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.learn-btn:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: #1565C0;
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  display: block;
}

.cta-title::after {
  display: none;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #FDD835;
  color: #1565C0;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-btn:hover {
  background: #F9A825;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  background: #061e26;
  padding: 1rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FDD835;
}

.footer-links span {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--surface);
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column;
  }

  .hero-left {
    flex: 0 0 auto;
    height: 300px;
    width: 100%;
  }

  .hero-right {
    padding: 2rem 1.5rem;
  }

  .hero-steps {
    gap: 0.3rem;
  }

  .step-line {
    min-width: 15px;
  }

  .btn-hero {
    align-self: stretch;
    text-align: center;
  }
}