/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
   /* Cyber-Marketing Color Palette */
   --color-bg-main: #0a081a;
   --color-bg-secondary: #130f2d;
   --color-bg-glass: rgba(19, 15, 45, 0.6);
   --color-accent-cyan: #00f2fe;
   --color-accent-magenta: #fe0979;
   --color-text-main: #ffffff;
   --color-text-muted: #a09eb5;

   /* Typography */
   --font-heading: 'Syncopate', 'Arial Black', sans-serif;
   --font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

   /* Transitions & Shadows */
   --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
   --transition-slow: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
   --neon-glow-cyan: 0 0 10px rgba(0, 242, 254, 0.5), 0 0 20px rgba(0, 242, 254, 0.3);
   --neon-glow-magenta: 0 0 15px rgba(254, 9, 121, 0.6), 0 0 30px rgba(254, 9, 121, 0.4);
}

*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   font-family: var(--font-body);
   color: var(--color-text-main);
   background-color: var(--color-bg-main);
   line-height: 1.6;
   overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
   width: 10px;
}

::-webkit-scrollbar-track {
   background: var(--color-bg-main);
}

::-webkit-scrollbar-thumb {
   background: var(--color-bg-secondary);
   border-radius: 5px;
   border: 1px solid var(--color-accent-cyan);
}

::-webkit-scrollbar-thumb:hover {
   background: var(--color-accent-cyan);
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   display: block;
}

.container {
   width: 100%;
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 2rem;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
   line-height: 1.2;
   font-weight: 800;
   letter-spacing: 1px;
}

.text-gradient {
   background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   display: inline-block;
}

.section-title {
   text-align: center;
   font-size: 3rem;
   margin-bottom: 4rem;
   position: relative;
   text-transform: uppercase;
}

.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1rem 2.5rem;
   background: transparent;
   color: var(--color-text-main);
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 2px;
   border: 2px solid var(--color-accent-cyan);
   border-radius: 4px;
   cursor: pointer;
   position: relative;
   overflow: hidden;
   transition: var(--transition-fast);
   z-index: 1;
}

.btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-magenta));
   transition: var(--transition-fast);
   z-index: -1;
}

.btn:hover::before {
   left: 0;
}

.btn:hover {
   border-color: transparent;
   box-shadow: var(--neon-glow-cyan);
}

/* ==========================================================================
   STRICT HEADER & FOOTER (IDENTICAL ON ALL PAGES)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background-color: var(--color-bg-main);
   padding: 1.5rem 0;
   z-index: 1000;
   transition: var(--transition-fast);
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
   padding: 0.8rem 0;
   background-color: rgba(10, 8, 26, 0.95);
   backdrop-filter: blur(15px);
   border-bottom: 1px solid rgba(0, 242, 254, 0.2);
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo img {
   height: 55px;
   filter: invert(1);
   transition: var(--transition-fast);
}

.main-nav ul {
   display: flex;
   gap: 2.5rem;
}

.main-nav a {
   color: var(--color-text-main);
   font-size: 0.9rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   position: relative;
   padding: 0.5rem 0;
}

.main-nav a::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--color-accent-cyan);
   transition: var(--transition-fast);
}

.main-nav a:hover::before {
   width: 100%;
}

.main-nav a:hover {
   color: var(--color-accent-cyan);
   text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.mobile-menu-btn {
   display: none;
   background: none;
   border: none;
   color: var(--color-accent-cyan);
   font-size: 2rem;
   cursor: pointer;
}

/* Footer Strict Layout */
.site-footer {
   background-color: var(--color-bg-secondary);
   padding: 6rem 0 2rem;
   border-top: 1px solid rgba(0, 242, 254, 0.2);
   position: relative;
   overflow: hidden;
}

.site-footer::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 80%;
   height: 1px;
   background: linear-gradient(90deg, transparent, var(--color-accent-magenta), transparent);
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 4rem;
}

.footer-about .logo img {
   height: 55px;
   filter: invert(1);
   margin-bottom: 1.5rem;
}

.footer-about p {
   color: var(--color-text-muted);
   line-height: 1.8;
}

.footer-title {
   font-size: 1.2rem;
   color: var(--color-text-main);
   margin-bottom: 2rem;
   text-transform: uppercase;
   letter-spacing: 2px;
}

