@charset "UTF-8";

/* --- Modern Design Tokens --- */
:root {
    --primary-color: #f39800;
    /* Corporate Orange */
    --primary-hover: #d98700;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --must-color: #ef4444;
    --free-color: #3b82f6;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Base Reset & Original Container --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Safety Reset for Mobile Overflow */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

#container {
    width: 100%;
    overflow-x: hidden;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* Restored Original Header/Footer Context */
#header,
#footer {
    max-width: 1000px;
    /* Matching main content width */
    margin: 0 auto;
    padding: 20px;
}

.inner-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Nav (Refined Corporate Layout) --- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

#header-logo {
    flex-shrink: 0;
}

#header-logo img {
    height: 36px;
    width: auto;
    vertical-align: middle;
}

#header-link {
    flex-grow: 1;
    text-align: right;
}

#header-link ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 15px;
}

#header-link li {
    font-size: 11px;
    line-height: 1;
}

#header-link li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

#header-link li a:hover {
    color: var(--primary-color);
}

#header-link li a::before {
    content: ">";
    color: var(--primary-color);
    margin-right: 4px;
    font-weight: bold;
    font-size: 10px;
}

/* Global Navigation bar */
#menu {
    background: #eeeeee;
    /* Match existing page light gray */
    border-top: 1px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    margin-bottom: 0;
    clear: both;
    height: 50px;
    /* Fixed height for perfect centering */
    width: 100%;
}

@media (min-width: 769px) {
    #menu {
        display: block !important;
    }
}

.menu-inner {
    max-width: 1000px;
    width: 100%;
    /* Force full width */
    margin: 0 auto;
    display: flex;
    height: 100%;
    /* Fill #menu */
    list-style: none;
    padding: 0;
}

.menu-inner li {
    flex: 1 1 0;
    /* Force exactly equal widths (Tetris fix) */
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.menu-inner li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 100% !important;
    padding: 0 !important;
    /* Remove all padding that offsets text */
    margin: 0 !important;
    color: #333333;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.2s;
    line-height: 1 !important;
    /* Critical for flex centering */
    background: transparent !important;
    /* Ensure default is transparent */
}

/* Active / Current Tab Style */
.menu-inner li.active a {
    background: #f39800 !important;
    /* Specific Corporate Orange */
    color: #ffffff !important;
}

.menu-inner li a:hover:not(.active) {
    background: #e2e2e2 !important;
    color: #f39800 !important;
}

.menu-toggle {
    display: none;
    background: #475569;
    color: #fff;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}

.menu-toggle::before {
    content: "☰ ";
}

/* --- Hero Section (Refined Brand Design) --- */
.support-hero {
    background: #f1f5f9;
    padding: 25px 0;
    /* Significantly thinner */
    text-align: center;
    color: #1e293b;
    position: relative;
    overflow: hidden;
    margin: 25px 0;
    /* Reduced vertical air */
    border-bottom: 1px solid #e2e8f0;
}

.support-hero::before {
    content: "AFTER SUPPORT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    /* Scaled down for thinner banner */
    font-weight: 800;
    color: rgba(15, 23, 42, 0.05);
    /* Very subtle watermark */
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 12px;
}

.support-hero.corporate-hero::before {
    content: "BUSINESS";
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    /* Scaled down */
    letter-spacing: 4px;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    color: #0f172a;
}

.page-title::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: #f39800;
    /* Corporate Orange Accent */
    margin: 8px auto 0;
    border-radius: 2px;
}

.page-subtitle {
    color: #64748b;
    font-size: 0.85rem;
    /* Slightly smaller */
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs span {
    color: var(--text-main);
    font-weight: 600;
}

/* --- Cards & Sections --- */
.support-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-header {
    background: #f8fafc;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-body {
    padding: 30px;
}

/* --- Alerts --- */
.alert-box {
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.alert-box.warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.alert-box h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* --- Warranty Visual --- */
.warranty-visual {
    margin-top: 30px;
}

.visual-label {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 0 0 rgba(243, 152, 0, 0.4);
    animation: signal-pulse 2s infinite;
    /* Attention signal */
}

@keyframes signal-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 152, 0, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(243, 152, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(243, 152, 0, 0);
    }
}

.warranty-visual img {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- Guidelines --- */
.guidelines-list {
    list-style: none;
    margin: 20px 0;
}

.guidelines-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.guidelines-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Form Styles --- */
.modern-form .form-group {
    margin-bottom: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.control label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.badge-must {
    background: var(--must-color);
    color: #fff;
}

.badge-free {
    background: #e2e8f0;
    color: var(--text-muted);
}

.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form input[type="tel"],
.modern-form textarea,
.modern-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 118, 255, 0.1);
}

.modern-form small,
.modern-form .note {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.modern-form .note {
    color: var(--must-color);
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    pointer-events: none;
    color: var(--text-muted);
}

.modern-form textarea {
    height: 150px;
    resize: vertical;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #f39800 !important;
    /* Force Corporate Orange */
    color: #fff !important;
}

.btn-primary:hover {
    background: #d98700 !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid #f39800;
    color: #f39800;
    font-weight: 700;
}

.btn-outline:hover {
    background: #f39800;
    color: #fff;
    box-shadow: 0 4px 12px rgba(243, 152, 0, 0.2);
}

.btn-large {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* --- Corporate Link Block --- */
.corporate-link-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.corporate-link-block .important-text {
    font-weight: bold;
    color: #475569;
    margin-bottom: 20px;
    font-size: 15px;
}

/* --- Footer (Restored Corporate Baseline) --- */
#footer-all {
    background: #eee;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 11px;
    clear: both;
}

#footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#footer-link {
    flex: 1;
    min-width: 300px;
}

#footer-link ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-link li {
    display: inline;
}

