/* LogicEye - Standalone CSS */
/* ============================= */

/* CSS Variables */
:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --blue-accent: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #60a5fa;
  --green: #22c55e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-600);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Padding */
.section {
  padding: 4rem 0;
}

.section-lg {
  padding: 5rem 0;
}

/* ============================= */
/* HEADER */
/* ============================= */

.top-bar {
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar a {
  color: var(--white);
  font-weight: 500;
}

.top-bar a:hover {
  color: var(--blue-light);
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-accent), var(--navy));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--blue-accent);
}

.header-cta {
  display: none;
}

.mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--gray-600);
  border-radius: 8px;
  transition: background 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--gray-100);
  color: var(--blue-accent);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .mobile-toggle {
    display: none;
  }
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--blue-light);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0 8rem;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ============================= */
/* CARDS */
/* ============================= */

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* ============================= */
/* GRID LAYOUTS */
/* ============================= */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================= */
/* SECTION HEADERS */
/* ============================= */

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  color: var(--blue-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gray-500);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* ============================= */
/* WHY CHOOSE US */
/* ============================= */

.why-section {
  background: var(--gray-50);
}

.why-grid {
  display: grid;
  gap: 2rem;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.why-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.stats-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-light);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-300);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* ============================= */
/* PROCESS SECTION */
/* ============================= */

.process-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

.process-section .section-header h2 {
  color: var(--white);
}

.process-section .section-header p {
  color: var(--gray-300);
}

.process-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.process-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

/* ============================= */
/* SERVICE AREAS */
/* ============================= */

.areas-section {
  background: var(--gray-50);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  font-weight: 500;
  transition: all 0.3s;
}

.area-tag:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow);
}

.area-tag svg {
  width: 16px;
  height: 16px;
  color: var(--blue-accent);
}

.area-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue-accent);
  font-weight: 600;
}

.area-link:hover {
  text-decoration: underline;
}

/* ============================= */
/* TESTIMONIALS */
/* ============================= */

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: #fbbf24;
  fill: #fbbf24;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ============================= */
/* CTA BANNER */
/* ============================= */

.cta-banner {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-contact a:hover {
  color: var(--blue-light);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul a {
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer ul a:hover {
  color: var(--blue-light);
}

.footer-trust {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--blue-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ============================= */
/* PAGE HEADERS */
/* ============================= */

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================= */
/* FORMS */
/* ============================= */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* ============================= */
/* CONTACT PAGE */
/* ============================= */

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--blue-accent);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================= */
/* SERVICES PAGE */
/* ============================= */

.service-detail-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.service-detail-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-detail-card h3 svg {
  width: 28px;
  height: 28px;
  color: var(--blue-accent);
}

.service-detail-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.service-detail-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.service-detail-card ul li {
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

/* ============================= */
/* FAQ ACCORDION */
/* ============================= */

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--gray-600);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================= */
/* FLOATING CTA */
/* ============================= */

.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-dark));
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s;
}

.floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.floating-cta svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .floating-cta {
    display: none;
  }
}

/* ============================= */
/* ABOUT PAGE */
/* ============================= */

.about-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.about-image svg {
  width: 150px;
  height: 150px;
  color: var(--blue-light);
  opacity: 0.5;
}

@media (min-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

/* ============================= */
/* UTILITIES */
/* ============================= */

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

.text-accent {
  color: var(--blue-accent);
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.bg-light {
  background: var(--gray-50);
}