.footer-links li {
   margin-bottom: 1rem;
}

.footer-links a {
   color: var(--color-text-muted);
   transition: var(--transition-fast);
   display: inline-block;
}

.footer-links a:hover {
   color: var(--color-accent-cyan);
   transform: translateX(5px);
}

.footer-contact li {
   color: var(--color-text-muted);
   margin-bottom: 1.2rem;
   display: flex;
   gap: 15px;
   align-items: center;
}

.footer-contact i {
   color: var(--color-accent-magenta);
   font-style: normal;
   font-size: 1.2rem;
}

.footer-bottom {
   text-align: center;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   color: var(--color-text-muted);
}

/* ==========================================================================
   INDEX.HTML - 12 UNIQUE SECTIONS
   ========================================================================== */

/* 1. Hero Section */
.hero {
   position: relative;
   min-height: 100vh;
   display: flex;
   align-items: center;
   padding-top: 100px;
   overflow: hidden;
}

/* Cyber Grid Background Effect */
.hero-bg-grid {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
   background-size: 50px 50px;
   transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
   animation: gridMove 20s linear infinite;
   z-index: 0;
}

.hero-container {
   position: relative;
   z-index: 2;
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   gap: 4rem;
   align-items: center;
}

.hero-content h1 {
   font-size: 4.5rem;
   margin-bottom: 1.5rem;
   text-transform: uppercase;
}

.hero-content p {
   font-size: 1.25rem;
   color: var(--color-text-muted);
   margin-bottom: 2.5rem;
   max-width: 600px;
}

/* 3D Geometric Floating Object */
.hero-visual {
   perspective: 1200px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.cyber-cube {
   width: 300px;
   height: 300px;
   position: relative;
   transform-style: preserve-3d;
   animation: spinCube 15s infinite linear;
}

.cube-face {
   position: absolute;
   width: 300px;
   height: 300px;
   background: rgba(19, 15, 45, 0.8);
   border: 2px solid var(--color-accent-cyan);
   box-shadow: inset 0 0 30px rgba(0, 242, 254, 0.2);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2rem;
   font-weight: bold;
   color: var(--color-accent-magenta);
   backdrop-filter: blur(5px);
}

.front {
   transform: translateZ(150px);
}

.back {
   transform: rotateY(180deg) translateZ(150px);
}

.right {
   transform: rotateY(90deg) translateZ(150px);
}

.left {
   transform: rotateY(-90deg) translateZ(150px);
}

.top {
   transform: rotateX(90deg) translateZ(150px);
   border-color: var(--color-accent-magenta);
}

.bottom {
   transform: rotateX(-90deg) translateZ(150px);
}

/* 2. Infinite Partner Marquee */
.marquee-section {
   background: var(--color-bg-secondary);
   padding: 3rem 0;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   border-bottom: 1px solid rgba(255, 255, 255, 0.05);
   overflow: hidden;
   position: relative;
}

.marquee-content {
   display: flex;
   width: 200%;
   animation: scrollMarquee 20s linear infinite;
}

.marquee-item {
   flex: 1;
   text-align: center;
   font-size: 1.5rem;
   color: rgba(255, 255, 255, 0.3);
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 3px;
}

/* 3. Agency Philosophy (About) */
.about-section {
   padding: 8rem 0;
   position: relative;
}

.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.about-image-wrapper {
   position: relative;
   border-radius: 20px;
   overflow: hidden;
}

.about-image-wrapper::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(45deg, rgba(0, 242, 254, 0.3), rgba(254, 9, 121, 0.3));
   mix-blend-mode: overlay;
}

.about-image-wrapper img {
   width: 100%;
   height: 500px;
   object-fit: cover;
   transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
   transform: scale(1.05);
}

/* 4. Core Services Glassmorphism */
.services-section {
   padding: 8rem 0;
   background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%23ffffff" fill-opacity="0.1"/></svg>');
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2.5rem;
}

.service-card {
   background: var(--color-bg-glass);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   padding: 3rem;
   border-radius: 15px;
   transition: var(--transition-fast);
   position: relative;
   overflow: hidden;
}

