/* SmartOffice AI — styles */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1e40af;
  /* Rich Heritage Blue */
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --primary-glow: rgba(30, 64, 175, 0.08);

  --accent: #059669;
  /* Heritage Emerald Green */
  --accent-light: #10b981;
  --accent-dark: #065f46;
  --accent-glow: rgba(5, 150, 105, 0.1);

  --dark: #0f172a;
  --dark-lighter: #1e293b;
  --dark-card: #ffffff;
  --secondary: #475569;
  --secondary-light: #64748b;
  --light: #ffffff;
  --cream: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #1e40af, #2563eb);
  --gradient-accent: linear-gradient(135deg, #059669, #10b981);
  --gradient-dark: linear-gradient(135deg, #0f172a, #1e40af);
  --gradient-hero: linear-gradient(160deg, #1e40af 0%, #0f172a 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc, #f1f5f9);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  --hero-text: #fdfbf7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 50px rgba(31, 60, 136, 0.1);
  --shadow-glow-lg: 0 0 80px rgba(31, 60, 136, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  color: var(--secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--primary);
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Attractive Bound Designs (Cards) --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.text-center {
  text-align: center;
}

/* --- navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  /* Reduced padding for more compact header */
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 8px 0;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dark);
}

/* Light pages (contact, etc) */
.navbar-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 220px;
  /* Significantly increased to overcome whitespace */
  width: auto;
  display: block;
  transition: var(--transition);
  margin: -80px 0;
  /* Counteract whitespace to keep navbar height in check */
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.2));
}

.navbar.scrolled .logo img {
  height: 180px;
  margin: -65px 0;
}

.navbar-light .logo {
  color: var(--dark);
}

.logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  padding: 4px 0;
}

.navbar-light .nav-links a {
  color: var(--secondary);
}

.navbar-light .nav-links a:hover {
  color: var(--primary);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.navbar-light .nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
}

