/* Base styles and CSS variables */
:root {
    /* Colors — Swurv navy/orange (docs/design/DESIGN_SYSTEM.md) */
    --primary: #1F1E5B;
    --primary-dark: #16154A;
    --secondary: #5E5D8A;
    --accent: #F0790C;
    --accent-light: #F29E4D;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Z-index */
    --z-header: 50;
    --z-modal: 1000;
    --z-tooltip: 1100;
}
/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Base styles */
html {
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}
body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-4);
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p {
    margin-bottom: var(--spacing-4);
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-dark);
}
code {
    background: var(--gray-100);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.9em;
}
mark {
    background: var(--secondary);
    color: var(--white);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
}
/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}
/* Main Content */
.main-content {
    padding-top: 0;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: var(--spacing-20) 0;
    padding-top: calc(var(--spacing-20) + 4rem);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-8);
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}
/* Content Section */
.content-section {
    background: var(--white);
    padding: var(--spacing-20) 0;
}
.content-section.bg-gray-50 {
    background: var(--gray-50);
}
.content-wrapper {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}
.content-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}
.content-card:last-child {
    margin-bottom: 0;
}
/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
    margin-top: var(--spacing-8);
}
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-card {
    text-align: center;
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-4);
}
/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: var(--spacing-4) 0;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.data-table th,
.data-table td {
    padding: var(--spacing-4);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.data-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}
.data-table tr:last-child td {
    border-bottom: none;
}
/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25em 0.75em;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}
.status-badge.active {
    background: var(--success);
    color: var(--white);
}
.status-badge.pending {
    background: var(--warning);
    color: var(--white);
}
/* Forms */
.form-grid {
    display: grid;
    gap: var(--spacing-6);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}
.form-control {
    padding: var(--spacing-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 109, 111, 0.1);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    cursor: pointer;
}
.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-300);
    appearance: none;
    cursor: pointer;
    position: relative;
}
.form-checkbox:checked {
    background: var(--primary);
    border-color: var(--primary);
}
.form-checkbox:checked::after {
    content: '✓';
    position: absolute;
    color: var(--white);
    font-size: 0.875rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-sm {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.875rem;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}
.btn-secondary:hover {
    background: var(--gray-300);
}
.btn-danger {
    background: var(--error);
    color: var(--white);
}
.btn-danger:hover {
    background: #DC2626;
}
/* Alerts */
.alert {
    display: flex;
    gap: var(--spacing-4);
    padding: var(--spacing-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-4);
}
.alert-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.alert-content {
    flex: 1;
}
.alert-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-2);
}
.alert-success {
    background: #ECFDF5;
    color: #065F46;
}
.alert-warning {
    background: #FFFBEB;
    color: #92400E;
}
.alert-error {
    background: #FEF2F2;
    color: #991B1B;
}
/* Progress Bars */
.progress-group {
    margin-bottom: var(--spacing-6);
}
.progress-bar {
    height: 0.5rem;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: var(--spacing-2) 0;
}
.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}
.progress-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}
/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
/* Responsive breakpoints */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
/* Updates Grid */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.update-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.update-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.update-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.update-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.update-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}
/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.feature-card .card-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-card .section-list {
    text-align: left;
    margin-top: 1rem;
}
.feature-card .section-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}
/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}
.status-badge.success {
    background-color: var(--success-light);
    color: var(--success);
}
/* Text Alignment */
.text-center {
    text-align: center;
}
/* Section Spacing */
.content-section {
    padding: 4rem 0;
}
.content-section.bg-gray-50 {
    background-color: var(--gray-50);
}
/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .content-section {
        padding: 3rem 0;
    }
}
/* Global Footer Styles */
.global-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand {
    max-width: 300px;
}
.footer-brand .logo a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-tagline {
    color: var(--white);
    opacity: 0.8;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 0.75rem;
}
.footer-list a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-list a:hover {
    opacity: 1;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}
.copyright {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.9rem;
}
/* Text Formatting */
.section-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 2rem;
}
.section-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.section-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-700);
}
.section-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
/* Responsive Footer */
@media (max-width: 768px) {
    .global-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-list {
        margin-bottom: 2rem;
    }
}
/* Global Header Styles */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.global-header.scrolled {
    background: rgba(0, 109, 111, 0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.logo a {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo img {
    height: 40px;
    width: auto;
}
/* NEW STANDARD: Hero Logo Styles */
.hero-logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    transform: rotate(-45deg);
    transform-origin: center;
}
.hero-logo img {
    height: 100px;
    width: auto;
}
/* Mobile responsive */
@media (max-width: 768px) {
    .hero-logo {
        display: none;
    }
}
/* Responsive styles */
@media (max-width: 768px) {
    .global-header {
        padding: 0.5rem 0;
    }
    
    .logo a {
        font-size: 1.25rem;
    }
}
/* Global Footer Styles */
.global-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand {
    max-width: 300px;
}
.footer-brand .logo a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-tagline {
    color: var(--white);
    opacity: 0.8;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li {
    margin-bottom: 0.75rem;
}
.footer-list a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-list a:hover {
    opacity: 1;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}
.copyright {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.9rem;
}
/* Responsive styles */
@media (max-width: 768px) {
    .global-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-list {
        margin-bottom: 2rem;
    }
} 