:root {
    /* Pure Black and White Palette */
    --bg: #000000;
    --fg: #ffffff;
    --border: #ffffff;

    /* Geometry - Sharp Edges */
    --radius: 0px;
    --border-width: 2px;

    /* Typography */
    --font-mono: 'IBM Plex Mono', monospace;
    --font-sans: 'Inter', sans-serif;

    /* Transitions */
    --transition: 0.1s ease;
    /* Faster, snappier transitions */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: var(--radius) !important;
    /* Force sharp edges */
}

html {
    background-color: var(--bg);
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

::selection {
    background: var(--fg);
    color: var(--bg);
}

/* Pure Black and White - No background effects */
body {
    background-color: var(--bg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg);
    border-bottom: var(--border-width) solid var(--border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--fg);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--fg);
    color: var(--bg);
    border: var(--border-width) solid var(--border);
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition);
}

.nav-button:hover {
    background: var(--bg);
    color: var(--fg);
}

/* Layout */
.container {
    max-width: 900px;
    margin: 10rem auto 6rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: left;
    margin-bottom: 6rem;
    border-left: calc(var(--border-width) * 3) solid var(--border);
    padding-left: 2rem;
}

.badge {
    display: inline-block;
    border: var(--border-width) solid var(--border);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    background: var(--fg);
    color: var(--bg);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 550px;
    font-weight: 400;
    color: var(--fg);
}

.hero-cta {
    display: inline-flex;
    margin-top: 2rem;
    text-decoration: none;
    height: auto;
}

/* Domain Widget (Stark Brutalist) */
.domain-widget {
    border: var(--border-width) solid var(--border);
    background: var(--bg);
    position: relative;
}

.domain-widget::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    border: var(--border-width) solid var(--border);
    z-index: -1;
}

.wizard-steps {
    display: flex;
    border-bottom: var(--border-width) solid var(--border);
}

.step {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: var(--border-width) solid var(--border);
    transition: all var(--transition);
}

.step:last-child {
    border-right: none;
}

.step-number {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.25rem;
}

.step-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step.active {
    background: var(--fg);
    color: var(--bg);
}

.widget-content {
    padding: 4rem;
}

/* Stage Search */
.view-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.view-desc {
    font-size: 1rem;
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    border: var(--border-width) solid var(--border);
    padding: 0;
    background: var(--bg);
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-box input {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    background: transparent;
    color: var(--fg);
    border: none;
    outline: none;
    font-weight: 700;
}

.domain-extension {
    padding-right: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
    border: none;
    padding: 0 3rem;
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    cursor: pointer;
    height: auto;
    transition: transform var(--transition);
}

.btn-primary:hover {
    background: var(--fg);
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--border);
}

.btn-primary:active {
    transform: translate(0, 0);
    box-shadow: none;
}

.feature-list {
    margin-top: 3rem;
    display: flex;
    gap: 3rem;
}

.feature-item {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item .icon-wrap {
    background: var(--fg);
    color: var(--bg);
    padding: 0.25rem;
}

/* Feedback Messages */
.feedback-msg {
    display: none;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 1.5rem;
    border: var(--border-width) solid var(--border);
    margin-top: 2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.feedback-msg.error {
    background: var(--fg);
    color: var(--bg);
}

.feedback-msg.success {
    background: var(--bg);
    color: var(--fg);
    border-style: dashed;
}

/* Stage Configure */
.btn-back {
    margin-bottom: 3rem;
    border: var(--border-width) solid var(--border);
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--fg);
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: var(--fg);
    color: var(--bg);
}

.availability-alert {
    border: var(--border-width) solid var(--border);
    padding: 2rem;
    margin-bottom: 3rem;
    background: var(--fg);
    color: var(--bg);
}

.alert-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.input-modern {
    background: transparent;
    border: var(--border-width) solid var(--border);
    height: 60px;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fg);
}

.input-modern:focus {
    background: var(--fg);
    color: var(--bg);
}

.select-modern {
    cursor: pointer;
}

/* Stage Success */
.success-anim .success-icon-large {
    width: 64px;
    height: 64px;
    stroke-width: 3;
}

.success-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.receipt-card {
    border: var(--border-width) solid var(--border);
    padding: 3rem;
}

.receipt-item {
    border-bottom: var(--border-width) solid var(--border);
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.receipt-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.receipt-value {
    font-weight: 800;
    font-family: var(--font-mono);
}

/* Footer */
.footer {
    border-top: calc(var(--border-width) * 4) solid var(--border);
    padding: 6rem 0;
    text-align: center;
    background: var(--fg);
    color: var(--bg);
}

.footer-brand span {
    font-size: 3rem;
    font-weight: 900;
}

.footer-links a {
    color: var(--bg);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0 1rem;
}

/* Stage Visibility */
.stage-view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 3px solid var(--bg);
    border-top-color: var(--fg);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        margin-top: 6rem;
    }

    .nav-actions {
        gap: 1rem;
    }

    .hero {
        padding-top: 2rem;
        margin-bottom: 4rem;
        padding-left: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .wizard-steps {
        flex-direction: column;
    }

    .step {
        border-right: none;
        border-bottom: var(--border-width) solid var(--border);
        padding: 0.75rem 1rem;
    }

    .widget-content {
        padding: 2.5rem 1.5rem;
    }

    .search-box {
        flex-direction: column;
        border: none;
    }

    .search-input-wrap {
        border: var(--border-width) solid var(--border);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .search-box input {
        padding: 1rem;
        font-size: 1.2rem;
        flex: 1;
        min-width: 0;
    }

    .domain-extension {
        padding-right: 1rem;
        font-size: 1.2rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-primary {
        width: 100%;
        padding: 1.25rem;
        border: var(--border-width) solid var(--border);
    }
}

@media (max-width: 480px) {
    .container {
        margin-top: 5rem;
        padding: 0 1rem;
    }

    .nav-content {
        padding: 1rem;
    }

    .brand {
        font-size: 1.1rem;
    }

    .hero {
        padding-left: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .widget-content {
        padding: 1.5rem 1rem;
    }

    .search-box input,
    .domain-extension {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .feature-list {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .receipt-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .success-title {
        font-size: 2rem;
    }

    .step-title {
        font-size: 0.6rem;
    }
}