/* Dev Cabin Technologies — Custom Styles */
:root {
  --primary: #09090b;
  --secondary: #18181b;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: #18181b;
  --border: #404043;
  --gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { background: var(--accent); color: #000 !important; padding: 0.45rem 1.1rem; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-dark) !important; color: #000 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://cdn.durable.co/getty/3aDwt1MPM0KeLI46TfoQflXTVfDSJA5QAggy4Ul6r7kBlbM6zNfhMfMaeJ9qT0Ee.jpeg') center/cover no-repeat;
  opacity: 0.08;
}
.hero-content {
  text-align: center; position: relative; z-index: 1;
  max-width: 800px; padding: 2rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(242,202,44,0.15); border: 1px solid var(--accent);
  color: var(--accent); padding: 0.35rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #000;
  padding: 0.75rem 2rem; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text);
  padding: 0.75rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--border);
  cursor: pointer; transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Sections ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 620px; margin-bottom: 3rem;
}

/* ── Partners ── */
.partners { background: var(--secondary); padding: 3rem 2rem; }
.partners-title { text-align: center; color: var(--text-muted); font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2rem; }
.partners-track-wrap { overflow: hidden; }
.partners-track {
  display: flex; gap: 3rem; align-items: center;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.partners-track img {
  height: 42px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.55;
  transition: opacity .2s;
}
.partners-track img:hover { opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(242,202,44,0.12); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.service-link { color: var(--accent); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.service-link:hover { text-decoration: underline; }

/* ── Feature / CabinMind ── */
.feature-section { background: var(--secondary); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.feature-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.feature-img img { width: 100%; height: auto; display: block; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gradient);
  text-align: center; padding: 5rem 2rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--accent); }
.blog-date { font-size: 0.8rem; color: var(--accent); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); }
.blog-card a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.85rem; }

/* ── Stats ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.stat-card { text-align: center; padding: 2rem 1rem; }
.stat-num { font-size: 2.8rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── Values ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.value-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
}
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── Projects ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.project-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.project-img { height: 180px; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.5rem; }
.project-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-body p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.project-body a { color: var(--accent); font-size: 0.85rem; font-weight: 600; text-decoration: none; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; text-align: center;
  transition: border-color .2s;
}
.team-card:hover { border-color: var(--accent); }
.team-avatar { width: 100%; height: 220px; object-fit: cover; }
.team-body { padding: 1.25rem; }
.team-body h3 { font-size: 1rem; font-weight: 700; }
.team-body p { font-size: 0.85rem; color: var(--accent); margin-top: 0.25rem; }

/* ── Testimonial ── */
.testimonial {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; max-width: 700px; margin: 3rem auto 0;
  text-align: center;
}
.testimonial blockquote { font-size: 1.05rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.testimonial cite { color: var(--accent); font-size: 0.9rem; font-style: normal; font-weight: 600; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-muted); font-size: 0.95rem; }
.contact-detail a { color: var(--text-muted); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }
.contact-icon { font-size: 1.2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--secondary);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.75rem 1rem; color: var(--text);
  font-size: 0.95rem; font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }
.form-note a { color: var(--accent); }
.form-success {
  background: rgba(242,202,44,0.1); border: 1px solid var(--accent);
  border-radius: 8px; padding: 1rem; text-align: center;
  color: var(--accent); margin-top: 1rem; display: none;
}

/* ── Footer ── */
.footer {
  background: #070d18; border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1100px; margin: 0 auto 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 1rem 0 1.5rem; max-width: 300px; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--secondary); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--text-muted);
  transition: border-color .2s, color .2s;
  font-size: 1rem;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--gradient); padding: 8rem 2rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(242,202,44,0.06) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; position: relative; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 1rem auto 0; font-size: 1.05rem; position: relative; }

/* ── Utilities ── */
.text-accent { color: var(--accent); }
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.ai-badge {
  display: inline-block;
  background: rgba(242,202,44,0.1); border: 1px solid rgba(242,202,44,0.3);
  color: var(--accent); padding: 0.2rem 0.7rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: .04em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .feature-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(15,23,42,0.98); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
