@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

:root {
  --primary: #59D9D9;
  --secondary: #1B80BF;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --text: #334155;
  --text-light: #94a3b8;
  --btn1Img: linear-gradient(135deg, #59D9D9, #1d8bc0);
  --gradient-bg: linear-gradient(135deg, var(--dark), var(--secondary));
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--light); color: var(--text); }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--dark); }

/* Scrollbar */
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--light); }
html::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* waitScreen from JS */
.waitScreen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(5px); z-index: 5000; opacity: 0; transition: opacity .3s; display: flex; justify-content: center; align-items: center;}
.spinChar { color: var(--primary); font-size: 3rem; }

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title { text-align: center; margin-bottom: 3rem; padding: 0 1rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2;}
.section-title p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-title.light h2, .section-title.light p { color: white; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 600; padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; border: none; }
.btn-glow { background: var(--btn1Img); color: white; box-shadow: 0 10px 20px rgba(89, 217, 217, 0.3); }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(89, 217, 217, 0.5); }
.btn-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Nav */
.glass-nav { position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; z-index: 1000; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; color: white; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo::before { content: ''; display: inline-block; width: 24px; height: 24px; background: url(./img/minlogotransparent.png) no-repeat center/contain; }
.navbar-center ul { display: flex; list-style: none; gap: 2rem; }
.navbar-center a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: color 0.3s; }
.navbar-center a:hover { color: white; }
.login-btn-outline { padding: 0.5rem 1.2rem; border: 1px solid var(--primary); color: var(--primary); border-radius: 50px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: all 0.3s; }
.login-btn-outline:hover { background: var(--primary); color: var(--dark); }

