/* =====================================================
   Product Compact CSS - Shared Styles for Product Pages
   LearnToday EdTech Partner Pages

   Usage: Link this CSS and set product color variables:
   :root {
     --product-color: #3b82f6;
     --product-color-rgb: 59, 130, 246;
     --product-gradient-end: #2563eb;
   }
   ===================================================== */

/* =====================================================
   CSS Reset & Base - Glassmorphism Design
   ===================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #e8f4fc 0%, #e6f0ff 50%, #f0e6ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(var(--product-color-rgb), 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(var(--product-color-rgb), 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(196, 181, 253, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(var(--product-color-rgb), 0.15) 0%, transparent 50%);
  z-index: -1;
  animation: gradientFloat 20s ease-in-out infinite;
}
@keyframes gradientFloat {
  0%, 100% { transform: scale(1) translate(0, 0); }
  25% { transform: scale(1.05) translate(1%, -1%); }
  50% { transform: scale(1) translate(-1%, 1%); }
  75% { transform: scale(1.03) translate(1%, 1%); }
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* =====================================================
   Header - Glass Style
   ===================================================== */
.header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1400px; z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 0 32px;
}
.header-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; text-decoration: none; overflow: hidden; height: 5rem; }
.logo img { height: 15rem; width: auto; max-width: 900px; object-fit: cover; object-position: center; }
.nav-menu { display: flex; align-items: center; gap: 12px; }
.nav-menu > a { padding: 12px 20px; color: #475569; text-decoration: none; font-weight: 500; font-size: 1.1rem; border-radius: 12px; transition: all 0.3s ease; }
.nav-menu > a:hover { background: rgba(var(--product-color-rgb), 0.1); color: var(--product-color); }
.dropdown { position: relative; }
.dropdown-toggle { padding: 12px 20px; background: transparent; border: none; color: #475569; font-weight: 500; font-size: 1.1rem; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; font-family: inherit; }
.dropdown-toggle:hover { background: rgba(var(--product-color-rgb), 0.1); color: var(--product-color); }
.dropdown-content { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); padding: 8px; min-width: 260px; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1001; }
.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-content a { display: block; padding: 12px 16px; color: #334155; text-decoration: none; border-radius: 10px; font-size: 0.95rem; transition: all 0.2s ease; }
.dropdown-content a:hover { background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); color: white; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: rgba(var(--product-color-rgb), 0.1); border: none; border-radius: 10px; color: var(--product-color); font-weight: 500; cursor: pointer; transition: all 0.3s ease; }
.lang-toggle:hover { background: rgba(var(--product-color-rgb), 0.2); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: transparent; border: none; cursor: pointer; }
.mobile-toggle span { width: 24px; height: 2px; background: #475569; border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-content { display: none; position: fixed; top: 100px; left: 24px; right: 24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-radius: 16px; padding: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); z-index: 999; }
.mobile-menu-content.active { display: block; }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-menu a { padding: 12px 16px; color: #334155; text-decoration: none; border-radius: 10px; font-weight: 500; transition: all 0.2s ease; }
.mobile-nav-menu a:hover { background: rgba(var(--product-color-rgb), 0.1); color: var(--product-color); }
.mobile-dropdown-toggle { width: 100%; text-align: left; padding: 12px 16px; background: transparent; border: none; color: #334155; font-weight: 500; cursor: pointer; border-radius: 10px; font-size: 1rem; font-family: inherit; }
.mobile-dropdown-content { display: none; padding-left: 16px; }
.mobile-dropdown-content.active { display: block; }

/* =====================================================
   Hero Section
   ===================================================== */
.hero { padding: 160px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.25rem; color: #64748b; margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); color: white; text-decoration: none; border-radius: 14px; font-weight: 600; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(var(--product-color-rgb), 0.3); transition: all 0.3s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--product-color-rgb), 0.4); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); color: #475569; text-decoration: none; border-radius: 14px; font-weight: 600; font-size: 1.05rem; border: 1px solid rgba(255, 255, 255, 0.9); transition: all 0.3s ease; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-2px); }
.hero-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; padding: 40px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); }
.hero-card-logo { text-align: center; margin-bottom: 32px; }
.hero-card-logo img { width: 120px; height: 120px; object-fit: contain; border-radius: 20px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { background: rgba(255, 255, 255, 0.6); border-radius: 16px; padding: 20px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.8); }
.stat-card h3 { font-size: 1.8rem; font-weight: 800; color: var(--product-color); margin-bottom: 4px; }
.stat-card p { font-size: 0.9rem; color: #64748b; }

/* =====================================================
   Features Section
   ===================================================== */
.features { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: #1e293b; margin-bottom: 16px; }
.section-header p { font-size: 1.15rem; color: #64748b; max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 32px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.feature-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; }

/* =====================================================
   Use Cases Section
   ===================================================== */
.use-cases { padding: 80px 0; background: linear-gradient(135deg, rgba(var(--product-color-rgb), 0.1) 0%, rgba(var(--product-color-rgb), 0.05) 100%); border-radius: 40px; margin: 40px 24px; }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-case-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 32px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; }
.use-case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); }
.use-case-icon { font-size: 2.5rem; margin-bottom: 16px; }
.use-case-card h3 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.use-case-card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; }

/* =====================================================
   Pricing Section
   ===================================================== */
.pricing { padding: 80px 0; }
.pricing-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; padding: 48px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); max-width: 900px; margin: 0 auto; }
.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-header h3 { font-size: 1.8rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.pricing-header p { font-size: 1rem; color: #64748b; }
.pricing-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.tier-card { background: linear-gradient(135deg, rgba(var(--product-color-rgb), 0.1) 0%, rgba(var(--product-color-rgb), 0.05) 100%); border: 1px solid rgba(var(--product-color-rgb), 0.2); border-radius: 16px; padding: 20px 16px; text-align: center; transition: all 0.3s ease; }
.tier-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--product-color-rgb), 0.15); }
.tier-card .segment { font-size: 0.85rem; color: #64748b; margin-bottom: 8px; }
.tier-card .amount { font-size: 1.3rem; font-weight: 800; color: var(--product-color); }
.tier-card .meta { font-size: 0.8rem; color: #94a3b8; }
.pricing-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #475569; }
.pricing-feature::before { content: '✓'; color: var(--product-color); font-weight: 700; }
.pricing-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); color: white; text-decoration: none; border-radius: 14px; font-weight: 600; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(var(--product-color-rgb), 0.3); transition: all 0.3s ease; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--product-color-rgb), 0.4); }

