/* =============================================
   TAINO SOFTWARE FACTORY – Caribbean Vibes
   Space Grotesk + Blues + Palms + Colmados 🌴
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Caribbean Blue Palette */
  --sky:         #0ea5e9;
  --sky-light:   #38bdf8;
  --sky-pale:    #e0f2fe;
  --ocean:       #0369a1;
  --ocean-deep:  #0c4a6e;
  --turquoise:   #06b6d4;
  --teal:        #0891b2;
  --aqua:        #22d3ee;

  /* Island Accents */
  --sun:         #fbbf24;
  --sun-warm:    #f59e0b;
  --palm:        #16a34a;
  --palm-light:  #22c55e;
  --coral:       #f97316;
  --sand:        #fef3c7;
  --sand-light:  #fffbeb;

  /* Surfaces */
  --bg-white:    #ffffff;
  --bg-sky:      #f0f9ff;
  --bg-deep:     #0c1a2e;
  --bg-navy:     #0f2744;
  --bg-card:     #ffffff;
  --bg-card-dark:#112240;

  /* Text */
  --text-dark:   #0c1a2e;
  --text-mid:    #1e40af;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;

  /* Borders */
  --border:      rgba(14,165,233,0.2);
  --border-soft: rgba(14,165,233,0.1);

  /* Effects */
  --glow-sky:    0 0 40px rgba(14,165,233,0.35);
  --glow-ocean:  0 0 40px rgba(3,105,161,0.3);
  --glow-sun:    0 0 30px rgba(251,191,36,0.4);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-sky); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ocean); }

/* =============================================
   CARIBBEAN WAVE DECORATIONS (pure CSS/SVG)
   ============================================= */
.wave-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--turquoise), var(--sky), var(--aqua), var(--sky), var(--turquoise));
  background-size: 200% 100%;
  animation: waveShimmer 3s ease infinite;
}
@keyframes waveShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.palm-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1.25rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 24px rgba(14,165,233,0.1);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo { height: 70px; width: auto; transition: var(--transition); filter: drop-shadow(0 2px 8px rgba(14,165,233,0.3)); }
.nav-logo:hover { transform: scale(1.04); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -0.03em; color: var(--ocean-deep);
}
.nav-brand-sub {
  font-family: var(--font-head); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--sky);
}

/* Dark-bg modifier */
.navbar.navbar-dark-bg:not(.scrolled) .nav-brand-name { color: #fff; }
.navbar.navbar-dark-bg:not(.scrolled) .nav-brand-sub { color: var(--aqua); }
.navbar.navbar-dark-bg:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
.navbar.navbar-dark-bg:not(.scrolled) .nav-links a:hover,
.navbar.navbar-dark-bg:not(.scrolled) .nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }
.navbar.navbar-dark-bg:not(.scrolled) .nav-toggle span { background: #fff; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600;
  color: var(--text-body); padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm); transition: var(--transition);
  letter-spacing: -0.01em; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--sky); background: rgba(14,165,233,0.08); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%); width: 20px; height: 2px;
  background: var(--sky); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.btn-nav-demo {
  font-family: var(--font-head) !important; font-size: 0.875rem !important;
  font-weight: 600 !important; color: var(--sky) !important;
  border: 1.5px solid rgba(14,165,233,0.4) !important; background: transparent !important;
  padding: 0.5rem 1.2rem !important; border-radius: 50px !important;
  transition: var(--transition) !important; letter-spacing: -0.01em !important;
}
.btn-nav-demo:hover { background: rgba(14,165,233,0.08) !important; border-color: var(--sky) !important; }
.navbar.navbar-dark-bg:not(.scrolled) .btn-nav-demo { color: var(--aqua) !important; border-color: rgba(34,211,238,0.5) !important; }
.btn-nav-primary {
  font-family: var(--font-head) !important; font-size: 0.875rem !important;
  font-weight: 700 !important; color: #fff !important;
  background: linear-gradient(135deg, var(--sky), var(--ocean)) !important;
  padding: 0.5rem 1.3rem !important; border-radius: 50px !important;
  transition: var(--transition) !important; box-shadow: 0 2px 16px rgba(14,165,233,0.35) !important;
  letter-spacing: -0.01em !important;
}
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 28px rgba(14,165,233,0.5) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   SHARED SECTION STYLES
   ============================================= */
