/* ============================================================
   ATECH SOFTWARE LLC – Stylesheet
   Dark tech theme: navy bg, cyan accents, glassmorphism cards
   ============================================================ */

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

:root {
  --bg:       #ffffff;
  --bg2:      #f0f5fa;
  --bg3:      #e8eef5;
  --cyan:     #0077b6;
  --blue:     #005a8e;
  --cyan-lt:  #13b7e0;
  --text:     #0d1b3e;
  --text-dim: #2d4a7a;
  --border:   rgba(0, 119, 182, 0.18);
  --card-bg:  #ffffff;
  --glow:     0 4px 24px rgba(0, 119, 182, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, #147d97, #0077b6, #147d97);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.section-intro {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
  line-height: 1.8;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: background 0.3s;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-svg { flex-shrink: 0; }

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--cyan);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-top: 2px;
  align-self: flex-end;
  padding-bottom: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan);
  background: rgba(0, 180, 216, 0.08);
}

/* ---- Section Base ---- */
.section {
  min-height: 100vh;
  padding: 120px 80px;
  position: relative;
  text-align: center;
}

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  width: min(800px, 88%);
  height: 520px;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.92;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  background: rgba(0, 180, 216, 0.06);
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.cta-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.4);
}

.cta-secondary {
  padding: 14px 32px;
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
}

.cta-secondary:hover {
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ---- About ---- */
.about-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.about-section h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow);
  border-color: rgba(0, 180, 216, 0.4);
}

.value-icon {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.mission-block {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.mission-text {
  flex: 1;
}

.mission-text h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 20px;
}

.mission-text p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.8;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  min-width: 260px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Services ---- */
.services-section {
  background: var(--bg2);
}

.services-section h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), var(--glow);
  border-color: rgba(0, 119, 182, 0.4);
}

.service-card:hover::before { opacity: 1; }

.service-icon { margin-bottom: 24px; }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card > p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.service-features li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: bold;
}

/* ---- Contact ---- */
.contact-section {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

.contact-section h2 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-layout {
  display: flex;
  gap: 36px;
  text-align: left;
  margin-bottom: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-dim);
  font-size: 15px;
}

.office-hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.office-hours h4 {
  color: var(--cyan);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.office-hours p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 4px;
}

.process-card {
  border-top: 3px solid var(--cyan);
}

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

.process-step:last-child {
  margin-bottom: 0;
}

.step-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  min-width: 36px;
  line-height: 1;
}

.process-step strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  flex: 1.2;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 28px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row input { flex: 1; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.contact-form select option {
  background: #ffffff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}

/* ---- FAQ ---- */
.faq-block {
  text-align: left;
}

.faq-block h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 0 4px 20px rgba(0, 119, 182, 0.12); }

.faq-item:hover { border-color: rgba(0, 180, 216, 0.4); }

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---- Footer ---- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 80px 30px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

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

.footer-links-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.footer-links a,
.footer-nav-link {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-nav-link:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---- GSAP Reveal ---- */
.reveal { opacity: 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .mission-block { flex-direction: column; }
  .mission-stats { grid-template-columns: repeat(4, 1fr); min-width: 0; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 14px 20px; }
  .brand-sub { display: none; }
  nav { gap: 2px; }
  .nav-link { padding: 6px 10px; font-size: 13px; }
  .section { padding: 100px 24px; }
  .hero-content h1 { font-size: 42px; }
  .hero-sub { font-size: 16px; }
  .about-section h2, .services-section h2, .contact-section h2 { font-size: 36px; }
  .contact-layout { flex-direction: column; }
  .form-row { flex-direction: column; gap: 0; }
  .mission-stats { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 16px; }
  .nav-link { font-size: 12px; padding: 5px 8px; }
  .hero-content h1 { font-size: 32px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-content { grid-template-columns: 1fr; }
  .about-section h2, .services-section h2, .contact-section h2 { font-size: 28px; }
}
