:root {
    --primary: #FF4F00; /* Orange */
    --primary-light: #FFF0E6;
    --dark: #0f172a;
    --gray: #F8FAFC;
    --white: #ffffff;
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
    --font-head: 'Cabinet Grotesk', sans-serif;
    --font-body: 'Satoshi', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }

body {
    background-color: var(--white);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; }
.cursor-dot { width: 8px; height: 8px; background-color: var(--primary); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--primary); transition: width 0.2s, height 0.2s; }
body:hover .cursor-outline.expanded { width: 60px; height: 60px; background: rgba(255, 79, 0, 0.1); border-color: transparent; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.highlight { color: var(--primary); }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid #eee; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.logo-box { background: var(--primary); color: white; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
.nav-right { display: flex; gap: 30px; align-items: center; }
.btn-orange { background: var(--primary); color: white; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: 0.3s; border: none; }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 79, 0, 0.3); }
.hamburger { display: none; font-size: 1.5rem; }

/* Hero */
.hero { padding: 160px 0 100px; overflow: hidden; background: radial-gradient(circle at 100% 0%, #fff7ed 0%, transparent 30%); }
.hero-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }

.tag { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid #eee; color: var(--primary); padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.pulse { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 79, 0, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 79, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 79, 0, 0); } }

.hero h1 { font-size: 4.5rem; line-height: 1; margin-bottom: 20px; color: var(--dark); letter-spacing: -1px; }
.text-stroke { -webkit-text-stroke: 1px var(--dark); color: transparent; }
.hero p { font-size: 1.25rem; color: #64748b; margin-bottom: 40px; max-width: 90%; }
.hero-btns { display: flex; gap: 15px; }
.btn-outline { border: 1px solid #e2e8f0; padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: 0.3s; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* 3D Stack Visual */
.hero-visual { position: relative; height: 400px; display: flex; justify-content: center; align-items: center; }
.composition-stack { position: relative; width: 300px; height: 300px; }
.comp-card {
    position: absolute; background: white; border-radius: 16px; box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05); padding: 20px; width: 100%; transition: 0.5s ease-in-out;
}
.card-back { top: -20px; left: 20px; z-index: 1; transform: scale(0.9); opacity: 0.7; }
.c-header { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.green-text { color: #10b981; }
.progress-bar { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.fill { width: 90%; height: 100%; background: #10b981; }
.card-mid { top: 30px; left: -20px; z-index: 2; transform: scale(0.95); opacity: 0.9; }
.badge { background: #ecfdf5; color: #10b981; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
.chart-visual { display: flex; align-items: flex-end; gap: 10px; height: 60px; margin-top: 10px; }
.bar { flex: 1; background: var(--primary); border-radius: 4px 4px 0 0; opacity: 0.8; }
.b1 { height: 40%; } .b2 { height: 60%; } .b3 { height: 30%; }
.card-front { top: 80px; left: 0; z-index: 3; display: flex; align-items: center; gap: 15px; animation: float 6s ease-in-out infinite; }
.icon-circle { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.c-text h4 { margin: 0; font-size: 1.1rem; }
.c-text p { margin: 0; font-size: 0.8rem; color: #888; }
.check-mark { margin-left: auto; width: 25px; height: 25px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.float-badge { position: absolute; background: white; padding: 10px 15px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; animation: float 5s ease-in-out infinite; }
.fb-1 { top: 0; right: -40px; animation-delay: 1s; } .fb-1 i { color: #DB4437; }
.fb-2 { bottom: 50px; left: -50px; animation-delay: 2s; } .fb-2 i { color: #F4B400; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Stats */
.stats-section { padding: 60px 0; background: var(--primary); color: white; }
.stats-grid { display: flex; justify-content: space-around; text-align: center; }
.stat-box h2 { font-size: 3.5rem; display: inline-block; font-family: var(--font-head); }
.stat-box span { font-size: 3.5rem; font-weight: 700; opacity: 0.5; }
.stat-box p { font-size: 1.1rem; opacity: 0.9; }

/* Timeline */
.section { padding: 100px 0; }
.bg-light { background: var(--gray); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background-color: var(--primary); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-item .content { padding: 30px; background: white; border-radius: 12px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.timeline-item:hover .content { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: white; border: 4px solid var(--primary); top: 50%; border-radius: 50%; z-index: 1; }
.timeline-item.right::after { left: -10px; }
.step-num { font-size: 3rem; font-weight: 700; color: #f0f0f0; position: absolute; top: 10px; right: 20px; z-index: 0; }
.timeline-item.left .step-num { left: 20px; right: auto; }
.timeline-item h3 { position: relative; z-index: 1; margin-bottom: 10px; font-size: 1.3rem; }
.timeline-item p { position: relative; z-index: 1; color: #666; font-size: 0.95rem; }

/* Services Grid */
.services-modern-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.s-card { background: white; border: 1px solid #eee; padding: 40px 30px; border-radius: 20px; transition: 0.3s; position: relative; overflow: hidden; }
.s-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.s-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: 0.3s; }
.s-card:hover::before { transform: scaleX(1); }
.s-icon { width: 60px; height: 60px; background: var(--gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #333; margin-bottom: 25px; transition: 0.3s; }
.s-card:hover .s-icon { background: var(--primary); color: white; }
.s-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.s-card p { color: #666; line-height: 1.6; }

/* Ecosystem */
.eco-section { background: var(--gray); }
.eco-wrapper { background: white; border-radius: 20px; padding: 60px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.eco-text h2 { font-size: 2.5rem; margin-bottom: 15px; }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco-card { background: #fafafa; border: 1px solid #eee; padding: 25px; border-radius: 16px; text-align: center; cursor: pointer; transition: 0.3s; }
.eco-card:hover { background: var(--primary); color: white; transform: translateY(-5px); box-shadow: var(--shadow); }
.eco-card i { font-size: 2rem; margin-bottom: 15px; display: block; }
.eco-card span { font-weight: 600; font-size: 0.9rem; }

/* Modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; animation: fadeUp 0.3s; }
.modal-box { background: white; width: 400px; border-radius: 16px; padding: 30px; position: relative; }
.close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; cursor: pointer; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.modal-list a { display: flex; justify-content: space-between; padding: 12px; background: #f9f9f9; margin-bottom: 10px; border-radius: 8px; font-weight: 500; transition: 0.2s; }
.modal-list a:hover { background: var(--primary); color: white; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Contact & Footer */
.contact-box { background: var(--dark); color: white; border-radius: 20px; padding: 60px; text-align: center; background-image: radial-gradient(circle at top right, #333 0%, transparent 40%); }
.contact-box h2 { font-size: 3rem; margin-bottom: 10px; }
.c-form { display: flex; gap: 10px; max-width: 500px; margin: 30px auto 0; flex-wrap: wrap; }
.c-form input { flex: 1; padding: 15px; border-radius: 8px; border: none; outline: none; }
.full { width: 100%; margin-top: 10px; }
footer { background: white; padding: 40px 0; border-top: 1px solid #eee; }
.footer-row { display: flex; justify-content: space-between; align-items: center; }
.f-links a { margin-left: 20px; color: #666; font-size: 0.9rem; }
.copyright { text-align: center; font-size: 0.9rem; color: #888; margin-top: 20px; }

/* Responsive */
@media (max-width: 900px) {
    .hero-split, .eco-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 3rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
    .timeline-item::after { left: 21px; }
    .timeline-item.left .step-num { left: auto; right: 20px; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .nav-links { display: none; }
    .hamburger { display: block; }
}