/* =============================================
   LIOS Technology Inc — styles.css
   ============================================= */

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

:root {
  --navy:   #0a1628;
  --blue:   #1a3a6b;
  --accent: #0d7cde;
  --light-blue: #e8f2fc;
  --text:   #1e2a3a;
  --muted:  #5a6a7d;
  --white:  #ffffff;
  --gray-bg: #f4f7fb;
  --border: #d6e2f0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(10,22,40,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); line-height: 1.7; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #0a6bbf;
  border-color: #0a6bbf;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,124,222,0.30);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-full { width: 100%; }

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.light h2,
.section-header.light .section-tag { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,0.78); }

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-desc {
  max-width: 600px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}
.navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.logo-lios  { color: var(--accent); }
.logo-tech  { color: var(--white); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}
.nav-link {
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-link.active { color: var(--white); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: #0a6bbf !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-background img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.80) 0%, rgba(26,58,107,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(13,124,222,0.25);
  border: 1px solid rgba(13,124,222,0.5);
  color: #7dc3f5;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero-content h1 {
  color: var(--white);
  max-width: 680px;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-content > p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-contact-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  flex-wrap: wrap;
}
.hero-phone {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-phone:hover { color: #7dc3f5; }
.hero-phone i { color: var(--accent); }
.hero-divider { opacity: 0.3; }
.hero-address {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.72);
}
.hero-address i { color: var(--accent); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
  background: var(--navy);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 10px;
}
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 96px 0;
  background: var(--gray-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(10,22,40,0.13);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--light-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: background 0.25s;
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}
.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
}
.service-card p { font-size: 0.95rem; }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 96px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.about-image-accent {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 60%;
  height: 60%;
  background: var(--light-blue);
  border-radius: var(--radius);
  z-index: -1;
}
.about-content .section-tag { display: block; margin-bottom: 10px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p { margin-bottom: 16px; font-size: 1rem; }

.about-features {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--text);
}
.about-feature i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }

/* =============================================
   WHY US
   ============================================= */
.why-us {
  background: var(--navy);
  padding: 96px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: background 0.25s, transform 0.25s;
}
.why-card:hover {
  background: rgba(13,124,222,0.15);
  transform: translateY(-4px);
}
.why-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.why-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.why-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 96px 0;
  background: var(--gray-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-tag { display: block; margin-bottom: 10px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-detail p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.contact-detail a { color: var(--muted); }
.contact-detail a:hover { color: var(--accent); }

/* ---- FORM ---- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: auto;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,124,222,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

#formStatus p { font-size: 0.93rem; padding: 10px 14px; border-radius: 8px; }
#formStatus p[style*="green"] { background: #e6f9f0; color: #1a7a4a; }
#formStatus p[style*="red"]   { background: #fef2f2; color: #b91c1c; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-lios { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; }
.footer-brand .logo-tech { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; }
.footer-brand p { margin-top: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.55); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 9px; }
.footer-links ul li a,
.footer-contact a {
  color: rgba(255,255,255,0.60);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links ul li a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.60);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding: 24px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 10px 14px; width: 100%; }
  .nav-cta { text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-accent { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-content { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-divider { display: none; }
  .hero-address { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
