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

:root {
  --color-primary: #2b533f;          /* Muted Forest Green */
  --color-primary-hover: #1f3d2e;
  --color-secondary: #1e2d5a;        /* Dark Navy/Indigo */
  --color-secondary-hover: #131d3b;
  --color-google-accent: #4a7fc7;    /* Soft Muted Google Blue */
  --color-accent: #c68a0c;           /* Muted Amber Gold */
  --color-background: #f1f5f9;       /* Slate-100 Soft Background */
  --color-card-bg: #ffffff;
  --color-text-body: #1e293b;        /* Slate-800 Dark Slate text */
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-warning: #c0524a;          /* Muted Red-Orange */
  --color-footer-bg: #0b1a13;        /* Dark Forest Green */
  --color-footer-text: #f5f5f0;      /* Off-White */
  
  --color-border: rgba(30, 41, 59, 0.1);
  --color-shadow: rgba(30, 41, 59, 0.05);
  
  --font-family: 'Noto Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

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

body {
  background-color: var(--color-background);
  color: var(--color-text-body);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(74, 127, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(198, 138, 12, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(27, 67, 50, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-background);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Containers & Common Layouts */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
  border: none;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 45, 90, 0.15);
}

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 45, 90, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-body);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: rgba(30, 41, 59, 0.05);
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(43, 83, 63, 0.15);
}

.btn-accent:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 83, 63, 0.25);
}

.btn-google {
  background-color: var(--color-google-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 127, 199, 0.15);
}

.btn-google:hover {
  background-color: #3b6bb0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 127, 199, 0.25);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 18px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text-body);
  font-weight: 700;
  font-size: 20px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo span {
  font-weight: 700;
}

header .logo span {
  color: #1a73e8; /* Chrome Brand Blue */
}

footer .logo span {
  color: var(--color-footer-text); /* White / Off-white */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-body);
  opacity: 0.8;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--color-secondary) 40%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.12), 0 0 20px rgba(74, 127, 199, 0.05);
  border: 1px solid var(--color-border);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

/* Features Grid */
.features-header {
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-secondary) 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-header p {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px var(--color-shadow), 0 2px 4px -1px var(--color-shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(74, 127, 199, 0.08), transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-google-accent);
  box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 10px 10px -5px rgba(30, 41, 59, 0.04);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card.google-card, .feature-card-wide.google-card {
  border-color: rgba(74, 127, 199, 0.25);
  background: linear-gradient(180deg, var(--color-card-bg) 0%, rgba(74, 127, 199, 0.02) 100%);
}

.feature-card.google-card:hover, .feature-card-wide.google-card:hover {
  border-color: var(--color-google-accent);
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(74, 127, 199, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-google-accent);
  font-size: 24px;
  border: 1px solid rgba(74, 127, 199, 0.15);
}

.feature-card-wide .feature-icon {
  margin-bottom: 0;
}

.feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.features-wide-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card-wide {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  display: flex;
  gap: 32px;
  transition: var(--transition-smooth);
  align-items: flex-start;
  box-shadow: 0 4px 6px -1px var(--color-shadow), 0 2px 4px -1px var(--color-shadow);
}

.feature-card-wide:hover {
  transform: translateY(-8px);
  border-color: var(--color-google-accent);
  box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 10px 10px -5px rgba(30, 41, 59, 0.04);
}

.feature-card-wide-content {
  flex: 1;
}

.feature-card-wide h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Interactive Sandbox Simulator */
.sandbox-section {
  background: rgba(74, 127, 199, 0.03);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sandbox-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sandbox-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-secondary) 50%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sandbox-text p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

.sandbox-console {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.08);
}

.console-header {
  background: #f8fafc;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}

.console-dots {
  display: flex;
  gap: 8px;
}

.console-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.console-dots span.dot-red { background-color: var(--color-warning); }
.console-dots span.dot-yellow { background-color: var(--color-accent); }
.console-dots span.dot-green { background-color: var(--color-primary); }

.console-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.console-body {
  padding: 24px;
}

.console-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  overflow-x: auto;
}

