:root {
    /* Colors */
    --bg-dark: #020c1b;
    --bg-main: #0a192f;
    --bg-card: rgba(17, 34, 64, 0.75);
    --primary-color: #64ffda;
    --secondary-color: #00bcd4;
    --accent-gold: #ffd700;
    --text-light: #e6f1ff;
    --text-muted: #8892b0;

    /* Gradients */
    --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --glow-gradient: radial-gradient(circle at center, rgba(100, 255, 218, 0.15) 0%, transparent 70%);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: var(--transition-normal);
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 241, 255, 0.05);
    padding: 1.2rem 0;
}

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

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

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('hero-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
}

/* How It Works */
.workflow {
    padding: var(--spacing-xl) 0;
    background: var(--bg-main);
    position: relative;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:nth-child(2) {
    transition-delay: 0.2s;
}

.step:nth-child(3) {
    transition-delay: 0.4s;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    min-width: 40px;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--text-muted);
}

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

/* Trust / Audit */
.trust {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-dark));
    text-align: center;
}

.trust-content {
    display: inline-block;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    position: relative;
}

.trust-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--glow-gradient);
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
}

.trust h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.audit-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

/* Footer */
footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu could be better but sticking to simple for now */
}