/* SugM Corporate Website Master Stylesheet */
:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --dark: #0f172a;
  --dark-muted: #334155;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 35px -5px rgba(5, 150, 105, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Embedded CSS Sprite Sheet Data URI */
.sprite {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><defs><linearGradient id="g1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23059669"/><stop offset="100%" stop-color="%2310B981"/></linearGradient><linearGradient id="g2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23F59E0B"/><stop offset="100%" stop-color="%23EF4444"/></linearGradient></defs><g id="logo"><circle cx="50" cy="50" r="45" fill="url(%23g1)"/><text x="50" y="65" font-family="system-ui,sans-serif" font-weight="900" font-size="42" fill="white" text-anchor="middle">S</text><path d="M72 25 L80 40 L65 40 Z" fill="%23F59E0B"/></g><g id="mic"><circle cx="150" cy="50" r="40" fill="%23ECFDF5"/><rect x="142" y="25" width="16" height="30" rx="8" fill="%23059669"/><path d="M134 45 C134 58 166 58 166 45" stroke="%23059669" stroke-width="4" fill="none" stroke-linecap="round"/><line x1="150" y1="58" x2="150" y2="68" stroke="%23059669" stroke-width="4"/></g><g id="publish"><circle cx="250" cy="50" r="40" fill="%23FEF3C7"/><path d="M235 60 L250 30 L265 60 Z" fill="%23D97706"/><circle cx="250" cy="42" r="6" fill="%23FFF"/></g><g id="compare"><circle cx="350" cy="50" r="40" fill="%23EEF2FF"/><rect x="330" y="30" width="18" height="40" rx="4" fill="%236366F1"/><rect x="352" y="40" width="18" height="30" rx="4" fill="%23818CF8"/></g><g id="save"><circle cx="50" cy="150" r="40" fill="%23ECFDF5"/><path d="M35 150 L45 160 L65 140" stroke="%2310B981" stroke-width="6" stroke-linecap="round" stroke-linejoin="round" fill="none"/></g><g id="zero-friction"><circle cx="150" cy="150" r="40" fill="%23F0FDF4"/><path d="M135 135 A 20 20 0 0 1 165 165 A 20 20 0 0 1 135 135" fill="none" stroke="%2316A34A" stroke-width="5"/></g><g id="location"><circle cx="250" cy="150" r="40" fill="%23FEF2F2"/><path d="M250 125 C238 125 230 134 230 145 C230 160 250 175 250 175 C250 175 270 160 270 145 C270 134 262 125 250 125 Z" fill="%23EF4444"/><circle cx="250" cy="142" r="5" fill="white"/></g><g id="fresh"><circle cx="350" cy="150" r="40" fill="%23FEF2F2"/><circle cx="350" cy="152" r="22" fill="%23EF4444"/><path d="M346 130 C352 124 358 128 358 134 C352 134 346 130 346 130 Z" fill="%2316A34A"/></g><g id="buyer-icon"><circle cx="50" cy="250" r="40" fill="%23EFF6FF"/><path d="M35 240 L65 240 L60 265 L40 265 Z" stroke="%233B82F6" stroke-width="4" fill="none"/><circle cx="43" cy="270" r="3" fill="%233B82F6"/><circle cx="57" cy="270" r="3" fill="%233B82F6"/></g><g id="vendor-icon"><circle cx="150" cy="250" r="40" fill="%23FFF7ED"/><rect x="132" y="240" width="36" height="25" rx="3" fill="%23F97316"/><path d="M140 240 L140 232 C140 228 160 228 160 232 L160 240" stroke="%23EA580C" stroke-width="3" fill="none"/></g></svg>');
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
}

/* Sprite positions */
.icon-logo {
  width: 44px;
  height: 44px;
  background-position: -28px -28px;
  background-size: 200px 200px;
}

.icon-mic {
  width: 64px;
  height: 64px;
  background-position: -176px -16px;
  background-size: 320px 320px;
}

.icon-publish {
  width: 64px;
  height: 64px;
  background-position: -336px -16px;
  background-size: 320px 320px;
}

.icon-compare {
  width: 64px;
  height: 64px;
  background-position: -496px -16px;
  background-size: 320px 320px;
}

.icon-save {
  width: 64px;
  height: 64px;
  background-position: -16px -176px;
  background-size: 320px 320px;
}

.icon-zero-friction {
  width: 64px;
  height: 64px;
  background-position: -176px -176px;
  background-size: 320px 320px;
}

.icon-location {
  width: 64px;
  height: 64px;
  background-position: -336px -176px;
  background-size: 320px 320px;
}

.icon-fresh {
  width: 64px;
  height: 64px;
  background-position: -496px -176px;
  background-size: 320px 320px;
}

.icon-buyer {
  width: 48px;
  height: 48px;
  background-position: -12px -288px;
  background-size: 240px 240px;
}

.icon-vendor {
  width: 48px;
  height: 48px;
  background-position: -72px -288px;
  background-size: 240px 240px;
}

/* Layout Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Styling */
section {
  padding: 100px 0;
  position: relative;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--light-bg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding-top: 170px;
  padding-bottom: 110px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(236, 253, 245, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge img {
  width: 18px;
  height: 18px;
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--dark);
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--dark-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mock Price Feed Banner in Hero */
.hero-ticker {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  overflow-x: auto;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--light-bg);
  border-radius: var(--radius-sm);
}

.ticker-price {
  color: var(--primary);
  font-weight: 700;
}

/* Section Header */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Section 2: Problem Comparison */
.problem-section {
  background-color: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.comparison-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.card-body p {
  font-size: 1.1rem;
  color: var(--dark-muted);
  line-height: 1.7;
}

/* Section 3: How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.step-icon {
  margin: 16px auto 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section 4: Why SugM */
.why-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.feature-icon {
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.feature-card p {
  font-size: 1rem;
  color: var(--dark-muted);
  line-height: 1.7;
}

/* Section 5: Impact & Stats */
.impact-section {
  background: var(--dark);
  color: white;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  padding: 80px 40px;
}

.impact-section .section-title h2 {
  color: white;
}

.impact-section .section-title p {
  color: #94a3b8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 8px;
  line-height: 1;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: #cbd5e1;
}

/* Section 6: About Us & Mission */
.about-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.about-card blockquote {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.8;
  font-style: normal;
}

/* Section 7: Careers */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 20px;
}

.value-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

/* Section 8: FAQ & Footer */
.faq-footer-section {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  padding-bottom: 40px;
}

.faq-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto 80px;
}

.faq-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.faq-card p {
  font-size: 1rem;
  color: var(--dark-muted);
  line-height: 1.7;
}

footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.open {
    clip-path: circle(140% at 100% 0);
  }

  .comparison-grid,
  .features-grid,
  .careers-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 32px 20px;
  }

  .about-card blockquote {
    font-size: 1.1rem;
  }

  .impact-section {
    padding: 50px 20px;
    border-radius: var(--radius-md);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