/* Hero */
.header { position: relative; min-height: 100vh; background: var(--gradient-bg); overflow: hidden; display: flex; flex-direction: column; }
.hero-container { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 8rem 5% 4rem; align-items: center; max-width: 1400px; margin: 0 auto; z-index: 2; width: 100%; }
.badge-premium { display: inline-block; padding: 0.4rem 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; color: white; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; backdrop-filter: blur(5px); }
.hero-text h1 { font-size: 3.5rem; color: white; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-text p { font-size: 1.15rem; color: #94a3b8; line-height: 1.6; margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; }

/* Hero Image & Cards */
.hero-image { position: relative; height: 100%; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.floating-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem; border-radius: 20px; color: white; display: flex; gap: 1rem; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3); position: absolute; transition: transform 0.3s ease; }
.floating-card:hover { transform: translateY(-5px); }
.card-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.card-info h4 { color: #94a3b8; font-size: 0.85rem; margin-bottom: 0.2rem; font-weight: 600; }
.card-info p { margin: 0; font-size: 1.5rem; font-weight: 700; font-family: 'Outfit'; }
.card-1 { top: 20%; right: 10%; animation: float 6s ease-in-out infinite; }
.card-2 { bottom: 20%; left: 10%; animation: float 5s ease-in-out infinite reverse; }
.hero-glow { position: absolute; width: 400px; height: 400px; background: var(--primary); filter: blur(150px); opacity: 0.15; border-radius: 50%; z-index: -1; }

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

/* Waves */
.wave-bottom { width: 100%; line-height: 0; margin-top: auto; }
.wave-bottom svg { width: 100%; height: auto; display: block; }

/* Benefits */
.benefits { padding: 5rem 5%; background: var(--light); position: relative; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.benefit-card { background: white; padding: 2.5rem 2rem; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02); transition: all 0.4s ease; }
.benefit-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.mt-card { margin-top: 3rem; }
.icon-wrapper { width: 60px; height: 60px; background: rgba(89, 217, 217, 0.1); color: var(--secondary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; transition: all 0.3s ease; }
.benefit-card:hover .icon-wrapper { background: var(--primary); color: white; transform: scale(1.1) rotate(-5deg); }
.benefit-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.benefit-card p { color: var(--text-light); line-height: 1.6; }

/* Plans */
.plans-section { padding: 6rem 5%; background: var(--dark); position: relative; overflow: hidden; }
.plans-glow-bg { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 80vw; height: 80vh; background: radial-gradient(circle, rgba(27, 128, 191, 0.2) 0%, rgba(15, 23, 42, 0) 70%); z-index: 1; pointer-events: none;}
.planCnt { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }

.planExitCnt { display: flex; justify-content: center; margin-bottom: 3rem; }
.freqSwitch { display: flex; position: relative; background: rgba(255,255,255,0.05); padding: 5px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.1); width: 300px; }
.freqOptBg { position: absolute; width: calc(50% - 5px); height: calc(100% - 10px); background: var(--primary); border-radius: 50px; transition: all 0.3s ease; top: 5px; left: 5px; box-shadow: 0 4px 15px rgba(89, 217, 217, 0.3); }
.freqOpt { flex: 1; text-align: center; padding: 0.6rem 0; color: white; font-weight: 600; font-size: 0.9rem; z-index: 2; cursor: pointer; transition: color 0.3s ease; position: relative; }
.freqOpt.freqActv { color: var(--dark); }
.badge-discount { position: absolute; top: -15px; right: -10px; background: #59D9D9; color: var(--dark); font-size: 0.7rem; padding: 3px 8px; border-radius: 20px; font-weight: 800; transform: rotate(10deg); box-shadow: 0 4px 10px rgba(89,217,217,0.4); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(10deg) scale(1.1); } 100% { transform: rotate(10deg) scale(1); } }

.plansContainer { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: stretch; justify-content: center; }

/* Plan card generated by JS */
.plan { background: white; border-radius: 24px; padding: 2.5rem 2rem; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.planLblHead { font-size: 0; display: none; }
.plan h3 { font-size: 1.5rem; margin-bottom: 0.5rem; text-align: center; }
.price { font-family: 'Outfit'; font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 2rem; color: var(--dark); border-bottom: 1px solid #e2e8f0; padding-bottom: 1.5rem; width: 100%;}
.planBenefCnt { flex: 1; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem;}
.planBenefRow { display: flex; align-items: flex-start; gap: 0.8rem; }
.planBenefIc { color: var(--primary); font-size: 1.1rem; margin-top: 2px; }
.planBenefLbl { color: var(--text); font-size: 0.9rem; line-height: 1.5; text-align: left; }
.plan .button { width: 100%; margin-top: auto; }

/* Popular Tag */
.popularTag { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); background: linear-gradient(90deg, var(--dark), var(--secondary)); padding: 6px 20px; border-radius: 20px; color: white; font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 5; }
.popularTxt { white-space: nowrap; }
.popularTriangle { display: none; }

/* Contact */
.contact { padding: 6rem 5%; background: var(--light); }
.contact-container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background: white; border-radius: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.05); overflow: hidden; }
.contact-info { padding: 4rem; background: var(--dark); color: white; position: relative; overflow: hidden; }
.contact-info::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(89, 217, 217, 0.1) 0%, transparent 50%); }
.contact-info h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; position: relative; z-index: 1; line-height: 1.2;}
.contact-info p { color: #94a3b8; line-height: 1.6; margin-bottom: 3rem; position: relative; z-index: 1; }
.detail-item { display: flex; align-items: center; gap: 1rem; position: relative; z-index: 1; }
.detail-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.detail-item h4 { color: white; font-size: 0.9rem; margin-bottom: 0.2rem; }
.detail-item span { color: #94a3b8; font-size: 0.9rem; }

.contact-form-wrapper { padding: 4rem 4rem 4rem 0; }
.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--dark); }
.input-group input, .input-group textarea { width: 100%; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; background: #f8fafc; transition: all 0.3s ease; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(89, 217, 217, 0.1); }
.input-group textarea { height: 120px; resize: vertical; }
.btn-submit { width: 100%; }

/* Footer */
footer { background: var(--dark); color: #64748b; text-align: center; padding: 2rem 5%; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* Responsive */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; padding: 8rem 5% 2rem; }
  .hero-text p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .card-1 { top: 10%; right: 5%; }
  .card-2 { bottom: 10%; left: 5%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .mt-card { margin-top: 0; }
  .contact-container { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 2rem; }
  .contact-info { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .navbar-center { display: none; }
  .hero-text h1 { font-size: 2.5rem; }
  .card-1, .card-2 { position: relative; top: auto; right: auto; bottom: auto; left: auto; margin-bottom: 1rem; width: 100%; max-width: 300px; margin: 0 auto 1rem; }
  .hero-image { flex-direction: column; }
  .plan .button { display: none !important; }
}