body { 
    font-family: Arial, sans-serif; 
    text-align: center; 
    background: #f4f4f4; 
    margin: 0;
    padding: 0;
}
.container { 
    position: relative;
    max-width: 600px; 
    margin: auto; 
    padding: 20px; 
}
.box {
    background: #fffdfdbb;
    padding: 15px; 
    margin: 10px; 
    border-radius: 8px; 
    box-shadow: 0 0 10px rgba(255, 230, 230, 0.486); 
}
.balance-box { 
    background: #4CAF50; 
    color: white; 
    font-size: 20px; 
}
.btn { 
    padding: 12px 20px;
    background: #007bff; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    display: inline-block; 
    border: none; 
    margin-right: 10px;
}
.btn:hover {
    background-color: #0056b3; 
}

.completed {
    background-color: #4caf50; /* green */
    color: white;
    font-weight: bold;
    cursor: default;
}
#progress {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* ✅ Improved Input Fields */
input[type="email"], 
input[type="number"], 
input[type="password"],
input[type="text"] {
    width: 100%; /* Full width on mobile */
    max-width: 400px; /* Prevents extreme stretching */
    padding: 12px; 
    margin: 10px auto; 
    border: 1px solid #ccc; 
    border-radius: 5px;
    display: block; /* Ensures it aligns well */
    font-size: 16px;
}

select {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    margin: 10px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: block;
    font-size: 16px;
    background: white;
    cursor: pointer;
}

/* focus effect */
select:focus {
    outline: none;
    border-color: #000000;
    /* box-shadow: 0 0 6px rgba(37, 99, 235, 0.4); */
}

/* ✅ Mobile Optimization */
@media (max-width: 600px) {
    .container { 
        width: 90%; 
        padding: 15px;
    }
    .balance-box { 
        font-size: 18px; 
    }
    input[type="email"], 
    input[type="number"], 
    input[type="password"],
    input[type="text"] {
        padding: 12px;
        width: 90%;
        max-width: 100%;
    }
    .btn {
        width: -webkit-fill-available;
    }
    .hero-video {
        padding: 0 12px;
    }
}

/* ✅ Success, Error & Warning Boxes */
.success {
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.error {
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.warning {
    background-color: #fff3cd; /* Light yellow */
    color: #856404; /* Dark yellow text */
    border: 1px solid #ffeeba;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.info { 
    color: blue; 
    margin-bottom: 10px; 
}



h2 {
    text-align: center;
}
label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}
button {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.result {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
.good { background: #14532d; }
.ok { background: #78350f; }
.bad { background: #7f1d1d; }

.details, .suggest {
    margin-top: 10px;
    font-size: 14px;
}
.suggest {
    padding: 10px;
    border: 1px solid #1e293b;
    border-radius: 8px;
}

.result.good { background:#1e4620; color:#b6f2c2; }
.result.ok { background:#4a3b1f; color:#ffe7a3; }
.result.bad { background:#4a1f1f; color:#ffb3b3; }

.panel {
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
  background: #121212;
  border: 1px solid #2a2a2a;
}

.action {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 6px;
}

.warn {
  font-size: 0.9em;
  opacity: 0.85;
  margin-top: 6px;
}

.checklist li {
  margin: 4px 0;
}

.plans-title {
    text-align: center;
    margin-bottom: 10px;
}

.plans-warning {
    text-align: center;
    margin-bottom: 20px;
}

.plans-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.plan-card {
    width: 280px;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.plan-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.plan-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.plan-features li {
    margin: 6px 0;
}

.plan-btn {
    width: 100%;
    margin-top: 10px;
}

/* BASIC highlight */
.plan-card.basic {
    border-color: #4CAF50;
}

/* PRO highlight */
.plan-card.pro {
    border-color: #f0ad4e;
    background: #fffdf7;
}

.plan-card.disabled {
    opacity: 0.7;
}

.disabled-btn {
    background: #ccc;
    cursor: not-allowed;
}

/* ===== HERO SECTION ===== */

.hero-box {
    text-align: center;
    padding: 30px 20px;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 32px;
    margin: 10px 0;
}

.hero-title span {
    color: #2563eb;
}

.hero-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
}

.hero-video {
    max-width: 900px;      /* desktop cap */
    margin: 20px auto;
    padding: 0 10px;       /* prevents edge touching on mobile */
}

.hero-video video {
    width: 100%;           /* 🔥 key line */
    height: auto;
    max-width: 100%;
    border-radius: 12px;   /* optional, looks nice */
    display: block;
}

.hero-description {
    font-size: 15px;
    color: #333;
    margin-top: 15px;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 16px;
}

.hero-points li {
    margin: 6px 0;
}

.hero-note {
    font-size: 14px;
    color: #555;
    margin: 15px 0;
}

.hero-btn {
    margin-top: 15px;
    font-size: 18px;
}

.hero-footer {
    font-size: 13px;
    color: #666;
    margin-top: 12px;
}

.pro-desc {
    background: #fef3c7;
    border: 1px solid #f59e0b;
}

.calc-desc {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.basic-desc {
    background: #ecfdf5;
    border: 1px solid #34d399;
}

.pro-box {
    border: 2px solid #f59e0b;
}

.pro-note {
    margin-top: 12px;
    font-size: 13px;
    color: #92400e;
    font-style: italic;
}