/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.logo-text {
  font-weight: 700;
  font-size: 24px;
  color: #1f2937;
}

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

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #3b82f6;
}

.nav-cta {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background: #2563eb;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: #1f2937;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu .nav-cta {
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1f2937;
}

.hero-subtitle {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 8px;
}

.hero-trial {
  display: block;
  font-size: 16px;
  color: #059669;
  font-weight: 600;
  margin-top: 16px;
  background: #d1fae5;
  padding: 8px 16px;
  border-radius: 9999px;
  display: inline-block;
}

.hero-description {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #1f2937;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Dashboard Preview */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-preview {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-header {
  background: #f8fafc;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-nav {
  display: flex;
  gap: 24px;
}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-item.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}

.dashboard-content {
  padding: 24px;
}

.dashboard-card {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-header {
  background: #f8fafc;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.card-badge {
  background: #3b82f6;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.class-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.class-item:last-child {
  border-bottom: none;
}

.class-time {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
  width: 60px;
}

.class-info {
  flex: 1;
  margin-left: 16px;
}

.class-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.class-instructor {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.class-attendance {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

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

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 24px;
}

.testimonial-content p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.author-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.author-title {
  color: #6b7280;
  font-size: 12px;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: white;
}

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

.toggle-label {
  font-weight: 500;
  color: #6b7280;
}

.discount-badge {
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

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

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  transition: 0.3s;
  border-radius: 32px;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
  background-color: #3b82f6;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid #3b82f6;
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 12px;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
}

.price-period {
  font-size: 16px;
  color: #6b7280;
  font-weight: 500;
}

.pricing-description {
  color: #6b7280;
  font-size: 14px;
}

.pricing-features {
  margin-bottom: 32px;
}

.feature-item {
  padding: 8px 0;
  color: #6b7280;
  font-size: 14px;
}

.pricing-cta {
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-cta:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.pricing-cta.featured {
  background: #1f2937;
}

.pricing-cta.featured:hover {
  background: #111827;
}

.coming-soon-banner {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  border: 2px solid rgba(245, 158, 11, 0.5);
  position: relative;
  overflow: hidden;
}

.coming-soon-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.coming-soon-banner span {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.pricing-note {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

/* Signup Section */
.signup {
  padding: 100px 0;
  background: #f8fafc;
}

.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.signup-info h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}

.signup-info p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

.signup-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.import-messaging {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 16px;
  border: 1px solid #0ea5e9;
}

.import-messaging h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.import-messaging p {
  font-size: 16px;
  color: #0c4a6e;
  line-height: 1.6;
  margin: 0;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.signup-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.payment-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.card-element {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  min-height: 44px;
}

.card-errors {
  color: #dc2626;
  font-size: 14px;
  margin-top: 8px;
}

.signup-submit {
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 24px;
}

.signup-submit:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.signup-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #f9fafb;
}

.footer-section a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .card-element {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .signup-form {
    padding: 20px;
  }

  .form-group input,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 16px;
    min-height: 48px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .signup-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-badge {
    margin: 0 auto 24px auto;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .signup-form {
    padding: 24px;
    margin: 0 -16px;
    border-radius: 16px;
  }

  .pricing-card {
    padding: 24px;
  }

  .feature-card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .dashboard-preview {
    max-width: 100%;
    margin: 0 -16px;
  }

  .payment-section {
    margin-top: 24px;
    padding-top: 24px;
  }

  .card-element {
    padding: 16px;
    min-height: 48px;
  }
}

/* Stripe Elements Styling */
.StripeElement {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  transition: border-color 0.2s ease;
  min-height: 44px;
}

.StripeElement--focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.StripeElement--invalid {
  border-color: #dc2626;
}

.StripeElement--webkit-autofill {
  background-color: #fefce8 !important;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links.active .nav-cta {
    margin-top: 16px;
    width: 100%;
  }
}

/* Success/Error Messages */
.success-message,
.error-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  font-weight: 500;
  max-width: 300px;
}

/* Live Preview Section */
.preview {
  padding: 80px 0;
  background: #ffffff;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 24px;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 16px;
}

.stat-icon { font-size: 20px; }
.stat-meta { display: flex; flex-direction: column; }
.stat-title { font-size: 12px; color: #6b7280; }
.stat-value { font-weight: 700; color: #111827; }
.stat-sub { font-size: 12px; color: #6b7280; }

.preview-main { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.action-list { background:#fff; border:1px solid rgba(0,0,0,0.1); border-radius:12px; overflow: hidden; }
.action-item { padding:14px 16px; border-bottom:1px solid rgba(0,0,0,0.06); font-weight:500; color:#111827; cursor: pointer; display:flex; align-items:center; gap:10px; }
.action-item::before { content: attr(data-icon); display:inline-flex; width:20px; height:20px; align-items:center; justify-content:center; background:#f3f4f6; border:1px solid #e5e7eb; border-radius:8px; font-size:12px; }
.action-item.danger { color:#dc2626; }
.action-actions { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; padding:12px; }
.btn-action { background:#f3f4f6; border:1px solid #e5e7eb; border-radius:10px; padding:10px 12px; font-weight:600; cursor:pointer; }
.btn-action:hover { background:#e5e7eb; }

.activity-card { background:#fff; border:1px solid rgba(0,0,0,0.1); border-radius:12px; display:flex; flex-direction:column; }
.activity-header { display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-bottom:1px solid rgba(0,0,0,0.06); font-weight:600; }
.activity-header a { color:#3b82f6; text-decoration:none; font-weight:500; }
.activity-empty { padding:24px; text-align:center; color:#6b7280; }

@media (max-width: 900px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-main { grid-template-columns: 1fr; }
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; }
.modal-backdrop { position:absolute; inset:0; background: rgba(0,0,0,0.5); }
.modal-dialog { position:relative; background:#fff; border-radius:12px; max-width: 720px; width: calc(100% - 32px); margin: 40px auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.modal-header { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid rgba(0,0,0,0.08); }
.modal-close { appearance:none; border:0; background:transparent; font-size:24px; cursor:pointer; line-height:1; }
.modal-content-area { padding: 20px; max-height: calc(80vh - 60px); overflow:auto; }

/* Iframe wrapper for app demo */
.iframe-wrap { border:1px solid rgba(0,0,0,0.1); border-radius:16px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.08); background:#fff; }
.iframe-demo { width:100%; height:720px; border:0; display:block; }
@media (max-width: 900px) { .iframe-demo { height: 800px; } }
@media (max-width: 600px) { .iframe-demo { display:none; } .iframe-wrap { display:none; } }

.demo-controls { display:flex; gap:12px; justify-content:flex-end; align-items:center; margin-bottom:12px; }
.demo-controls .btn-primary, .demo-controls .btn-secondary { min-width: 200px; text-align:center; padding: 12px 20px; }
.mobile-demo-note { display:none; color:#6b7280; text-align:right; margin:-4px 0 8px 0; font-size:12px; }
@media (max-width: 600px) { .mobile-demo-note { display:block; } }

@media (max-width: 480px) {
  .success-message,
  .error-message {
    right: 16px;
    left: 16px;
    max-width: none;
  }
}
