/* ---
--- Zero-Point Energy Core Theme ---
--- By [AI Assistant Name] for [User]
--- */

/* ------------------- */
/* 1. CSS Variables & Root
/* ------------------- */
:root {
    --bg-primary: #0a0f21;
    --bg-secondary: #1a2035;
    --bg-tertiary: #11182d;
    --accent-primary: #00f6ff;
    --accent-secondary: #e000ff;
    --text-primary: #d0d8f0;
    --text-secondary: #a8b2d1;
    --text-headings: #ffffff;
    --border-color: rgba(0, 246, 255, 0.2);
    --border-hover: var(--accent-primary);
    --shadow-color: rgba(0, 246, 255, 0.1);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* ------------------- */
/* 2. Global Styles & Reset
/* ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    color: var(--text-headings);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-headings);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------- */
/* 3. Header & Navigation
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 15, 33, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 50px;
    width: auto;
    filter: invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo-link:hover .logo {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-headings);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ------------------- */
/* 4. Buttons & CTAs
/* ------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 0 15px var(--accent-primary), 0 0 25px var(--accent-secondary);
}

.btn-primary:hover {
    color: var(--text-headings);
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--accent-primary), 0 0 40px var(--accent-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-headings);
    border-color: var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-primary);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ------------------- */
/* 5. Mobile Navigation
/* ------------------- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-headings);
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-tertiary);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.mobile-nav.is-open {
    right: 0;
}

.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 nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav nav ul li a {
    font-size: 1.5rem;
}

/* ------------------- */
/* 6. Hero Section
/* ------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Energy Core 3D Animation */
.energy-core {
    width: 350px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-core 30s linear infinite;
}

@keyframes rotate-core {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.core-inner {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, white, var(--accent-primary) 50%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px var(--accent-primary), 0 0 100px white;
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid;
    border-radius: 50%;
    transform-style: preserve-3d;
}

.ring1 {
    width: 250px;
    height: 250px;
    border-color: var(--accent-primary);
    transform: translate(-50%, -50%) rotateX(70deg);
    animation: rotate-ring1 10s linear infinite;
}

.ring2 {
    width: 350px;
    height: 350px;
    border-color: var(--accent-secondary);
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg);
    animation: rotate-ring2 12s linear infinite reverse;
}

.ring3 {
    width: 450px;
    height: 450px;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) rotateX(70deg) rotateY(120deg);
    animation: rotate-ring3 15s linear infinite;
}

@keyframes rotate-ring1 {
    to {
        transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg);
    }
}

@keyframes rotate-ring2 {
    to {
        transform: translate(-50%, -50%) rotateX(70deg) rotateY(60deg) rotateZ(360deg);
    }
}

@keyframes rotate-ring3 {
    to {
        transform: translate(-50%, -50%) rotateX(70deg) rotateY(120deg) rotateZ(360deg);
    }
}


/* ------------------- */
/* 7. Section Styling
/* ------------------- */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 246, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ------------------- */
/* 8. Services Section
/* ------------------- */
.services-section {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-tertiary);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    z-index: 1;
}

.service-card-glow {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 246, 255, 0.2) 0%, transparent 40%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--border-hover);
}

.service-card:hover .service-card-glow {
    opacity: 1;
    animation: plasma-burst 1s forwards;
}

@keyframes plasma-burst {
    from {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.service-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--bg-primary);
}

.icon-orbit {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--text-headings);
    border-radius: 50%;
    offset-path: path("M 60,30 A 30,30 0 1,1 0,30 A 30,30 0 1,1 60,30");
    animation: orbit 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover .icon-orbit {
    opacity: 1;
}

@keyframes orbit {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}

.service-title {
    margin-bottom: 1rem;
    color: var(--text-headings);
}

.service-link {
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-block;
}

