/* Custom CSS for Roadmap Flow */

:root {
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-blue: #0B73F5;
  --color-purple: #2524D7;
  --color-teal: #14DBA7;
  --color-bg: #F8FAFC;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--color-text-muted);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--color-white);
}

/* Navigation */
.navbar {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text, #0f172a);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.brand-lockup__icon {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-lockup__text {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text, #0f172a);
}

.site-header .brand-lockup__icon {
  width: 40px;
  height: 40px;
}

.logo-primary {
  width: min(360px, 80vw);
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a.nav-item {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a.nav-item:hover {
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
  color: var(--color-white);
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

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

.btn-secondary:hover {
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  width: 100%;
}

.store-badge ms-store-badge {
  display: block;
  max-width: 220px;
  width: 100%;
}

.trust-line {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.trust-line::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: bold;
}

.hero-image {
  margin-top: 4rem;
  max-width: 1100px;
  width: 100%;
}

.app-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: block;
}

.app-preview-secondary {
  max-width: 1100px;
  margin: 0 auto 4rem auto;
  width: 100%;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  margin-top: 1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Cards List */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
  position: relative;
}

.pricing-card .badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--color-bg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.pricing-card.featured .badge {
  background-color: rgba(11, 115, 245, 0.1);
  color: var(--color-blue);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card .description {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: bold;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background-color: var(--color-bg);
  font-weight: 600;
}

.comparison-table td.check {
  text-align: center;
  color: var(--color-teal);
  font-weight: bold;
}

.comparison-table td.dash {
  text-align: center;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-item {
  margin-bottom: 2rem;
}

.faq-item h4 {
  margin-bottom: 0.5rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.site-footer .brand-lockup {
  margin-bottom: 1rem;
}

.site-footer .brand-lockup__icon {
  width: 48px;
  height: 48px;
}

.site-footer .brand-lockup__text {
  font-size: 1.25rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 0;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  
  .nav-links { display: none; }
  .two-column { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: min(100%, 280px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn,
  .store-badge {
    width: 100%;
  }

  .store-badge,
  .store-badge ms-store-badge {
    max-width: 190px;
  }
  
  .legal-content { padding: 1.5rem; }
}

@media (max-width: 640px) {
  .brand-lockup__icon,
  .site-header .brand-lockup__icon {
    width: 34px;
    height: 34px;
  }

  .brand-lockup__text {
    font-size: 1rem;
  }

  .store-badge,
  .store-badge ms-store-badge {
    max-width: 170px;
  }
}