/* =====================================================
   CTA Section
   ===================================================== */
.cta { padding: 80px 0; margin: 40px 24px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); border-radius: 32px; text-align: center; }
.cta h2 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 16px; }
.cta p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta .btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: white; color: var(--product-color); text-decoration: none; border-radius: 14px; font-weight: 600; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; }
.cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); }

/* =====================================================
   Footer Section
   ===================================================== */
.footer { padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.footer-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 24px; padding: 32px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
.footer-card h3 { font-size: 1.5rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.footer-card .tagline { font-size: 1rem; color: #64748b; margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-item .label { font-size: 0.75rem; font-weight: 600; color: var(--product-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item .value { font-size: 0.95rem; color: #1e293b; font-weight: 500; }
.contact-item a { color: #1e293b; text-decoration: none; transition: color 0.2s ease; }
.contact-item a:hover { color: var(--product-color); }
.footer-card h4 { font-size: 1.2rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.footer-card .desc { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #475569; }
.form-group input { width: 100%; padding: 12px 16px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(var(--product-color-rgb), 0.2); border-radius: 10px; font-size: 0.95rem; color: #1e293b; transition: all 0.2s ease; }
.form-group input:focus { outline: none; border-color: var(--product-color); background: white; }
.newsletter-btn { padding: 14px 24px; background: linear-gradient(135deg, var(--product-color) 0%, var(--product-gradient-end) 100%); color: white; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--product-color-rgb), 0.3); }
.company-info { display: flex; flex-direction: column; gap: 16px; }
.info-item .label { font-size: 0.75rem; font-weight: 600; color: var(--product-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-item .value { font-size: 0.95rem; color: #1e293b; font-weight: 500; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(var(--product-color-rgb), 0.1); }
.footer-bottom p { font-size: 0.9rem; color: #64748b; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.9rem; color: var(--product-color); text-decoration: none; font-weight: 500; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--product-gradient-end); }

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-content h1 { font-size: 2.5rem; }
  .features-grid, .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header { width: calc(100% - 32px); padding: 0 16px; top: 8px; }
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .features-grid, .use-cases-grid { grid-template-columns: 1fr; }
  .pricing-features { grid-template-columns: 1fr; }
  .cta { margin: 24px 16px; padding: 60px 24px; }
  .cta h2 { font-size: 1.8rem; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
}
