/* === VARIABLES === */
:root {
    --bg-deep:      #020818;
    --bg-card:      rgba(255, 255, 255, 0.04);
    --bg-card-hover:rgba(255, 255, 255, 0.07);
    --border:       rgba(255, 255, 255, 0.10);
    --blue-primary: #3B82F6;
    --blue-light:   #60A5FA;
    --blue-glow:    rgba(59, 130, 246, 0.35);
    --accent:       #06B6D4;
    --text-primary: #F1F5F9;
    --text-muted:   #94A3B8;
    --text-dim:     #64748B;
    --success:      #10B981;
    --error:        #EF4444;
    --radius:       16px;
    --radius-sm:    10px;
    --transition:   0.25s ease;
    --font-main:    'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* === BACKGROUND === */
.bg-hero {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('https://images.pexels.com/photos/34634037/pexels-photo-34634037.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=627&w=1200');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.bg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 8, 24, 0.92) 0%,
        rgba(7, 20, 55, 0.88) 50%,
        rgba(2, 8, 24, 0.95) 100%
    );
}

/* Particules CSS */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--blue-primary);
    opacity: 0;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-20px) scale(1.5); }
}

/* === LAYOUT === */
.page-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* === BADGE === */
.badge-for-sale {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(6,182,212,0.10));
    border: 1px solid rgba(59,130,246,0.35);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    width: fit-content;
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.7); }
    50%       { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

/* === HERO SECTION === */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.domain-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--blue-light) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-all;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}

/* === STATS STRIP === */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: background var(--transition), border-color var(--transition);
}
.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(59,130,246,0.3);
}
.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-weight: 600;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-light);
    margin-top: 2px;
}

/* === CARD === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* === FORM === */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.form-group label .required {
    color: var(--blue-primary);
    margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.92rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}
input::placeholder,
textarea::placeholder {
    color: var(--text-dim);
}
input:focus,
textarea:focus {
    border-color: var(--blue-primary);
    background: rgba(59,130,246,0.06);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* Honeypot */
.hp-field { display: none !important; }

/* === BUTTON === */
.btn-submit {
    width: 100%;
    padding: 15px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--blue-primary), var(--accent));
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}
.btn-submit:active {
    transform: translateY(0);
}
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loader spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === ALERT === */
.alert {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
    border-left: 3px solid;
}
.alert.success {
    background: rgba(16,185,129,0.1);
    border-color: var(--success);
    color: #6EE7B7;
}
.alert.error {
    background: rgba(239,68,68,0.1);
    border-color: var(--error);
    color: #FCA5A5;
}

/* === FEATURES === */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-light);
    font-size: 0.7rem;
    margin-top: 1px;
}

/* === FOOTER === */
.page-footer {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.78rem;
    padding-bottom: 8px;
}
.page-footer a {
    color: var(--blue-primary);
    text-decoration: none;
}
.page-footer a:hover { text-decoration: underline; }

/* === REVEAL ANIMATIONS === */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .card { padding: 24px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: auto; }
    .stats-strip { grid-template-columns: 1fr; }
    .domain-name { font-size: clamp(1.1rem, 5vw, 1.6rem); }
}