.navbar-light .nav-links a.active {
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.navbar-light .hamburger span {
  background: var(--dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fffaf0;
  /* Cream */
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

/* --- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  border: 6px solid var(--primary-light);
  /* Increased more to 4px */
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.35);
  border: 4px solid var(--accent-light);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
}

.btn-accent:hover::before {
  left: 100%;
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.45);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 4px solid var(--primary);
  font-weight: 700;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary-light {
  background: transparent;
  color: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
  white-space: normal;
  /* Allow text to wrap for full-width buttons */
  height: auto;
  line-height: 1.4;
}

/* --- Responsive Table Wrapper --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.table-responsive .comparison-table {
  min-width: 100%;
}

@media (min-width: 768px) {
  .table-responsive .comparison-table {
    min-width: 800px;
  }
}

/* --- hero --- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  border: 1.5px solid rgba(5, 150, 105, 0.15);
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-dark {
  background: var(--gradient-hero);
  color: var(--hero-text);
}

.hero-dark h1,
.hero-dark h2 {
  color: var(--hero-text);
}

.hero-dark p {
  color: rgba(253, 251, 247, 0.7);
}

/* Animated background orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-dark::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-dark::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

/* Grid pattern overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.18rem;
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-box {
  width: 100%;
  max-width: 650px;
  /* Increased from 520px */
  aspect-ratio: 3/2;
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

/* Glassmorphism card visual */
.hero-glass-card {
  width: 100%;
  max-width: 650px;
  /* Increased from 520px */
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 48px;
  /* Slightly increased padding */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
}

/* Centered hero */
.hero-centered .container {
  flex-direction: column;
  text-align: center;
}

.hero-centered .hero-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered .hero-content p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-mini {
  min-height: auto;
  padding-top: 140px;
  padding-bottom: 80px;
}

/* --- glass cards --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Light cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.15);
}

.card-featured {
  transform: scale(1.05);
  z-index: 2;
  border-top: 6px solid var(--accent);
  box-shadow: var(--shadow-xl);
}

.card-featured:hover {
  transform: scale(1.06) translateY(-4px);
}

@media (max-width: 768px) {
  .card-featured {
    transform: none !important;
    z-index: 1;
    margin: 20px 0;
  }

  .card-featured:hover {
    transform: translateY(-4px) !important;
  }
}

/* --- comparison table --- */
.comparison-section {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.comparison-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  top: -100px;
  left: -100px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.comparison-table thead th {
  background: rgba(5, 150, 105, 0.15);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 24px 28px;
  font-size: 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.comparison-table tbody td {
  padding: 20px 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover td {
  background: rgba(5, 150, 105, 0.06);
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table .check {
  color: var(--accent-light);
  font-weight: 800;
  font-size: 1.2rem;
}

.comparison-table .cross {
  color: #f43f5e;
  font-weight: 800;
  opacity: 0.6;
}

.comparison-table .highlight-col {
  background: rgba(5, 150, 105, 0.1) !important;
  color: var(--white);
  border-left: 1px solid rgba(5, 150, 105, 0.2);
  border-right: 1px solid rgba(5, 150, 105, 0.2);
}

/* --- steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps-grid-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.25);
  position: relative;
  z-index: 1;
}

/* Connector line between steps */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.steps-dark .step-card:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.06);
}

.step-card h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.step-card p {
  font-size: 0.93rem;
}

/* Dark steps */
.steps-dark .step-card h3 {
  color: var(--white);
}

.steps-dark .step-card p {
  color: rgba(255, 255, 255, 0.55);
}

/* --- stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
}

/* Dark stat cards */
.stat-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-glow);
}

.stat-card-dark .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

/* --- features --- */
.feature-block {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 0;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-visual {
  flex: 1;
}

.feature-visual-box {
  width: 100%;
  aspect-ratio: 16/10;
  /* Changed from 4/3 for a wider/sleeker look */
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  /* Slightly larger text */
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  padding: 40px;
}

.feature-visual-box-light {
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  color: var(--secondary);
}

.feature-text h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.feature-text p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Dark features */
.features-dark .feature-text h3 {
  color: var(--white);
}

.features-dark .feature-text p {
  color: rgba(255, 255, 255, 0.6);
}

/* Feature cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.feature-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: var(--transition);
}

.feature-card:hover .feature-card-icon {
  background: var(--accent);
  color: var(--white);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* --- faq accordion --- */
.faq-section {
  background: var(--light);
}

.faq-section-dark {
  background: var(--dark);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.12);
}

.faq-item-dark.active {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark);
  gap: 16px;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-item-dark .faq-question {
  color: var(--white);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.75rem;
  color: var(--secondary);
}

.faq-item-dark .faq-icon {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.faq-item.active .faq-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 0 28px 24px;
  color: var(--secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item-dark .faq-answer-content {
  color: rgba(255, 255, 255, 0.5);
}

/* --- forms --- */
.form-section {
  padding: 100px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-info h2 {
  margin-bottom: 16px;
}

.form-info>p {
  margin-bottom: 36px;
  font-size: 1.08rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-detail h4 {
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-detail p {
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-card-glass {
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow);
}

.form-card h3 {
  margin-bottom: 28px;
  font-size: 1.35rem;
}

.form-card-glass h3 {
  color: var(--white);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.form-card-glass .form-group label {
  color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--light);
}

.form-card-glass .form-group input,
.form-card-glass .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  background: var(--white);
}

.form-card-glass .form-group input:focus,
.form-card-glass .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-helper {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--secondary);
}

.form-card-glass .form-helper {
  color: rgba(255, 255, 255, 0.4);
}

/* --- cta --- */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--hero-text);
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  top: -200px;
  right: -100px;
}

.cta-section h2 {
  color: var(--hero-text);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(253, 251, 247, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

/* --- demo --- */
.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.demo-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.demo-benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
}

.demo-benefit:hover .demo-benefit-icon {
  background: var(--accent);
  color: var(--white);
}

.demo-benefit-icon-dark {
  background: var(--accent-glow);
  color: var(--accent-light);
}

.demo-benefit h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 4px;
}

.demo-benefit p {
  font-size: 0.95rem;
}

/* Dark demo */
.demo-dark .demo-benefit h4 {
  color: var(--white);
}

.demo-dark .demo-benefit p {
  color: rgba(255, 255, 255, 0.55);
}

.calendar-placeholder {
  min-height: 500px;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 16px;
  backdrop-filter: blur(10px);
}

.calendar-placeholder .icon-large {
  font-size: 3rem;
  opacity: 0.4;
}

.calendar-placeholder h3 {
  color: var(--white);
}

.calendar-placeholder p {
  max-width: 360px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
}

/* --- industries --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.industry-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  transition: var(--transition);
  box-shadow: inset 0 0 20px rgba(5, 150, 105, 0.05);
}

.industry-card:hover .industry-icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.industry-card h3 {
  margin-bottom: 12px;
  transition: var(--transition);
}

.industry-card:hover h3 {
  color: var(--accent);
}

/* Dark industry cards */
.industry-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.industry-card-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.industry-card-dark h3 {
  color: var(--white);
}

.industry-card-dark p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.93rem;
}

.industry-card-dark .industry-icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

/* --- mission --- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.mission-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.mission-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.mission-card p {
  line-height: 1.8;
}

/* Dark mission */
.mission-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mission-card-dark h3 {
  color: var(--white);
}

.mission-card-dark p {
  color: rgba(255, 255, 255, 0.55);
}

/* --- footer --- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0;
  display: inline-block;
}

.footer-brand .logo img {
  height: 280px;
  /* Significantly increased size */
  width: auto;
  margin: -100px 0;
  /* Adjusted negative margins to keep layout compact */
  filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.15));
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding: 8px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-designer {
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-designer a {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-designer a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.footer-designer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-designer a:hover::after {
  width: 100%;
}

/* helpers */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.mb-24 {
  margin-bottom: 24px;
}

.bg-light {
  background: var(--light);
}

.bg-dark {
  background: var(--dark);
}

/* --- Launch Banner --- */
.launch-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(16, 185, 129, 0.08));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 60px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: banner-glow 3s ease-in-out infinite;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.launch-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: banner-shimmer 4s ease-in-out infinite;
}

