:root {
    --primary: #0dd675;
    --secondary: #4682B4;
    --accent: #FFD700;
    --text: #f8f8f8;
    --background: #0a0a0a;
    --card-bg: #131313;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 200px;
    height: 200px;
}

.loader-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 4px solid transparent;
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 2s linear infinite;
}

.loader-circle:nth-child(2) {
    width: 100px;
    height: 100px;
    border-top-color: transparent;
    border-right-color: var(--primary);
    animation-duration: 1.8s;
}

.loader-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--primary);
    animation-duration: 1.6s;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, var(--background) 90%);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-email-form {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.cta-form {
    display: flex;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(5px);
}

.cta-form input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1rem;
    padding: 0.8rem 1rem;
}

.cta-form input::placeholder {
    color: #aaa;
}

.cta-form .btn {
    background-color: var(--text);
    color: var(--background);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    text-transform: none;
    transition: background-color 0.3s ease;
}

.cta-form .btn:hover {
    background-color: #ddd;
    color: var(--background);
    transform: none;
    box-shadow: none;
}

.waste-alert {
    display: inline-block;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.waste-alert .alert-icon {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 20px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Trusted Partners Section */
.trusted-partners {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.decorative-graphic {
    position: absolute;
    top: 63%;
    left: 51%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    opacity: 1;
    height: 332px;
    z-index: 0;
}

.logos-container {
    display: flex;
    justify-content: center;
    width: 100%;
    /* background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%); */
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logos-slide img {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo-pair {
    position: relative;
}

.logo-white {
    display: block;
}

.logo-color {
    display: none;
}

body.light-mode .logo-white {
    display: none;
}

body.light-mode .logo-color {
    display: block;
}

.logos-slide img.logo-nvidia {
    height: 150px;
}

.logos-slide img:hover {
    transform: scale(1.05);
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    text-align: center;
}

section h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
    margin-bottom: 3rem;
    font-size: 3rem;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-10px);
}

.problem-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.problem-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.problem-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-radius: 10px;
}

.comparison-card.after img {
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
    border-radius: 10px;
}

.visual-placeholder {
    font-size: 4rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.5;
    flex-grow: 1;
}

/* Solution Section */
.solution {
    padding: 8rem 0;
    background-color: #0d0d0d;
    text-align: center;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.solution-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0;
}

/* How It Works / Real Impact Section */
.how-it-works {
    padding: 6rem 0;
    text-align: center;
}

.impact-stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
    color: #aaa;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.impact-stat {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-stat h3 {
    font-size: 2.2rem;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.impact-stat h3 .step-label {
    color: var(--primary);
    display: block;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.impact-stat p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
}

.testimonial {
    margin-top: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.testimonial blockquote {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-weight: 600;
}

/* Who It's For Section */
.who-is-it-for {
    padding: 6rem 0;
    background: var(--card-bg);
    text-align: center;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: 1rem auto 0;
}

.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.role-card {
    text-align: center;
}

.role-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.role-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-content {
    text-align: center;
}

.cta-content .hero-email-form {
    margin-top: 3rem;
}

/* Footer */
footer {
    background-color: #070707;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex-grow: 1;
    border: 1px solid var(--primary);
    background: transparent;
    padding: 0.5rem;
    color: var(--text);
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--background);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 1001;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .theme-switch-container {
        margin-top: 2rem;
        margin-left: 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
.logos-container {
    display: flex;
    justify-content: center;
    width: 100%;
    /* background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%); */
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}
    }
    
    .trusted-partners h2 {
        margin-bottom: 12rem;
    }
    
    .decorative-graphic {
        top: 65%;
        transform: translate(-53%, -50%) rotate(46deg);
        height: 694px;
        width: 633px;
    }
    
    .logos-container {
        height: 500px;
        /* background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 70%); */
    }
    
    .logos-slide {
        flex-direction: column;
        gap: 3.5rem;
    }
    
    .logos-slide img,
    .logos-slide img.logo-nvidia {
        height: 40px;
    }
    
    .problem-comparison {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .process-step-number {
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    .impact-stats {
        grid-template-columns: 1fr;
    }
}

/* Image Popup Modal */
.image-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-popup-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    animation-name: zoom;
    animation-duration: 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes zoom {
    from {transform: translate(-50%, -50%) scale(0.9)}
    to {transform: translate(-50%, -50%) scale(1)}
}

.image-popup-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.image-popup-close:hover,
.image-popup-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Theme Switcher */
:root {
  --toggleHeight: 1.6rem;
  --toggleWidth: 3rem;
  --toggleBtnRadius: 1rem;
  --bgColor--night: #423966;
  --toggleBtn-bgColor--night: var(--bgColor--night);
  --mooncolor: #D9FBFF;
  --bgColor--day: #9ee3fb;
  --toggleBtn-bgColor--day: var(--bgColor--day);
}

.theme-switch-container {
    position: relative;
    z-index: 1001;
    margin-left: 2rem;
    list-style: none;
}

.tdnn {
  margin: 0;
  font-size: 10%;
  position: relative;
  height: var(--toggleHeight);
  width: var(--toggleWidth);
  border-radius: var(--toggleHeight);
  transition: all 500ms ease-in-out;
  background: var(--bgColor--night);
}

.day {
  background: #FFBF71;
}

.moon {
  position: absolute;
  display: block;
  border-radius: 50%;
  transition: all 400ms ease-in-out;
  top: 0.3rem;
  left: 0.3rem;
  transform: rotate(-75deg);
  width: var(--toggleBtnRadius);
  height: var(--toggleBtnRadius);
  background: var(--bgColor--night);
  box-shadow: 
    0.3rem 0.25rem 0 0rem var(--mooncolor) inset,
    rgba(255, 255, 255, 0.1) 0rem -0.7rem 0 -0.45rem,
    rgba(255, 255, 255, 0.1) 0.3rem 0.7rem 0 -0.45rem,
    rgba(255, 255, 255, 0.1) 0.2rem 1.3rem 0 -0.4rem,
    rgba(255, 255, 255, 0.1) 0.6rem 0.2rem 0 -0.41rem,
    rgba(255, 255, 255, 0.1) 0.8rem 0.8rem 0 -0.45rem,
    rgba(255, 255, 255, 0.1) 0.6rem 1.3rem 0 -0.45rem,
    rgba(255, 255, 255, 0.1) -0.4rem 0.7rem 0 -0.45rem,
    rgba(255, 255, 255, 0.1) -0.1rem 1rem 0 -0.45rem;
}

.sun {
  top: 0.45rem;
  left: 1.8rem;
  transform: rotate(0deg);
  width: 0.7rem;
  height: 0.7rem;
  background: #fff;
  box-shadow: 0.3rem 0.3rem 0 0.5rem #fff inset,
    0 -0.5rem 0 -0.27rem #fff,
    0.35rem -0.35rem 0 -0.3rem #fff,
    0.5rem 0 0 -0.27rem #fff,
    0.35rem 0.35rem 0 -0.3rem #fff,
    0 0.5rem 0 -0.27rem #fff,
    -0.35rem 0.35rem 0 -0.3rem #fff,
    -0.5rem 0 0 -0.27rem #fff,
    -0.35rem -0.35rem 0 -0.3rem #fff;
}

/* Light Mode */
body.light-mode {
    --text: #0a0a0a;
    --background: #ffffff;
    --card-bg: #f0f0f0;
}

body.light-mode header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
}

body.light-mode .hero-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, var(--background) 90%);
}

body.light-mode .cta-form {
    background-color: rgba(240, 240, 240, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .cta-form .btn {
    background-color: var(--primary);
    color: #ffffff;
}

body.light-mode .cta-form .btn:hover {
    background-color: #0bb565;
}

body.light-mode .solution {
    background-color: #f8f8f8;
}

body.light-mode .impact-stat {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .impact-stat p {
    color: var(--text);
}

body.light-mode .section-subtitle {
    color: var(--text);
}

body.light-mode footer {
    background-color: #f8f8f8;
}

body.light-mode .footer-bottom {
    border-top: 1px solid #ddd;
}
