/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    color: #1e293b;
    line-height: 1.5;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 760px;
    margin: auto;
    padding: 8px 16px;
}

/* =========================
   HEADER
========================= */
.header {
    text-align: center;
    margin-bottom: 10px;
}

.brand-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.header h1 {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.8px;
    margin-bottom: 6px;
}

.header p {
    color: #64748b;
    font-size: 15px;
    margin-top: 2px;
    line-height: 1.5;
}

.mini-tagline {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    margin-top: 6px;
}

/* =========================
   VISITOR BOX
========================= */
.visitor-box {
    text-align: center;
    margin: 10px auto 12px auto;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    width: fit-content;
    border: 1px solid #e2e8f0;
}

/* =========================
   CARD
========================= */
.card {
    background: #ffffff;
    padding: 20px;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

/* =========================
   FORM
========================= */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    display: block;
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    background: #ffffff;
    color: #111827;
    transition: 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

input[type="file"] {
    padding: 10px;
    background: #fff;
}

/* =========================
   BUTTON
========================= */
button {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #06b6d4, #2563eb);
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

/* =========================
   SUCCESS / ERROR
========================= */
.success-box {
    background: #dcfce7;
    color: #166534;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 700;
    border: 1px solid #86efac;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 700;
    border: 1px solid #fca5a5;
}

/* =========================
   DOWNLOAD
========================= */
.download-section {
    text-align: center;
    margin-top: 18px;
}

.download-btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    font-weight: 800;
    transition: 0.25s ease;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.18);
}

.download-btn:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

/* =========================
   PREVIEW
========================= */
.preview-section {
    margin-top: 20px;
    text-align: center;
}

.preview-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #0f172a;
    font-weight: 800;
}

.preview-img {
    max-width: 320px;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

/* =========================
   TRUST STRIP
========================= */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 12px auto 8px auto;
    text-align: center;
}

.trust-strip span {
    background: rgba(255,255,255,0.9);
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

/* =========================
   ADS
========================= */
.top-ad,
.middle-ad,
.bottom-ad {
    text-align: center;
    margin: 8px auto;
    width: 100%;
    max-width: 760px;
    min-height: 0;
    overflow: hidden;
}

/* =========================
   FOOTER TEXT
========================= */
.footer {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* =========================
   STATIC PAGES
========================= */
.page-container {
    max-width: 800px;
    margin: 24px auto;
    background: #ffffff;
    padding: 30px 24px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
    line-height: 1.8;
}

.page-container h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: #111827;
}

.page-container h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #111827;
    font-size: 24px;
}

.page-container p,
.page-container li {
    font-size: 17px;
    color: #374151;
    line-height: 1.7;
}

.page-container ul {
    padding-left: 20px;
}

.page-container a {
    color: #2563eb;
    text-decoration: none;
}

.page-container a:hover {
    text-decoration: underline;
}

/* =========================
   SUCCESS MESSAGE
========================= */
.success-message {
    background: #dcfce7;
    color: #166534;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: bold;
    border: 1px solid #86efac;
}

/* =========================
   CONTACT FORM
========================= */
.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.contact-form button {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* =========================
   BACK BUTTON
========================= */
.back-btn {
    display: inline-block;
    margin-top: 25px;
    background: #16a34a;
    color: white !important;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.25s ease;
}

.back-btn:hover {
    background: #15803d;
    text-decoration: none;
}

/* =========================
   SIMPLE SITE FOOTER
========================= */
.site-footer {
    margin-top: 12px;
    background: transparent;
    color: #1e293b;
    text-align: center;
    padding: 10px 10px 16px;
}

.footer-links {
    margin-bottom: 6px;
}

.footer-links a {
    color: #2563eb;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    font-weight: 600;
}

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

.site-footer p {
    font-size: 13px;
    color: #64748b;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {
    .container {
        padding: 10px 14px;
    }

    .brand-badge {
        font-size: 11px;
        padding: 7px 12px;
    }

    .header h1 {
        font-size: 30px;
    }

    .header p {
        font-size: 13px;
    }

    .mini-tagline {
        font-size: 13px;
    }

    .visitor-box {
        font-size: 15px;
        padding: 10px 14px;
    }

    .card {
        padding: 18px;
        border-radius: 16px;
    }

    .preview-img {
        max-width: 100%;
    }

    .trust-strip {
        gap: 8px;
    }

    .trust-strip span {
        font-size: 12px;
        padding: 8px 12px;
    }

    .page-container {
        padding: 24px 18px;
        margin: 20px 12px;
    }

    .page-container h1 {
        font-size: 30px;
    }

    .page-container h2 {
        font-size: 22px;
    }

    .page-container p,
    .page-container li {
        font-size: 16px;
    }

    .top-ad,
    .middle-ad,
    .bottom-ad {
        min-height: 0;
        padding: 0;
        margin: 6px auto;
    }

    .site-footer a {
        display: inline-block;
        margin: 6px 8px;
        font-size: 14px;
    }
}
