/* --- CSS VARIABLES (Industrial Dark Tech Aesthetic) --- */
:root {
    --bg-primary: #0a0c10;
    /* Deep industrial black */
    --bg-surface: #12161f;
    /* Muted card surface */
    --bg-surface-hover: #181d29;
    /* Card hover surface */
    --accent-blue: #0066ff;
    /* High-precision activation blue */
    --accent-hover: #0052cc;
    /* Darker activation blue */
    --text-main: #f0f3f6;
    /* Bright body text */
    --text-muted: #8b949e;
    /* Cool gray descriptive text */
    --border-color: #21262d;
    /* Clean technical divider borders */
    --success-bg: rgba(46, 160, 67, 0.15);
    --success-border: #3fb950;
    --success-text: #56d364;
}

/* --- GLOBAL RESET & TYPOGRAPHY --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- LAYOUT & SPACING --- */
section {
    max-width: 960px;
    margin: 80px auto;
    padding: 0 24px;
}

/* --- HERO BLOCK (Technical Schematic Grid Background) --- */
header {
    padding: 120px 24px;
    text-align: center;
    background: radial-gradient(circle at center, #161b22 0%, var(--bg-primary) 80%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

/* Decorative blueprint alignment lines */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.12;
    pointer-events: none;
}

h1 {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #8b949e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-weight: 400;
}

/* --- TYPOGRAPHY DETAILS --- */
h2 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

p.intro-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- HARDWARE CARDS GRID --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--bg-surface);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
    border-color: var(--accent-blue);
    background: var(--bg-surface-hover);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.12);
    transform: translateY(-2px);
}

.card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.card-icon {
    color: var(--accent-blue);
    width: 36px;
    height: 36px;
}

/* --- CALL TO ACTION (LEAD CAPTURE) --- */
.signup-box {
    background: radial-gradient(100% 100% at 50% 0%, rgba(22, 27, 34, 0.8) 0%, rgba(10, 12, 16, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
}

.signup-box h2 {
    justify-content: center;
}

form {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

input[type="email"] {
    padding: 14px 18px;
    width: 320px;
    max-width: 100%;
    background: #07090d;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2);
}

button {
    padding: 14px 28px;
    border: none;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

button:hover {
    background-color: var(--accent-hover);
}

button:active {
    transform: scale(0.98);
}

/* --- NOTIFICATIONS --- */
#signup-success {
    background: var(--success-bg);
    color: var(--success-text);
    padding: 16px 24px;
    border-radius: 6px;
    margin: 24px auto 0 auto;
    max-width: 912px;
    font-size: 1rem;
    border: 1px solid var(--success-border);
    text-align: center;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    margin-top: 120px;
}