@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #006D77;
    /* Deep Petroleum */
    --primary-light: #83C5BE;
    --primary-dark: #004D4D;
    --accent: #FFDDD2;
    /* Soft Accent */
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-main: #1F2937;
    --text-muted: #6B7280;

    /* Layout */
    --section-padding: 100px 5%;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 109, 119, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Headings */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Sections */
section {
    padding: var(--section-padding);
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.nav-links a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--text-main);
}

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

/* Hero Specifics */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(131, 197, 190, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 109, 117, 0.05), transparent 40%),
        var(--bg-light);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 28px;
    color: var(--primary-dark);
    line-height: 1.1;
}

.hero-text h1 span {
    color: var(--primary);
    font-weight: 500;
}

.hero-text p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

/* Decorative background for the image */
.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 40px;
    top: 20px;
    right: -20px;
    z-index: -1;
    opacity: 0.2;
}

.image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    background: var(--white);
    aspect-ratio: 4/5;
    /* Slightly taller for more visual impact */
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    /* Subtle zoom for better fit */
}

/* Purpose Section */
.purpose {
    background-color: var(--white);
}

.purpose-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--primary-dark);
    color: var(--white);
}

.how-it-works .section-title {
    color: var(--white);
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 10px;
}

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

.step-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Earnings Section */
.earnings {
    background-color: var(--bg-light);
}

.earnings-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.earnings-examples {
    margin: 40px 0;
}

.example-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--bg-light);
}

.example-item.highlight {
    background: var(--primary-light);
    border-radius: 12px;
    color: var(--primary-dark);
    font-weight: 700;
    border-bottom: none;
}

.example-label {
    font-size: 1.1rem;
}

.example-value {
    font-weight: 700;
}

.ethics-warning {
    text-align: center;
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.progression-info {
    margin-top: 20px;
    padding: 25px;
    background-color: #f0f7f4;
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.progression-info strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Tech + Security Section */
.tech-security {
    position: relative;
    background-color: #002D33;
    /* Dark tech background */
    color: var(--white);
    overflow: hidden;
    padding: 120px 0;
}

.tech-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: all;
    /* Make background interactive */
}

#circuit-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.tech-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, or manage selectively */
}

.tech-content * {
    pointer-events: all;
}

.tech-content .section-title {
    color: var(--white);
    margin-bottom: 30px;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.tech-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight-item {
    padding: 25px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.highlight-item strong {
    color: var(--primary-light);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.highlight-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Impact Section */
.social-impact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.social-impact .section-title {
    color: var(--white);
}

.impact-text p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.emotional-quote {
    font-style: italic;
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Final CTA Section */
.final-cta {
    background-color: var(--white);
    text-align: center;
}

.cta-box {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 40px;
    border-radius: 40px;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-support {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px 4%;
    }

    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .tech-content .section-title {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-btns {
        flex-direction: column;
        width: 100%;
    }

    .cta-btns .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-links a {
        margin: 0;
    }

    .earnings-card {
        padding: 40px 20px;
    }

    .example-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-box {
        padding: 50px 20px;
        border-radius: 24px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .step-card {
        padding: 20px;
    }
}