.console-tab-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.console-tab-btn:hover {
  background: rgba(74, 127, 199, 0.05);
  color: var(--color-primary);
}

.console-tab-btn.active {
  background: var(--color-google-accent);
  color: #fff;
  border-color: var(--color-google-accent);
}

.sandbox-playground {
  min-height: 220px;
}

.sandbox-demo-screen {
  display: none;
}

.sandbox-demo-screen.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.input-box {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.input-field {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  color: var(--color-text-body);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
}

.input-field:focus {
  border-color: var(--color-google-accent);
  background: #ffffff;
  box-shadow: 0 0 10px rgba(74, 127, 199, 0.15);
}

select.input-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231e293b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

select.input-field option {
  background-color: var(--color-card-bg);
  color: var(--color-text-body);
}

.demo-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Alerts and Logs */
.simulation-alert {
  background: rgba(192, 82, 74, 0.06);
  border: 1px solid rgba(192, 82, 74, 0.2);
  color: var(--color-warning);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInDown 0.3s ease;
}

.simulation-alert-success {
  background: rgba(43, 87, 63, 0.06);
  border: 1px solid rgba(43, 87, 63, 0.2);
  color: var(--color-primary);
}

.alert-icon {
  font-size: 20px;
}

.alert-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.alert-desc {
  font-size: 13px;
  color: var(--color-text-body);
  opacity: 0.85;
}

.evidence-locker-log {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-top: 16px;
  font-family: monospace;
  font-size: 12px;
  color: #38bdf8;
}

.evidence-locker-log-header {
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding-bottom: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  color: #38bdf8;
}

/* Pricing Plans */
.pricing-section {
  position: relative;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.pricing-toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pricing-toggle-label.active {
  color: var(--color-text-body);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-google-accent);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 44px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 6px -1px var(--color-shadow), 0 2px 4px -1px var(--color-shadow);
}

.pricing-card.featured {
  border-color: var(--color-google-accent);
  box-shadow: 0 20px 40px rgba(74, 127, 199, 0.1), 0 0 30px rgba(74, 127, 199, 0.05);
}

.pricing-card.featured::after {
  content: 'RECOMMENDED FOR ENTERPRISE';
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(74, 127, 199, 0.1);
  color: var(--color-google-accent);
  border: 1px solid rgba(74, 127, 199, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.pricing-card-desc {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  min-height: 58px;
}

.pricing-price span {
  font-size: 16px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-left: 8px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 36px;
  flex: 1;
}

.pricing-features-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--color-text-body);
  min-height: 26px;
  line-height: 1.4;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-features-list li.disabled {
  color: #94a3b8;
  text-decoration: line-through;
}

.pricing-features-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Trust Section & Value Pitch */
.trust-section {
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trust-item {
  display: flex;
  gap: 16px;
}

.trust-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(198, 138, 12, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 20px;
  flex-shrink: 0;
}

.trust-item-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.trust-item-text p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.trust-graphics {
  background: radial-gradient(circle at center, rgba(74, 127, 199, 0.08), transparent 70%);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
}

.compliance-box {
  background: var(--color-card-bg);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
}

.compliance-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.compliance-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compliance-card {
  border: 1px solid var(--color-border);
  padding: 20px 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
  background: #f8fafc;
}

.compliance-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-body);
  margin-bottom: 4px;
}

.compliance-card p {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.9) 0%, rgba(30, 45, 90, 0.95) 100%), url('../assets/hero-security.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-lg);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.15);
  border: 1px solid var(--color-primary);
  color: #ffffff;
}

.cta-banner-content {
  max-width: 700px;
}

.cta-banner h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #ffffff;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.volume-discount-text {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.volume-discount-text a {
  color: #93c5fd;
  text-decoration: underline;
}

/* Contact Modal (Google-style Form) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  background: #f8fafc;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-body);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-btn:hover {
  color: var(--color-text-body);
}

.modal-body {
  padding: 24px;
}

.modal-body form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================
   POLL POP-UP & FLOATING WIDGET STYLES
   ========================================== */
