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

:root {
  /* Colors */
  --color-primary: #EC4899;      /* Bold Pink */
  --color-primary-light: #F472B6;/* Muted Pink */
  --color-accent: #06B6D4;       /* Cyan CTA */
  --color-accent-dark: #0891B2;  /* Darker Cyan */
  --color-bg: #FDF2F8;           /* Soft Pink Background */
  --color-card-bg: #FFFFFF;      /* Card Base */
  --color-text: #831843;         /* Deep Berry Text */
  --color-text-muted: #B83A75;   /* Medium Pink-Berry Text */
  --color-border: rgba(236, 72, 153, 0.15); /* Light Pink Border */

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(131, 24, 67, 0.03);
  --shadow-md: 0 8px 16px rgba(131, 24, 67, 0.06);
  --shadow-lg: 0 16px 32px rgba(131, 24, 67, 0.09);
  --shadow-xl: 0 24px 48px rgba(131, 24, 67, 0.12);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.2);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Exaggerated Typography */
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

/* Structure */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* Floating Glassmorphism Header */
.header {
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all 300ms ease;
}

.header.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.logo svg {
  color: var(--color-primary);
  width: 32px;
  height: 32px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 250ms ease;
}

.nav-link:hover {
  color: var(--color-text);
  cursor: pointer;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow-pink);
}

.btn-primary:hover {
  background: #db2777;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

.btn-accent {
  background: var(--color-accent);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(236, 72, 153, 0.06);
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  color: var(--color-text);
  padding: 0;
  font-weight: 700;
}

.btn-text:hover {
  color: var(--color-primary);
  gap: calc(var(--space-sm) + 4px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 250ms ease;
}

.btn-text:hover .btn-icon {
  transform: translateX(4px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  z-index: 1100;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.hero-tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-accent-dark);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  width: 100%;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  justify-self: center;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(236, 72, 153, 0.15) 50%, transparent 70%);
  z-index: 1;
  filter: blur(20px);
  pointer-events: none;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
  z-index: 2;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
  transform: translateY(-8px) scale(1.02) rotate(1deg);
}

/* Features Grid */
.features {
  background: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.section-tag {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.section-desc {
  font-size: 1.2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
  border-color: rgba(236, 72, 153, 0.3);
}

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

.feature-icon-wrapper {
  background: rgba(236, 72, 153, 0.08);
  color: var(--color-primary);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--color-primary);
  color: white;
  transform: scale(1.05);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.review-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
  transition: all 300ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 72, 153, 0.25);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #FBBF24; /* Amber star color */
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 800;
  color: var(--color-text);
  font-size: 1rem;
}

.review-title {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Pricing Page CSS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: stretch;
}

.pricing-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 3px solid var(--color-accent);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  right: var(--space-xl);
  background: var(--color-accent);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  color: var(--color-text);
}

.pricing-price .amount {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.pricing-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.pricing-feature.disabled {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.pricing-feature.disabled svg {
  color: var(--color-text-muted);
}

/* Contact Page Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-card-detail {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(236, 72, 153, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
}

.contact-text-box h4 {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 800;
}

.contact-text-box p {
  font-size: 0.95rem;
}

.form-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: all 250ms ease;
}

.form-input::placeholder {
  color: rgba(131, 24, 67, 0.4);
}

.form-input:focus {
  outline: none;
  background-color: white;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow-pink);
}

/* User interaction validation styling */
.form-input:user-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
  font-size: 0.8rem;
  color: #EF4444;
  font-weight: 700;
  margin-top: 2px;
  display: none;
}

.form-input:user-invalid + .form-error {
  display: block;
}

/* Integration Config Styling */
.sheet-config-box {
  background: rgba(6, 182, 212, 0.05);
  border: 1px dashed rgba(6, 182, 212, 0.4);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sheet-config-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.sheet-config-title svg {
  width: 16px;
  height: 16px;
}

.sheet-config-input {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.3);
  font-family: monospace;
}

/* Status Notifications */
.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.form-status.success {
  display: flex;
  background-color: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  display: flex;
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.form-status svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* FAQ / Accordion Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 250ms ease;
}

.faq-item:hover {
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: transform 300ms ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1), padding 300ms ease;
  padding: 0 var(--space-lg);
}

.faq-answer p {
  padding-bottom: var(--space-lg);
  font-size: 1rem;
}

/* Open State */
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  max-height: 200px; /* Adjust if needed */
  padding-top: 0;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-info p {
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

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

.footer-bottom {
  border-top: 1px solid rgba(236, 72, 153, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: calc(var(--header-height) + var(--space-md) + 8px);
    left: var(--space-md);
    right: var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: stretch;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
