/* ═══ RESET & BASE ═══ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 28, 68, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 16px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  font-size: 24px;
  background: #c9a84c;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-name {
  font-size: 15px;
  font-weight: 500;
  color: white;
}

.nav-domain {
  font-size: 11px;
  color: #c9a84c;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #c9a84c;
}

.nav-cta {
  background: #c9a84c !important;
  color: #071c44 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #e0bc5e !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #071c44 0%, #0d2d6b 40%, #0a2255 70%, #051535 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-plane {
  position: absolute;
  color: rgba(201, 168, 76, 0.08);
  font-size: 120px;
  animation: float 8s ease-in-out infinite;
}

.hero-plane.p1 { top: 10%; left: 5%; animation-delay: 0s; font-size: 80px; }
.hero-plane.p2 { top: 60%; right: 5%; animation-delay: 3s; font-size: 120px; }
.hero-plane.p3 { bottom: 10%; left: 40%; animation-delay: 6s; font-size: 60px; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-10deg); }
  50% { transform: translateY(-20px) rotate(-10deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-highlight {
  color: #c9a84c;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.7;
}

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

/* ═══ BUTTONS ═══ */
.btn-primary {
  background: #c9a84c;
  color: #071c44;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* ═══ SECTION COMMONS ═══ */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: #071c44;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
  text-align: center;
}

/* ═══ SERVICES ═══ */
.services {
  padding: 100px 0;
  background: #f8faff;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e8edf5;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7, 28, 68, 0.1);
}

.service-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: #071c44;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ═══ PORTFOLIO ═══ */
.portfolio {
  padding: 100px 0;
  background: white;
}

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

.portfolio-card {
  background: linear-gradient(135deg, #071c44 0%, #0d2d6b 100%);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
  margin-top: 48px;
}

.portfolio-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.2);
  color: #c9a84c;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.portfolio-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: white;
  margin-bottom: 8px;
}

.portfolio-subtitle {
  font-size: 14px;
  color: #c9a84c;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.portfolio-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 24px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.portfolio-features {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-features h4 {
  font-size: 16px;
  font-weight: 500;
  color: #c9a84c;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portfolio-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-features li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ═══ ABOUT ═══ */
.about {
  padding: 100px 0;
  background: #f8faff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid #e8edf5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #071c44;
}

.stat-label {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══ TECH STACK ═══ */
.techstack {
  padding: 80px 0;
  background: #071c44;
  text-align: center;
}

.techstack .section-title {
  color: white;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.tech-item {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.tech-item:hover {
  background: rgba(201, 168, 76, 0.2);
  color: #c9a84c;
  border-color: rgba(201, 168, 76, 0.4);
}

/* ═══ DEMO FORM ═══ */
.demo {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.demo-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #071c44;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1px solid #dde3ef;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.2s;
  background: #f8faff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #c9a84c;
  background: white;
}

.form-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #1a7a35;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
  margin-top: 8px;
}

/* ═══ CONTACT ═══ */
.contact {
  padding: 100px 0;
  background: #f8faff;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  text-decoration: none;
  border: 1px solid #e8edf5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7, 28, 68, 0.1);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #c9a84c;
  text-transform: uppercase;
}

.contact-value {
  font-size: 14px;
  color: #071c44;
  font-weight: 500;
}

/* ═══ FOOTER ═══ */
.footer {
  background: #051535;
  padding: 40px 0;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #071c44;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
  }

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

  .nav-toggle {
    display: block;
  }

  .portfolio-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 21, 53, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-card {
  background: white;
  border-radius: 20px;
  padding: 48px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.3s ease;
}

.modal-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #071c44;
  margin-bottom: 16px;
}

.modal-text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}