:root {
    --primary-blue: #2B5C9E;
    --dark-blue: #1A3A63;
    --accent-blue: #4A8FE7;
    --bg-dark: #FFFFFF;
    --text-light: #1E293B;
    --text-dim: #64748B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

.background-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
}

.background-glow::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    transform: translate(100%, 100%);
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.container {
    width: 90%;
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.header {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 600px;
    height: auto;
}

.hero {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent-blue);
    background: linear-gradient(135deg, var(--accent-blue) 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 300;
}

.notify-container {
    max-width: 500px;
    margin: 0 auto;
}

.notify-text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.notify-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 640px) {
    .notify-form {
        flex-direction: row;
    }
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 0 0 4px rgba(74, 143, 231, 0.2);
}

.notify-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    filter: brightness(1.1);
}

.notify-btn:active {
    transform: translateY(0);
}

/* Search Component */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    flex-direction: column;
}

@media (min-width: 640px) {
    .search-form {
        flex-direction: row;
    }
}

.search-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 0 0 4px rgba(74, 143, 231, 0.2);
}

.search-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Search Results */
.search-results {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.search-results.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    text-align: left;
}

.result-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.result-card.available .result-icon {
    background: #DCFCE7;
    color: #166534;
}

.result-card.unavailable .result-icon {
    background: #FEE2E2;
    color: #991B1B;
}

.result-info {
    flex: 1;
}

.result-domain {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.result-status {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.result-card.available .result-status {
    color: #166534;
}

.result-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.price {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
}

.buy-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: var(--dark-blue);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.buy-btn:hover {
    background: var(--primary-blue);
}

.error-message {
    color: #DC2626;
    background: #FEE2E2;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

/* Footer adjustment */
.footer {
    margin-top: 3rem;
    color: var(--text-dim);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }
}