.poll-modal-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 250;
}

.poll-modal-content {
  max-width: 520px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.poll-header {
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poll-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.poll-live-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.poll-body {
  padding: 24px 26px 28px;
}

.poll-question-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 8px;
}

.poll-question-subtitle {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 22px;
}

.poll-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-option-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s ease;
  outline: none;
  font-family: inherit;
}

.poll-option-btn:hover {
  border-color: #1a73e8;
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(26, 115, 232, 0.12);
}

.poll-option-btn:active {
  transform: scale(0.985);
}

.poll-option-btn.selected {
  border-color: #1e8e3e;
  background: #f0fdf4;
}

.poll-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.poll-option-btn:hover .poll-option-icon {
  transform: scale(1.08);
}

.yes-icon {
  background: #e6f4ea;
  color: #1e8e3e;
}

.no-icon {
  background: #f1f5f9;
  color: #475569;
}

.poll-option-text {
  flex: 1;
}

.poll-option-label {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.poll-option-desc {
  display: block;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.poll-option-arrow {
  font-size: 20px;
  color: #94a3b8;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}

.poll-option-btn:hover .poll-option-arrow {
  transform: translateX(4px);
  color: #1a73e8;
}

.poll-success-banner {
  background: #e6f4ea;
  border: 1px solid #a8dab5;
  color: #137333;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  animation: bannerSlideIn 0.3s ease;
}

.success-check-badge {
  width: 24px;
  height: 24px;
  background: #1e8e3e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
}

@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.poll-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.poll-link-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1a73e8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.poll-link-btn:hover {
  background: rgba(26, 115, 232, 0.08);
}

.poll-link-muted {
  color: #94a3b8;
}

.poll-link-muted:hover {
  color: #64748b;
  background: rgba(148, 163, 184, 0.1);
}

/* Results View */
.poll-results-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.poll-total-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #475569;
  margin-bottom: 20px;
}

.poll-total-badge strong {
  color: #0f172a;
  font-size: 16px;
}

.poll-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.poll-stat-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poll-stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.poll-stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.poll-stat-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.poll-stat-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.poll-stat-icon-badge.yes-badge {
  background: #e6f4ea;
  color: #1e8e3e;
}

.poll-stat-icon-badge.no-badge {
  background: #f1f5f9;
  color: #64748b;
}

.poll-stat-name {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.poll-user-tag {
  font-size: 11px;
  font-weight: 700;
  background: #dcfce7;
  color: #15803d;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid #bbf7d0;
}

.poll-stat-numbers {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.poll-stat-percent {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.poll-stat-count {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.poll-bar-track {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.poll-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.poll-bar-fill.yes-fill {
  background: linear-gradient(90deg, #1e8e3e, #34a853);
}

.poll-bar-fill.no-fill {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.poll-results-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* Floating Widget Button */
.poll-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-floating-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #1a73e8;
  color: #1a73e8;
  box-shadow: 0 14px 28px -4px rgba(26, 115, 232, 0.25), 0 6px 10px -2px rgba(0, 0, 0, 0.08);
}

.poll-floating-icon {
  font-size: 18px;
}

.poll-floating-badge {
  background: #1a73e8;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .poll-floating-btn {
    bottom: 16px;
    left: 16px;
    padding: 8px 14px;
    font-size: 13px;
  }
  .poll-modal-content {
    margin: 16px;
    width: calc(100% - 32px);
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-side p {
  color: rgba(245, 245, 240, 0.7);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}

.footer-column h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-footer-text);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  text-decoration: none;
  color: rgba(245, 245, 240, 0.7);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-column a:hover {
  color: var(--color-google-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(245, 245, 240, 0.6);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(245, 245, 240, 0.6);
  font-size: 13px;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
   COMPARISON SECTION STYLES
   ========================================== */
.comparison-section {
  position: relative;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0) 0%, rgba(74, 127, 199, 0.04) 50%, rgba(241, 245, 249, 0) 100%);
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-google-accent);
  background: rgba(74, 127, 199, 0.1);
  border: 1px solid rgba(74, 127, 199, 0.25);
  border-radius: 50rem;
  margin-bottom: 16px;
}

.comparison-cards-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.comp-summary-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 24px 20px;
  box-shadow: 0 4px 6px -1px var(--color-shadow);
  transition: var(--transition-smooth);
}

.comp-summary-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-google-accent);
  box-shadow: 0 12px 20px -5px rgba(74, 127, 199, 0.15);
}

.comp-summary-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  height: 32px;
}

.comp-summary-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
}

.comp-summary-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.comp-summary-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Comparison Table */
.comparison-table-wrapper {
  background: var(--color-card-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.06);
  overflow-x: auto;
  margin-bottom: 48px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  min-width: 860px;
}

.comparison-table thead th {
  padding: 24px 24px 20px;
  vertical-align: top;
  border-bottom: 2px solid var(--color-border);
}

.th-feature {
  width: 28%;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-body);
  vertical-align: middle !important;
}

.th-chrome {
  width: 38%;
  position: relative;
  background: linear-gradient(180deg, rgba(74, 127, 199, 0.08) 0%, rgba(74, 127, 199, 0.02) 100%);
  border-left: 2px solid var(--color-google-accent);
  border-right: 2px solid var(--color-google-accent);
  border-top: 3px solid var(--color-google-accent);
}

.th-others {
  width: 34%;
  background: rgba(30, 41, 59, 0.02);
}

.col-header-top {
  min-height: 26px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.col-header-badge {
  display: inline-block;
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 50rem;
  line-height: 1.2;
}

.col-header-badge-placeholder {
  height: 22px;
  visibility: hidden;
}

.col-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-secondary);
  min-height: 30px;
  margin-bottom: 6px;
}

