/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff88;
    --primary-green-dim: #00cc6a;
    --primary-green-glow: rgba(0, 255, 136, 0.4);
    --bg-dark: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-gray: #888888;
    --text-dim: #555555;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animated Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-orb 20s ease-in-out infinite;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-green-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.glow-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 100, 0.15) 0%, transparent 70%);
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Main Content */
main {
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--primary-green-glow));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 20px var(--primary-green-glow);
}

/* Glass Buttons */
.btn-primary {
    background: var(--primary-green);
    color: var(--bg-dark);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 0 30px var(--primary-green-glow);
}

.btn-primary:hover {
    background: #00ffaa;
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--primary-green-glow), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-white);
    padding: 12px 28px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(0, 255, 136, 0.05);
}

.btn-large {
    padding: 18px 44px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.05;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 48px;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Trust Score Card - Glass Morphism */
.trust-score-card {
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 56px;
    text-align: center;
    border: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.trust-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    opacity: 0.5;
}

.trust-score-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary-green-glow) 0%, transparent 50%);
    opacity: 0.1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

.score-header {
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.score-value {
    font-size: 120px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 60px var(--primary-green-glow);
    position: relative;
    z-index: 1;
}

.score-label {
    color: var(--primary-green-dim);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.section-header h2 {
    font-size: 52px;
    color: var(--text-white);
}

/* Problem Section */
.problem-section {
    background: transparent;
}

.problem-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 64px;
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 100, 100, 0.5), transparent);
}

.problem-icon {
    font-size: 72px;
    margin-bottom: 32px;
}

.problem-card p {
    font-size: 22px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.problem-card strong {
    color: var(--text-white);
}

.problem-highlight {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ff6b6b !important;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 48px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 255, 136, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    background: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 48px 36px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    position: relative;
    transition: all 0.4s;
}

.step-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-green);
    color: var(--bg-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 28px;
    box-shadow: 0 0 40px var(--primary-green-glow);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Community Section */
.community-section {
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.community-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.community-content h2 {
    font-size: 52px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-content p {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    background: transparent;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--text-white);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 48px;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: rgba(5, 5, 5, 0.8);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px var(--primary-green-glow));
}

.footer-brand p {
    color: var(--text-dim);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 24px;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 14px;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--primary-green);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .nav-links {
        gap: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-items: center;
    }

    .trust-score-card {
        padding: 40px;
    }

    .score-value {
        font-size: 96px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 16px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .problem-card {
        padding: 40px 24px;
    }

    .problem-card p {
        font-size: 18px;
    }

    .problem-highlight {
        font-size: 22px !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green-dim);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* Selection */
::selection {
    background: var(--primary-green);
    color: var(--bg-dark);
}