.service-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: var(--color-accent-cyan);
   transform: scaleX(0);
   transform-origin: left;
   transition: var(--transition-fast);
}

.service-card:hover::before {
   transform: scaleX(1);
}

.service-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
   border-color: rgba(0, 242, 254, 0.3);
}

.service-icon {
   font-size: 3rem;
   margin-bottom: 1.5rem;
}

.service-card h3 {
   font-size: 1.8rem;
   margin-bottom: 1rem;
}

.service-card p {
   color: var(--color-text-muted);
}

/* 5. The Digital Timeline / Process */
.process-section {
   padding: 8rem 0;
   background: var(--color-bg-secondary);
}

.timeline {
   position: relative;
   max-width: 800px;
   margin: 0 auto;
}

.timeline::before {
   content: '';
   position: absolute;
   top: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 2px;
   height: 100%;
   background: rgba(0, 242, 254, 0.2);
}

.timeline-item {
   position: relative;
   margin-bottom: 4rem;
   width: 50%;
   padding-right: 3rem;
}

.timeline-item:nth-child(even) {
   left: 50%;
   padding-right: 0;
   padding-left: 3rem;
}

.timeline-dot {
   position: absolute;
   right: -10px;
   top: 0;
   width: 20px;
   height: 20px;
   background: var(--color-accent-magenta);
   border-radius: 50%;
   box-shadow: var(--neon-glow-magenta);
}

.timeline-item:nth-child(even) .timeline-dot {
   left: -10px;
}

.timeline-content {
   background: var(--color-bg-main);
   padding: 2rem;
   border-radius: 10px;
   border: 1px solid rgba(254, 9, 121, 0.2);
}

/* 6. Industry Specialization Hover Cards */
.industry-section {
   padding: 8rem 0;
}

.industry-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 1rem;
}

.ind-card {
   height: 350px;
   position: relative;
   overflow: hidden;
   border-radius: 10px;
}

.ind-card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.5;
   transition: var(--transition-slow);
}

.ind-overlay {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   padding: 2rem;
   background: linear-gradient(to top, var(--color-bg-main), transparent);
   transform: translateY(20px);
   transition: var(--transition-fast);
}

.ind-card:hover img {
   opacity: 1;
   transform: scale(1.1);
}

.ind-card:hover .ind-overlay {
   transform: translateY(0);
}

.ind-card:hover .ind-overlay h3 {
   color: var(--color-accent-cyan);
}

/* 7. Interactive ROI Calculator */
.calc-section {
   padding: 8rem 0;
   background: var(--color-bg-secondary);
}

.calc-box {
   max-width: 900px;
   margin: 0 auto;
   background: rgba(10, 8, 26, 0.8);
   border: 1px solid var(--color-accent-cyan);
   padding: 4rem;
   border-radius: 20px;
   box-shadow: var(--neon-glow-cyan);
}

.slider-container {
   margin: 3rem 0;
}

.slider-container input[type=range] {
   width: 100%;
   -webkit-appearance: none;
   background: rgba(255, 255, 255, 0.1);
   height: 6px;
   border-radius: 3px;
}

.slider-container input[type=range]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 20px;
   height: 20px;
   background: var(--color-accent-magenta);
   border-radius: 50%;
   cursor: pointer;
   box-shadow: var(--neon-glow-magenta);
}

.calc-results-grid {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   gap: 2rem;
   text-align: center;
   margin-top: 3rem;
}

.result-val {
   font-size: 3rem;
   font-weight: 800;
   color: var(--color-accent-cyan);
   display: block;
}

/* 8. Live Campaign Dashboard Mockup */
.dashboard-section {
   padding: 8rem 0;
}

.dash-window {
   background: var(--color-bg-secondary);
   border-radius: 15px;
   border: 1px solid rgba(255, 255, 255, 0.1);
   overflow: hidden;
}

.dash-header {
   background: #05040d;
   padding: 1rem 2rem;
   display: flex;
   gap: 10px;
}

.dash-dot {
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: #ff5f56;
}

.dash-dot:nth-child(2) {
   background: #ffbd2e;
}

.dash-dot:nth-child(3) {
   background: #27c93f;
}

.dash-body {
   padding: 3rem;
   display: grid;
   grid-template-columns: 1fr 2fr;
   gap: 3rem;
}

