/* Neoterics/MAGI Page Styles */
/* Based on Canva mockup design with dark blue and cream alternating sections */

:root {
    --dark-blue: #050d18;
    --cream: #f0ebe1;
    --text-dark: #050d18;
    --text-light: #f0ebe1;
}

/* Base Styles - Override Bootstrap body */
.neoterics-page {
    font-family: 'Biryani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure body inherits our font */
body.neoterics-body {
    font-family: 'Biryani', sans-serif !important;
}

.neoterics-page * {
    box-sizing: border-box;
}

/* Global Font Rules - Override Bootstrap Typography */
.neoterics-page h1,
.neoterics-page h2,
.neoterics-page h3,
.neoterics-page h4,
.neoterics-page h5,
.neoterics-page h6,
.neoterics-page .h1,
.neoterics-page .h2,
.neoterics-page .h3,
.neoterics-page .h4,
.neoterics-page .h5,
.neoterics-page .h6 {
    font-family: 'Tenor Sans', serif !important;
    font-weight: 400 !important;
}

.neoterics-page p,
.neoterics-page li,
.neoterics-page a,
.neoterics-page span,
.neoterics-page blockquote,
.neoterics-page .text-muted,
.neoterics-page .lead,
.neoterics-page .small {
    font-family: 'Biryani', sans-serif !important;
}

/* Override Bootstrap button fonts */
.neoterics-page .btn,
.neoterics-page button {
    font-family: 'Biryani', sans-serif !important;
}

/* Container */
.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Section Styles */
.section-dark {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 5rem 0;
}

.section-light {
    background-color: var(--cream);
    color: var(--text-dark);
    padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    background-image: url('https://pocket-watch-asset-library.s3.us-east-1.amazonaws.com/shared/images/illustrations/neoterics-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 13, 24, 0.7);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 75rem;
}

.hero-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    flex-wrap: nowrap;
}

.hero-icon {
    height: auto;
    width: auto;
    max-height: 12rem;
    opacity: 0.9;
    filter: drop-shadow(0 0.25rem 0.375rem rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
    object-fit: contain;
    align-self: stretch;
}

.hero-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}

.hero-title {
    font-family: 'Tenor Sans', serif !important;
    font-size: clamp(3rem, 10vw, 113.406pt);
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1;
    margin: 0;
}

.hero-subtitle {
    font-family: 'Tenor Sans', serif !important;
    font-size: clamp(1.5rem, 4vw, 42.6667pt);
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--text-light);
    opacity: 0.9;
    margin-top: 1rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* CTA Buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary, .cta-tertiary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cta-primary {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px 0 rgba(6, 182, 212, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px 0 rgba(6, 182, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px 0 rgba(255, 255, 255, 0.1);
}

.cta-tertiary {
    background-color: transparent;
    color: var(--text-light);
    text-decoration: underline;
    border: none;
    padding: 0.875rem 1rem;
}

.cta-tertiary:hover {
    opacity: 0.7;
}

/* Section Titles */
.section-title {
    font-family: 'Tenor Sans', serif !important;
    font-size: 3.5rem;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-dark .section-title {
    color: var(--text-light);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

.section-light .section-title {
    color: var(--text-dark);
    text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.9),
        0 4px 8px rgba(255, 255, 255, 0.7),
        0 8px 16px rgba(255, 255, 255, 0.5);
}

/* Quote Styles */
.quote-text {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 300;
}

.quote {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    margin: 2rem auto 3rem;
    max-width: 56rem;
    padding: 0;
    border: none;
    font-style: italic;
    letter-spacing: 0.037em;
}

.section-dark .quote {
    color: var(--text-light);
}

.section-light .quote {
    color: var(--text-dark);
}

/* Body Text */
.body-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto 2rem;
    letter-spacing: 0.037em;
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    max-width: 50rem;
}

/* Characteristics Grid Layout */
.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.characteristic-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(1.2);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px 0 rgba(31, 38, 135, 0.1),
        0 1px 8px 0 rgba(0, 0, 0, 0.2);
}

.characteristic-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.2),
        0 4px 16px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.characteristic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
}

.characteristic-card h3 {
    font-family: 'Tenor Sans', serif !important;
    font-size: 1.25rem;
    font-weight: 600 !important;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.characteristic-card p {
    font-family: 'Biryani', sans-serif !important;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-light);
    opacity: 0.9;
    margin: 0;
}

/* Mobile responsiveness for characteristics */
@media (max-width: 768px) {
    .characteristics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .characteristic-card {
        padding: 1.5rem;
    }
    
    .characteristic-icon {
        font-size: 2.5rem;
    }
}

