:root {
    --primary: #FF9800;            
    --primary-dark: #E65100;       
    --primary-light: #FFB74D;
    --secondary: #0a0a0b;         
    --secondary-light: #1A1A1E;   
    --white: #FFFFFF;
    --off-white: #FCFCFD;
    --light-gray: #F5F5F7;
    --border-subtle: rgba(0,0,0,0.06);
    --text-main: #111113;
    --text-muted: #5e5e65;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    --container-width: 1200px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 12px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.08);
    --shadow-orange: 0 12px 28px rgba(230,81,0,0.25);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px; 
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn:hover::after {
    opacity: 1;
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(230,81,0,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-orange);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--border-subtle);
    color: var(--text-main);
}
.btn-outline:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { height: 84px; display: block; transition: transform 0.3s ease; }
.logo:hover .logo-img { transform: scale(1.05); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: block; }
.nav-cta .btn { padding: 10px 24px; font-size: 0.95rem; }
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}
.mobile-nav-toggle span {
    width: 28px; height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: left center;
}
.mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg); width: 30px; }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); width: 30px; }
.hero {
    min-height: 100vh;
    padding: 10rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 4rem;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%; right: 10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(255,152,0,0.06) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,152,0,0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(255,152,0,0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(255,152,0,0.1);
}
.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}
.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 560px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hexagon-frame {
    position: absolute;
    width: 420px; height: 420px;
    opacity: 0.12;
    animation: rotateSlow 60s linear infinite;
}
.hexagon-frame path { fill: none; stroke: var(--primary); stroke-width: 1.5; }
.cube-container { 
    width: 340px; 
    height: 340px; 
    perspective: 1200px; 
    position: relative; 
    z-index: 1; 
}
.cube {
    width: 100%; height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s linear infinite;
}
.face {
    position: absolute;
    width: 220px; height: 220px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,152,0,0.05));
    border: 1px solid rgba(255,152,0,0.3);
    top: 60px; left: 60px;
    backdrop-filter: blur(8px);
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.3),
        0 0 15px rgba(255,152,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Digital Grid Pattern on Face */
.face::before {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(255,152,0,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,152,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.front  { transform: rotateY(0deg)   translateZ(110px); border-color: var(--primary); background: rgba(255,152,0,0.1); }
.back   { transform: rotateY(180deg) translateZ(110px); background: rgba(0,0,0,0.05); border-color: rgba(255,255,255,0.1); }
.right  { transform: rotateY(90deg)  translateZ(110px); border-color: var(--primary-dark); background: rgba(255,152,0,0.05); }
.left   { transform: rotateY(-90deg) translateZ(110px); border-color: #111; background: rgba(0,0,0,0.1); }
.top    { transform: rotateX(90deg)  translateZ(110px); border-color: var(--primary-light); background: rgba(255,152,0,0.08); }
.bottom { transform: rotateX(-90deg) translateZ(110px); border-color: #000; background: rgba(0,0,0,0.15); }

@keyframes rotateCube { 
    from { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); } 
    to { transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg); } 
}
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-title { font-size: 3.5rem; margin-bottom: 1.2rem; font-weight: 800; }
.section-header p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.about { padding: 120px 2rem; background: var(--off-white); position: relative; }
.about-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}
.about-text .section-title { text-align: left; font-size: 3rem; }
.about-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.8rem; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.stat-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,152,0,0.2);
}
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.95rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.pillars { padding: 120px 2rem; max-width: var(--container-width); margin: 0 auto; }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 6rem;
}
.pillar-card {
    padding: 3.5rem 2.5rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.pillar-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
    font-size: 3rem; margin-bottom: 1.5rem;
    display: inline-flex; justify-content: center; align-items: center;
    padding: 1rem;
    background: rgba(255,152,0,0.06);
    border-radius: 16px;
    color: var(--primary);
    transition: var(--transition);
}
.pillar-icon img {
    width: 48px; height: 48px; display: block;
}
.pillar-card:hover .pillar-icon { transform: scale(1.1) rotate(-5deg); background: rgba(255,152,0,0.1); }
.pillar-card h3 { font-size: 1.6rem; margin-bottom: 1rem; font-weight: 800; }
.pillar-card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
.pipeline {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}
.pipeline::before, .pipeline::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.pipeline::before { top: -100px; right: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,152,0,0.15) 0%, transparent 70%); }
.pipeline::after  { bottom: -150px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,152,0,0.1) 0%, transparent 70%); }
.pipeline h3 { font-size: 2.5rem; margin-bottom: 3rem; font-weight: 800; letter-spacing: -0.02em; }
.pipeline-steps { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 1.5rem; 
    flex-wrap: wrap; 
    position: relative; 
    z-index: 1;
}
.step {
    font-size: 1.25rem; font-weight: 700;
    padding: 1.2rem 2.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.step:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 24px rgba(230,81,0,0.3);
}
.arrow { font-size: 1.5rem; color: rgba(255,255,255,0.2); }
.community { padding: 120px 2rem; background: var(--off-white); }
.community-content { max-width: var(--container-width); margin: 0 auto; text-align: center; }
.community-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2.5rem; 
    margin-top: 5rem; 
}
.community-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: left;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}
.community-card::after {
    content: '';
    position: absolute; left: 0; top: 2rem; bottom: 2rem; width: 4px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
    transition: var(--transition);
}
.community-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,152,0,0.1);
}
.community-card:hover::after { top: 1rem; bottom: 1rem; background: var(--primary-dark); }
.community-card h3 { margin-bottom: 1.2rem; font-size: 1.4rem; font-weight: 800; }
.community-card p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }
.contact { padding: 120px 2rem; background: var(--white); }
.contact-container { max-width: 650px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 4rem; }
.contact-header p { font-size: 1.15rem; color: var(--text-muted); }
.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-subtle);
}
.form-group { margin-bottom: 2rem; }
.form-group label { display: block; margin-bottom: 0.8rem; font-weight: 600; font-size: 0.95rem; color: var(--secondary); }
.form-group input, .form-group textarea {
    width: 100%; padding: 16px 20px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1.05rem; font-family: inherit;
    transition: var(--transition);
    color: var(--text-main);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 6px rgba(255,152,0,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #A0A0A5; }
.w-full { width: 100%; padding: 18px; font-size: 1.1rem; }
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 6rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.footer-container { max-width: var(--container-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 6rem; }
.footer-logo { 
    height: 60px; 
    margin-bottom: 2rem; 
    /* Removed filter that caused white-out on PNG */
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.footer-info p { max-width: 340px; color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.8; }
.footer-links h4 { margin-bottom: 2rem; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--off-white); }
.footer-links ul li { margin-bottom: 1rem; }
.footer-links ul li a {
    color: rgba(255,255,255,0.6); font-size: 1.05rem;
    transition: var(--transition); position: relative;
    display: inline-block; padding-bottom: 2px;
}
.footer-links ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--primary); transition: width 0.3s ease;
}
.footer-links ul li a:hover { color: var(--white); transform: translateX(4px); }
.footer-links ul li a:hover::after { width: 100%; }
.footer-bottom {
    grid-column: 1 / -1; margin-top: 5rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.08); text-align: center;
    color: rgba(255,255,255,0.4); font-size: 0.95rem;
}
@media (max-width: 1024px) {
    .header { padding: 0.5rem 0; }
    .logo-img { height: 74px; }
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 12rem; gap: 3rem; }
    .hero::before { top: -10%; right: auto; left: 50%; transform: translateX(-50%); width: 80vw; height: 80vw; }
    .hero h1 { font-size: 4rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .about-text .section-title { text-align: center; }
    .footer-container { gap: 3rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .logo-img { height: 64px; }
    .hero h1 { font-size: 3rem; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 2.5rem; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; font-weight: 600; }
    .nav-cta { display: none; }
    .mobile-nav-toggle { display: flex; }
    .footer-info p { margin: 0 auto; }
    .contact-form { padding: 3rem 1.5rem; }
    
    .pipeline { padding: 4rem 1.5rem; border-radius: 0; }
    .pipeline h3 { font-size: 2rem; margin-bottom: 2.5rem; }
    .pipeline-steps { flex-direction: column; gap: 1rem; }
    .step { width: 100%; max-width: 320px; }
    .arrow { transform: rotate(90deg); margin: 0.5rem 0; opacity: 0.5; }
    .pipeline::before, .pipeline::after { display: none; } 

    /* Responsive Cube Scaling */
    .cube-container { width: 280px; height: 280px; margin: 0 auto; }
    .face { width: 180px; height: 180px; top: 50px; left: 50px; }
    .front  { transform: rotateY(0deg)   translateZ(90px); }
    .back   { transform: rotateY(180deg) translateZ(90px); }
    .right  { transform: rotateY(90deg)  translateZ(90px); }
    .left   { transform: rotateY(-90deg) translateZ(90px); }
    .top    { transform: rotateX(90deg)  translateZ(90px); }
    .bottom { transform: rotateX(-90deg) translateZ(90px); }
}

@media (max-width: 480px) {
    .logo-img { height: 50px; }
    .hero { padding-top: 8rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; line-height: 1.6; }
    .hero-actions { flex-direction: column; width: 100%; gap: 0.8rem; }
    .hero-actions .btn { width: 100%; padding: 16px; }
    .cube-container { width: 240px; height: 240px; }
    .face { width: 150px; height: 150px; top: 45px; left: 45px; }
    .front  { transform: rotateY(0deg)   translateZ(75px); }
    .back   { transform: rotateY(180deg) translateZ(75px); }
    .right  { transform: rotateY(90deg)  translateZ(75px); }
    .left   { transform: rotateY(-90deg) translateZ(75px); }
    .top    { transform: rotateX(90deg)  translateZ(75px); }
    .bottom { transform: rotateX(-90deg) translateZ(75px); }
    .hexagon-frame { width: 320px; height: 320px; }
    .pillar-card, .community-card { padding: 2.5rem 1.5rem; }
    .stat-card { padding: 2rem 1.5rem; }
}
