/* MySocialPost — Dark theme, blue gradients */

:root {
  --bg: #0a0b0d;
  --bg-card: #111318;
  --bg-glass: rgba(17, 19, 24, 0.85);
  --text: #f4f5f7;
  --text-muted: #9ca3af;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --gradient-start: #1e3a5f;
  --gradient-end: #0ea5e9;
  --gradient-electric: #2563eb;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.25);
  --font-sans: 'Outfit', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}
.btn-secondary {
  background: var(--bg-glass);
  color: var(--text);
  border: 2px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 20px; }
a.btn { color: rgba(255, 255, 255, 1); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: relative;
}
.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 28px;
  width: 201px;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo:hover { color: var(--text); opacity: 0.9; }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a.btn { color: rgba(255, 255, 255, 1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0a0b0d 0%, #0f1419 40%, #0d1620 100%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.trust-icons {
  display: flex;
  gap: 16px;
}
.trust-icon {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Hero visual: dashboard mockup + phone */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.dashboard-mockup {
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  overflow: hidden;
}
.mockup-header {
  height: 40px;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-content {
  display: flex;
  min-height: 220px;
}
.mockup-sidebar {
  width: 48px;
  background: var(--bg);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mockup-nav-item {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--border);
}
.mockup-nav-item.active { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); opacity: 0.9; }
.mockup-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-card {
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mockup-card.small { height: 50px; }
.mockup-card.large { flex: 1; min-height: 80px; }

.phone-preview {
  flex-shrink: 0;
}
.phone-frame {
  width: 180px;
  background: #1a1d23;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}
.phone-screen {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9/16;
}
.post-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-image-preview {
  flex: 1;
  background: linear-gradient(180deg, #1e3a5f 0%, #0c4a6e 100%);
}
.post-caption-preview {
  height: 60px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Sections common */
.section {
  padding: 80px 0;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-align: center;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* How it works */
.how-it-works { background: var(--bg-card); }
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.step-card {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(14, 165, 233, 0.15));
  color: var(--accent);
  border-radius: 14px;
}
.step-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.step-connector {
  width: 24px;
  align-self: center;
  border-top: 2px dashed var(--border);
}
@media (max-width: 900px) {
  .step-connector { width: 100%; max-width: 60px; margin: 0 auto; }
}

/* Features */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.2);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.1));
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Dashboard preview */
.dashboard-preview { background: var(--bg-card); }
.dashboard-mockup-large {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.dashboard-mockup-bar {
  height: 44px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
}
.dashboard-mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.dashboard-mockup-body {
  display: flex;
  min-height: 360px;
}
.dashboard-sidebar {
  width: 64px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sidebar-item {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--border);
}
.sidebar-item.active { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.dashboard-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dashboard-calendar {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.cal-header {
  height: 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 1px;
}
.cal-day {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 6px;
}
.cal-day.today { background: rgba(37, 99, 235, 0.12); outline: 2px solid var(--accent); outline-offset: -2px; }
.today-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.today-card-label {
  font-family: var(--font-sans);
  font-weight: 600;
  width: 100%;
  margin-bottom: 4px;
}
.today-card-preview {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a5f, #0c4a6e);
  flex-shrink: 0;
}
.today-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Social proof */
.social-proof { background: var(--bg); }
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.category-pill {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  margin: 0;
  box-shadow: var(--shadow);
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 16px;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card footer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing { background: var(--bg-card); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card-wrap {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}
.pricing-grid .pricing-card-wrap { max-width: none; }
.pricing-card-annual .pricing-card { border-color: var(--gradient-start); box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15); }
.badge-trial {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}
.badge-value {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
}
.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-color: var(--gradient-start);

}
.plan-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 8px;
  text-align: center;
}
.plan-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 3rem;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-align: center;
  color: var(--text);
}
.plan-period-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin: -24px 0 24px;
}
.plan-price .currency { font-size: 1.5rem; }
.plan-price .period { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.plan-features {
  margin: 0 0 32px;
}
.plan-features li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* FAQ */
.faq-section { background: var(--bg); }
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0 24px 20px;
}

/* Final CTA */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}
.cta-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 32px;
}

/* Footer */
.footer {
  background: #0a0b0d;
  color: #9ca3af;
  padding: 48px 0 24px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 26px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer-logo:hover { color: var(--text); opacity: 0.9; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

body.menu-open { overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .trust-badges { align-items: center; }
  .trust-icons { justify-content: center; }
  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .dashboard-mockup { max-width: 280px; }
  .phone-frame { width: 160px; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav.is-open { display: flex; }
  .nav a.btn { justify-content: center; }
  .menu-toggle { display: flex; }
  .header-inner { position: relative; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 56px 0; }
  .steps { flex-direction: column; align-items: center; }
  .step-card { max-width: 100%; }
  .step-connector { width: 2px; height: 24px; border-top: none; border-left: 2px dashed var(--border); }
  .dashboard-mockup-body { flex-direction: column; }
  .dashboard-sidebar { width: 100%; flex-direction: row; justify-content: center; border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
