/*  Fonts: Poppins (Headings) / Inter (Body)
  Icons: Lucide (via Script)
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Poppins:wght@400;600;700&display=swap');

:root {
  /* Logo Colors - Premium Tuned */
  --primary: #F58220; 
  --secondary: #0A0F1A; /* Deep Space Navy */
  --accent-blue: #58B9D1; 

  /* Text */
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;

  /* Backgrounds */
  --bg-main: #FFFFFF;
  --bg-alt: #F9FAFB;
  --bg-panel: #F3F4F6;

  /* Spacing */
  --section-pad: 3rem;
  --container-pad: 5%;

  /* Details */
  --border-light: 1px solid #E5E7EB;
  --radius: 6px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

@media (max-width: 768px) {
  :root {
    --section-pad: 2.5rem;
    --container-pad: 1.25rem;
  }
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

/* Modern Floating Navigation */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  height: 70px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s var(--ease);
}

nav.scrolled {
  top: 0.5rem;
  width: 90%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Ensure first section isn't hidden under floating nav */
body > section:first-of-type {
  padding-top: 140px !important;
}

.nav-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img { height: 55px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--secondary);
}

.nav-links a:hover { color: var(--primary); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  padding: 8px;
}

/* Layout System */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 3rem;
}

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

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

/* Responsive Overrides */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 2rem; }
}

@media (max-width: 768px) {
  nav { height: 70px; }
  
  .nav-links { 
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    padding: 3rem;
    gap: 2rem;
    z-index: 4000;
  }
  
  .nav-links.active { display: flex; }
  .mobile-toggle { display: flex; }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .bento-grid {
    grid-template-columns: 1fr !important;
  }
  
  .bento-item {
    grid-column: span 1 !important;
  }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-item {
  background: white;
  padding: 3rem;
  border: 1px solid rgba(0,0,0,0.03);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 130, 32, 0.2);
}

.bento-item > * { position: relative; z-index: 1; }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-radius: 32px;
}

/* UI Elements */
.btn-lux {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-lux:hover {
  background: #E06D12;
  box-shadow: 0 12px 20px -5px rgba(245, 130, 32, 0.4);
  transform: translateY(-2px);
}

.text-dim { color: var(--text-muted); }
.italic { font-style: italic; color: var(--primary); }

/* Animation Overlay */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.2, 0, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fancy Background Blobs */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent);
  filter: blur(80px);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: blob-move 20s infinite alternate ease-in-out;
}

@keyframes blob-move {
  from { transform: translate(-10%, -10%); }
  to { transform: translate(10%, 10%); }
}

/* Hero Special */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, rgba(245, 130, 32, 0.03) 0%, rgba(255, 255, 255, 1) 90%);
}

.hero h1 { margin-bottom: 2rem; }
.hero p { font-size: 1.3rem; max-width: 700px; margin-bottom: 3.5rem; color: var(--text-muted); }

/* Footer */
footer {
  padding: 6rem 0 3rem;
  background: var(--secondary);
  color: white;
}

footer h3, footer h4 { color: white; margin-bottom: 2.5rem; }
footer a { color: var(--text-light); font-size: 15px; }
footer a:hover { color: var(--primary); }

.icon-inline {
  width: 20px; height: 20px;
  vertical-align: middle;
  margin-right: 10px;
  color: var(--primary);
}

.icon-large {
  width: 40px; height: 40px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}