/* DELRIQUE INFOTECH - Landing Pages Base Styles */
/* Shared styles for all landing pages */

:root {
    --lp-bg-primary: #020617;
    --lp-bg-secondary: #0f172a;
    --lp-bg-card: #0b132b;
    --lp-border: #1e293b;
    --lp-border-light: #334155;
    --lp-text-primary: #f8fafc;
    --lp-text-secondary: #cbd5e1;
    --lp-text-muted: #94a3b8;
    --lp-accent-blue: #2563eb;
    --lp-accent-cyan: #06b6d4;
    --lp-accent-emerald: #10b981;
    --lp-accent-amber: #f59e0b;
}

/* Reset and base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--lp-bg-primary);
    color: var(--lp-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Common utilities */
.lp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .lp-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lp-container {
        padding: 0 2rem;
    }
}

/* Shared header styles */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.8);
    transition: all 0.3s ease;
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .lp-header-inner {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lp-header-inner {
        padding: 0 2rem;
    }
}

.lp-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--lp-text-primary);
}

.lp-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.4);
}

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

.lp-logo-brand {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.lp-logo-brand-accent {
    color: var(--lp-accent-cyan);
}

.lp-logo-sub {
    font-size: 0.625rem;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Shared footer styles */
.lp-footer {
    background: var(--lp-bg-primary);
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    color: var(--lp-text-muted);
    font-size: 0.75rem;
    padding: 4rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.lp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--lp-bg-secondary);
}

@media (min-width: 768px) {
    .lp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lp-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
        gap: 2.5rem;
    }
}

.lp-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lp-footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--lp-text-primary);
}

.lp-footer-logo-img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.4);
}

.lp-footer-desc {
    color: var(--lp-text-muted);
    line-height: 1.7;
    max-width: 20rem;
}

.lp-footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-footer-social-link {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--lp-border);
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.lp-footer-social-link:hover {
    color: var(--lp-accent-cyan);
    border-color: rgba(6, 182, 212, 0.4);
}

.lp-footer-heading {
    color: var(--lp-text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.lp-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-footer-link {
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer-link:hover {
    color: var(--lp-accent-cyan);
}

.lp-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.lp-footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lp-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-footer-contact-item:hover {
    color: var(--lp-accent-cyan);
}

.lp-footer-contact-icon {
    color: var(--lp-accent-cyan);
    width: 1rem;
    height: 1rem;
}

.lp-footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--lp-text-muted);
    font-size: 0.6875rem;
}

@media (min-width: 1024px) {
    .lp-footer-bottom {
        flex-direction: row;
    }
}

.lp-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

/* Form styles */
.lp-form-group {
    margin-bottom: 1rem;
}

.lp-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lp-text-secondary);
    margin-bottom: 0.375rem;
}

.lp-form-input,
.lp-form-textarea,
.lp-form-select {
    width: 100%;
    background: var(--lp-bg-primary);
    border: 1px solid var(--lp-border);
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    color: var(--lp-text-primary);
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.lp-form-input:focus,
.lp-form-textarea:focus,
.lp-form-select:focus {
    outline: none;
    border-color: var(--lp-accent-cyan);
}

.lp-form-textarea {
    resize: vertical;
    min-height: 5rem;
}

.lp-form-button {
    width: 100%;
    background: linear-gradient(to right, var(--lp-accent-blue), var(--lp-accent-cyan));
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.5);
}

.lp-form-button:hover {
    opacity: 0.9;
}

.lp-form-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Utility classes */
.lp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.lp-hidden {
    display: none !important;
}

/* Prevent horizontal scroll from off-canvas AOS transforms and wide decorations */
html, body {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Ensure anchor scrolling accounts for sticky header */
html {
    scroll-padding-top: 120px;
}

/* AOS safety net: never leave content invisible if AOS fails, is blocked, or is skipped */
html:not(.aos-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Shared mobile navigation (injected by base.js) */
.lp-mobile-menu-btn {
    display: none;
}
.lp-mobile-menu-icon,
.lp-mobile-menu-icon::before,
.lp-mobile-menu-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease;
}
.lp-mobile-menu-icon {
    position: relative;
}
.lp-mobile-menu-icon::before,
.lp-mobile-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}
.lp-mobile-menu-icon::before { top: -6px; }
.lp-mobile-menu-icon::after { top: 6px; }

@media (max-width: 1023.98px) {
    .lp-mobile-menu-btn {
        display: inline-flex;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 60;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: 1px solid rgba(56, 189, 248, 0.35);
        background: rgba(2, 6, 23, 0.9);
        color: #e2e8f0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}
@media (min-width: 1024px) {
    .lp-mobile-menu-btn { display: none !important; }
}

.lp-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
}
.lp-mobile-menu-overlay[hidden] { display: none; }

.lp-mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(84vw, 320px);
    background: #020617;
    border-left: 1px solid rgba(56, 189, 248, 0.25);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    padding: 72px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateX(105%);
    transition: transform 0.24s ease;
    overflow-y: auto;
}
.lp-mobile-menu-panel.is-open { transform: translateX(0); }
.lp-mobile-menu-panel a {
    display: block;
    padding: 12px 8px;
    color: #cbd5e1;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    text-decoration: none;
}
.lp-mobile-menu-panel a:hover,
.lp-mobile-menu-panel a:focus-visible { color: #38bdf8; }
.lp-mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.9);
    color: #e2e8f0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

/* Header navigation safety: keep desktop links on one line and let the
   announcement ribbon collapse before it can wrap into the fixed header. */
header nav {
    flex-wrap: nowrap;
}
header nav a {
    white-space: nowrap;
}

/* Full phone number only appears when there is room for it (xl+). */
@media (max-width: 1279.98px) {
    .lp-phone-full { display: none !important; }
}

/* On tablets and smaller laptops the announcement strip can wrap to 2+ lines
   while the fixed header stays at top-9, which causes the header to overlap it.
   Show the strip only where the full message + CTA fit on one line (xl+). */
@media (max-width: 1279.98px) {
    .lp-announcement-bar { display: none !important; }
    header.fixed,
    div.fixed.top-9 { top: 0 !important; }
}

@media (min-width: 1280px) {
    .lp-announcement-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.25rem;
        padding-top: 0;
        padding-bottom: 0;
        /* Give the ribbon breathing room on left/right so it never
           touches the screen edges or gets clipped. */
        max-width: 100%;
        padding-inline: 1.5rem;
    }
    .lp-announcement-bar > span {
        white-space: nowrap;
        /* Center-align the ribbon text within the bar, never let it
           overflow the viewport. */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        text-align: center;
    }
    .lp-announcement-bar > a {
        flex-shrink: 0;
        margin-left: 0.75rem;
    }
}

/* Keep the announcement ribbon centred when it's visible on xl+. */
.lp-announcement-bar {
    text-align: center;
}

