/* Minimalist reset and base styles */
:root {
    /* Color system */
    --primary-color: #2B2D42;
    --secondary-color: #EDF2F4;
    --accent-color: #D90429;
    --text-color: #2B2D42;
    --background-color: #ffffff;
    --border-color: rgba(43, 45, 66, 0.15);
    
    /* Layout & Spacing */
    --max-width: 1440px;
    --container-width: 1200px;
    --footer-height: 80px;
    --header-height: 80px;
    --section-margin: 4rem;
    --standard-padding: 2rem;
    --standard-gap: 1.5rem;
    
    /* UI Elements */
    --border-radius: 4px;
    --shadow-small: 0 1px 3px rgba(43, 45, 66, 0.08);
    --shadow-medium: 0 4px 12px rgba(43, 45, 66, 0.1);
    --transition-standard: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance optimizations */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Content-visibility for off-screen content */
section, .feature-grid, .page-content {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px; /* Approximate size to prevent jumps */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Image optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.header-logo {
    width: 30px;
    height: 30px;
}

img.footer-logo {
    width: 30px; 
    height: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 3.8rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 0;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.25px;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-standard);
}

.text-center {
    text-align: center;
}

/* Buttons & Interactive Elements */
button, .button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: var(--transition-standard);
    outline: none;
}

button:hover, .button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-small);
}

button:active, .button:active {
    transform: translateY(0);
}

/* Layout */
.minimal-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    width: 100%;
    position: relative;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: var(--standard-padding);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

/* Welcome Title - Unified across all pages */
.welcome-title {
    margin-bottom: 0;
    padding-top: 4rem;
    font-size: 4.2rem;
    font-weight: 500;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-content {
    max-width: 900px;
    text-align: center;
    padding-bottom: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Footer */
.minimal-footer {
    flex-shrink: 0;
    width: 100%;
    padding: var(--standard-padding) 0;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: var(--footer-height);
    margin-top: auto;
    text-align: center;
    box-shadow: 0 -1px 0 var(--border-color);
}

.footer-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 0.5rem;
    color: var(--text-color);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.coming-soon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.coming-soon-badge {
    font-size: 0.65rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-left: 0.3rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.flag {
    margin-left: 0.25rem;
}

.made-in-america {
    font-weight: 500;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
    width: 100%;
    max-width: var(--max-width);
    margin-top: 1.5rem;
}

.footer-logo {
    width: auto;
    height: 0.9rem;
    margin-right: 2rem;
}

/* Feature Grid Systems - Unified for all pages */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
    width: 100%;
}

.feature-card, .philosophy-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-small);
}

.feature-card:hover, .philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-value {
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.feature-text, .philosophy-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    max-width: 90%;
    margin: 0 auto;
}

/* Section Styles */
.black-section {
    background-color: var(--primary-color);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    overflow: hidden;
}

.black-section svg {
    max-width: 840px;
    width: 90%;
    height: auto;
}

/* Page content shared spacing */
.page-content {
    padding: 3rem var(--standard-padding);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-content .welcome-title {
    margin-bottom: 2.5rem;
}

/* Form Elements - Unified Design */
input, select, textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition-standard);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 45, 66, 0.1);
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .main-header, .minimal-footer, .black-section {
        display: none;
    }
    
    .content-wrapper, .page-content {
        margin: 0;
        padding: 0;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        page-break-inside: avoid;
        max-width: 100% !important;
    }
    
    .feature-grid {
        display: block;
    }
    
    .feature-card, .philosophy-card {
        page-break-inside: avoid;
        margin-bottom: 20px;
        border: 1px solid #ddd;
    }
}

/* Mobile optimizations */
.is-mobile img {
    transform: translateZ(0); /* Force GPU acceleration */
}

.is-mobile .feature-card, 
.is-mobile .philosophy-card {
    will-change: transform;
}

/* Responsive styles */
@media (max-width: 768px) {
    :root {
        --standard-padding: 1.5rem;
        --standard-gap: 1.25rem;
        --section-margin: 3rem;
        --footer-height: 100px;
        --header-height: 70px;
    }
    
    html {
        scroll-padding-top: var(--header-height);
    }
    
    h1 {
        font-size: 2.8rem;
        letter-spacing: -0.5px;
        white-space: normal;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .footer-nav ul {
        gap: 1.75rem;
    }
    
    .footer-nav a {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
    
    .copyright {
        font-size: 0.7rem;
        padding-top: 0.65rem;
    }
    
    .footer-logo {
        height: 0.85rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .welcome-title {
        font-size: 3.5rem;
        padding-top: 3.5rem;
    }
    
    .black-section svg {
        width: 85%;
    }
    
    .feature-grid {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .feature-card, .philosophy-card {
        padding: 1.75rem;
        min-height: 100px;
    }
    
    .feature-value {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 2rem var(--standard-padding);
    }
    
    /* Reduce motion for better performance */
    .feature-card:hover, .philosophy-card:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 576px) {
    :root {
        --standard-padding: 1rem;
        --standard-gap: 1rem;
        --section-margin: 2rem;
        --footer-height: 85px;
        --header-height: 60px;
    }
    
    html {
        scroll-padding-top: var(--header-height);
    }
    
    h1 {
        font-size: 2.2rem;
        white-space: normal;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p {
        font-size: 0.9375rem;
    }
    
    .content-wrapper {
        padding: 0 var(--standard-padding);
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0.15rem;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
    
    .minimal-footer {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-nav a {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .copyright {
        font-size: 0.7rem;
        padding-top: 0.25rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-logo {
        height: 0.8rem;
    }
    
    .welcome-title {
        font-size: 3rem;
        padding-top: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-grid {
        gap: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .feature-card, .philosophy-card {
        padding: 1.5rem;
        min-height: 90px;
    }
    
    .feature-value {
        font-size: 1.75rem;
    }
    
    .page-content {
        padding: 1.5rem var(--standard-padding);
    }
    
    .main-header {
        position: fixed;
    }
    
    .black-section svg {
        width: 85%;
    }
    
    /* Further reduce motion for small screens */
    .feature-card:hover, .philosophy-card:hover {
        transform: translateY(-1px);
    }
    
    /* Simplified transitions for better performance */
    button, .button, a, .feature-card, .philosophy-card {
        transition: all 0.2s ease;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .feature-card:hover, .philosophy-card:hover {
        transform: none;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* End of file */ 