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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.header {
    background: #1a1f71;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    height: 72px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 60px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-smart {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-presence {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link:hover {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.login-btn {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.cta-btn {
    background: #fff;
    color: #1a1f71;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 8px;
}

.cta-btn:hover {
    background: #f0f0f0;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 50px 60px 60px;
}

.content-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.page-title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1f71;
    text-align: center;
    margin-bottom: 36px;
}

.content-wrapper p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 14px;
    color: #222;
}

.toc-list {
    margin: 16px 0 20px 16px;
    font-size: 14px;
    line-height: 2;
    color: #222;
}

h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f71;
    margin: 36px 0 16px;
}

.num-list {
    margin: 0 0 16px 16px;
    font-size: 14px;
    line-height: 1.75;
    color: #222;
}

.num-list li {
    margin-bottom: 10px;
}

.alpha-list {
    margin: 8px 0 8px 20px;
    font-size: 14px;
    line-height: 1.75;
}

.alpha-list li {
    margin-bottom: 8px;
}

.roman-list {
    margin: 6px 0 6px 20px;
    font-size: 14px;
    line-height: 1.75;
}

.roman-list li {
    margin-bottom: 6px;
}

strong {
    font-weight: 600;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: #1a1f71;
    padding: 60px;
    margin-top: 20px;
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 28px;
    max-width: 480px;
}

.cta-yellow-btn {
    display: inline-block;
    background: #f5c518;
    color: #1a1f71;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 8px;
}

.cta-yellow-btn:hover {
    background: #e6b800;
}

/* Phone Mockups */
.cta-phones {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

.phone {
    width: 170px;
    height: 320px;
    background: #1a1a2e;
    border-radius: 28px;
    padding: 8px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.phone-back {
    transform: rotate(-8deg) translateY(15px);
    z-index: 1;
}

.phone-front {
    transform: rotate(5deg);
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 3px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f5f7fa;
    border-radius: 22px;
    overflow: hidden;
    padding: 20px 10px 10px;
}

/* App UI - Back Phone */
.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.app-logo-small {
    font-size: 7px;
    font-weight: 700;
    color: #1a1f71;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 4px;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border-radius: 10px;
    gap: 4px;
}

.app-card span {
    font-size: 6px;
    font-weight: 600;
    color: #fff;
}

.app-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card.teal { background: linear-gradient(135deg, #26a69a, #00897b); }
.app-card.red { background: linear-gradient(135deg, #ef5350, #c62828); }
.app-card.orange { background: linear-gradient(135deg, #ffa726, #f57c00); }
.app-card.green { background: linear-gradient(135deg, #66bb6a, #43a047); }
.app-card.purple { background: linear-gradient(135deg, #ab47bc, #7b1fa2); }
.app-card.blue { background: linear-gradient(135deg, #42a5f5, #1e88e5); }

/* App UI - Front Phone */
.app-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1a1f71, #3949ab);
    border-radius: 50%;
}

.app-user-info {
    display: flex;
    flex-direction: column;
}

.app-user-name {
    font-size: 8px;
    font-weight: 700;
    color: #1a1f71;
}

.app-user-role {
    font-size: 6px;
    color: #888;
}

.app-content {
    padding: 0 4px;
}

.app-status-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-circle.green {
    background: #4caf50;
}

.app-status-card span {
    font-size: 7px;
    font-weight: 600;
    color: #333;
}

.app-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.app-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.app-menu-item span {
    font-size: 5px;
    color: #555;
}

.menu-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon.blue-bg { background: #1a1f71; }
.menu-icon.red-bg { background: #e53935; }
.menu-icon.orange-bg { background: #fb8c00; }
.menu-icon.green-bg { background: #43a047; }

/* ===== FOOTER ===== */
.footer {
    background: #fff;
    padding: 50px 60px 24px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
}

.footer-logo {
    flex-shrink: 0;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-text-footer {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-smart-footer {
    color: #1a1f71;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-presence-footer {
    color: #1a1f71;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-nav {
    display: flex;
    gap: 50px;
    flex: 1;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1a1f71;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 12px;
    color: #555;
}

.footer-col ul li a:hover {
    color: #1a1f71;
}

.footer-col.contact {
    flex: 1;
    min-width: 260px;
}

.footer-col.contact .addr {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-col.contact .email-link {
    font-size: 12px;
    color: #1a1f71;
    text-decoration: underline;
    margin-bottom: 6px;
}

.footer-col.contact .phone-info,
.footer-col.contact .wa-info {
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-phone, .icon-wa {
    flex-shrink: 0;
}

.socials {
    display: flex;
    gap: 8px;
    margin: 14px 0;
}

.social-icon {
    width: 28px;
    height: 28px;
    background: #1a1f71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-icon:hover {
    background: #2a2f81;
}

.complaint-box {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
}

.complaint-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1f71;
    margin-bottom: 6px;
}

.complaint-box p {
    font-size: 11px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 3px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 30px auto 0;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
    font-size: 12px;
    color: #555;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #1a1f71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26,31,113,0.35);
    z-index: 1000;
    transition: transform 0.2s;
}

.chat-widget:hover {
    transform: scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-container { padding: 0 30px; }
    .nav { gap: 18px; }
    .main-content { padding: 40px 30px; }
    .cta-banner { padding: 40px 30px; }
    .footer { padding: 40px 30px 20px; }
}

@media (max-width: 768px) {
    .header-container { padding: 0 16px; }
    .nav { display: none; }
    .main-content { padding: 24px 16px; }
    .page-title { font-size: 28px; }
    .cta-container { flex-direction: column; text-align: center; }
    .cta-content h2 { max-width: 100%; font-size: 24px; }
    .cta-phones { justify-content: center; }
    .phone { width: 130px; height: 240px; }
    .footer-container { flex-direction: column; }
    .footer-nav { flex-wrap: wrap; gap: 30px; }
}
