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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 136, 0.02) 2px,
            rgba(0, 255, 136, 0.02) 4px
        );
    animation: scan 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scan {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(50px) rotate(360deg); }
}

.hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-bottom: 1px solid #333;
    padding: 10px 12px 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.05), transparent);
    animation: sweep 8s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: glow 3s ease-in-out infinite;
}

.arrow-left,
.arrow-right {
    position: absolute;
    font-size: 1.9rem;
    color: #00ff88;
    top: 45%;
    transform: translateY(-45%);
    animation: sway 1.6s ease-in-out infinite;
    z-index: 2;
    opacity: 0.7;
}

.arrow-left {
    left: 20px;
    animation-delay: 1s;
}

.arrow-right {
    right: 20px;
    animation-delay: 1s;
}

@keyframes sway {
    0%, 100% { transform: translateY(-45%) translateY(0); }
    50% { transform: translateY(-45%) translateY(8px); }
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
}

@keyframes sweep {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 14px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: -2px;
}

.tagline {
    font-size: 0.98rem;
    color: #9aa;
    font-weight: 300;
    margin-bottom: 10px;
}

section {
    margin-bottom: 22px;
}

h2 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 400;
    border-left: 4px solid #00ff88;
    padding-left: 18px;
}

h3 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-weight: 500;
}

p {
    margin-bottom: 10px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.story-box {
    background: #111;
    border: 1px solid #222;
    border-left: 4px solid #00ff88;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.story-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.story-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c0c0c0;
    position: relative;
    z-index: 1;
}

.demo-container {
    margin-top: 20px;
    text-align: center;
}

.demo-gif {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #222;
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.1);
}

/* Find it on section */
.find-it-on {
    text-align: center;
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #222;
}

.find-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.find-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.find-link {
    padding: 8px 20px;
    background: #111;
    border: 1px solid #222;
    color: #00ff88;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.find-link:hover {
    background: #1a1a1a;
    border-color: #00ff88;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.15);
}

/* Matrix typing effect */
.matrix-text {
    color: #00ff88;
    font-family: 'Courier New', monospace;
    min-height: 1.6em;
}

.matrix-text::after {
    content: '▌';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.feature-card {
    background: #111;
    border: 1px solid #222;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.1);
}

.feature-card h4 {
    margin-bottom: 4px;
}

.feature-card p {
    color: #888;
    font-size: 0.7rem;
}

/* Privacy Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #0d1f0d 0%, #0a0a0a 100%);
    border: 1px solid #00ff88;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 136, 0.03) 50%, transparent 52%);
    background-size: 20px 20px;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.highlight-box h2 {
    border: none;
    padding-left: 0;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.privacy-item {
    padding: 14px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
}

.privacy-item strong {
    color: #00ff88;
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.privacy-item p {
    color: #999;
    font-size: 0.88rem;
}

/* Personas Grid */
.use-case-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.use-case {
    background: #111;
    border: 1px solid #222;
    padding: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.use-case:hover {
    border-color: #00ff88;
    transform: translateX(5px);
}

.use-case-title {
    font-size: 1.05rem;
    color: #00ff88;
    font-weight: 600;
    margin-bottom: 6px;
}

.use-case p {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

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

.persona {
    background: #111;
    border: 1px solid #222;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.92rem;
}

.persona:hover {
    border-color: #00ff88;
    transform: scale(1.03);
}

/* Steps - Compact Version */
.steps-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.step-compact {
    background: #111;
    border: 1px solid #222;
    border-left: 3px solid #00ff88;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.step-compact:hover {
    border-left-color: #00ff88;
    background: #151515;
    transform: translateX(3px);
}

.step-compact .num {
    display: inline-block;
    background: #00ff88;
    color: #0a0a0a;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    font-size: 0.85rem;
}

/* Old steps styling - keep for compatibility */
.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.step {
    display: flex;
    gap: 16px;
    background: #111;
    border: 1px solid #222;
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 0;
    background: #00ff88;
    transition: height 0.3s ease;
}

.step:hover::after {
    height: 100%;
}

.step:hover {
    border-color: #00ff88;
}

.step-number {
    font-size: 2rem;
    color: #00ff88;
    font-weight: 700;
    line-height: 1;
    min-width: 50px;
}

.step-content {
    flex: 1;
}

.step-content .note {
    color: #666;
    font-size: 0.77rem;
    margin-top: 8px;
}

/* Requirements Box */
.requirements-box {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 22px;
    text-align: center;
}

.requirements-box h2 {
    border: none;
    padding: 0;
    text-align: center;
}

.req-items {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 15px;
}

.req-item {
    font-size: 1.1rem;
    color: #00ff88;
    font-weight: 500;
}

/* Demo Page */
.demo-page {
    margin: 20px 0;
    text-align: center;
}

.video-container {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.1);
    margin-bottom: 30px;
}

.video-container video,
.video-container iframe {
    display: block;
    max-width: 100%;
}

.back-link {
    margin-bottom: 40px;
}

.back-link a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.back-link a:hover {
    color: #00cc6a;
    text-decoration: underline;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    color: #b0b0b0;
    font-size: 0.95rem;
}

ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-size: 1.2rem;
}

code {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00ff88;
    font-size: 0.88em;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

footer {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #333;
    text-align: center;
}

.attribution {
    color: #888;
}

.attribution p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.links a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #00cc6a;
    text-decoration: underline;
}

.links span {
    color: #333;
}

.ph-badge {
    margin-top: 20px;
}

.ph-badge img {
    display: inline-block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.ph-badge img:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px 30px;
    }

    .container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .personas-grid {
        grid-template-columns: 1fr;
    }

    .privacy-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 12px;
    }

    .step-number {
        font-size: 1.8rem;
    }

    .req-items {
        flex-direction: column;
        gap: 15px;
    }

    .story-box {
        padding: 18px;
    }

    .story-box p {
        font-size: 0.98rem;
    }
}
