/* GPA Bot Landing Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.bouncing { animation: bounce 2s infinite; }
.floating { animation: float 3s ease-in-out infinite; }
.spinning { animation: spin 3s linear infinite; }
.wobbling { animation: wobble 1s ease-in-out infinite; }
.pulsing { animation: pulse 2s infinite; }
.rotating { animation: spin 10s linear infinite; }

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #0a84ff, #635bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0a84ff;
}

.cta-button {
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #fafaff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #0a84ff, #635bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.primary-button {
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.3);
}

.secondary-button {
  background: white;
  color: #0a84ff;
  border: 2px solid #0a84ff;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.secondary-button:hover {
  background: #0a84ff;
  color: white;
}

.hero-image {
  margin-top: 40px;
}

.demo-image {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: #f8f9fa;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

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

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.step p {
  color: #666;
}

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

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.toggle-container {
  background-color: #f0f0f0;
  border-radius: 30px;
  padding: 5px;
  display: inline-flex;
}

.toggle-btn {
  padding: 10px 24px;
  border-radius: 25px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  color: #666;
}

.toggle-btn.active {
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b6b;
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.plan-name {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.price span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.8;
}

.price-annual {
  display: none;
}

.features-list {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.features-list li {
  padding: 10px 0;
  color: #666;
}

.features-list li.unavailable {
  opacity: 0.5;
  text-decoration: line-through;
}

.pricing-card.featured .features-list li {
  color: rgba(255, 255, 255, 0.9);
}

.plan-button {
  background: white;
  color: #0a84ff;
  border: 2px solid #0a84ff;
  padding: 12px 40px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-size: 16px;
}

.plan-button:hover {
  background: #0a84ff;
  color: white;
}

.plan-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.plan-button.featured {
  background: white;
  color: #0a84ff;
  border-color: white;
}

.plan-button.featured:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Demo Section */
.demo {
  padding: 80px 0;
  background: #f8f9fa;
}

.demo-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.demo-video {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

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

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  padding: 5px 0;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #666;
}

/* ── Auth Pages (login.html, account.html) ─────────────────────────── */
.auth-page {
  padding: 100px 0 60px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #fafaff 100%);
}

.auth-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.auth-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

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

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

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #0a84ff;
}

.auth-button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #0a84ff, #635bff);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.auth-links a {
  color: #0a84ff;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  background: white;
  padding: 0 16px;
  position: relative;
  color: #999;
  font-size: 14px;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.alert-error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.alert-success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* ── Account Dashboard ──────────────────────────────────────────────── */
.account-page {
  padding: 100px 0 60px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff 0%, #fafaff 100%);
}

.account-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.account-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.account-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.account-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.account-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.account-row .label {
  color: #666;
  font-size: 15px;
}

.account-row .value {
  font-weight: 600;
  font-size: 15px;
}

.plan-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: white;
}

.plan-badge.free { background: #6c757d; }
.plan-badge.basic { background: #0a84ff; }
.plan-badge.pro { background: #635bff; }
.plan-badge.max { background: #28a745; }

.status-active { color: #28a745; }
.status-inactive { color: #dc3545; }

.account-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.account-actions .auth-button {
  flex: 1;
}

.btn-outline {
  background: white;
  color: #0a84ff;
  border: 2px solid #0a84ff;
}

.btn-outline:hover {
  background: #0a84ff;
  color: white;
}

.btn-danger {
  background: white;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.btn-danger:hover {
  background: #dc3545;
  color: white;
}

.feature-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: #f0f4ff;
  color: #0a84ff;
  margin: 3px 4px 3px 0;
}

.loading-spinner {
  text-align: center;
  padding: 40px;
  color: #666;
}

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

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

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

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

  .auth-card, .account-card {
    margin: 0 16px;
    padding: 24px;
  }
}
