* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
    background: #ffffff;
    color: #222;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
}

/* Desktop nav */
nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #007bff;
}

/* Hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: default;
    user-select: none;
}

/* ===== MAIN TOOL ===== */
main {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 26px 20px;
}

.card {
    background: #fff;
    width: 100%;
    max-width: 460px;
    padding: 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.card h1 {
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #555;
}

/* Form */
select {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.primary-btn {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056d2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
    transition: 0.2s;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.25);
}


/* Count input */
.count-row{
    margin-top: 14px;
    text-align: left;
}
.count-row label{
    display:block;
    font-size: 13px;
    color:#333;
    margin-bottom: 6px;
    font-weight: 600;
}
.count-row input{
    width:100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
}
.count-row input:focus{
    border-color:#007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.12);
}
.hint{
    margin-top: 8px;
    font-size: 12px;
    color:#777;
    text-align:left;
}

/* Output rows with copy button */
.number{
    cursor: default;
}
.number .num{
    font-weight: 600;
    color:#222;
}
.copy-btn{
    border: 1px solid #d9e6ff;
    background: #ffffff;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color:#007bff;
    cursor:pointer;
    transition: 0.15s;
    white-space: nowrap;
}
.copy-btn:hover{
    background:#e9f2ff;
    border-color:#007bff;
}
.copy-btn.copied{
    border-color:#00b894;
    color:#00b894;
    background:#e6fffa;
}

/* Output */
#output {
    margin-top: 22px;
}

.number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f9fc;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: default;
    border: 1px solid #eee;
    transition: 0.15s;
}

.number:hover {
    background: #e9f2ff;
    border-color: #007bff;
}

.number.copied {
    background: #e6fffa;
    border-color: #00b894;
}

/* ===== SEO CONTENT ===== */
.seo-content {
    background: #ffffff;
    padding: 60px 20px;
    border-top: 1px solid #f1f1f1;
}

.seo-inner {
    max-width: 900px;
    margin: auto;
}

.seo-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.seo-content h3 {
    font-size: 20px;
    margin-top: 26px;
    margin-bottom: 10px;
}

.seo-content h4 {
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 6px;
}

.seo-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 14px;
}

.seo-list,
.seo-steps {
    margin: 10px 0 14px 18px;
    color: #444;
    line-height: 1.7;
    font-size: 15px;
}

/* ===== SIMPLE FOOTER ===== */
.footer {
    background: #f9fafb;
    border-top: 1px solid #eee;
    padding: 24px 16px;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

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

.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-right a {
    font-size: 14px;
    text-decoration: none;
    color: #007bff;
}

.footer-right a:hover {
    text-decoration: underline;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    header {
        padding: 14px 16px;
    }

    .logo {
        font-size: 20px;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        border-top: 1px solid #eee;
        z-index: 1000;
    }

    nav.show {
        display: flex;
    }

    nav a {
        padding: 14px;
        margin: 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
/* ===== CONTACT PAGE ===== */
.contact-box {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.contact-box h2 {
    margin-bottom: 6px;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}
}
.privacy-policy {
    max-width: 920px;
    margin: 32px auto;
    background: #fff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}


/* ===== NEW MODERN UI (2026) ===== */
:root{
  --bg1: #0ea5e9;
  --bg2: #8b5cf6;
  --bg3: #22c55e;
  --card: rgba(255,255,255,0.88);
  --text: #0f172a;
  --muted: #475569;
  --stroke: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 60px rgba(2,6,23,0.12);
  --radius: 18px;
}

body{
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(1200px 700px at 15% 15%, rgba(14,165,233,0.35), transparent 60%),
              radial-gradient(900px 600px at 85% 20%, rgba(139,92,246,0.30), transparent 55%),
              radial-gradient(900px 650px at 55% 85%, rgba(34,197,94,0.22), transparent 55%),
              linear-gradient(135deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
}

header{
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.logo{
  font-weight: 800;
  letter-spacing: 0.2px;
}

main{
  padding: 40px 16px 70px;
}

.layout{
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.card, .sidecard .badge, .sidecard .mini-note{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card{
  padding: 26px 22px;
}

.card h1{
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.card p{
  color: var(--muted);
  margin-bottom: 18px;
}

.controls{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.control label{
  display:block;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  margin-bottom: 8px;
}

.control select, .control input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.92);
  outline: none;
}

.control select:focus, .control input:focus{
  border-color: rgba(14,165,233,0.60);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.16);
}

.hint{
  display:block;
  margin-top: 8px;
  color: #64748b;
}

.primary-btn{
  width: 100%;
  padding: 13px 16px;
  border-radius: 16px;
  border: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: white;
  cursor: pointer;
  background: linear-gradient(90deg, #0ea5e9 0%, #8b5cf6 55%, #22c55e 110%);
  box-shadow: 0 14px 30px rgba(59,130,246,0.18);
  transition: transform .15s ease, filter .15s ease;
}

.primary-btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.primary-btn:active{ transform: translateY(0px) scale(0.99); }

#output{
  margin-top: 18px;
}

.number-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.78);
  margin-bottom: 10px;
}

.number-row .num{
  font-weight: 800;
  letter-spacing: 0.3px;
}

.copy-btn{
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.92);
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.copy-btn:hover{ transform: translateY(-1px); background: rgba(14,165,233,0.08); }
.copy-btn:active{ transform: translateY(0px) scale(0.99); }

.sidecard{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badge{
  padding: 18px 16px;
}

.badge-top{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 12px;
}

.badge-icon{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(139,92,246,0.18));
  border: 1px solid rgba(15,23,42,0.08);
}

.badge-title{
  font-weight: 900;
  font-size: 16px;
}

.badge-sub{
  color: #64748b;
  font-size: 13px;
  margin-top: 2px;
}

.badge-links{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.badge-link{
  text-decoration: none;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.70);
  font-weight: 700;
  transition: transform .12s ease, background .12s ease;
}

.badge-link:hover{
  transform: translateY(-1px);
  background: rgba(139,92,246,0.08);
}

.mini-note{
  padding: 16px 16px;
}

.mini-note p{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

/* responsive */
@media (max-width: 900px){
  .layout{ grid-template-columns: 1fr; }
  .controls{ grid-template-columns: 1fr; }
}


/* ===== LEGAL PAGES (PRIVACY / TERMS) ===== */
main.page{
  display:block;
  justify-content: initial;
  align-items: initial;
  min-height: auto;
}
.page{
  max-width: 980px;
  margin: 22px auto 0;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page h1{
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}
.page h2{
  font-size: 22px;
  margin-top: 26px;
  margin-bottom: 10px;
}
.page p{
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  margin: 10px 0;
}
.page ul{
  margin: 10px 0 16px 20px;
  color: var(--muted);
  line-height: 1.85;
}
.page li{ margin: 6px 0; }
.page a{
  color: #0ea5e9;
  font-weight: 800;
  text-decoration: none;
}
.page a:hover{ text-decoration: underline; }
.page center{
  display:block;
  margin-top: 26px;
  color: #334155;
  font-weight: 800;
}
@media (max-width: 520px){
  .page{ padding: 22px 16px; }
  .page h1{ font-size: 30px; }
}
