:root{
    --bg:#0b0b17;           /* page background */
    --card:#111126;         /* panel */
    --muted:#b8bfd6;        /* secondary text */
    --text:#e9ecf8;         /* main text */
    --accent:#e9408b;       /* pink accent */
    --brand:#ffffff;        /* light blue title accent */
    --line:#2a2a4a;         /* hairlines */
    --input:#0c0c1a;        /* input bg */
}
*{box-sizing:border-box}
html,body{min-height:100%}
body{
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji" !important;
    color:var(--text);
    background:
    radial-gradient(60rem 60rem at 70% 10%, rgba(233,64,139,.10), transparent 60%),
    radial-gradient(40rem 40rem at 20% 80%, rgba(109,211,255,.08), transparent 60%),
    var(--bg);
    background-attachment: fixed;
    line-height:1.55;
}
.wrap{max-width:980px;margin:32px auto;padding:24px}
.panel{
    background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
    border:1px solid var(--line);
    border-radius:20px;
    padding:0px 30px 30px;
    position:relative;
    overflow:hidden;
}
.panel:before{ /* faint logo shape */
    content:"";position:absolute;inset:-20% -10% auto auto;top:10%;
    width:900px;height:900px;opacity:.08;pointer-events:none;
    background:
    radial-gradient(closest-side, rgba(233,64,139,.7), transparent 70%),
    radial-gradient(closest-side, rgb(255, 255, 255), transparent 70%);
    filter:blur(60px);
    transform:rotate(15deg);
}

header h1{margin:0 0 6px;font-size:40px;font-weight:800;letter-spacing:.2px}
.brand{color:var(--brand)}
.accent{color:var(--accent)}
#title{margin:0;color:var(--muted);font-weight:600;font-size: 40px;}
.top-subtitle {
    color:white;
    font-size:1.5em;
    font-weight: 600;
    padding-bottom:10px;
    margin:0
}

.section{margin-top:28px}
.section h2{font-size:16px;margin:0 0 12px;color:#d9dcff}
.grid{display:grid;grid-template-columns:1.2fr .8fr;gap:10px 18px;align-items:center}
.label{
    color:var(--muted);
    font-size: medium;
}

input, select{width:100%;
    appearance:none;border:1px solid var(--line);background:var(--input);
    color:var(--text);padding:10px 12px;border-radius:8px;font-size:15px;
    outline:none;transition:.2s border-color, .2s box-shadow;
}
input:focus, select:focus{border-color:#6dd3ff;box-shadow:0 0 0 4px rgba(109,211,255,.12)}

/* Hide spinner arrows for number input */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.note{font-size:10px;color:var(--muted);margin-top:6px}

.divider{height:1px;background:var(--line);margin:20px 0}

.cta-wrap{display:flex;justify-content:center;margin:28px 0 8px}
.cc-btn{
    background:linear-gradient(180deg,#ff5da1,#e9408b);
    border:none !important;
    font-weight:800 !important;
    font-size:20px !important;
    border-radius:999px !important;
    box-shadow:0 10px 30px rgba(233,64,139,.35);
    transition:transform .08s ease
}
.cc-btn:active{transform:translateY(1px)}

.buy-now-btn {
    background: linear-gradient(180deg, #6dd3ff, #4fc3f7);
    box-shadow: 0 10px 30px rgba(109, 211, 255, .35);
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    font-size:18px !important;
    border-radius:999px !important;
    font-weight:800 !important;
    font-size: 18px;
    /* padding: 16px 32px; */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-now-btn:hover {
    background: linear-gradient(180deg, #87e0ff, #6dd3ff);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(109, 211, 255, .45);
}

.foot{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:18px;
    align-items:center;
    margin-top:18px;
    /* position: absolute;
    bottom: 0; */
}
.logo{display:flex;flex-direction:row;align-items:center;gap:12px}
.logo-left{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.logo-right{display:flex;align-items:center}
.logo-mark{height:50px;aspect-ratio:16627/2497;background-image:url('https://cdn.prod.website-files.com/66facdc4f12562d28ea050b8/66fd570a091958a362e750ef_Vet%20Vision%20AI%20-%20Logo.svg');background-size:contain;background-repeat:no-repeat;background-position:center}
.logo-mark2{height:230px;width:230px;background-image:url('https://cowcomfortstatic.blob.core.windows.net/roi-static/imgs/logo.png');background-size:contain;background-repeat:no-repeat;background-position:center}
.logo h3{margin:0;font-weight:800;letter-spacing:.4px}
.slogan{font-size:12px;color:var(--muted);margin-top:0}
.qr{width:84px;height:84px;border:1px dashed var(--line);border-radius:10px;background-image:url('https://cowcomfortstatic.blob.core.windows.net/roi-static/imgs/qr.png');background-size:contain;background-repeat:no-repeat;background-position:center}
.email{color:#cfe8ff;text-decoration:none}
.email:hover{text-decoration:underline}

/* Hide potential section */
#potential-section {
    display: none;
}

/* Alert box styles */
.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.alert-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.alert-overlay.show .alert-box {
    transform: scale(1);
}

.alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #e9408b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.alert-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.alert-message {
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.alert-btn {
    background: linear-gradient(180deg, #6dd3ff, #4fc3f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.alert-btn:hover {
    transform: translateY(-1px);
}

/* Info button styles */
.info-btn {
    background: rgba(109, 211, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--brand);
    border: 1px solid rgba(109, 211, 255, 0.2);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
    0 2px 8px rgba(109, 211, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}

.info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 211, 255, 0.2), rgba(76, 195, 247, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.info-btn:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
    0 6px 20px rgba(109, 211, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(109, 211, 255, 0.4);
    color: #ffffff;
}

.info-btn:hover::before {
    opacity: 1;
}

.info-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
    0 2px 8px rgba(109, 211, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Info dialog styles */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-overlay.show {
    opacity: 1;
    visibility: visible;
}

.info-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.info-overlay.show .info-box {
    transform: scale(1);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6dd3ff, #4fc3f7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.info-message {
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.info-message-small {
    font-size: 10px;
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.info-close-btn {
    background: linear-gradient(180deg, #6dd3ff, #4fc3f7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.info-close-btn:hover {
    transform: translateY(-1px);
}

/* Link styles in info dialog */
.info-message-small a {
    color: var(--muted);
    text-decoration: none;
}

.info-message-small a:hover {
    color: var(--text);
    text-decoration: underline;
}

@media (max-width:820px){
    .grid{grid-template-columns:1fr;gap:8px}
    .foot{grid-template-columns:1fr;justify-items:center;text-align:center}
    header h1{font-size:34px}
}

* {
  box-sizing: border-box;
}


.wrapper {
  box-sizing: border-box;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
}

.page-body {
  padding: 20px;

  flex-grow: 1;
}

.page-footer {
  /* background-color: rgb(75 70 74); */
  color: white;
  padding: 20px;

  flex-grow: 0;
  flex-shrink: 0;
}
