:root {
    --bg: #f5f5f5;
    --dark: #353535;
    --blue: #1b95c5;
    --bronze: #ab7442;
}

body {
    background-color: var(--bg);
    color: var(--dark);
    margin: 0;
    /* Changed from height: 100vh to min-height */
    min-height: 100vh; 
    display: flex;
    /* Forces sections to stack vertically */
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    /* Changed from hidden to auto to allow scrolling to the About section */
    overflow-y: auto; 
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* Sticky Header Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern frosted glass effect */
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%); /* Hidden initially */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Class added via JS on scroll */
.main-nav.visible {
    transform: translateY(0);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px; /* Adjust based on your logo aspect ratio */
    width: auto;
}

.btn-nav {
    padding: 8px 20px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 2px;
}

.hero-viewport {
    width: 100%;
    height: 100vh; /* Takes up full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevents the hero from squishing */
    position: relative;
}
/* About Section Styles */
.about-section { padding: 80px 10%; background: white; border-top: 5px solid var(--bronze); }
.section-title { color: var(--blue); text-transform: uppercase; letter-spacing: 2px; border-bottom: 2px solid var(--blue); display: inline-block; margin-bottom: 2rem; }
.pitch-intro { font-size: 1.2rem; line-height: 1.8; margin-bottom: 3rem; color: #555; font-style: italic; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.feature-item { display: flex; align-items: flex-start; gap: 15px; }
.feature-item i { color: var(--blue); font-size: 1.5rem; margin-top: 5px; }

/* Larger Engineer Spoke (matching logo hierarchy) */
.large-spoke { width: 140px !important; height: 140px !important; border-width: 4px !important; border-color: var(--blue) !important; }

.logo-container {
    position: relative;
    width: 650px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Central Hub */
.hub {
    position: relative;
    width: 200px;
    height: 200px;
    background: var(--blue);
    border-radius: 50%;
    z-index: 10; /* Above lines */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    text-align: center;
    /* This ensures the whole circle intercepts the click */
    pointer-events: auto;
}

.hub.expanded {
    background: var(--dark);
    transform: scale(1.1);
}

.hub h2 { margin: 0; font-size: 1.2rem; letter-spacing: 2px; }
.hub p { margin: 0; font-size: 0.7rem; text-transform: uppercase; }

/* The Spokes */
.spoke-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Between Hub and Lines, but we will move icons higher */
    pointer-events: none; /* Clicks pass through to the Hub! */
}

.icon-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: white; /* Covers the line center */
    border: 3px solid var(--bronze);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 20; /* Highest layer */
    pointer-events: auto; /* Re-enable clicks for the icons themselves */
}

/* Calculate position when active */
/* There are 7 items, so roughly 51.4 degrees apart */
.spoke-wrapper.active .icon-box {
    opacity: 1;
    transform: translate(-50%, -50%) 
               rotate(calc(var(--i) * (360deg / 7))) 
               translate(240px) 
               rotate(calc(var(--i) * (-360deg / 7)));
}

.icon-box i { font-size: 24px; color: var(--blue); margin-bottom: 5px; }
.icon-box img { width: 35px; height: 35px; margin-bottom: 5px; }
.icon-box h3 { font-size: 0.7rem; margin: 0; color: var(--dark); text-align: center; }
.icon-box:hover {
    border-color: var(--blue);
    transform: translate(-50%, -50%) 
               rotate(calc(var(--i) * (360deg / 7))) 
               translate(260px) /* Pop out a bit more on hover */
               rotate(calc(var(--i) * (-360deg / 7)))
               scale(1.1);
}
/* Pulsing Animation for the Hub */
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hub::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border: 2px solid var(--blue);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    pointer-events: none;
}

/* Interaction Hint Label */
.click-hint {
    position: absolute;
    bottom: -40px;
    font-size: 0.7rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    animation: fade-in-out 3s infinite;
}

.hub.expanded .click-hint { display: none; }

/* SVG Lines */
.lines-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind everything */
    overflow: visible;
}

.connector-line {
    stroke: var(--dark);
    stroke-width: 2;
    opacity: 0.4; 
    stroke-dasharray: 500; 
    stroke-dashoffset: 500; 
    animation: drawLine 0.8s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.active ~ .lines-container .connector-line, 
.spoke-wrapper.active ~ .lines-container .connector-line {
    stroke-dashoffset: 0;
}
/* Feature Grid Container */
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
    margin-top: 2rem;
}

