/* 
  Green Panther - Dark Mode / High-Contrast Tech Theme
*/

:root {
    --gp-primary: #00ff88;     /* High contrast neon green */
    --gp-emerald: #05d674;     /* Slightly deeper neon green */
    --gp-surface: #0a0f1c;     /* Dark tech mode background */
    --gp-text: #f8fafc;        /* Off-white text */
    --gp-slate: #94a3b8;       /* Slate grey for secondary text */
    --gp-light-green: rgba(0, 255, 136, 0.1);
    --gp-white: #111827;       /* Used for cards/elements background in dark mode */
    --gp-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --gp-shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--gp-surface);
    color: var(--gp-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.text-emerald { color: var(--gp-primary); }
.text-slate { color: var(--gp-slate); }
.section-subtitle {
    text-align: center;
    color: var(--gp-primary);
    font-weight: 600;
    margin-bottom: 4rem;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px; 
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    line-height: 1;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gp-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    background-color: var(--gp-emerald);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gp-slate);
    color: var(--gp-text);
}

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

/* Progress Banner */
.progress-banner {
    background-color: var(--gp-white);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .banner-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.progress-text {
    font-size: 0.875rem;
    color: var(--gp-text);
}

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

.progress-bar-container {
    width: 100%;
    max-width: 300px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--gp-primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--gp-primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 45px; /* offset by progress banner */
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.navbar.shadow-md {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gp-primary);
    letter-spacing: -0.025em;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gp-slate);
}

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--gp-white);
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0.75rem;
    color: var(--gp-text);
}

.mobile-menu a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--gp-primary);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(0, 255, 136, 0.15), transparent 50%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
}

.hero-text {
    max-width: 650px;
}

.hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-text h1 span {
    color: var(--gp-primary);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--gp-slate);
    margin-bottom: 2.5rem;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge {
    background-color: var(--gp-white);
    color: var(--gp-text);
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: all 0.3s ease;
    width: 190px;
    text-align: left;
    height: 56px;
    border: 1px solid rgba(255,255,255,0.05);
}

.badge:hover { 
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
}

.badge i { 
    font-size: 1.75rem; 
    flex-shrink: 0; 
    display: flex;
    align-items: center;
    color: var(--gp-primary);
}

.badge-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-text p {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.badge-text p:first-child { 
    font-size: 0.6rem; 
    opacity: 0.8; 
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-text p:last-child { 
    font-size: 1.05rem; 
    font-weight: 700; 
    line-height: 1.2;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.mockup-container {
    background-color: var(--gp-white);
    padding: 0.5rem;
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 255, 136, 0.15);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.05);
}

.mockup-container img {
    border-radius: 2.5rem;
}

.decorative-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-color: var(--gp-primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

/* Features / Impact Section */
.features {
    padding: 100px 0;
    background-color: var(--gp-white);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background-color: var(--gp-surface);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    box-shadow: var(--gp-shadow);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.icon-blue { background-color: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.icon-green { background-color: rgba(0, 255, 136, 0.1); color: var(--gp-primary); }
.icon-orange { background-color: rgba(249, 115, 22, 0.1); color: #fb923c; }

.feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--gp-text); }
.feature-card p { font-size: 1.05rem; }
.feature-card p strong { color: var(--gp-text); }

/* Steps / The Loop */
.steps {
    padding: 100px 0;
}

.steps h2 { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 1rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
    text-align: center;
}

.step-item:last-child { margin-bottom: 0; }

.step-tag {
    color: var(--gp-primary);
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-item h3 { font-size: 2rem; margin-bottom: 1.5rem; }

.step-visual {
    width: 140px;
    height: 140px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0; 
    background-color: var(--gp-white);
    border: 2px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.step-visual i {
    background: -webkit-linear-gradient(45deg, #00ff88, #05d674);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pillars Section */
.pillars-section {
    padding: 100px 0;
    background-color: var(--gp-white);
    border-top: 1px solid rgba(255,255,255,0.02);
}

.pillars-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.pillars-grid {
    display: grid;
    gap: 2rem;
}

.pillar {
    background: linear-gradient(145deg, var(--gp-surface), #111827);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--gp-primary);
}

.pillar-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--gp-text);
}

/* Call to Action Section (Partners) */
.cta-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.15), var(--gp-surface));
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.cta-section h2 { font-size: 2.5rem; margin-bottom: 2rem; color: var(--gp-text); }
.cta-section p { 
    font-size: 1.25rem; 
    color: var(--gp-slate); 
    margin-bottom: 3rem; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}

.cta-btns {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

.bg-leaf {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 30rem;
    opacity: 0.03;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: var(--gp-primary);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background-color: var(--gp-white);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand { grid-column: span 1; }
.footer-brand p { margin: 1.5rem 0 2rem; max-width: 320px; }

.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--gp-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gp-slate);
    border: 1px solid rgba(255,255,255,0.05);
}

.social-links a:hover {
    background-color: rgba(0, 255, 136, 0.1);
    color: var(--gp-primary);
    border-color: var(--gp-primary);
}

.footer-nav h4 { margin-bottom: 1.5rem; font-weight: 700; color: var(--gp-text); }
.footer-nav ul li { margin-bottom: 1rem; }
.footer-nav ul a { color: var(--gp-slate); }
.footer-nav ul a:hover { color: var(--gp-primary); }

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
    color: var(--gp-slate);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--gp-white);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--gp-slate);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--gp-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gp-text);
}

.modal-body {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background-color: var(--gp-surface);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.mt-4 {
    margin-top: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 0.875rem;
    color: var(--gp-slate);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-details a {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Legal Pages Styles */
.legal-header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--gp-surface);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.back-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gp-slate);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.back-home:hover {
    color: var(--gp-primary);
    background-color: rgba(0, 255, 136, 0.05);
    transform: translateX(-5px);
}

.legal-main {
    padding: 4rem 0 8rem;
    min-height: 70vh;
}

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

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gp-text);
    font-weight: 800;
}

.last-updated {
    color: var(--gp-slate);
    margin-bottom: 4rem;
    font-size: 0.875rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--gp-primary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.legal-section h3 {
    color: var(--gp-text);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--gp-slate);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    margin-left: 0;
    color: var(--gp-slate);
}

.legal-section li {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    position: relative;
    padding-left: 1.5rem;
}

.legal-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--gp-primary);
}

/* Responsiveness */
@media (min-width: 640px) {
    .hero-text h1 { font-size: 3.5rem; }
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .mobile-menu-btn { display: none; }
    
    .hero { padding: 220px 0 140px; }
    .hero-content { flex-direction: row; text-align: left; gap: 4rem; }
    .hero-text { flex: 1; }
    .app-badges { justify-content: flex-start; }
    .hero-ctas { justify-content: flex-start; }
    .hero-visual { flex: 1; max-width: 380px; }
    
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    
    .step-item { flex-direction: row; text-align: left; gap: 6rem; align-items: center; }
    .step-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
    .step-item > div { flex: 1; }

    .step-visual { 
        width: 180px; 
        height: 180px; 
        min-width: 180px;
        font-size: 4rem; 
    }
    
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-brand { grid-column: span 2; }
}

@media (min-width: 1024px) {
    .hero-text h1 { font-size: 4.5rem; }
    .hero-content { gap: 8rem; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gp-surface); }
::-webkit-scrollbar-thumb { background: var(--gp-primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gp-emerald); }
