/*
---
Theme: MetaMorph Studio
Colors:
- Dark BG: #0A0713
- Dark Accent: #1A142A
- Lilac: #B388EB
- Aqua: #00FFF7
- Chrome: #C0C0C0
- White: #F0F0F0
---
*/

/* --- VARIABLES & BASE STYLES --- */
:root {
    --dark-bg: #0A0713;
    --dark-accent: #1A142A;
    --lilac: #B388EB;
    --aqua: #00FFF7;
    --chrome: #C0C0C0;
    --white: #F0F0F0;
    --text-color: #d1d1d1;
    --header-height: 80px;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    color: var(--white);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--aqua);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--lilac);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--aqua);
    text-shadow: 0 0 10px var(--aqua);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--lilac), var(--aqua));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--chrome);
}


/* --- MORPHING BACKGROUND BLOBS --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.blob1 {
    width: 40vw;
    height: 40vw;
    min-width: 300px;
    min-height: 300px;
    background: radial-gradient(circle, var(--lilac) 0%, transparent 70%);
    animation: morph-move1 25s infinite alternate;
}

.blob2 {
    width: 35vw;
    height: 35vw;
    min-width: 250px;
    min-height: 250px;
    background: radial-gradient(circle, var(--aqua) 0%, transparent 70%);
    animation: morph-move2 30s infinite alternate;
}

.blob3 {
    width: 30vw;
    height: 30vw;
    min-width: 200px;
    min-height: 200px;
    background: radial-gradient(circle, var(--chrome) 0%, transparent 70%);
    animation: morph-move3 20s infinite alternate;
}

@keyframes morph-move1 {
    0% {
        transform: translate(10vw, 10vh) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        transform: translate(50vw, 60vh) scale(1.2);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        transform: translate(20vw, -10vh) scale(0.9);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes morph-move2 {
    0% {
        transform: translate(80vw, 20vh) scale(1.1);
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }

    50% {
        transform: translate(30vw, 70vh) scale(0.8);
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    100% {
        transform: translate(70vw, 80vh) scale(1);
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }
}

@keyframes morph-move3 {
    0% {
        transform: translate(5vw, 70vh) scale(1);
        border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
    }

    50% {
        transform: translate(60vw, 10vh) scale(1.3);
        border-radius: 30% 70% 50% 50% / 70% 50% 50% 30%;
    }

    100% {
        transform: translate(-10vw, 40vh) scale(1);
        border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%;
    }
}


/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 7, 19, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    filter: invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--chrome);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--lilac), var(--aqua));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- BUTTONS --- */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--lilac), var(--aqua));
    color: var(--dark-bg);
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    width: 250%;
    height: 250%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--chrome);
}

.btn-secondary:hover {
    background-color: var(--dark-accent);
    border-color: var(--aqua);
    color: var(--aqua);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 247, 0.2);
}

/* --- MOBILE NAVIGATION --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.mobile-toggle.is-active .bar-top {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.is-active .bar-middle {
    opacity: 0;
}

.mobile-toggle.is-active .bar-bottom {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 7, 19, 0.95);
    backdrop-filter: blur(15px);
    z-index: 999;
    transition: right 0.4s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav.is-open {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 30px 0;
}

.mobile-nav a {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
}


/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.ripple-text {
    display: inline-block;
    color: var(--lilac);
    text-shadow: 0 0 10px var(--lilac);
    position: relative;
}

.ripple-text::before {
    content: 'Morphing';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--lilac);
    filter: blur(5px);
    animation: ripple 3s infinite linear;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--chrome);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-3d-sphere {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-sphere 20s infinite linear;
}

@keyframes rotate-sphere {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.sphere-surface {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(179, 136, 235, 0.4), transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 247, 0.4), transparent 70%);
    border: 1px solid rgba(192, 192, 192, 0.2);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.sphere-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--aqua);
    text-shadow: 0 0 15px var(--aqua);
    background: rgba(10, 7, 19, 0.5);
    padding: 15px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.icon1 {
    transform: rotateY(0deg) translateZ(200px);
}

.icon2 {
    transform: rotateY(90deg) translateZ(200px);
}

.icon3 {
    transform: rotateY(180deg) translateZ(200px);
}

.icon4 {
    transform: rotateY(270deg) translateZ(200px);
}


/* --- SERVICES SECTION --- */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-accent);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.service-card .card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--lilac), var(--aqua));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover .card-border {
    opacity: 1;
}