/* Tech Section */
.tech-section {
    margin-bottom: 3rem;
}

.tech-section h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-dark .tech-section h3 {
    color: var(--text-light);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.section-light .tech-section h3 {
    color: var(--text-dark);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(255, 255, 255, 0.6);
}

.tech-section h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-style: italic;
}

.tech-section p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.037em;
}

.tech-section ul {
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}

.tech-section li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.tech-section li:before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Matter Section */
.matter-section {
    margin-bottom: 3rem;
}

.matter-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(255, 255, 255, 0.6);
}

.matter-section ul {
    font-size: 1rem;
    text-align: left;
}

.matter-section li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.matter-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
}

/* Safety Section */
.safety-section {
    margin-bottom: 3rem;
}

.safety-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.4);
}

.safety-section p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: 0.037em;
}

.safety-section ul {
    font-size: 1rem;
    text-align: left;
}

.safety-section li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.safety-section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-light);
}

/* Commercial Section */
.commercial-section {
    text-align: center;
    margin-top: 3rem;
}

.commercial-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 4px 8px rgba(0, 0, 0, 0.5);
}

.commercial-section p {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Implementation Section */
.implementation-text {
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.implementation-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.implementation-list {
    font-size: 1.2rem;
    text-align: left;
    max-width: 50rem;
    margin: 0 auto 3rem;
}

.implementation-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--text-dark);
}

.implementation-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-dark);
}

.implementation-cta {
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem 0;
    color: var(--text-dark);
}

.learn-more {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: underline;
    text-align: center;
    margin-top: 2rem;
    transition: opacity 0.3s ease;
}

.learn-more:hover {
    opacity: 0.7;
}

/* Contact Section */
.contact-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.25rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.contact-emphasis {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-top: 0.5rem;
}

.cta-group-final {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-group-final .cta-primary,
.cta-group-final .cta-secondary,
.cta-group-final .cta-tertiary {
    min-width: 200px;
}

/* Partnership Badge */
.partnership-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1rem 0 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px) saturate(1.2);
    -webkit-backdrop-filter: blur(15px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        0 2px 16px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.partner-text {
    font-size: 1rem;
    color: var(--text-light);
    opacity: 0.8;
}

.partner-name {
    font-family: 'Tenor Sans', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* Glass Morphism Container for Content */
.glass-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.2),
        0 2px 16px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.section-dark .glass-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.12) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-light .glass-container {
    background: linear-gradient(
        135deg,
        rgba(5, 13, 24, 0.08) 0%,
        rgba(5, 13, 24, 0.05) 50%,
        rgba(5, 13, 24, 0.08) 100%
    );
    border: 1px solid rgba(5, 13, 24, 0.15);
}

/* Section with Illustration Styles */
.section-with-illustration {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 0 auto;
}

.section-with-illustration.reverse {
    flex-direction: row-reverse;
}

.content-column {
    flex: 1;
    min-width: 0;
}

.illustration-column {
    flex: 0 0 auto;
    width: 25rem;
}

.section-illustration {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 
        0 8px 32px 0 rgba(31, 38, 135, 0.2),
        0 2px 16px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjust existing section styles when images are present */
.section-light.with-image .section-title,
.section-dark.with-image .section-title {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .illustration-column {
        width: 20rem;
    }
}

@media (max-width: 992px) {
    .section-with-illustration,
    .section-with-illustration.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .illustration-column {
        width: 100%;
        max-width: 30rem;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-icon {
        max-height: 10rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 90pt);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 30pt);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-icon {
        width: 7.5rem;
        height: 7.5rem;
        align-self: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 7vw, 60pt);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 24pt);
        white-space: normal;
    }
    
    .hero-subtext {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        text-align: center;
    }
    
    .cta-group-final {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-group-final .cta-primary,
    .cta-group-final .cta-secondary,
    .cta-group-final .cta-tertiary {
        width: 100%;
        min-width: unset;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-emphasis {
        font-size: 3rem;
    }
    
    .implementation-text {
        font-size: 1.8rem;
    }
    
    .characteristics-list {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .section-dark,
    .section-light {
        padding: 3rem 0;
    }
    
    ul {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-icon {
        width: 6rem;
        height: 6rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 40pt);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 16pt);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quote {
        font-size: 0.9rem;
    }
    
    .body-text {
        font-size: 0.9rem;
    }
    
    .characteristics-list {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .tech-section p,
    .tech-section ul {
        font-size: 0.95rem;
    }
    
    .matter-section ul {
        font-size: 0.95rem;
    }
}