.section { padding: 6rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sky); background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.25); border-radius: 50px;
  padding: 0.35rem 1rem; margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.04em;
  color: var(--text-dark); margin-bottom: 1rem;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--sky), var(--turquoise));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title .highlight-sun {
  background: linear-gradient(135deg, var(--sun), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* on dark bg */
.on-dark .section-tag { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.3); color: var(--aqua); }
.on-dark .section-title { color: #fff; }
.on-dark .section-title .highlight { background: linear-gradient(135deg, var(--aqua), var(--sky-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.on-dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 2rem; border-radius: 50px;
  transition: var(--transition); cursor: pointer;
  border: none; outline: none; white-space: nowrap; letter-spacing: -0.01em;
}
.btn-primary { background: linear-gradient(135deg, var(--sky), var(--ocean)); color: #fff; box-shadow: 0 4px 20px rgba(14,165,233,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(14,165,233,0.5); }
.btn-outline { background: transparent; color: var(--sky); border: 2px solid rgba(14,165,233,0.4); }
.btn-outline:hover { background: rgba(14,165,233,0.08); border-color: var(--sky); transform: translateY(-2px); }
.btn-sun { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #fff; box-shadow: 0 4px 20px rgba(251,191,36,0.35); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(251,191,36,0.5); }
.btn-ghost-light { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* =============================================
   BG / OVERLAY HELPERS
   ============================================= */
.bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.has-bg { position: relative; overflow: hidden; }
.bg-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,26,46,0.9) 0%, rgba(12,26,46,0.4) 100%); pointer-events: none; z-index: 0; }
.bg-overlay-dark { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,26,46,0.92) 0%, rgba(3,105,161,0.6) 100%); pointer-events: none; z-index: 0; }
.bg-overlay-ocean { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,74,110,0.88), rgba(6,182,212,0.55)); mix-blend-mode: multiply; pointer-events: none; z-index: 0; }
.content-over-img { position: relative; z-index: 1; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero { padding: 10rem 0 5rem; position: relative; overflow: hidden; background: var(--bg-sky); }
.page-hero.has-bg { color: #fff; }
.page-hero.has-bg .section-title { color: #fff; }
.page-hero.has-bg .section-subtitle { color: rgba(255,255,255,0.8); }
.page-hero.has-bg .section-tag { background: rgba(34,211,238,0.15); border-color: rgba(34,211,238,0.4); color: var(--aqua); }
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,165,233,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,0.07) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent);
}

/* =============================================
   STAT PILLS
   ============================================= */
.stat-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.25);
  border-radius: 50px; padding: 0.3rem 0.8rem;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  color: var(--sky); letter-spacing: -0.01em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--palm-light); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.6; transform:scale(1.4); } }

/* =============================================
   GRIDS
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.align-center { align-items: center; }

.gradient-line { height: 1px; background: linear-gradient(90deg, transparent, rgba(14,165,233,0.3), transparent); }

/* =============================================
   INDUSTRY SECTION
   ============================================= */
