@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@400;500;700&display=swap');

:root {
    --primary: #FF3D3D;
    --primary-light: #FF6666;
    --secondary: #FF80A0;
    --accent: #7A0019;
    --bg: #FFFFFF;
    --surface: #FFF9F9;
    --text: #1A0B0B;
    --text-muted: #665555;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 20px 40px rgba(255, 61, 61, 0.12);
    --shadow-hover: 0 30px 60px rgba(255, 61, 61, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
    padding: 10px 0;
}

.nav-item a {
    font-weight: 500;
}

.nav-item i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: var(--transition);
}

.nav-item:hover i {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: white;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 61, 61, 0.05);
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--surface);
    color: var(--primary);
    padding-left: 2rem;
}

/* Hero */
.hero {
    min-height: 70vh;
    padding-top: 120px; /* Increased offset for fixed header */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero.full-height {
    height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
    z-index: 1;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    transition: transform 10s ease-in-out;
}

.hero:hover .hero-img {
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 850px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto 2rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-image-bg {
    display: none; /* Deprecated in favor of .hero-img */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 61, 61, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 61, 61, 0.4);
}

/* 4 Pillars Section */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 61, 61, 0.05);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.pillar-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--surface), #fff);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

/* Modernization Diagram (Circular Infographic) */
.modernization-diagram {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 800px;
    margin: 4rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-hub {
    width: 280px;
    height: 280px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 10;
    box-shadow: 0 0 50px rgba(255, 61, 61, 0.3);
    border: 10px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.center-hub:hover {
    transform: scale(1.05);
    box-shadow: 0 0 70px rgba(255, 61, 61, 0.5);
}

.center-hub h3 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.point {
    position: absolute;
    width: 220px;
    background: white;
    padding: 1.2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    z-index: 5;
    transition: var(--transition);
}

.point strong {
    display: block;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.point p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.point:hover {
    transform: scale(1.1) !important;
    z-index: 15;
    box-shadow: var(--shadow-hover);
}

/* Position the 8 points in a circle */
/* Each point is at 45 degree intervals: 0, 45, 90, 135, 180, 225, 270, 315 */
.point:nth-of-type(2) { top: 50%; right: -50px; transform: translateY(-50%); } /* 0 deg */
.point:nth-of-type(3) { bottom: 10%; right: 0; }                             /* 45 deg approx */
.point:nth-of-type(4) { bottom: -40px; left: 50%; transform: translateX(-50%); } /* 90 deg */
.point:nth-of-type(5) { bottom: 10%; left: 0; }                             /* 135 deg approx */
.point:nth-of-type(6) { top: 50%; left: -50px; transform: translateY(-50%); }  /* 180 deg */
.point:nth-of-type(7) { top: 10%; left: 0; }                                /* 225 deg approx */
.point:nth-of-type(8) { top: -40px; left: 50%; transform: translateX(-50%); }    /* 270 deg */
.point:nth-of-type(9) { top: 10%; right: 0; }                               /* 315 deg approx */

/* Connector Lines (Pure CSS) */
.modernization-diagram::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(255, 61, 61, 0.2);
    border-radius: 50%;
    z-index: 1;
}

/* Product Ecosystem Diagram */
.ecosystem-diagram {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    gap: 2rem;
}

.ecosystem-hub {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(255, 61, 61, 0.15);
    border: 8px solid var(--primary);
    position: relative;
    margin: 0 auto;
}

.ecosystem-side {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.product-info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.product-info-card h3 {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-info-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.ecosystem-left .product-info-card { border-left: none; border-right: 5px solid var(--primary); text-align: right; }
.ecosystem-left .product-info-card:hover { transform: translateX(-10px); }

@media (max-width: 992px) {
    .ecosystem-diagram {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .ecosystem-hub { margin-bottom: 2rem; }
    .ecosystem-left .product-info-card { text-align: left; border-right: none; border-left: 5px solid var(--primary); }
    .ecosystem-left .product-info-card:hover { transform: translateX(10px); }
}

/* Value Prop Section */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.prop-card {
    padding: 2rem;
    background: var(--surface);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

.prop-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--accent);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .modernization-diagram { transform: scale(0.8); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .modernization-diagram { 
        height: auto;
        display: block;
        width: 100%;
        transform: none;
    }
    .point {
        position: static;
        width: 100%;
        margin-bottom: 1rem;
        padding: 15px;
        background: var(--surface);
        border-radius: 10px;
    }
    .center-circle { margin-bottom: 2rem; width: 100%; height: auto; border-radius: 10px; }
}

/* Hexagonal Infographic */
.recon-infographic {
    padding: 100px 0;
    background: var(--surface);
}

.hex-grid {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    height: 900px;
    display: block;
}

.hex-item {
    position: absolute;
    display: flex;
    align-items: center;
    width: 500px;
}

.hex-shape {
    width: 120px;
    height: 140px;
    background: #FFF0F0; /* Pale pink background */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #FF80A0; /* Lighter red/pink border */
    box-shadow: 0 10px 30px rgba(255, 61, 61, 0.05);
    position: relative;
    z-index: 2;
}

.hex-shape::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: #FF3D3D;
}

.hex-label {
    width: 300px;
    padding: 0.5rem;
    font-weight: 500;
    color: #443333;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.3;
}

.hex-item.left { 
    right: 50%; 
    justify-content: flex-start;
    padding-right: 20px;
}

.hex-item.right { 
    left: 50%; 
    justify-content: flex-end;
    padding-left: 20px;
}

.hex-item.left .hex-label { margin-right: 40px; text-align: right; }
.hex-item.right .hex-label { margin-left: 40px; text-align: left; }

/* Connector lines with dots */
.hex-item::before {
    content: '';
    position: absolute;
    height: 1px;
    background: #FF3D3D;
    width: 120px;
    top: 50%;
    z-index: 0;
}

.hex-item::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF3D3D;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hex-item.left::before { 
    right: 0; 
    width: 100px;
}
.hex-item.left::after { 
    right: 100px; 
}

.hex-item.right::before { 
    left: 0; 
    width: 100px;
}
.hex-item.right::after { 
    left: 100px; 
}

.hex-item.left .hex-shape {
    order: 2;
}
.hex-item.left .hex-label {
    order: 1;
    margin-right: 120px;
    text-align: right;
}

.hex-item.right .hex-shape {
    order: 1;
}
.hex-item.right .hex-label {
    order: 2;
    margin-left: 120px;
    text-align: left;
}

/* Vertically position 7 hex items with staggered horizontal offset */
.hex-item:nth-of-type(1) { top: 0; }
.hex-item:nth-of-type(2) { top: 110px; left: calc(50% + 60px); }
.hex-item:nth-of-type(3) { top: 220px; }
.hex-item:nth-of-type(4) { top: 330px; left: calc(50% + 60px); }
.hex-item:nth-of-type(5) { top: 440px; }
.hex-item:nth-of-type(6) { top: 550px; left: calc(50% + 60px); }
.hex-item:nth-of-type(7) { top: 660px; }

/* Technical Features Section */
.tech-features {
    background: #1A0B0B;
    color: white;
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tech-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.tech-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #FFFFFF;
}

.tech-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .hex-grid { height: auto; display: flex; flex-direction: column; gap: 3rem; }
    .hex-item { position: static; transform: none !important; margin: 0 !important; flex-direction: column-reverse; height: auto; padding: 0 !important; }
    .hex-label { width: 100%; margin: 0 0 20px 0 !important; text-align: center !important; }
    .hex-item::before, .hex-item::after { display: none; }
}
