/* ========================================
   3i Global Tech — Light Theme Stylesheet
   ======================================== */

:root {
  --primary: #0066FF;
  --primary-dark: #0047CC;
  --accent: #00AAFF;
  --dark: #FFFFFF;
  --dark-2: #F4F7FF;
  --dark-3: #EBF0FF;
  --dark-4: #DDE6FF;
  --text: #0D1B2A;
  --text-muted: #566B8A;
  --border: rgba(0, 102, 255, 0.13);
  --glass: rgba(255, 255, 255, 0.96);
  --gradient: linear-gradient(135deg, #0066FF, #00D4FF);
  --gradient-dark: linear-gradient(135deg, #EBF2FF, #E0F9FF);
  --shadow: 0 20px 60px rgba(0, 102, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { color: var(--text-muted); font-size: 1.05rem; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  box-shadow: 0 2px 20px rgba(0, 102, 255, 0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.nav-logo-icon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1;
}
.nav-logo-3i {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem; font-weight: 700;
  color: #C9A84C;
  letter-spacing: -1px;
  line-height: 1;
}
.nav-logo-divider {
  width: 2px; height: 36px;
  background: rgba(201,168,76,0.3);
  margin: 0 10px;
}
.nav-logo-right {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-logo-top {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem; font-weight: 700;
  color: #0D1B2A;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.nav-logo-bottom {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem; font-weight: 400;
  color: #C9A84C;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--dark-3); }

.nav-cta {
  background: var(--gradient) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-mobile-btn {
  display: none; background: none; border: none;
  color: var(--text); cursor: pointer; font-size: 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.3s; border: none;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 102, 255, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,102,255,0.05); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,102,255,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,212,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,102,255,0.08); border: 1px solid rgba(0,102,255,0.2);
  border-radius: 50px; padding: 8px 16px;
  font-size: 0.85rem; color: var(--primary);
  margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.15rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--text); }
.hero-stat-num span { color: var(--primary); }
.hero-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
}
.hero-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.hero-card-title { font-size: 1rem; font-weight: 600; color: var(--text); }
.hero-card-sub { font-size: 0.8rem; color: var(--text-muted); }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-metric {
  background: var(--dark-3);
  border-radius: 10px;
  padding: 16px;
}
.hero-metric-val { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.hero-metric-val.up { color: #00A855; }
.hero-metric-val.blue { color: var(--primary); }
.hero-metric-lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.hero-bar { margin-top: 16px; }
.hero-bar-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.hero-bar-track { height: 6px; background: var(--dark-4); border-radius: 3px; overflow: hidden; }
.hero-bar-fill { height: 100%; background: var(--gradient); border-radius: 3px; }

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,102,255,0.1);
  font-size: 0.8rem;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.float-card-1 { top: -20px; right: -20px; animation: float 4s ease-in-out infinite; }
.float-card-2 { bottom: 20px; left: -30px; animation: float 4s ease-in-out infinite 2s; }
.float-dot { width: 8px; height: 8px; border-radius: 50%; }
.float-dot.green { background: #00A855; }
.float-dot.blue { background: var(--primary); }

/* ── Cards ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s;
  box-shadow: 0 2px 16px rgba(0,102,255,0.06);
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

/* Icon bg colors */
.bg-blue { background: rgba(0,102,255,0.1); }
.bg-cyan { background: rgba(0,212,255,0.1); }
.bg-purple { background: rgba(139,92,246,0.1); }
.bg-green { background: rgba(0,184,98,0.1); }
.bg-orange { background: rgba(251,146,60,0.1); }
.bg-pink { background: rgba(236,72,153,0.1); }

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.2);
  color: var(--primary);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.1rem; }

/* ── Services Strip ── */
.services-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
}
.services-scroll {
  display: flex; gap: 48px;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}
.services-scroll span {
  white-space: nowrap;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
}
.services-scroll span::before { content: '▸'; color: var(--primary); }

/* ── Process Steps ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: 12.5%; right: 12.5%;
  height: 2px; background: var(--border); z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px;
  background: white; border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0,102,255,0.15);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }

/* ── Testimonials ── */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,102,255,0.06);
}
.testimonial-stars { color: #FFB800; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text { font-size: 1rem; color: var(--text); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: white;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #0052CC 0%, #0099FF 100%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,102,255,0.25);
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-tag {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}
.cta-section h2 { margin-bottom: 16px; color: white; }
.cta-section .gradient-text {
  background: linear-gradient(135deg, #ffffff, #ccedff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-section p { max-width: 500px; margin: 0 auto 36px; font-size: 1.1rem; color: rgba(255,255,255,0.82); }
.cta-section .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  color: white;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: #0D1B2A;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { font-size: 0.95rem; margin: 16px 0 24px; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,102,255,0.1); }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; color: white; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.85rem; color: rgba(255,255,255,0.35);
}

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.form-control {
  width: 100%;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,102,255,0.08); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #F4F7FF 0%, #FFFFFF 70%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,102,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { text-align: center; position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 36px; }

/* ── Feature List ── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}
.feature-list li:last-child { border-bottom: none; }
.feature-check { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ── Pricing ── */
.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.3s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,102,255,0.06);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient);
  color: white; font-size: 0.8rem; font-weight: 600;
  padding: 4px 16px; border-radius: 50px;
}
.pricing-price { font-size: 2.5rem; font-weight: 800; margin: 16px 0 8px; color: var(--text); }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 24px 0; }
.pricing-features li {
  padding: 8px 0; font-size: 0.9rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ── FAQ ── */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: white;
}
.faq-question {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--dark-3); }
.faq-answer { padding: 0 24px 20px; font-size: 0.95rem; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.2s; color: var(--primary); }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.stat-num.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ── Blog ── */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,102,255,0.05);
}
.blog-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-img {
  height: 200px;
  background: var(--gradient-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.08), rgba(0,212,255,0.05));
}
.blog-card-body { padding: 28px; }
.blog-tag {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  color: var(--primary); letter-spacing: 0.5px; margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; margin-bottom: 20px; }
.blog-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); }

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 50px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}
