/* ============================================================
   PRAXYO - Commercial Website Stylesheet
   Modern, responsive, SEO-optimized
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --secondary: #FF6B81;
  --secondary-dark: #E55B70;
  --accent: #4FACFE;
  --accent-dark: #00B4D8;
  --dark: #1A1A2E;
  --dark-2: #16213E;
  --dark-3: #0F3460;
  --text: #2D3436;
  --text-light: #636E72;
  --text-muted: #B2BEC3;
  --bg: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-alt: #F0F2F5;
  --border: #E1E8ED;
  --shadow: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --gradient: linear-gradient(135deg, #6C5CE7, #FF6B81);
  --gradient-blue: linear-gradient(135deg, #4FACFE, #00F2FE);
  --gradient-purple: linear-gradient(135deg, #6C5CE7, #A29BFE);
  --gradient-dark: linear-gradient(135deg, #1A1A2E, #16213E);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--dark); }

/* --- Utilities --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* --- Section Spacing --- */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .text-muted { color: rgba(255,255,255,0.6); }
.section-gradient { background: var(--gradient); color: #fff; }
.section-gradient h1, .section-gradient h2, .section-gradient h3 { color: #fff; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .badge { display: inline-block; padding: 6px 16px; background: rgba(108,92,231,0.1); color: var(--primary); border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }
.section-dark .section-header .badge { background: rgba(255,255,255,0.15); color: #fff; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { font-size: 1.15rem; color: var(--text-light); }

/* --- Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.navbar-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--dark); }
.navbar-brand img { height: 36px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.95rem;
  font-weight: 500; color: var(--text); transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary); background: rgba(108,92,231,0.08); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.lang-selector {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  background: var(--bg-light); border: 1px solid var(--border);
}
.lang-selector:hover { border-color: var(--primary); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 160px; opacity: 0;
  visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 100;
}
.lang-selector:hover .lang-dropdown,
.lang-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  font-size: 0.9rem; color: var(--text); transition: var(--transition);
}
.lang-dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }

/* Mobile menu toggle */
.navbar-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.navbar-toggle span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: var(--transition); border-radius: 2px;
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px; font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  font-family: var(--font); text-align: center; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 15px rgba(108,92,231,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,92,231,0.45); color: #fff; }
.btn-secondary {
  background: #fff; color: var(--primary); border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: rgba(108,92,231,0.08); }

/* Button overrides for dark/gradient sections */
.section-dark .btn-secondary,
.section-gradient .btn-secondary,
.cta-section .btn-secondary { background: transparent; border-color: #fff; color: #fff; }
.section-dark .btn-secondary:hover,
.section-gradient .btn-secondary:hover,
.cta-section .btn-secondary:hover { background: #fff; color: var(--primary); }
.section-dark .btn-ghost,
.section-gradient .btn-ghost,
.cta-section .btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.section-dark .btn-ghost:hover,
.section-gradient .btn-ghost:hover,
.cta-section .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.section-dark .btn-white:hover,
.section-gradient .btn-white:hover { box-shadow: var(--shadow-xl); }

.btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: 12px; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 10px; }

/* --- Hero Section --- */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 100px;
  background: linear-gradient(180deg, #F8F9FF 0%, #fff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108,92,231,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -15%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,129,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; }
.hero-text p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image .placeholder-img {
  width: 100%; aspect-ratio: 4/3; background: var(--gradient);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 1.1rem; font-weight: 500;
}
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat { text-align: left; }
.hero-stat .number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 0.9rem; color: var(--text-light); }

/* Hero centered variant */
.hero-centered .hero-content { grid-template-columns: 1fr; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-centered .hero-text p { max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
.hero-centered .hero-buttons { justify-content: center; }
.hero-centered .hero-stats { justify-content: center; }
.hero-centered .hero-text h1 { font-size: 3.2rem; }

/* --- Feature Cards --- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feature-card {
  background: #fff; border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.feature-card .icon-primary { background: rgba(108,92,231,0.1); color: var(--primary); }
.feature-card .icon-secondary { background: rgba(255,107,129,0.1); color: var(--secondary); }
.feature-card .icon-accent { background: rgba(79,172,254,0.1); color: var(--accent); }
.feature-card .icon-green { background: rgba(0,206,158,0.1); color: #00CE9E; }
.feature-card .icon-orange { background: rgba(253,150,68,0.1); color: #FD9644; }
.feature-card .icon-indigo { background: rgba(94,53,177,0.1); color: #5E35B1; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }
.feature-card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }
.feature-card .learn-more::after { content: '\2192'; transition: var(--transition); }
.feature-card:hover .learn-more::after { transform: translateX(4px); }

/* --- Feature Detail Section --- */
.feature-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-detail.reverse { direction: rtl; }
.feature-detail.reverse > * { direction: ltr; }
.feature-detail-text .badge { display: inline-block; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 16px; }
.feature-detail-text h2 { font-size: 2.2rem; margin-bottom: 16px; }
.feature-detail-text p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 24px; }
.feature-detail-text ul { display: flex; flex-direction: column; gap: 12px; }
.feature-detail-text ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; }
.feature-detail-text ul li .check {
  width: 24px; height: 24px; min-width: 24px; border-radius: 50%;
  background: rgba(0,206,158,0.1); color: #00CE9E; display: flex;
  align-items: center; justify-content: center; font-size: 0.75rem; margin-top: 2px;
}
.feature-detail-image .placeholder-img {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f0f0ff, #ffe0e6);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem; box-shadow: var(--shadow-lg);
}

/* --- Comparison / Split --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-left {
  padding: 80px 60px; background: var(--dark);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
}
.split-right {
  padding: 80px 60px; background: var(--bg-light);
  display: flex; flex-direction: column; justify-content: center;
}

/* --- Stats Section --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; padding: 32px; }
.stat-item .number { font-family: var(--font-display); font-size: 3rem; font-weight: 800; margin-bottom: 8px; }
.stat-item .label { font-size: 1rem; opacity: 0.8; }
.section-gradient .stat-item .number { color: #fff; }

/* --- Testimonials --- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); position: relative;
}
.testimonial-card .quote { font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.testimonial-card .author-info .name { font-weight: 600; font-size: 0.95rem; }
.testimonial-card .author-info .role { font-size: 0.85rem; color: var(--text-light); }
.testimonial-card .stars { color: #FFC107; margin-bottom: 16px; font-size: 1.1rem; letter-spacing: 2px; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.pricing-card {
  background: #fff; border-radius: var(--radius-xl); padding: 40px;
  border: 2px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column; position: relative;
}
.pricing-card.featured {
  border-color: var(--primary); transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(108,92,231,0.2);
}
.pricing-card.featured .pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; padding: 6px 24px;
  border-radius: 50px; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
}
.pricing-card .plan-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card .plan-desc { font-size: 0.95rem; color: var(--text-light); margin-bottom: 24px; }
.pricing-card .price { margin-bottom: 32px; }
.pricing-card .price .amount { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--dark); }
.pricing-card .price .currency { font-size: 1.5rem; font-weight: 700; color: var(--dark); vertical-align: top; }
.pricing-card .price .period { font-size: 1rem; color: var(--text-light); }
.pricing-card .features-list { flex: 1; margin-bottom: 32px; }
.pricing-card .features-list li {
  padding: 10px 0; border-bottom: 1px solid var(--bg-alt);
  display: flex; align-items: center; gap: 10px; font-size: 0.95rem;
}
.pricing-card .features-list li:last-child { border-bottom: none; }
.pricing-card .features-list .included { color: #00CE9E; font-weight: bold; }
.pricing-card .features-list .not-included { color: var(--text-muted); }
.pricing-card .btn { width: 100%; }
.section-dark .pricing-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section-dark .pricing-card.featured { border-color: var(--primary); background: rgba(108,92,231,0.1); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(108,92,231,0.1); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.05rem;
  background: none; border: none; width: 100%; text-align: left;
  font-family: var(--font); color: var(--text); transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .toggle { font-size: 1.5rem; transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-question .toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* --- CTA Section --- */
.cta-section { text-align: center; padding: 100px 0; }
.cta-section h2 { font-size: 2.8rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Logo Carousel --- */
.logo-carousel { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; padding: 40px 0; }
.logo-carousel .logo-item {
  width: 140px; height: 50px; background: var(--bg-alt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.8rem; opacity: 0.6; transition: var(--transition);
}
.logo-carousel .logo-item:hover { opacity: 1; }

/* --- Use Cases Grid --- */
.use-cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.use-case-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.use-case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.use-case-card .card-img {
  height: 200px; background: linear-gradient(135deg, #f0f0ff, #ffe0e6);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.95rem;
}
.use-case-card .card-body { padding: 28px; }
.use-case-card .card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.use-case-card .card-body p { font-size: 0.95rem; color: var(--text-light); }

/* --- Integration Icons --- */
.integration-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.integration-item {
  aspect-ratio: 1; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); padding: 20px;
}
.integration-item:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.integration-item .icon { font-size: 2rem; }
.integration-item .name { font-size: 0.8rem; font-weight: 500; color: var(--text-light); }

/* --- Checklist / Feature List --- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.checklist-item {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  transition: var(--transition);
}
.checklist-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.checklist-item .check-icon {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: rgba(0,206,158,0.1); color: #00CE9E; display: flex;
  align-items: center; justify-content: center; font-size: 0.8rem;
}
.checklist-item span { font-size: 0.95rem; font-weight: 500; }

/* --- Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 2px; height: 100%; background: var(--border);
}
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: 55%; }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: 55%; }
.timeline-dot {
  position: absolute; left: 50%; transform: translateX(-50%); top: 20px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--primary);
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--primary);
}
.timeline-content {
  background: #fff; border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-light); }

/* --- Views Showcase --- */
.views-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.view-tab {
  padding: 10px 24px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--text-light); transition: var(--transition); font-family: var(--font);
}
.view-tab:hover, .view-tab.active { border-color: var(--primary); color: var(--primary); background: rgba(108,92,231,0.05); }
.view-preview {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); background: var(--bg-light);
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.1rem; border: 1px solid var(--border);
}

/* --- Footer --- */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand { }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .logo img { height: 32px; filter: brightness(10); }
.footer-brand .logo span { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; display: flex; align-items: center;
  justify-content: space-between; font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: #fff; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-card {
  background: var(--bg-light); border-radius: var(--radius-lg); padding: 28px;
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px;
}
.contact-info-card .icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  background: rgba(108,92,231,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-form { background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 10px; font-size: 1rem; font-family: var(--font);
  transition: var(--transition); background: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 12px 0; font-size: 0.9rem; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { margin: 0 8px; color: var(--text-muted); }
.breadcrumb .current { color: var(--primary); font-weight: 500; }

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in { opacity: 0; transform: scale(0.95); transition: opacity 0.5s ease, transform 0.5s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }

/* Staggered animation delays */
.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; }

/* --- Floating shapes background --- */
.bg-shapes { position: relative; overflow: hidden; }
.bg-shapes .shape {
  position: absolute; border-radius: 50%; opacity: 0.05; pointer-events: none;
}
.bg-shapes .shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.bg-shapes .shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -80px; left: -80px; }
.bg-shapes .shape-3 { width: 200px; height: 200px; background: var(--accent); top: 50%; left: 50%; }

/* --- Numbered List / Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-card { text-align: center; padding: 32px 24px; }
.step-card .step-number {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gradient);
  color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- Table --- */
.comparison-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.comparison-table thead th {
  background: var(--dark); color: #fff; padding: 16px 20px;
  font-size: 0.95rem; font-weight: 600; text-align: left;
}
.comparison-table tbody td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.comparison-table tbody tr:hover { background: var(--bg-light); }
.comparison-table .check-yes { color: #00CE9E; font-weight: bold; }
.comparison-table .check-no { color: var(--text-muted); }

/* --- Pill Tags --- */
.tag { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.tag-primary { background: rgba(108,92,231,0.1); color: var(--primary); }
.tag-secondary { background: rgba(255,107,129,0.1); color: var(--secondary); }
.tag-accent { background: rgba(79,172,254,0.1); color: var(--accent); }

/* --- Back to top --- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--primary); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0;
  visibility: hidden; transition: var(--transition); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding: 20px; display: none; align-items: center;
  justify-content: space-between; gap: 20px; font-size: 0.9rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner .btn { white-space: nowrap; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 2.8rem; }
  .pricing-card.featured { transform: scale(1); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(4, 1fr); }
  .section-header h2 { font-size: 2rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text h1 { font-size: 2.3rem; }
  .hero-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { order: -1; }
  .hero-centered .hero-text h1 { font-size: 2.2rem; }

  .feature-detail { grid-template-columns: 1fr; gap: 40px; }
  .feature-detail.reverse { direction: ltr; }
  .feature-detail-image { order: -1; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.8rem; }
  .cta-section h2 { font-size: 2rem; }

  /* Mobile nav */
  .navbar-toggle { display: block; }
  /* Clear backdrop-filter on mobile so the fixed .navbar-nav can escape the
     navbar's containing block (backdrop-filter creates one in modern browsers,
     which was collapsing the menu to a few pixels). */
  .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.98); }
  .navbar-nav {
    position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    flex-direction: column; background: rgba(255,255,255,0.98);
    padding: 24px;
    transform: translateX(100%); transition: transform 0.3s ease;
    gap: 4px; overflow-y: auto; align-items: stretch;
  }
  .navbar-nav.open { transform: translateX(0); }
  .navbar-nav a { padding: 14px 16px; font-size: 1.1rem; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item .number { font-size: 2.2rem; }

  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    justify-content: flex-start; padding-left: 50px; padding-right: 0;
  }
  .timeline-dot { left: 20px; }

  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .logo-carousel { gap: 30px; }

  .cookie-banner { flex-direction: column; text-align: center; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.9rem; }
  .hero-centered .hero-text h1 { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .container { padding: 0 16px; }
  .feature-card { padding: 24px; }
  .pricing-card { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 1rem; }
}

/* --- Print --- */
@media print {
  .navbar, .footer, .back-to-top, .cookie-banner { display: none; }
  .section { padding: 20px 0; }
  body { font-size: 12pt; }
}

/* --- Cookie consent banner (accept / reject) --- */
.cookie-banner p { margin: 0; max-width: 860px; line-height: 1.5; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  padding: 9px 20px; border-radius: 8px; border: 1px solid #fff;
  background: #fff; color: #111827; transition: opacity .2s ease, background .2s ease;
}
.cookie-btn:hover { opacity: .9; }
.cookie-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.cookie-btn-ghost:hover { background: rgba(255,255,255,0.08); opacity: 1; }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* --- Blog (pages generated by bot/blogbot.py) --- */
.blog-hero { padding-bottom: 40px; }
.blog-section { padding-top: 40px; }
.blog-article-section { padding-top: calc(var(--nav-height, 72px) + 16px); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin: 6px 0 10px; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-light); font-size: .95rem; line-height: 1.6; }
.blog-card [data-blog-group] { flex: 1; }
.blog-read { margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--primary); text-decoration: none; }
.blog-read::after { content: ' \2192'; }
.blog-meta { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-light); }
.blog-empty { text-align: center; color: var(--text-light); padding: 40px 0; }
.blog-container { max-width: 780px; }
.blog-back { display: inline-block; margin: 24px 0 32px; font-size: .9rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.blog-title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 10px 0 18px; }
.blog-excerpt { font-size: 1.2rem; line-height: 1.6; color: var(--text-light); margin-bottom: 18px; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.blog-tag { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-light); color: var(--text-light); border: 1px solid var(--border); }
.blog-body { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.blog-body p { margin: 0 0 1.2em; }
.blog-body h2 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; margin: 1.8em 0 .6em; }
.blog-body ul { margin: 0 0 1.2em 1.2em; padding: 0; list-style: disc; }
.blog-sources ol { list-style: decimal; }
.blog-body li { margin-bottom: .4em; }
.blog-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--primary); font-size: 1.15rem; font-style: italic; color: var(--text-light); }
.blog-sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.blog-sources h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.blog-sources ol { margin-left: 1.2em; font-size: .9rem; line-height: 1.7; }
.blog-sources a { color: var(--primary); word-break: break-word; }
.blog-source-domain { color: var(--text-light); font-size: .8rem; margin-left: 4px; }
.blog-ai-note { margin: 28px 0 0; font-size: .8rem; color: var(--text-light); font-style: italic; }
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 22px; }
  .blog-body { font-size: 1rem; }
}

/* --- Mobile layout fixes: no horizontal overflow, no zoom-out --- */
/* Anything wider than the screen makes mobile browsers widen the page (sideways scrolling,
   zoom-out). clip (unlike hidden) creates no scroll container, so window scrolling, the fixed
   navbar and scroll animations keep working. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
img, svg, video, iframe { max-width: 100%; }
/* grid/flex children may shrink below their content width */
.feature-detail > *, .hero-content > *, .footer-grid > *, .stats-row > *, [class*="-grid"] > * { min-width: 0; }
h1, h2, h3, h4, p, li, a, td, th, blockquote { overflow-wrap: break-word; }
pre { max-width: 100%; overflow-x: auto; }
@media (max-width: 768px) {
  /* side entrance animations push content past the right edge while they run */
  .fade-in-left, .fade-in-right { transform: translateY(24px); }
  .fade-in-left.visible, .fade-in-right.visible { transform: none; }
  .stat-item { padding: 20px 8px; }
  .stat-item .number { font-size: 2.2rem; }
  table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