/* Individual Feature Cards */
.feature-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    padding: 25px;
    background: #fdfdfd; /* Subtle lift from pure white */
    border-radius: 8px;
    border-left: 4px solid var(--bronze); /* Using your Bronze palette variable */
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

/* Hover Effect to signal "Noble Power" and Innovation */
.feature-item:hover {
    transform: translateY(-5px);
    border-left-color: var(--blue); /* Transitions to Pariona Blue on hover */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Icon Styling */
.feature-item i { 
    color: var(--blue); 
    font-size: 1.6rem; 
    margin-top: 3px;
    flex-shrink: 0;
}

/* Text Styling */
.feature-item span { 
    font-size: 1rem; 
    line-height: 1.6;
    color: var(--dark);
}

.feature-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive fix for small screens */
@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* --- New Content Section Styles --- */

.content-block {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-white { background-color: #ffffff; }
.bg-dark { background-color: var(--dark); color: #ffffff; }
.text-white { color: #ffffff; }
.text-bronze { color: var(--bronze); }

.content-wrapper {
    max-width: 1100px;
    width: 100%;
}

.sub-header {
    font-size: 1.1rem; /* Smaller, uppercase label */
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--blue);
    font-weight: 800;
    margin-bottom: 10px;
}

.main-headline {
    font-size: 2.1rem; /* Large, dominant headline */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--dark);
}

.semi-italic {
    font-style: italic;
    font-family: 'Playfair Display', serif; /* Optional: adds a "Noble" feel */
}

.lead-text, .story-p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    margin-bottom: 25px;
}
.lead-text {
    font-size: 1.3rem;
    color: #444;
    font-weight: 500;
}

.story-p {
    font-size: 1.1rem;
    color: #666;
}

.problem-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--bronze);
    margin: 40px 0 20px 0;
    font-weight: 700;
}

/* Constraint List */
.constraint-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: flex-start;
}

.constraint-item {
    width: 260px; /* Fixed width as requested */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark); /* High contrast background */
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    
    border-bottom: 4px solid var(--bronze);
    transition: all 0.3s ease;
}

.constraint-item:hover {
    background: var(--blue);
    transform: translateY(-5px);
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 2px;
}

.btn-primary { background: var(--blue); color: white; }
.btn-secondary { background: var(--bronze); color: white; display: inline-block; margin-top: 20px;}
.btn-outline { border: 2px solid #444; color: white; background-color: #444;}

.btn-primary:hover, .btn-secondary:hover { opacity: 0.9; transform: scale(1.05); }
.btn-outline:hover { opacity: 0.9; transform: scale(1.05); }

/* --- Bridge Section --- */
.bridge-section {
    padding: 80px 10%;
    background: #ebebeb;
    border-left: 10px solid var(--blue);
}

.bridge-text{
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #444;
    font-weight: 500;
    line-height: 0.8cm;
}

.bridge-text1{
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #ebebeb;
    font-weight: 500;
    line-height: 0.8cm;
}
.bridge-text1s{
    font-family: 'Inter', sans-serif;
    font-size: 1.0rem;
    color: #ebebeb;
    font-weight: 500;
    line-height: 0.6cm;
}
/* --- Footer --- */
footer {
    width: 100%;
    padding: 30px;
    background: #222;
    color: #777;
    text-align: center;
    font-size: 0.85rem;
}
/* Enablement Grid */
.enablement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.enable-box {
    border-top: 2px solid var(--bronze);
    padding-top: 25px;
}

.enable-box h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--blue);
}

/* Etymology Section */
.etymology {
    margin: 40px 0;
    font-size: 1.1rem;
    color: var(--dark);
}

.etymology span { margin: 0 15px; }
.etymology .dot { color: var(--bronze); }

/* Final CTA */
.final-cta {
    background: var(--bg);
    border-top: 1px solid #ddd;
}

.footer-logo {
    margin-top: 80px;
}


.footer-logo h2 {
    font-size: 2.5rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bronze);
    font-size: 0.8rem;
}
/* Footer Contact Styling */
.footer-contact {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--bronze);
}

/* Nav Logo specific fix */
.nav-logo {
    height: 45px; /* Size adjusted for the Pariona_logo_FH aspect ratio */
    width: auto;
    object-fit: contain;
}

/* Ensure the sticky header doesn't hide content when jumping to anchors */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}