/* ===== COLOR PALETTE ===== */
:root {
  --primary: #1e3a8a;
  --primary-dark: #1e2a5a;
  --primary-light: #3b82f6;
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}

.btn-white {
  background-color: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background-color: var(--background);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
}

.navbar-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
  width: 100%;
}

.navbar-menu a.active {
  color: var(--primary);
}



.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.375rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  padding: 6rem 2rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--secondary-light);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-visual {
  position: relative;
  height: 400px;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: linear-gradient(135deg, white, #f0f9ff);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  width: 180px;
  height: 120px;
  top: 20px;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  width: 160px;
  height: 100px;
  top: 150px;
  right: 20px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  animation-delay: 0.2s;
}

.card-3 {
  width: 140px;
  height: 90px;
  bottom: 30px;
  left: 60px;
  animation-delay: 0.4s;
}

.geometric-shape {
  position: absolute;
  border-radius: 1.5rem;
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 50%;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0.1;
  animation: rotate 20s linear infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  bottom: 50px;
  right: 100px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  opacity: 0.15;
  animation: rotate -15s linear infinite;
}

.gradient-circle {
  position: absolute;
  border-radius: 50%;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 0;
  right: 50px;
  background: radial-gradient(circle, var(--secondary-light), transparent);
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
  width: 150px;
  height: 150px;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle, var(--primary-light), transparent);
  opacity: 0.15;
  animation: pulse 4s ease-in-out infinite 0.5s;
}

/* ===== STATS SECTION ===== */
.stats {
  background-color: var(--surface);
  padding: 3rem 2rem;
  margin: -3rem 2rem 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
  padding: 6rem 2rem;
  background-color: var(--background);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.about-visual {
  position: relative;
  height: 350px;
}

.visual-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface), #f0f9ff);
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-grid {
  position: absolute;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  width: 100%;
  height: 100%;
}

.grid-item {
  border-radius: 0.75rem;
  opacity: 0.8;
}

.g1 {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.g2 {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.g3 {
  background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.g4 {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.placeholder-number {
  position: absolute;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(30, 58, 138, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.placeholder-lines {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.line {
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.line-1 { width: 80px; }
.line-2 { width: 60px; }
.line-3 { width: 40px; }

/* ===== SERVICES PREVIEW SECTION ===== */
.services-preview {
  padding: 6rem 2rem;
  background-color: var(--surface);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-description {
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.service-link:hover {
  gap: 0.75rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  color: white;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-visual {
  position: relative;
  height: 300px;
}

.cta-shape {
  position: absolute;
  border-radius: 2rem;
}

.shape-a {
  width: 200px;
  height: 200px;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  animation: float 4s ease-in-out infinite;
}

.shape-b {
  width: 150px;
  height: 150px;
  bottom: 20px;
  left: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.shape-c {
  width: 100px;
  height: 100px;
  top: 50%;
  right: 50px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
  animation: rotate 8s linear infinite;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--secondary-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  max-width: 250px;
}

.footer-brand .logo-placeholder {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    height: 300px;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-menu.active {
    max-height: 500px;
  }

  .navbar-menu ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0;
  }

  .navbar-menu a {
    display: block;
    padding: 0.75rem 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cta-content p,
  .section-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }

  .navbar-container {
    padding: 1rem;
  }

  .navbar-logo {
    font-size: 1.25rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .stats {
    padding: 2rem 1rem;
    margin: -2rem 1rem 0;
  }

  .stats-container {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-container,
  .cta-container {
    gap: 1.5rem;
  }

  .about-preview,
  .services-preview,
  .cta-section {
    padding: 3rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .footer-container {
    gap: 1.5rem;
  }

  .logo-placeholder {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
