:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #00e5ff;
    /* Cyan */
    --secondary-color: #7b2cbf;
    /* Purple */
    --accent-color: #ff007a;
    /* Pink/Red for highlights */
    --card-bg: #1a1a1a;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    color: #fff;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    min-height: 1.2em;
    /* Prevent layout shift during typing */
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: #050505;
}

/* Header/Nav */
header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.15) 0%, rgba(10, 10, 10, 0) 60%);
    animation: pulse 8s infinite alternate;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
    -webkit-text-fill-color: #fff;
}

.secondary-button {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all var(--transition-speed);
}

.secondary-button:hover {
    border-color: var(--primary-color);
    background: rgba(0, 229, 255, 0.1);
    color: #fff;
    text-shadow: none;
}

/* Steps Grid (How it Works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border-top: 3px solid transparent;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.feature-card:hover::after {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.use-case-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: background var(--transition-speed);
}

.use-case-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #888;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: #888;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 150px 0;
    }

    nav ul {
        display: none;
    }

    /* Simple hiding for mobile for now */
    .hero-buttons {
        flex-direction: column;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
    }
}