/* --- Variables & Reset --- */
:root {
    --primary-color: #00f2ea;
    /* Cyber Cyan */
    --secondary-color: #ff0050;
    /* Neon Red */
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), #0051ff);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
    --shadow-glow: 0 0 20px rgba(0, 242, 234, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Loader --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-bar-bg {
    width: 200px;
    height: 4px;
    background: #333;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.5s;
}

.loader-text {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    height: 60px;
    filter: brightness(0) invert(1);

}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-main);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0051ff, var(--primary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover::before {
    opacity: 1;
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-dark);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.mobile-nav a {
    font-size: 1.5rem;
    margin: 15px 0;
    font-family: var(--font-heading);
}

.header-open .mobile-menu-overlay {
    height: 100vh;
}

.header-open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.header-open .bar:nth-child(2) {
    opacity: 0;
}

.header-open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    z-index: 2;
}

.hero-text-wrapper {
    max-width: 600px;
}

h1.glitch-text {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    color: var(--text-main);
}

.hero-sub {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* 3D Cube Animation - SCOPED to prevent conflicts */
.cube-container {
    width: 200px;
    height: 200px;
    perspective: 1000px;
    margin-right: 50px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 15s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 242, 234, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.2) inset;
}

/* Updated Selectors: use .cube .left/right etc */
.cube .front {
    transform: rotateY(0deg) translateZ(100px);
}

.cube .back {
    transform: rotateY(180deg) translateZ(100px);
}

.cube .right {
    transform: rotateY(90deg) translateZ(100px);
}

.cube .left {
    transform: rotateY(-90deg) translateZ(100px);
}

.cube .top {
    transform: rotateX(90deg) translateZ(100px);
}

.cube .bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* --- Stats Section --- */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(to right, #111, #1a1a1a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-main);
    display: inline-block;
}

.stat-card span {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-card p {
    color: var(--text-muted);
    margin-top: 5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 15px 0;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-inner {
    transform: translateZ(0);
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.service-list {
    margin-bottom: 25px;
}

.service-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

/* --- Calculator Section --- */
.calculator-section {
    padding: 100px 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IiMyMjIiIHN0cm9rZS13aWR0aD0iMSI+PHBhdGggZD0iTTAgMjBoNDBNMjAgMHY0MCIvPjwvc3ZnPg==');
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calc-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.calc-benefits {
    margin-top: 30px;
}

.calc-benefits li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.calc-benefits li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

input[type=range] {
    width: 100%;
    -webkit-appearance: none;
    background: #333;
    height: 6px;
    border-radius: 3px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.range-value {
    text-align: right;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 5px;
}

.calc-result {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-result .amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* --- Process (Timeline) --- */
.process-section {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark);
    border: 2px solid var(--primary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

/* Updated Selectors: Specific to timeline-item to ensure they display correctly */
.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-item .content {
    padding: 20px 30px;
    background: var(--bg-card);
    position: relative;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonials-section {
    background: #0f0f0f;
    padding: 100px 0;
    overflow: hidden;
}

.testimonial-card {
    background: #181818;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
    border-left: 4px solid var(--primary-color);
}

.quote-icon {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
}

.author-info h4 {
    font-family: var(--font-heading);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Report Preview --- */
.report-preview-section {
    padding: 100px 0;
}

.report-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.report-graphic {
    flex: 1;
    height: 300px;
    background: var(--bg-card);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.graph-bar {
    width: 40px;
    background: #222;
    border-radius: 5px 5px 0 0;
    transition: height 1s;
}

.graph-bar.active {
    background: var(--gradient-main);
    box-shadow: 0 0 15px var(--primary-color);
}

.graph-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 242, 234, 0.1) 0%, transparent 100%);
    clip-path: polygon(0 40%, 20% 60%, 40% 15%, 60% 45%, 80% 5%, 100% 30%, 100% 100%, 0 100%);
    pointer-events: none;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80') center/cover fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-white {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
}

/* --- Footer --- */
#main-footer {
    background: #050505;
    border-top: 1px solid #1a1a1a;
    font-size: 0.9rem;
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.brand-col p {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    color: #555;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-links a {
    margin-left: 20px;
    font-size: 0.85rem;
}

/* --- Contact Page Styles --- */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

.contact-info-col h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-card p {
    color: var(--text-muted);
}

.styled-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 12px 15px;
    color: #fff;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #666;
    font-size: 0.9rem;
    pointer-events: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background: var(--bg-card);
    padding: 0 5px;
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* --- Legal Pages --- */
.small-header {
    padding: 120px 0 40px;
    background: #0f0f0f;
    text-align: center;
}

.legal-container {
    max-width: 900px;
    padding: 60px 20px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    margin: 40px 0 20px;
    color: #fff;
    font-size: 1.5rem;
}

.legal-content p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- Chat & Scroll Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: #000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 900;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: all;
}

.chat-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--secondary-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1001;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(255, 0, 80, 0.4);
}

.chat-widget {
    position: fixed;
    bottom: 90px;
    left: 30px;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 10px;
    z-index: 1000;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    overflow: hidden;
}

.chat-widget.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: #222;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.chat-body {
    padding: 20px;
    height: 200px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.msg.bot {
    background: #333;
    padding: 10px;
    border-radius: 10px 10px 10px 0;
    display: inline-block;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #333;
    display: flex;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
}

.chat-input button {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Responsiveness --- */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .cube-container {
        margin-right: 0;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 23px;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 23px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .calc-wrapper,
    .report-wrapper,
    .footer-grid,
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h1.glitch-text {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.5rem;
    }
}