.relative { position: relative; }
.z-10 { z-index: 10; }
.industry-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 75% 50%, rgba(14,165,233,0.08) 0%, transparent 60%); pointer-events: none; }
.industry-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.industry-features li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.5;
  background: rgba(255,255,255,0.04); padding: 0.9rem 1.2rem;
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.industry-features li:hover { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.3); transform: translateX(5px); }
.industry-features .icon { font-size: 1.3rem; flex-shrink: 0; }
.industry-features strong { color: #fff; display: block; margin-bottom: 0.1rem; font-family: var(--font-head); font-weight: 700; }
.industry-visual { position: relative; height: 100%; min-height: 450px; display: flex; align-items: center; justify-content: center; }
.industry-img-main { position: relative; width: 85%; border-radius: 20px; overflow: hidden; border: 1px solid rgba(14,165,233,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(14,165,233,0.15); z-index: 2; }
.industry-img-main img { width: 100%; display: block; filter: brightness(0.85) contrast(1.1); transition: filter 0.5s; }
.industry-img-main:hover img { filter: brightness(1); }
.industry-img-float { position: absolute; width: 45%; border-radius: 16px; overflow: hidden; border: 1px solid rgba(34,211,238,0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.4); z-index: 3; }
.industry-img-float.float-top { top: 2%; right: -5%; }
.industry-img-float img { width: 100%; display: block; }
.industry-data-card { position: absolute; z-index: 4; background: rgba(12,26,46,0.88); backdrop-filter: blur(12px); border: 1px solid rgba(14,165,233,0.4); border-radius: 16px; padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 1.25rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.industry-data-card.float-bottom { bottom: 5%; left: -8%; }
.data-pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--palm-light); box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: pulse-green 2s infinite; flex-shrink: 0; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.data-title { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 0.2rem; font-family: var(--font-head); }
.data-value { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 0.25rem; letter-spacing: -0.04em; }
.data-trend { font-size: 0.82rem; font-weight: 600; font-family: var(--font-head); }
.data-trend.up { color: var(--palm-light); }

/* =============================================
   TABS (features page)
   ============================================= */
.tabs-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; border-bottom: 1px solid var(--border-soft); padding-bottom: 1rem; }
.tab-btn { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; padding: 0.55rem 1.2rem; border-radius: 50px; border: 1px solid var(--border-soft); background: transparent; color: var(--text-muted); cursor: pointer; transition: var(--transition); letter-spacing: -0.01em; }
.tab-btn:hover { color: var(--text-dark); border-color: var(--border); }
.tab-btn.active { background: linear-gradient(135deg, var(--sky), var(--ocean)); color: #fff; border-color: transparent; box-shadow: 0 0 20px rgba(14,165,233,0.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.module-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.module-info h3 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.04em; color: var(--text-dark); }
.module-info p { color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text-body); }
.feature-list li::before { content: '✓'; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: rgba(22,163,74,0.12); color: var(--palm); border-radius: 50%; font-size: 0.65rem; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.module-visual { border: 1px solid var(--border-soft); border-radius: var(--radius-lg); min-height: 320px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.module-visual-icon { font-size: 5rem; filter: drop-shadow(0 0 30px rgba(14,165,233,0.4)); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 0.75rem; transition: var(--transition); }
.faq-item.open { border-color: var(--border); }
.faq-question { width: 100%; background: var(--bg-card); border: none; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-size: 0.93rem; font-weight: 600; color: var(--text-dark); cursor: pointer; transition: var(--transition); text-align: left; letter-spacing: -0.01em; }
.faq-question:hover { background: var(--bg-sky); }
.faq-arrow { transition: transform 0.3s ease; font-size: 1.1rem; color: var(--sky); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { background: var(--bg-card); max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; padding: 0 1.5rem 1.25rem; }

/* =============================================
   INDUSTRY CARDS (solutions page)
   ============================================= */
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.industry-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 2.5rem; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.industry-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--sky), var(--turquoise)); opacity: 0; transition: var(--transition); }
.industry-card:hover::before { opacity: 1; }
.industry-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,165,233,0.12), var(--glow-sky); }
.industry-icon-box { width: 64px; height: 64px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.industry-info h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.02em; color: var(--text-dark); }
.industry-card.has-bg .industry-info h3 { color: #fff; }
.industry-info p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.industry-card.has-bg .industry-info p { color: rgba(255,255,255,0.75); }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.industry-tag { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.65rem; background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.2); color: var(--sky); border-radius: 50px; font-family: var(--font-head); letter-spacing: -0.01em; }
.industry-card.has-bg .industry-tag { border-color: rgba(255,255,255,0.3); color: #fff; background: rgba(255,255,255,0.1); }

/* Use case */
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.usecase-visual { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 400px; }
.usecase-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.5rem; }
.usecase-metric { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); padding: 1rem; }
.usecase-metric-val { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--aqua); line-height: 1; letter-spacing: -0.04em; }
.usecase-metric-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; font-family: var(--font-head); }
.usecase-info h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.04em; color: #fff; }
.usecase-info p { color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 1.25rem; font-size: 0.95rem; }

