/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Utility ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #38bdf8;
  color: #020617;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn-outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* ===== Navigation ===== */
.navbar {
  background: #020617;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1e293b;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.5px;
}

.navbar .logo span {
  color: #38bdf8;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #38bdf8;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #38bdf8;
  border-radius: 1px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
  padding: 100px 20px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f8fafc;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #1e293b;
  padding: 32px 28px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #334155;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: #38bdf8;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #f1f5f9;
}

.card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: #1e293b;
  border-top: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: #38bdf8;
  font-weight: 700;
}

.stat-item p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #0c4a6e, #1e3a5f);
  padding: 80px 20px;
  text-align: center;
  border-radius: 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.cta-section p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* ===== About / Content Blocks ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.content-text p {
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.7;
}

.content-visual {
  background: #1e293b;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #334155;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Values Grid ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 32px 20px;
}

.value-item .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.value-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.value-item p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ===== Tech Stack ===== */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.tech-tag {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #cbd5e1;
  transition: border-color 0.2s, color 0.2s;
}

.tech-tag:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ===== Process / Timeline ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
  padding: 28px 20px;
  position: relative;
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #38bdf8;
  color: #020617;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.process-step p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail .detail-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail h4 {
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.contact-detail p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form {
  background: #1e293b;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: #f1f5f9;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #38bdf8;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

/* ===== Service Detail ===== */
.service-detail {
  background: #1e293b;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #334155;
  margin-bottom: 32px;
}

.service-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.service-detail p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail ul li {
  color: #cbd5e1;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
}

.service-detail ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: 700;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: #f8fafc;
}

.page-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.footer-brand .logo span {
  color: #38bdf8;
}

.footer-brand p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #64748b;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid #1e293b;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: #475569;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #020617;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #1e293b;
  }

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

  .navbar .container {
    position: relative;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
}
