/* ==========================================
   AXISTACK Brand Styles
   Following AXISTACK Brand Presentation Manual
   ========================================== */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Brand Color Palette */
:root {
    /* Primary Colors */
    --gunmetal: #022B3A;           /* Pantone 539 XGC - Main brand color */
    --blue-ncs: #0094C6;           /* Pantone 639 XGC - Accent color */
    --goldenrod: #D5A021;          /* Pantone 2007 C - Dynamic accent */
    
    /* Quaternary Colors */
    --rich-black: #11151C;         /* Pantone 19-4006 TPG */
    --baby-powder: #F7F7F2;        /* Pantone 663 XGC */
    
    /* Functional Colors */
    --text-primary: #11151C;
    --text-secondary: #022B3A;
    --text-light: #5A6C7D;
    --bg-primary: #FFFFFF;
    --bg-light: #F7F7F2;
    --border-color: #E5E7EB;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(2, 43, 58, 0.05);
    --shadow-md: 0 4px 6px rgba(2, 43, 58, 0.07);
    --shadow-lg: 0 10px 15px rgba(2, 43, 58, 0.1);
    --shadow-xl: 0 20px 25px rgba(2, 43, 58, 0.15);
}

/* Typography - Following brand guidelines */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navigation */
nav {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--blue-ncs);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--gunmetal) 0%, #034159 100%);
    color: white;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, var(--blue-ncs) 12%, transparent 12.5%, transparent 87%, var(--blue-ncs) 87.5%, var(--blue-ncs)),
        linear-gradient(150deg, var(--blue-ncs) 12%, transparent 12.5%, transparent 87%, var(--blue-ncs) 87.5%, var(--blue-ncs)),
        linear-gradient(30deg, var(--blue-ncs) 12%, transparent 12.5%, transparent 87%, var(--blue-ncs) 87.5%, var(--blue-ncs)),
        linear-gradient(150deg, var(--blue-ncs) 12%, transparent 12.5%, transparent 87%, var(--blue-ncs) 87.5%, var(--blue-ncs));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: var(--baby-powder);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--blue-ncs);
    color: white;
}

.btn-primary:hover {
    background-color: #0078A8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--gunmetal);
}

.btn-accent {
    background-color: var(--goldenrod);
    color: var(--rich-black);
}

.btn-accent:hover {
    background-color: #C39520;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Value Proposition Section */
.value-proposition {
    padding: 6rem 2rem;
    background-color: var(--bg-light);
}

.value-proposition h2 {
    text-align: center;
    color: var(--gunmetal);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 3px solid var(--blue-ncs);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--goldenrod);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--gunmetal);
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Capabilities Section */
.capabilities {
    padding: 6rem 2rem;
    background-color: white;
}

.capabilities-header {
    text-align: center;
    margin-bottom: 4rem;
}

.capabilities-header h2 {
    color: var(--gunmetal);
    margin-bottom: 1rem;
}

.capabilities-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    background-color: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--blue-ncs);
}

.capability-item h3 {
    color: var(--gunmetal);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.capability-item ul {
    list-style: none;
    padding: 0;
}

.capability-item ul li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.capability-item ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background-color: var(--blue-ncs);
    border-radius: 50%;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gunmetal) 0%, #034159 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    color: var(--baby-powder);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--rich-black);
    color: var(--baby-powder);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--baby-powder);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--baby-powder);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--blue-ncs);
}

.footer-bottom {
    border-top: 1px solid rgba(247, 247, 242, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--baby-powder);
    opacity: 0.6;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav .logo-img {
        height: 35px;
    }
    
    .hero {
        padding: 5rem 1.5rem 4rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .value-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-proposition,
    .capabilities,
    .cta-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.875rem;
    }
}
