:root {
    --primary: #4fb977;
    --primary-hover: #3b965e;
    --text-main: #efefef;
    --text-muted: #b7b7b7;
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-sans: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Account for fixed navbar */
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    background-image: url('assets/bg.svg');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax-ish */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth transitions for all sections */
section {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-primary {
    color: var(--primary);
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 185, 119, 0.4);
}

.btn-outline {
    border-color: rgba(79, 185, 119, 0.3);
    color: var(--primary);
    background: rgba(79, 185, 119, 0.1);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.logo img {
    height: 30px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Background Glows (replicated from globals.css) */
.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 221, 135, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    bottom: -10%;
    left: -10%;
    z-index: -1;
    filter: blur(80px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 221, 135, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    right: 0;
    top: 20%;
    z-index: -1;
    filter: blur(80px);
}

.badge {
    display: inline-block;
    background: rgba(79, 185, 119, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(79, 185, 119, 0.2);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.image-wrapper img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Video Section */
.video-section {
    padding: 0 0 100px;
}

.video-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(79, 185, 119, 0.1);
    border: 1px solid var(--border-color);
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.icon-box {
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-flex;
    padding: 15px;
    background: rgba(79, 185, 119, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(79, 185, 119, 0.05) 50%, transparent 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr 1.2fr 1fr;
        align-items: center;
    }

    .item-2 {
        transform: scale(1.1);
        z-index: 2;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    }
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Waitlist Section */
.waitlist-section {
    padding: 100px 0;
    text-align: center;
}

.waitlist-form {
    max-width: 500px;
    margin: 40px auto;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 576px) {
    .waitlist-form {
        flex-direction: row;
    }
}

.waitlist-form input {
    flex: 1;
    padding: 15px 20px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.waitlist-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 185, 119, 0.2);
}

.btn-submit {
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    height: 20px;
}

.success {
    color: var(--primary);
}

.error {
    color: #ff6b6b;
}

/* Spinner */
.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: #050505;
}

footer p {
    font-size: 0.9rem;
    margin: 0;
}