/*
 * INDUSTRIALX PLATFORM - BRAND DESIGN SYSTEM
 * Option A: Premium Industrial Corporate
 * Color System: Primary Navy (#0D3B66), Industrial Orange (#FF6B00), Background (#F5F7FA)
 */

:root {
    --primary-navy: #0D3B66;
    --primary: #0D3B66;
    --industrial-orange: #FF6B00;
    --accent: #FF6B00;
    --background: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --danger: #DC2626;
    --danger-hover: #B91C1C;
    --success: #10B981;
    --warning: #F59E0B;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER & BRAND NAVIGATION */
header {
    background-color: var(--card-bg);
    border-bottom: 2px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(13, 59, 102, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--primary-navy);
    color: var(--industrial-orange);
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(13, 59, 102, 0.15);
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-navy);
    letter-spacing: 1.5px;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease-in-out;
    padding: 4px 0;
}

nav a:hover, nav a.active {
    color: var(--industrial-orange);
    border-bottom: 2px solid var(--industrial-orange);
}

/* MAIN CONTAINERS */
main {
    flex: 1;
    width: 100%;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-container {
    max-width: 900px;
    margin: 2rem auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.04);
}

/* TYPOGRAPHY */
h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

h2.section-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    border-left: 5px solid var(--industrial-orange);
    padding-left: 12px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 750px;
}

h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

p, li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.effective-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--industrial-orange);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* HERO MARKETING BANNER */
.marketing-hero {
    background: linear-gradient(135deg, #0D3B66 0%, #092A4A 60%, #1E293B 100%);
    color: white;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--industrial-orange);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.15);
    color: #FF8533;
    border: 1px solid rgba(255, 107, 0, 0.4);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.marketing-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.marketing-hero p {
    font-size: 1.2rem;
    color: #CBD5E1;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--industrial-orange);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-hero-primary:hover {
    background-color: #E05E00;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background-color 0.2s ease;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* SECTION STYLING */
.section-block {
    margin-bottom: 4rem;
}

.section-block:last-child {
    margin-bottom: 0;
}

/* CARDS & GRIDS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(13, 59, 102, 0.1);
    border-color: var(--industrial-orange);
}

.card-icon-badge {
    background-color: rgba(13, 59, 102, 0.08);
    color: var(--primary-navy);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy);
    margin-top: 0;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* IMAGE MEDIA CARDS */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.media-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.04);
}

.media-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.media-card-body {
    padding: 20px;
}

.media-card-body h3 {
    margin-top: 0;
    font-size: 17px;
}

.media-card-body p {
    font-size: 14px;
    margin-bottom: 0;
}

/* DISCLAIMER BOXES */
.disclaimer-box {
    background-color: #F8FAFC;
    border-left: 4px solid var(--primary-navy);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 1.5rem;
    line-height: 1.6;
}

.disclaimer-box strong {
    color: var(--primary-navy);
}

/* APP GATEWAY BANNER */
.app-gateway-card {
    background: linear-gradient(135deg, #0D3B66 0%, #1E293B 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.15);
}

.app-gateway-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.app-gateway-content h2 {
    color: white;
    border-left: 4px solid var(--industrial-orange);
    padding-left: 10px;
    margin-top: 0;
    font-size: 1.8rem;
}

.app-gateway-content p {
    color: #CBD5E1;
    font-size: 15px;
    margin-bottom: 1.5rem;
}

/* ALERT BANNERS & NOTICES */
.alert-warning {
    background-color: #FEF3C7;
    border: 1px solid var(--warning);
    color: #92400E;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.alert-error {
    background-color: #FEE2E2;
    border: 1px solid #EF4444;
    color: #B91C1C;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.alert-success {
    background-color: #D1FAE5;
    border: 1px solid var(--success);
    color: #065F46;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

/* FORMS & BUTTONS */
.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: var(--industrial-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: white;
}

.btn-primary:hover {
    background-color: #092A4A;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: var(--danger-hover);
}

.btn-secondary {
    background-color: #E2E8F0;
    color: var(--primary-navy);
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: #CBD5E1;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: white;
    border: 1px solid var(--border);
    color: var(--primary-navy);
    margin-top: 12px;
    font-weight: 700;
}

.google-btn:hover {
    background-color: #F1F5F9;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider::before { margin-right: .75em; }
.divider::after { margin-left: .75em; }

.user-info {
    background-color: #F1F5F9;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-box {
    background-color: var(--background);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 14px;
    margin-top: 2rem;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* FOOTER */
footer {
    background-color: var(--card-bg);
    border-top: 2px solid var(--border);
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 13px;
    color: var(--text-muted);
}

footer .footer-title {
    font-weight: 900;
    color: var(--primary-navy);
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

footer .footer-subtitle {
    margin-bottom: 12px;
    font-size: 14px;
}

footer .footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

footer .footer-links {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

footer a {
    color: var(--industrial-orange);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE LAYOUT (MOBILE < 768px) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 16px;
        padding: 1.25rem 1rem;
    }
    nav {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .marketing-hero {
        padding: 3.5rem 1rem;
    }
    .marketing-hero h1 {
        font-size: 2.1rem;
    }
    .content-wrapper {
        padding: 2rem 1rem;
    }
    .app-gateway-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .app-gateway-content h2 {
        border-left: none;
        padding-left: 0;
    }
}