/* Circular Progress */
.progress-ring-container {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2rem;
}

.circular-chart {
   display: block;
   margin: 0 auto;
   max-width: 80%;
   max-height: 250px;
}

.circle-bg {
   fill: none;
   stroke: rgba(255, 255, 255, 0.1);
   stroke-width: 3.8;
}

.circle {
   fill: none;
   stroke-width: 2.8;
   stroke-linecap: round;
   animation: progress 2s ease-out forwards;
}

.circle.cyan {
   stroke: var(--color-accent-cyan);
   stroke-dasharray: 60, 100;
}

.percentage {
   fill: #fff;
   font-family: var(--font-heading);
   font-size: 0.5em;
   text-anchor: middle;
}

/* Bar Chart */
.dash-chart {
   display: flex;
   align-items: flex-end;
   gap: 1rem;
   height: 200px;
   padding-bottom: 2rem;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-bar {
   flex: 1;
   background: var(--color-accent-magenta);
   border-radius: 5px 5px 0 0;
   animation: barGrow 1.5s ease-out forwards;
   transform-origin: bottom;
   opacity: 0;
}

/* 9. Testimonials Carousel/Grid */
.testimonials-section {
   padding: 8rem 0;
   background: var(--color-bg-secondary);
}

.test-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 3rem;
}

.test-card {
   background: var(--color-bg-main);
   padding: 3rem;
   border-radius: 15px;
   position: relative;
   border-top: 3px solid var(--color-accent-magenta);
}

.test-quote {
   font-size: 4rem;
   position: absolute;
   top: 10px;
   right: 20px;
   color: rgba(254, 9, 121, 0.1);
   font-family: Georgia, serif;
}