.col-header-subtitle {
  min-height: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.col-header-subtitle small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.th-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.th-generic-icon {
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.col-header-price {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  min-height: 22px;
  display: flex;
  align-items: center;
}

.th-chrome .col-header-price {
  color: var(--color-secondary);
  font-weight: 700;
}

/* Table Body */
.comparison-table tbody tr {
  transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
  background-color: rgba(74, 127, 199, 0.02);
}

.comparison-table tbody td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.td-feature strong {
  display: block;
  font-size: 15px;
  color: var(--color-text-body);
  margin-bottom: 4px;
}

.td-feature span {
  font-size: 12px;
  color: var(--color-text-light);
  font-family: 'Inter', sans-serif;
}

/* Highlighted Column */
.highlight-col {
  background: rgba(74, 127, 199, 0.03);
  border-left: 2px solid var(--color-google-accent);
  border-right: 2px solid var(--color-google-accent);
}

.comparison-table tbody tr:last-child .highlight-col {
  border-bottom: 2px solid var(--color-google-accent);
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.status-icon {
  font-size: 18px;
  line-height: 1.3;
  flex-shrink: 0;
}

.status-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-text-body);
  margin-bottom: 4px;
}

.status-item.positive strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.status-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

/* Comparison CTA Box */
.comparison-cta-box {
  background: linear-gradient(135deg, rgba(30, 45, 90, 0.04) 0%, rgba(74, 127, 199, 0.08) 100%);
  border: 1px solid rgba(74, 127, 199, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  max-width: 840px;
  margin: 0 auto;
}

.comparison-cta-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.comparison-cta-box p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.comparison-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-wide-row {
    grid-template-columns: 1fr;
  }
  .comparison-cards-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .sandbox-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 38px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-wide {
    flex-direction: column;
    gap: 16px;
  }
  .comparison-cards-summary {
    grid-template-columns: 1fr;
  }
  .comparison-cta-box {
    padding: 30px 20px;
  }
  .comparison-cta-actions {
    flex-direction: column;
  }
  .comparison-cta-actions .btn {
    width: 100%;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-banner {
    padding: 60px 24px;
    text-align: center;
  }
  .cta-banner h2 {
    font-size: 32px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* In production a hamburger menu would go here */
  }
}
