/* ========================================
   AIDATAPULSE Security - Global Styles
   ======================================== */

:root {
  --orange: #E8721C;
  --orange-dark: #C85F15;
  --orange-light: #F4A261;
  --navy: #1B3A5C;
  --navy-dark: #122840;
  --blue: #2E5E8E;
  --blue-light: #3A7BC8;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid: #E0E0E0;
  --gray-text: #333333;
  --gray-muted: #6C757D;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(27, 58, 92, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.navbar-brand img { height: 50px; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(232,114,28,0.05)" d="M0,160L48,176C96,192,192,224,288,218.7C384,213,480,171,576,165.3C672,160,768,192,864,197.3C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(232,114,28,0.3), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(46,94,142,0.3), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.15), transparent);
  animation: float 20s infinite linear;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Landing page hero (shorter) */
.hero-landing {
  min-height: 60vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

/* ========== BUTTONS ========== */
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}
.btn-orange:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,114,28,0.35);
}
.btn-outline-light {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}
.btn-navy:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27,58,92,0.35);
}

/* ========== SECTIONS ========== */
section { padding: 5rem 0; }
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-muted);
  margin-bottom: 3rem;
}
.section-title span { color: var(--orange); }

.bg-light-custom { background: var(--gray-light); }
.bg-navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-subtitle { color: rgba(255,255,255,0.7); }

/* ========== CARDS ========== */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}
.service-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}
.service-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
}
.service-card p {
  color: var(--gray-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.service-card .btn-link {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.service-card .btn-link:hover { color: var(--orange-dark); }
.service-card .btn-link i { transition: var(--transition); }
.service-card .btn-link:hover i { transform: translateX(5px); }

/* Feature card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.feature-card .icon-sm {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232,114,28,0.1), rgba(232,114,28,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.feature-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.feature-card p {
  color: var(--gray-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== WHY US ========== */
.why-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.why-item .why-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}
.why-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.why-item p {
  color: var(--gray-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.testimonial-card .stars {
  color: var(--orange);
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-style: italic;
  color: var(--gray-muted);
  margin-bottom: 1.2rem;
}
.testimonial-card .client {
  font-weight: 700;
  color: var(--navy);
}
.testimonial-card .client span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--gray-muted);
}

/* ========== PROCESS / STEPS ========== */
.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem;
}
.process-step .step-number {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.process-step h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--gray-muted);
  font-size: 0.9rem;
}

/* ========== PROBLEM/SOLUTION ========== */
.problem-box {
  background: linear-gradient(135deg, #FFF5F5, #FEE);
  border-left: 4px solid #E53E3E;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
  margin-bottom: 1rem;
}
.problem-box h3 { color: #C53030; }
.problem-box li {
  padding: 0.3rem 0;
  color: var(--gray-muted);
}
.problem-box li i { color: #E53E3E; margin-right: 0.5rem; }

.solution-box {
  background: linear-gradient(135deg, #F0FFF4, #E6FFFA);
  border-left: 4px solid #38A169;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
  margin-bottom: 1rem;
}
.solution-box h3 { color: #276749; }
.solution-box li {
  padding: 0.3rem 0;
  color: var(--gray-muted);
}
.solution-box li i { color: #38A169; margin-right: 0.5rem; }

/* ========== FAQ ========== */
.faq-section .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.faq-section .accordion-button {
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 1.2rem 1.5rem;
}
.faq-section .accordion-button:not(.collapsed) {
  background: var(--gray-light);
  color: var(--orange);
  box-shadow: none;
}
.faq-section .accordion-button:focus { box-shadow: none; }
.faq-section .accordion-body {
  color: var(--gray-muted);
  line-height: 1.8;
}

/* ========== FORMS ========== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--gray-mid);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  transition: var(--transition);
  font-size: 1rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(232,114,28,0.15);
}
.contact-form label {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success i {
  font-size: 4rem;
  color: #38A169;
  margin-bottom: 1rem;
}
.form-success h3 { color: var(--navy); }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* ========== BRANDS ========== */
.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: var(--transition);
}
.brand-logos:hover { opacity: 1; filter: grayscale(0%); }
.brand-logos span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer a:hover { color: var(--orange); }
.footer-links li { padding: 0.3rem 0; }
.footer-links li i { color: var(--orange); margin-right: 0.5rem; width: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
}
.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 0.5rem;
  transition: var(--transition);
}
.footer .social-links a:hover {
  background: var(--orange);
  color: var(--white);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* ========== STATS ========== */
.stat-item { text-align: center; padding: 1.5rem; }
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  color: var(--gray-muted);
  font-weight: 500;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.9rem; }
  .navbar-collapse {
    background: var(--navy-dark);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
  }
}
@media (max-width: 767.98px) {
  .hero { min-height: 80vh; padding-top: 100px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.7rem; }
  .contact-form { padding: 1.5rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .brand-logos { gap: 1.5rem; }
  .brand-logos span { font-size: 1.1rem; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 1.7rem; }
  .btn-orange, .btn-navy, .btn-outline-light { padding: 0.7rem 1.5rem; font-size: 0.95rem; }
  .hero-landing { min-height: 50vh; }
}

/* ========== UTILITIES ========== */
.text-orange { color: var(--orange) !important; }
.text-navy { color: var(--navy) !important; }
.bg-orange-soft { background: rgba(232,114,28,0.08); }
.fw-800 { font-weight: 800 !important; }
.ls-tight { letter-spacing: -0.5px; }