/* 10. Contact CTA Inline */
.cta-section {
   padding: 10rem 0;
   text-align: center;
   background: radial-gradient(circle at center, #1a153a 0%, var(--color-bg-main) 70%);
}

.cta-form {
   max-width: 600px;
   margin: 3rem auto 0;
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
   width: 100%;
   padding: 1.2rem;
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: #fff;
   border-radius: 5px;
   font-family: var(--font-body);
}

.cta-form input:focus,
.cta-form textarea:focus {
   outline: none;
   border-color: var(--color-accent-cyan);
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 40px;
   right: 40px;
   z-index: 9999;
}

.chat-toggle {
   width: 65px;
   height: 65px;
   background: var(--color-accent-cyan);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   cursor: pointer;
   box-shadow: var(--neon-glow-cyan);
   transition: var(--transition-fast);
}

.chat-toggle svg {
   width: 30px;
   height: 30px;
   fill: #000;
}

.chat-toggle:hover {
   transform: scale(1.1);
}

.chat-panel {
   position: absolute;
   bottom: 85px;
   right: 0;
   width: 320px;
   background: var(--color-bg-secondary);
   border: 1px solid var(--color-accent-cyan);
   border-radius: 15px;
   overflow: hidden;
   display: none;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.chat-panel.open {
   display: block;
   animation: fadeUp 0.3s ease;
}

.chat-head {
   background: var(--color-accent-cyan);
   color: #000;
   padding: 1rem;
   font-weight: bold;
   display: flex;
   justify-content: space-between;
}

.chat-close {
   cursor: pointer;
   font-size: 1.2rem;
}

.chat-body {
   height: 300px;
   padding: 1rem;
   overflow-y: auto;
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.msg.bot {
   background: rgba(0, 242, 254, 0.1);
   padding: 1rem;
   border-radius: 10px 10px 10px 0;
   border: 1px solid rgba(0, 242, 254, 0.3);
   font-size: 0.9rem;
   align-self: flex-start;
}

.chat-input {
   display: flex;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input input {
   flex: 1;
   background: none;
   border: none;
   padding: 1rem;
   color: #fff;
   outline: none;
}

.chat-input button {
   background: var(--color-accent-cyan);
   border: none;
   padding: 0 1rem;
   cursor: pointer;
   font-weight: bold;
}

/* ==========================================================================
   LEGAL & INTERNAL PAGES SPECIFIC
   ========================================================================== */
.page-header {
   padding: 12rem 0 6rem;
   text-align: center;
   background: var(--color-bg-secondary);
   border-bottom: 1px solid rgba(254, 9, 121, 0.2);
}

.legal-content-section {
   padding: 6rem 0;
   background: var(--color-bg-main);
}

.legal-box {
   max-width: 900px;
   margin: 0 auto;
   background: var(--color-bg-secondary);
   padding: 4rem;
   border-radius: 10px;
   border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-box h2 {
   color: var(--color-accent-cyan);
   margin: 3rem 0 1rem;
   font-size: 1.8rem;
}

.legal-box p {
   color: var(--color-text-muted);
   margin-bottom: 1.5rem;
   font-size: 1.1rem;
}

/* Contact Page Specific */
.contact-hero {
   padding: 12rem 0 6rem;
   background: var(--color-bg-secondary);
}

.contact-split {
   display: grid;
   grid-template-columns: 1fr 1.5fr;
   gap: 4rem;
   margin-top: 4rem;
}

.contact-info-card {
   background: rgba(254, 9, 121, 0.05);
   padding: 3rem;
   border: 1px solid rgba(254, 9, 121, 0.3);
   border-radius: 10px;
}

.contact-info-card h3 {
   color: var(--color-accent-magenta);
   margin-bottom: 2rem;
}

.contact-info-card p {
   margin-bottom: 1.5rem;
   display: flex;
   align-items: center;
   gap: 10px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes spinCube {
   0% {
      transform: rotateX(0deg) rotateY(0deg);
   }

   100% {
      transform: rotateX(360deg) rotateY(360deg);
   }
}

@keyframes gridMove {
   0% {
      background-position: 0 0;
   }

   100% {
      background-position: 0 50px;
   }
}

@keyframes scrollMarquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

@keyframes barGrow {
   to {
      opacity: 1;
      transform: scaleY(1);
   }
}

@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes progress {
   0% {
      stroke-dasharray: 0 100;
   }
}

/* Scroll Observers */
.reveal {
   opacity: 0;
   transform: translateY(60px);
   transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (Deep Responsiveness)
   ========================================================================== */
@media (max-width: 1200px) {
   .hero-content h1 {
      font-size: 3.5rem;
   }

   .industry-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 992px) {
   .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-content {
      order: 2;
   }

   .hero-visual {
      order: 1;
      margin-bottom: 3rem;
   }

   .about-grid {
      grid-template-columns: 1fr;
   }

   .dash-body {
      grid-template-columns: 1fr;
   }

   .contact-split {
      grid-template-columns: 1fr;
   }

   .timeline::before {
      left: 30px;
   }

   .timeline-item {
      width: 100%;
      padding-left: 80px;
      padding-right: 0;
      left: 0 !important;
   }

   .timeline-dot {
      left: 20px !important;
   }
}

@media (max-width: 768px) {
   .main-nav {
      position: fixed;
      top: 0;
      left: -100%;
      width: 300px;
      height: 100vh;
      background: var(--color-bg-secondary);
      flex-direction: column;
      padding-top: 100px;
      transition: var(--transition-fast);
      border-right: 1px solid var(--color-accent-cyan);
   }

   .main-nav.active {
      left: 0;
   }

   .main-nav ul {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
   }

   .mobile-menu-btn {
      display: block;
      z-index: 1001;
   }

   .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .footer-contact li {
      justify-content: center;
   }

   .calc-results-grid {
      grid-template-columns: 1fr;
   }

   .hero-content h1 {
      font-size: 2.5rem;
   }

   .section-title {
      font-size: 2rem;
   }

   .chat-panel {
      width: 280px;
      right: -20px;
   }
}

@media (max-width: 480px) {
   .industry-grid {
      grid-template-columns: 1fr;
   }

   .cube-face {
      width: 200px;
      height: 200px;
   }

   .front {
      transform: translateZ(100px);
   }

   .back {
      transform: rotateY(180deg) translateZ(100px);
   }

   .right {
      transform: rotateY(90deg) translateZ(100px);
   }

   .left {
      transform: rotateY(-90deg) translateZ(100px);
   }

   .top {
      transform: rotateX(90deg) translateZ(100px);
   }

   .bottom {
      transform: rotateX(-90deg) translateZ(100px);
   }

   .legal-box {
      padding: 2rem;
   }
}