/* =============================================
   SPEC GRID
   ============================================= */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.spec-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 1.75rem; transition: var(--transition); }
.spec-card:hover { border-color: var(--border); transform: translateY(-3px); }
.spec-card .spec-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.spec-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--text-dark); letter-spacing: -0.02em; }
.spec-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.integrations-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 3rem; }
.integration-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; transition: var(--transition); }
.integration-card:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.mission-text h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1.25rem; color: var(--text-dark); }
.mission-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.mission-visual { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 420px; }
.mv-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.mv-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.mv-item h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; color: #fff; letter-spacing: -0.02em; }
.mv-item p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--sky), var(--turquoise), transparent); }
.timeline-item { position: relative; padding-bottom: 3rem; padding-left: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.5rem; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 12px rgba(14,165,233,0.5); border: 2px solid var(--bg-white); }
.timeline-year { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: var(--sky); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.timeline-item h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-dark); letter-spacing: -0.02em; }
.timeline-item p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 2rem; text-align: center; transition: var(--transition); }
.value-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(14,165,233,0.1), var(--glow-sky); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-dark); letter-spacing: -0.02em; }
.value-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 2rem 1.5rem; text-align: center; transition: var(--transition); }
.team-card:hover { border-color: var(--border); transform: translateY(-5px); box-shadow: 0 12px 40px rgba(14,165,233,0.1), var(--glow-sky); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: #fff; border: 2px solid rgba(14,165,233,0.3); }
.team-name { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-dark); letter-spacing: -0.02em; }
.team-role { font-size: 0.78rem; color: var(--sky); margin-bottom: 0.75rem; font-family: var(--font-head); font-weight: 600; }
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.partners-strip { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.partner-badge { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 0.75rem 1.5rem; font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.04em; transition: var(--transition); }
.partner-badge:hover { border-color: var(--sky); color: var(--sky); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background-color: var(--bg-deep);
  border-top: 1px solid rgba(14,165,233,0.15);
  padding: 5rem 0 2rem; color: #e2e8f0;
  position: relative; overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 4rem; position: relative; z-index: 1; }
.footer-brand p { color: rgba(148,163,184,0.7); font-size: 0.88rem; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 0.5rem; filter: brightness(0) invert(1) opacity(0.85); }
.footer-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.03em; color: #fff; margin-bottom: 0.1rem; }
.footer-brand-sub { font-family: var(--font-head); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--aqua); }

.footer-socials { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
  color: #e2e8f0;
  text-decoration: none;
}
.footer-social-btn:hover { border-color: var(--sky); background: rgba(14,165,233,0.15); transform: translateY(-2px); }
.footer-social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* individual hover accent colors */
.footer-social-btn.fb:hover  { border-color: #1877f2; background: rgba(24,119,242,0.15); color: #1877f2; }
.footer-social-btn.ig:hover  { border-color: #e1306c; background: rgba(225,48,108,0.15); color: #e1306c; }
.footer-social-btn.wa:hover  { border-color: #25d366; background: rgba(37,211,102,0.15); color: #25d366; }
.footer-social-btn.li:hover  { border-color: #0a66c2; background: rgba(10,102,194,0.15); color: #0a66c2; }

.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: #fff; margin-bottom: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(148,163,184,0.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--sky); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.footer-contact-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item p { font-size: 0.83rem; color: rgba(148,163,184,0.65); line-height: 1.5; }
.footer-contact-item strong { display: block; font-size: 0.78rem; font-weight: 700; color: #fff; margin-bottom: 0.1rem; font-family: var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; }
.footer-bottom p { font-size: 0.82rem; color: rgba(148,163,184,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(148,163,184,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--sky); }

/* =============================================
   ANIMATIONS
   ============================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .integrations-strip { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open, .nav-cta.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); align-items: center; justify-content: center; gap: 1.5rem; z-index: 998; }
  .nav-links.open a { font-size: 1.3rem; color: var(--text-dark) !important; }
  .nav-cta.open { top: auto; flex-direction: row; bottom: 3rem; z-index: 999; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .module-panel { grid-template-columns: 1fr; }
}