#footer-link a {
    color: #666;
    text-decoration: none;
}

#footer-link a:hover {
    text-decoration: underline;
}

#footer-logo {
    text-align: right;
    flex-shrink: 0;
}

#footer-logo img {
    width: 160px;
    /* UNIQ Logo size */
    height: auto;
    margin: 10px 0;
}

/* SSL Seal Styling */
#ss_img {
    width: 100px !important;
    height: auto !important;
    border: 0;
}

#footer-logo address {
    font-style: normal;
    font-size: 10px;
    color: #999;
    margin-top: 10px;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    #header-link {
        width: 100%;
        margin-top: 15px;
        text-align: left;
    }

    #header-link ul {
        justify-content: flex-start;
        gap: 10px 15px;
    }

    #header-link li {
        margin-left: 0;
    }

    .page-title {
        font-size: 1.8rem;
    }

    #menu {
        display: none;
        /* Mobile menu hidden by default */
        background: #fff;
        margin-bottom: 0;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
    }

    #menu.active {
        display: block;
    }

    .menu-inner {
        flex-direction: column;
        padding: 0;
        width: 100% !important;
        height: auto !important;
    }

    .menu-inner li {
        border-bottom: 1px solid #eee;
        text-align: left;
    }

    .menu-inner li a {
        display: flex !important;
        padding: 15px 20px !important;
        font-size: 15px;
        white-space: normal !important;
        line-height: 1.4 !important;
        justify-content: flex-start !important;
    }

    .menu-toggle {
        display: block;
    }

    #footer {
        padding: 40px 20px;
    }

    #footer-link,
    #footer-logo {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    #footer-link ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #footer-link li {
        display: block;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 8px;
    }

    #footer-logo img {
        width: 140px;
        /* Reduced label size for mobile */
        max-width: 80%;
    }

    #ss_img {
        width: 80px !important;
    }
}

/* Page Top Button */
.pagetop {
    text-align: right;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.pagetop a {
    color: #999;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
}

.pagetop a::after {
    content: " ▲";
}

#content {
    background: #fff;
}

/* Email Warning Box */
.form-note-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
    text-align: left;
}

.form-note-box p {
    margin: 0 0 10px;
}

.form-note-box p:last-child {
    margin-bottom: 0;
}

.form-note-box .contact-email {
    color: #f39800;
    font-weight: bold;
    text-decoration: none;
}

.form-note-box .contact-email:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-note-box {
        padding: 15px;
        font-size: 13px;
        margin: 20px 0;
    }
}

@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        text-align: center;
    }

    #footer-logo {
        text-align: center;
        width: 100%;
    }

    #footer-link ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}
/* --- FINAL FULL-WIDTH FOOTER BACKGROUND FIX --- */
/* This ensures the grey background spans the edge-to-edge browser window */
#container, 
#footer-all {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#footer {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    float: none !important; /* Safety */
}

/* Ensure the background stays grey */
#footer-all {
    background: #eee !important;
}

@media (max-width: 768px) {
    #footer {
        flex-direction: column !important;
        text-align: center !important;
    }
    #footer-logo {
        text-align: center !important;
        width: 100% !important;
    }
}

/* --- AGGRESSIVE MOBILE LAYOUT FIX --- */
/* Forces everything back to 100% width and centers content to prevent right-shift */
@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    #container, #footer-all {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    #header, #footer, .inner-wrap, .support-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        float: none !important;
    }

    /* Fix disappearance issue */
    #header-logo, #header-link, #footer-logo, #footer-link {
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 0 !important;
        display: block !important;
    }

    #footer-link ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: center !important;
    }

    /* Reset breadcrumbs on mobile */
    .breadcrumbs {
        padding: 10px 15px !important;
        text-align: left !important;
    }
}