.launch-banner:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(16, 185, 129, 0.15));
  border-color: rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.25);
  color: var(--white);
}

.launch-banner-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--gradient-accent);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  animation: badge-pulse 2s ease-in-out infinite;
}

.launch-banner-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.launch-banner-text strong {
  color: var(--accent-light);
  font-weight: 800;
}

.launch-banner-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-light);
}

.launch-banner:hover .launch-banner-arrow {
  transform: translateX(4px);
}

@keyframes banner-glow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.1);
  }

  50% {
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.2), 0 0 60px rgba(5, 150, 105, 0.08);
  }
}

@keyframes banner-shimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0);
  }
}

/* --- Founder Section --- */
.founder-block {
  align-items: center;
  gap: 64px;
}

.founder-visual {
  flex: 0 0 380px;
  max-width: 380px;
}

.founder-image-wrapper {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  position: relative;
  transition: var(--transition);
}

.founder-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.founder-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.5s ease;
}

.founder-image-wrapper:hover .founder-img {
  filter: grayscale(0%) contrast(1.08);
}

/* --- Tick Points --- */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  gap: 16px;
}

.tick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(5, 150, 105, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.tick-item:hover {
  background: rgba(5, 150, 105, 0.08);
  transform: translateX(4px);
}

.tick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.tick-item span:last-child {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}

/* --- animations --- */
@keyframes float-slow {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(20px, -30px);
  }

  50% {
    transform: translate(-10px, 20px);
  }

  75% {
    transform: translate(15px, 10px);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-in:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-in:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-in:nth-child(5) {
  transition-delay: 0.35s;
}

/* --- responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 480px;
  }

  .feature-block,
  .feature-block:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .founder-block,
  .founder-block:nth-child(even) {
    flex-direction: column;
    text-align: left;
  }

  .founder-visual {
    flex: none;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .steps-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .launch-banner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 17px;
    /* Boost base size on mobile */
  }

  section {
    padding: 60px 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.2;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1.15rem;
    /* Larger hero subtext */
    max-width: 100%;
  }

  .section-tag {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  /* Click to call card mobile */
  .hero .card {
    padding: 32px 24px !important;
  }

  .hero .card h2 {
    font-size: 1.5rem !important;
  }

  .hero .card p {
    font-size: 1rem !important;
  }

  .hero .btn-accent[href^="tel"] {
    font-size: 1.2rem !important;
    padding: 18px !important;
  }

  .logo img {
    height: 140px !important;
    margin: -50px 0 !important;
  }

  .nav-links {
    display: none;
  }

  .btn-lg {
    padding: 16px 28px;
    /* Slightly bigger targets */
    font-size: 1.05rem;
    white-space: normal;
  }

  .hamburger {
    display: flex;
  }

  .steps-grid,
  .stats-grid,
  .industries-grid,
  .steps-grid-5,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-block,
  .feature-block:nth-child(even) {
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
  }

  .feature-text,
  .feature-visual {
    width: 100%;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-mini {
    padding-top: 100px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 10px;
    font-size: 0.78rem;
    word-break: break-word;
    /* Ensure it wraps */
    white-space: normal;
    line-height: 1.2;
    vertical-align: middle;
  }

  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child {
    padding-left: 12px;
    width: 45%;
  }

  .comparison-table thead th:not(:first-child),
  .comparison-table tbody td:not(:first-child) {
    text-align: center;
    width: 18.3%;
  }

  .comparison-table .check,
  .comparison-table .cross {
    font-size: 1rem;
  }

  .form-card {
    padding: 28px;
  }

  .form-card-glass {
    padding: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  @media (max-width: 480px) {

    .comparison-table thead th,
    .comparison-table tbody td {
      padding: 10px 6px;
      font-size: 0.7rem;
    }

    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
      width: 40%;
    }

    .comparison-table thead th:not(:first-child),
    .comparison-table tbody td:not(:first-child) {
      width: 20%;
    }
  }

  /* Launch banner mobile */
  .launch-banner {
    padding: 14px 24px;
    gap: 10px;
    font-size: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .launch-banner-text {
    font-size: 1rem;
    line-height: 1.4;
  }

  .launch-banner-arrow {
    display: none;
  }

  /* Founder section mobile */
  .founder-visual {
    max-width: 280px;
  }

  .founder-block {
    gap: 40px;
  }

  /* Tick points mobile */
  .tick-item {
    padding: 8px 12px;
    gap: 12px;
  }

  .tick-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.75rem;
  }

  .tick-item span:last-child {
    font-size: 0.93rem;
  }

  /* Fix hero glass card overflow */
  .hero-glass-card {
    padding: 28px;
  }

  /* Ensure no overflow from absolute elements */
  .hero::before,
  .hero::after {
    display: none;
  }

  .footer-brand .logo img {
    height: 180px !important;
    margin: -60px 0 !important;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 18px;
    /* Further boost for very small screens */
  }

  .container {
    padding: 0 16px;
  }

  .container-narrow {
    padding: 0 16px;
  }

  section {
    padding: 50px 0;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  p {
    font-size: 1.05rem;
    /* Keep body text readable */
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .card,
  .glass-card,
  .step-card,
  .stat-card,
  .industry-card,
  .mission-card {
    padding: 24px;
  }

  .launch-banner {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .launch-banner-badge {
    padding: 5px 12px;
    font-size: 0.7rem;
  }

  .launch-banner-text {
    font-size: 0.95rem;
  }

  .founder-visual {
    max-width: 240px;
  }

  /* Prevent any possible overflow */
  img,
  video,
  iframe {
    max-width: 100%;
  }

  .table-responsive {
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
}

/* --- faq --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 20px;
}

.faq-question span:first-child {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-answer-content {
  padding: 0 30px 24px;
  color: var(--secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-item-dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-item-dark .faq-question span:first-child {
  color: var(--white);
}

.faq-item-dark .faq-answer-content {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Profit Leak Calculator --- */
.calculator-section input[type="range"] {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
}

.calculator-section input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--white);
  border: 4px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
  transition: transform 0.2s ease;
}

.calculator-section input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* --- Industries Scroll Highlight --- */
.industry-card {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
}

.industry-card.highlighted {
  border-color: var(--accent);
  background: var(--white);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(5, 150, 105, 0.15);
}

.industry-card.highlighted .industry-icon {
  background: var(--gradient-accent);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

/* --- Attractive Branded Socials --- */
.social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
  transform: translateY(-4px);
  filter: brightness(1.15);
}

.social-link[aria-label="WhatsApp"] {
  background: #25D366;
  color: white !important;
}

.social-link[aria-label="Facebook"] {
  background: #1877F2;
  color: white !important;
}

.social-link[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
}

.social-link[aria-label="TikTok"] {
  background: #000000;
  color: white !important;
}

.social-link[aria-label="Google Profile"] {
  background: white;
  color: #4285F4 !important;
}

/* --- Contact Action Cards --- */
.contact-action-card {
  position: relative;
  overflow: hidden;
}

.contact-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.04), transparent);
  transition: 0.5s;
}

.contact-action-card:hover::before {
  left: 100%;
}

.contact-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

/* --- Floating Contact Buttons --- */
.floating-contact-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: floating-entrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: scale(0) translateY(20px);
}

