/* 
  Shadow Sentinel - Redesign
  Author: Gemini
  Date: 2026-02-11
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=Exo+2:wght@400;700;900&display=swap');

:root {
    --primary-font: 'Exo 2', sans-serif;
    --mono-font: 'Roboto Mono', monospace;
    --background-color: #0A0A1A; /* Deep navy blue */
    --surface-color: #1A1A2A;   /* Slightly lighter navy for cards */
    --accent-color-1: #00F5FF;   /* Bright cyan */
    --accent-color-2: #7A00FF;   /* Electric purple */
    --text-color: #E0E0E0;
    --text-muted-color: #888;
}

/* --- General & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Header & Navigation --- */
.header {
    width: 100%;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-logo-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.4s ease;
}
.nav-logo:hover .nav-logo-icon {
    transform: rotate(180deg);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--mono-font);
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}
.nav-link:hover {
    color: white;
}
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    /* Removed problematic background image */
    background: linear-gradient(to bottom, var(--background-color) 5%, transparent 50%),
                linear-gradient(135deg, #0A0A1A 0%, #1A0A3A 100%); /* New abstract background */
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin: 0;
    color: white;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5), 0 0 25px rgba(122, 0, 255, 0.5);
}

.hero .tagline {
    font-family: var(--mono-font);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--accent-color-1);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Content Sections --- */
.content-section {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: white;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
}

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

.feature-card {
    background-color: var(--surface-color);
    border: 1px solid #2a2a3a;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-card-title {
    font-family: var(--mono-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color-1);
    margin-top: 0;
    margin-bottom: 15px;
}

/* --- How It Works Section --- */
.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding-left: 40px; /* Space for timeline */
}
.how-it-works-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color-1), var(--accent-color-2));
    border-radius: 2px;
}

.step {
    background-color: var(--surface-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color-1);
    position: relative;
}
.step::before {
    content: attr(data-step);
    position: absolute;
    left: -53px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent-color-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono-font);
    font-weight: 700;
}

.step-title {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: white;
}

/* --- Footer --- */
.footer {
    background-color: var(--surface-color);
    text-align: center;
    padding: 30px 20px;
    margin-top: 100px;
    border-top: 1px solid #2a2a3a;
}
.footer-text {
    font-family: var(--mono-font);
    color: var(--text-muted-color);
}
.footer-link {
    color: var(--accent-color-1);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.footer-link:hover {
    color: white;
}

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-family: var(--mono-font);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none; /* Remove default button border */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    z-index: -1;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}

.button:hover::before {
    transform: translateX(0);
}

.button.primary-button {
    background: linear-gradient(90deg, var(--accent-color-1), var(--accent-color-2));
    color: var(--background-color); /* Dark text on bright button */
}

.button.primary-button:hover {
    color: white; /* White text on hover */
    box-shadow: 0 0 15px var(--accent-color-1);
}

/* For pre and code tags within the usage section */
.how-to-get-started pre {
    background-color: var(--background-color);
    border: 1px solid #2a2a3a;
    border-left: 4px solid var(--accent-color-1);
    border-radius: 5px;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 0.9em;
    overflow-x: auto;
}

.how-to-get-started code {
    font-family: var(--mono-font);
    color: var(--accent-color-1);
}

.how-to-get-started ol {
    list-style: none; /* Remove default numbering */
    padding-left: 0;
    counter-reset: my-list-counter; /* Reset custom counter for each ordered list */
}

.how-to-get-started ol li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.how-to-get-started ol li::before {
    content: counter(my-list-counter) ".";
    counter-increment: my-list-counter;
    position: absolute;
    left: 0;
    color: var(--accent-color-2);
    font-weight: 700;
}