.service-link i {
    transition: transform var(--transition-speed) ease;
    margin-left: 0.25rem;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ------------------- */
/* 9. About Section
/* ------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.about-image-wrapper img {
    border-radius: 15px;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 246, 255, 0.2), rgba(224, 0, 255, 0.2));
    mix-blend-mode: hard-light;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-features i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-top: 5px;
    animation: pulse-icon 2s infinite ease-in-out;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.about-features strong {
    color: var(--text-headings);
    display: block;
    margin-bottom: 0.25rem;
}

/* ------------------- */
/* 10. Analytics Dashboard Section
/* ------------------- */
.analytics-section {
    background: var(--bg-secondary);
}

.dashboard-wrapper {
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header-left {
    display: flex;
    gap: 0.5rem;
}

.header-center {
    flex-grow: 1;
    text-align: center;
    color: var(--text-secondary);
}

.header-right {
    color: var(--accent-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.dashboard-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 2fr;
    grid-template-areas: "stat1 stat2 stat3 chart"
        "stat1 stat2 stat3 chart";
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-card:nth-child(1) {
    grid-area: stat1;
}

.stat-card:nth-child(2) {
    grid-area: stat2;
}

.stat-card:nth-child(3) {
    grid-area: stat3;
}

.main-chart {
    grid-area: chart;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-card h4 {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-headings);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-weight: 600;
}

.stat-change.positive {
    color: #27c93f;
}

.stat-change.negative {
    color: #ff5f56;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    margin-top: 1rem;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100%;
    position: relative;
    width: 40px;
}

.bar {
    width: 20px;
    border-radius: 5px 5px 0 0;
    animation: bar-grow 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.bar.traffic {
    background: var(--accent-primary);
}

.bar.conversion {
    background: var(--accent-secondary);
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
}

@keyframes bar-grow {
    to {
        transform: scaleY(1);
    }
}

/* ------------------- */
/* 11. Testimonials Section
/* ------------------- */
.testimonials-section {
    overflow: hidden;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.5s, transform 0.5s;
    position: relative;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px var(--shadow-color);
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--text-headings);
}

.author-title {
    color: var(--text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    transform: translateY(-50%);
}

.slider-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-headings);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* ------------------- */
/* 12. CTA Section
/* ------------------- */
.cta-section {
    padding: 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 5rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.cta-bg-shapes .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-primary);
    top: -50px;
    left: -50px;
}

.cta-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: -100px;
    right: -100px;
}

/* ------------------- */
/* 13. Footer
/* ------------------- */
.footer {
    background: var(--bg-secondary);
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-col-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-headings);
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
}

.footer-about .footer-logo-link {
    margin-bottom: 1.5rem;
}

.footer-about .footer-logo {
    height: 40px;
    filter: invert(1);
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent-primary);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-secondary);
}

.contact-info a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
}

/* ------------------- */
/* 14. Subpages (Legal, Contact)
/* ------------------- */
body.subpage {
    padding-top: var(--header-height);
}

.page-header {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--accent-primary);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.legal-content,
.contact-section-page {
    padding: 6rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper p {
    color: var(--text-primary);
}

/* ------------------- */
/* 15. Contact Page Specifics
/* ------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-info-col h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.method-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--bg-primary);
}

.method-details h3 {
    margin-bottom: 0.25rem;
}

.method-details p {
    margin: 0;
}

.method-details a {
    color: var(--text-primary);
}

/* Contact Form */
.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f6ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 33, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2000;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transform: scale(0.5);
    transition: transform 0.4s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
}

.popup-icon {
    font-size: 4rem;
    color: #27c93f;
    margin-bottom: 1.5rem;
    animation: popup-icon-pop 0.5s 0.4s ease-out backwards;
}

@keyframes popup-icon-pop {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.popup-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.popup-content .btn {
    margin-top: 1.5rem;
}

/* ------------------- */
/* 16. Helper & Animation Classes
/* ------------------- */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -10%;
    right: -10%;
    animation: move-shape-1 20s infinite alternate ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    bottom: 10%;
    left: 20%;
    animation: move-shape-2 25s infinite alternate ease-in-out;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-primary);
    bottom: -5%;
    left: -5%;
    animation: move-shape-3 15s infinite alternate ease-in-out;
}

@keyframes move-shape-1 {
    to {
        transform: translate(-100px, 100px);
    }
}

@keyframes move-shape-2 {
    to {
        transform: translate(100px, -50px);
    }
}

@keyframes move-shape-3 {
    to {
        transform: translate(50px, -100px);
    }
}

.footer .shape-1 {
    right: auto;
    left: -10%;
    animation-delay: 2s;
}

.footer .shape-2 {
    left: auto;
    right: -10%;
    bottom: -10%;
    animation-delay: 4s;
}


.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: var(--delay, 0s);
}

.fade-in.is-visible {
    opacity: 1;
}

.slide-in-up {
    transform: translateY(50px);
}

.slide-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    transform: translateX(50px);
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-down {
    transform: translateY(-50px);
}

.slide-in-down.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    transform: scale(0.8);
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ------------------- */
/* 17. Live Chat Widget
/* ------------------- */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 246, 255, 0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 1rem;
    background: var(--bg-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.chat-header h3 {
    font-size: 1.1rem;
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    flex-grow: 1;
}

.message {
    margin-bottom: 1rem;
}

.message p {
    display: inline-block;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.message.received p {
    background: var(--bg-primary);
    border-top-left-radius: 0;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 0.75rem;
}


/* ------------------- */
/* 18. Responsive Design
/* ------------------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .nav-list {
        gap: 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .dashboard-body {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "stat1 stat2" "stat3 chart" "stat3 chart";
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 0 1rem;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem 0;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .energy-core {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .slider-controls {
        display: none;
    }

    /* Simpler slider interaction on mobile */
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .dashboard-body {
        grid-template-columns: 1fr;
        grid-template-areas: "stat1" "stat2" "stat3" "chart";
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-window {
        width: calc(100vw - 2rem);
    }
}