/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL & ROOT VARIABLES
2.  BASE & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Cards, Forms)
4.  HEADER & NAVIGATION
5.  HERO SECTION
6.  PAGE HEADER (For inner pages)
7.  SERVICES SECTION
8.  PROCESS SECTION
9.  PRICING SECTION
10. TESTIMONIALS SECTION
11. CTA SECTION
12. CONTACT PAGE SECTION
13. LEGAL CONTENT PAGE
14. FOOTER
15. ANIMATIONS & INTERACTIONS
    - Custom Cursor
    - Scroll-triggered animations
    - Hover effects
    - 3D Cube
    - Particle Canvas
16. RESPONSIVE MEDIA QUERIES
    - 1200px (Large Desktops)
    - 992px (Tablets)
    - 768px (Small Tablets / Large Mobiles)
    - 576px (Mobiles)
================================================
*/

/* 1. GLOBAL & ROOT VARIABLES */
:root {
    --primary-color: #00aaff;
    /* A vibrant blue */
    --primary-color-dark: #0088cc;
    --secondary-color: #ffffff;
    --secondary-color-dark: #f0f0f0;
    --background-color: #0a192f;
    /* Dark navy blue */
    --surface-color: #112240;
    /* Slightly lighter surface */
    --text-color: #ccd6f6;
    /* Light, soft text */
    --heading-color: #e6f1ff;
    /* Bright white for headings */
    --border-color: #233554;
    --shadow-color: rgba(2, 12, 27, 0.7);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

/* 2. BASE & TYPOGRAPHY */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--font-secondary);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    color: var(--primary-color-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
}

.text-center {
    text-align: center;
}

/* 3. REUSABLE COMPONENTS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-speed);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* 4. HEADER & NAVIGATION */
.header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: top 0.3s, background-color 0.3s;
}

.header.scrolled {
    box-shadow: 0 5px 20px var(--shadow-color);
}

.header.hidden {
    top: -100px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.logo-img {
    height: 120px;
    filter: invert(90%) sepia(26%) saturate(457%) hue-rotate(158deg) brightness(108%) contrast(93%);
    /* Makes logo a light blue */
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle,
.nav-close {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
}

/* 5. HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-color);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* 6. PAGE HEADER */
.page-header-section {
    position: relative;
    padding: 120px 0 60px;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    font-weight: 500;
}

.breadcrumbs i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* 7. SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    perspective: 1000px;
    min-height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.service-card-front {
    background-color: var(--surface-color);
    text-align: center;
}

.service-card-back {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: rotateY(180deg);
}

.service-card-back h4,
.service-card-back p {
    color: var(--background-color);
}

.service-card-back ul {
    margin: 1rem 0;
    padding-left: 1rem;
}

.service-card-back li {
    color: var(--background-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.service-card-back .btn {
    background: var(--background-color);
    color: var(--primary-color);
    border-color: var(--background-color);
}

.service-card-back .btn:hover {
    background: var(--secondary-color-dark);
    color: var(--primary-color-dark);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.95rem;
}

/* 8. PROCESS SECTION */
.process-section {
    background-color: var(--surface-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 35px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--background-color);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-step {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.5;
}

.timeline-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* 9. PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--background-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
}

.pricing-header p {
    min-height: 40px;
    margin-top: 0.5rem;
}

.pricing-price {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 900;
    margin: 2rem 0;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-color);
    font-weight: 400;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--primary-color);
}

.pricing-features li .fa-times {
    color: #ff4d4d;
}

/* 10. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--surface-color);
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--heading-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-name {
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 600;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
}

.slider-controls button {
    pointer-events: all;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-speed);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.prev-btn {
    margin-left: -22px;
}

.next-btn {
    margin-right: -22px;
}

/* 11. CTA SECTION */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color) 0%, #0077b3 100%);
    padding: 80px 0;
    color: var(--background-color);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2,
.cta-text p {
    color: var(--background-color);
}

.cta-text h2 {
    font-size: 2.2rem;
}

.cta-action .btn {
    background-color: var(--secondary-color);
    color: var(--background-color);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-action .btn:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
}

/* 12. CONTACT PAGE SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-title {
    margin-bottom: 1rem;
}

.contact-subtitle {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background-color: rgba(0, 170, 255, 0.1);
    border-radius: 50%;
}

.info-text h4 {
    margin-bottom: 0.25rem;
    font-family: var(--font-primary);
}

.info-text p,
.info-text a {
    margin: 0;
    color: var(--text-color);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: var(--text-color);
    pointer-events: none;
    transition: 0.3s;
}

.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.8rem;
    background-color: var(--background-color);
    padding: 0 5px;
    color: var(--primary-color);
}

textarea {
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ccd6f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* 13. LEGAL CONTENT PAGE */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.8rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--heading-color);
}

/* 14. FOOTER */
.footer {
    background-color: var(--surface-color);
    padding: 80px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col-title {
    font-family: var(--font-secondary);
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.footer-about .footer-logo {
    margin-bottom: 1rem;
}

.footer-about-text {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-links ul li span {
    color: var(--text-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links ul li span {
    opacity: 0.7;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact a {
    color: var(--text-color);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* 15. ANIMATIONS & INTERACTIONS */

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    transition-property: transform;
    transition-duration: 0.05s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    transition-property: transform, background-color, border-color, width, height;
    transition-duration: 0.2s;
}

.cursor-pointer {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 170, 255, 0.2);
}

/* Scroll Animations */
.animate-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-in[data-animation="fade-in"] {
    transform: translateY(20px);
}

.animate-in[data-animation="fade-in-up"] {
    transform: translateY(50px);
}

.animate-in[data-animation="fade-in-down"] {
    transform: translateY(-50px);
}

.animate-in[data-animation="fade-in-left"] {
    transform: translateX(50px);
}

.animate-in[data-animation="fade-in-right"] {
    transform: translateX(-50px);
}

.animate-in[data-animation="zoom-in"] {
    transform: scale(0.9);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Hero 3D Cube */
.hero-3d-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(-80deg);
    animation: rotateCube 20s infinite linear;
}

.hero-3d-cube .face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(35, 53, 84, 0.8);
    border: 2px solid var(--primary-color);
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.face i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.face.front {
    transform: rotateY(0deg) translateZ(100px);
}

.face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 16. RESPONSIVE MEDIA QUERIES */

@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 1rem auto 0;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--surface-color);
        box-shadow: -5px 0 15px var(--shadow-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 18px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card:last-child {
        max-width: 100%;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .hero-3d-cube {
        width: 150px;
        height: 150px;
    }

    .hero-3d-cube .face {
        width: 150px;
        height: 150px;
    }

    .face.front {
        transform: rotateY(0deg) translateZ(75px);
    }

    .face.back {
        transform: rotateY(180deg) translateZ(75px);
    }

    .face.right {
        transform: rotateY(90deg) translateZ(75px);
    }

    .face.left {
        transform: rotateY(-90deg) translateZ(75px);
    }

    .face.top {
        transform: rotateX(90deg) translateZ(75px);
    }

    .face.bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }

    .contact-grid,
    .contact-form-wrapper,
    .legal-content {
        padding: 1.5rem;
    }
}