/* ============================================================
   DEEPINDSULE™ - Global Styles
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f6f9fc;
    color: #0b1a2f;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0b1a2f;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: #1a56db;
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.25);
}
.btn-primary:hover {
    background: #0f3b8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 86, 219, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: #1a56db;
    border: 1.5px solid #1a56db;
}
.btn-outline:hover {
    background: #e8f0fe;
}

.btn-success {
    background: #0f7b3a;
    color: #fff;
}
.btn-success:hover {
    background: #0a5f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 123, 58, 0.3);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-dsera {
    background: #0f7b3a;
    color: #fff;
    padding: 12px 36px;
    font-size: 1rem;
    border-radius: 60px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(15, 123, 58, 0.3);
}
.btn-dsera:hover {
    background: #0a5f2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15, 123, 58, 0.4);
}

.btn-nav-dsera {
    background: #0f7b3a;
    color: #fff !important;
    padding: 6px 20px !important;
    border-radius: 40px !important;
    font-weight: 600 !important;
}
.btn-nav-dsera:hover {
    background: #0a5f2e !important;
    color: #fff !important;
}

.btn-nav {
    background: #1a56db;
    color: #fff !important;
    padding: 6px 20px !important;
    border-radius: 40px !important;
    font-weight: 600 !important;
}
.btn-nav:hover {
    background: #2563eb !important;
    color: #fff !important;
}

/* ===== HEADER ===== */
.header {
    background: #0b1a2f;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-text .main {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.06em;
}
.logo-text .main .highlight {
    color: #4a8cff;
}
.logo-text .main .tm {
    font-size: 0.45rem;
    color: #7f8fa4;
    vertical-align: super;
    margin-left: 1px;
}
.logo-text .tagline {
    font-size: 0.45rem;
    color: #7f8fa4;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #b0c0d0;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 40px;
    transition: 0.2s ease;
}
.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.7rem;
    color: #7f8fa4;
}
.header-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-contact .contact-item i {
    color: #4a8cff;
    font-size: 0.7rem;
}
.header-contact .contact-item a {
    color: #b0c0d0;
    text-decoration: none;
    transition: 0.2s ease;
}
.header-contact .contact-item a:hover {
    color: #fff;
}
.header-contact .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: #0b1a2f;
    color: #b0c0d0;
    padding: 32px 0 16px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 24px;
}
.footer h5 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 0.85rem;
}
.footer a {
    display: block;
    color: #b0c0d0;
    text-decoration: none;
    padding: 3px 0;
    font-size: 0.8rem;
    transition: 0.2s ease;
}
.footer a:hover {
    color: #fff;
}
.footer .tagline {
    font-size: 0.9rem;
}
.footer .sub {
    font-size: 0.7rem;
    color: #7f8fa4;
    letter-spacing: 0.04em;
}
.social-icons {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}
.social-icons a {
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}
.social-icons a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 16px;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #7f8fa4;
}
.footer-bottom .built {
    color: #4a8cff;
}
.footer-bottom .env {
    background: rgba(37, 99, 235, 0.15);
    color: #8ab4f8;
    padding: 0 8px;
    border-radius: 40px;
    font-size: 0.5rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 48px 0 32px;
    background: linear-gradient(135deg, #0b1a2f 0%, #1a2d47 100%);
    text-align: center;
    color: #fff;
}
.page-header .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    color: #4a8cff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    border: 1px solid rgba(74, 140, 255, 0.2);
}
.page-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
    max-width: 800px;
    margin: 0 auto;
}
.page-header h1 .highlight {
    color: #4a8cff;
    position: relative;
}
.page-header p {
    font-size: 1.1rem;
    color: #b0c0d0;
    max-width: 640px;
    margin: 8px auto 0;
    line-height: 1.7;
}

/* ===== SECTION UTILITIES ===== */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
    color: #0b1a2f;
}
.section-sub {
    text-align: center;
    color: #5a6b7e;
    font-size: 1rem;
    margin-bottom: 24px;
}
.section-label {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #8a9bb0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0b1a2f;
    color: #fff;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 90%;
    text-align: center;
}
.toast.success {
    background: #22c55e;
}
.toast.error {
    background: #ef4444;
}
.toast .fa-spinner {
    margin-right: 10px;
}
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .header-contact {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: 6px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        text-align: center;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        color: #b0c0d0;
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }
    .btn-nav {
        background: #1a56db;
        color: #fff !important;
    }
    .btn-nav:hover {
        background: #2563eb !important;
        color: #fff !important;
    }
    .btn-nav-dsera {
        background: #0f7b3a;
        color: #fff !important;
    }
    .btn-nav-dsera:hover {
        background: #0a5f2e !important;
        color: #fff !important;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .page-header h1 {
        font-size: 2rem;
    }
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    display: none;
}

@media (max-width: 640px) {
    .logo img {
        height: 40px;
    }
}