.floating-btn:nth-child(1) {
  animation-delay: 0.5s;
}

.floating-btn:nth-child(2) {
  animation-delay: 0.7s;
}

@keyframes floating-entrance {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.floating-btn-phone {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
}

.floating-btn:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.floating-btn-whatsapp:hover {
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
}

.floating-btn-phone:hover {
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.4);
}

/* Pulse ring animation */
.floating-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: floating-pulse 2.5s ease-out infinite;
}

.floating-btn-whatsapp::after {
  border-color: #25D366;
}

.floating-btn-phone::after {
  border-color: #3b82f6;
}

@keyframes floating-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Tooltip label */
.floating-btn .floating-label {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.floating-btn .floating-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid rgba(15, 23, 42, 0.9);
}

.floating-btn:hover .floating-label {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .floating-contact-btns {
    bottom: 20px;
    right: 16px;
    gap: 12px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn .floating-label {
    display: none;
  }
}

/* --- Form Success Toast --- */
.form-toast {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.form-toast.active {
  opacity: 1;
  pointer-events: all;
}

.form-toast-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}

.form-toast-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  transform: scale(0.8) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-toast.active .form-toast-content {
  transform: scale(1) translateY(0);
}

.form-toast-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.form-toast-icon.success {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.12));
  color: #059669;
}