.service-card .card-content {
    position: relative;
    z-index: 2;
    background: var(--dark-accent);
    margin: 2px;
    padding: 2.3rem 1.8rem;
    border-radius: 13px;
    height: calc(100% - 4px);
    display: flex;
    flex-direction: column;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--aqua);
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    border-radius: 50%;
    border: 2px solid var(--lilac);
}

.service-title {
    margin-bottom: 1rem;
    color: var(--white);
}

.service-description {
    color: var(--text-color);
    flex-grow: 1;
}

.service-link {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--aqua);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}


/* --- ABOUT SECTION --- */
.about-section {
    padding: 100px 0;
    background-color: var(--dark-accent);
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-visual {
    flex: 1;
    position: relative;
}

.visual-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
}

.visual-wrapper:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-image {
    display: block;
    filter: saturate(0.8);
}


/* Accordion */
.accordion-item {
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    margin: 0;
}


/* --- INTERACTIVE REPORT SECTION --- */
.report-section {
    padding: 100px 0;
}

.report-dashboard {
    background: var(--dark-accent);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
    padding-bottom: 1rem;
}

.date-range {
    color: var(--chrome);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.kpi-card,
.chart-card {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 10px;
}

.kpi-card h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.kpi-change {
    font-size: 1rem;
    font-weight: 600;
}

.kpi-change.positive {
    color: #4CAF50;
}

.kpi-change.negative {
    color: #F44336;
}

.chart-card.large-card {
    grid-column: span 2;
}

.chart-card h4 {
    margin-bottom: 1rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label {
    width: 80px;
    font-size: 0.9rem;
}

.bar {
    height: 20px;
    background: linear-gradient(90deg, var(--lilac), var(--aqua));
    border-radius: 5px;
    animation: bar-animate 1.5s ease-out forwards;
}

@keyframes bar-animate {
    from {
        width: 0 !important;
    }
}

.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 1rem auto 0;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(192, 192, 192, 0.1);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 4;
    stroke-linecap: round;
    animation: progress-animate 2s ease-out forwards;
}

@keyframes progress-animate {
    from {
        stroke-dasharray: 0, 100;
    }
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
}


/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--dark-accent);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    height: 350px;
    /* Adjust as needed */
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--lilac);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--aqua);
}

.author-name {
    margin: 0;
}

.author-title {
    margin: 0;
    font-size: 0.9rem;
    color: var(--chrome);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.slider-btn {
    background: rgba(26, 20, 42, 0.5);
    border: 1px solid var(--chrome);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--lilac);
    border-color: var(--lilac);
}


/* --- CTA SECTION --- */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}


/* --- FOOTER --- */
.footer {
    background-color: var(--dark-accent);
    padding-top: 80px;
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--aqua);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    filter: invert(1);
}

.footer-about-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--dark-bg);
    color: var(--chrome);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--lilac);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-color);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--aqua);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--aqua);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(192, 192, 192, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- SUBPAGES (CONTACT, LEGAL) --- */
.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    background: var(--dark-accent);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--chrome);
}

.breadcrumbs a {
    color: var(--chrome);
}

.breadcrumbs span,
.breadcrumbs i {
    color: var(--text-color);
    margin: 0 8px;
}

/* Contact Page */
.contact-section-page {
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    background-color: var(--dark-accent);
    padding: 3rem;
    border-radius: 20px;
}

.contact-info-col {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.5;
}

.contact-methods .contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--aqua);
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.method-details p,
.method-details p a {
    color: var(--text-color);
    margin: 0;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid rgba(192, 192, 192, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 10px rgba(0, 255, 247, 0.2);
}

textarea {
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1.1rem;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--dark-accent);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.popup-content .fa-check-circle {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-accent);
    padding: 3rem;
    border-radius: 15px;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--aqua);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.content-wrapper p,
.content-wrapper strong {
    color: var(--text-color);
}

.content-wrapper strong {
    color: var(--white);
}


/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(50px);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .hero-3d-sphere {
        width: 350px;
        height: 350px;
    }

    .sphere-icon {
        transform-style: flat;
    }

    /* Simplify for performance */
    .icon1,
    .icon2,
    .icon3,
    .icon4 {
        transform: none;
    }

    .about-section .container {
        flex-direction: column;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-card.large-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-3d-sphere {
        width: 280px;
        height: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .chart-card.large-card {
        grid-column: span 1;
    }

    .slider-controls {
        display: none;
    }

    /* On mobile, rely on auto-play or swipe */

    .content-wrapper {
        padding: 2rem;
    }
}