.form-toast-icon.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.12));
  color: #ef4444;
}

.form-toast-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-toast-message {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.form-toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-toast-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
}

/* Checkmark animation */
@keyframes toast-checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }

  50% {
    transform: scale(1.2) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.form-toast.active .form-toast-icon {
  animation: toast-checkmark 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

/* ─── Mobile Responsive: Contact Action Cards ─── */
@media (max-width: 768px) {
  .contact-action-card {
    padding: 18px !important;
    gap: 12px !important;
  }

  .contact-action-card .contact-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }

  .contact-action-card .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-action-card h4 {
    font-size: 0.95rem;
  }

  .contact-action-card p {
    font-size: 0.82rem !important;
  }

  /* Toast modal mobile */
  .form-toast-content {
    padding: 36px 24px;
    max-width: 92%;
    border-radius: 20px;
  }

  .form-toast-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .form-toast-title {
    font-size: 1.2rem;
  }

  .form-toast-message {
    font-size: 0.88rem;
  }

  .form-toast-close {
    padding: 14px 28px;
    font-size: 0.9rem;
    width: 100%;
  }
}

@media (max-width: 480px) {

  /* Contact action cards - extra small screens */
  .contact-action-card {
    padding: 14px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

  .contact-action-card .contact-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
  }

  .contact-action-card .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-action-card h4 {
    font-size: 0.88rem;
    margin-bottom: 2px !important;
  }

  .contact-action-card p {
    font-size: 0.78rem !important;
    line-height: 1.3;
  }

  /* Floating buttons - smaller on tiny screens */
  .floating-contact-btns {
    bottom: 16px;
    right: 12px;
    gap: 10px;
  }

  .floating-btn {
    width: 46px;
    height: 46px;
  }

  .floating-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Toast - full width on tiny screens */
  .form-toast-content {
    padding: 28px 20px;
    max-width: 95%;
    border-radius: 16px;
  }

  .form-toast-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .form-toast-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .form-toast-message {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }
}