:root {
    --primary: #0a2540;
    --accent: #635bff;
    --accent-hover: #524ade;
    --for-sale: #f59e0b;
    --text-main: #1a1f36;
    --text-muted: #4f566b;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border: #e3e8ee;
    --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.25), 0 1px 3px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 7px 14px 0 rgba(60, 66, 87, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 15px 35px 0 rgba(60, 66, 87, 0.1), 0 5px 15px 0 rgba(0, 0, 0, 0.07);
    --radius: 8px;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    background-color: var(--bg-white);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-button-small {
    background-color: var(--accent);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.cta-button-small:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #f7fafc 0%, #ffffff 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.for-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fffbeb;
    color: var(--for-sale);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border: 1px solid #fef3c7;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* WHOIS Section */
.whois-section {
    padding: 6rem 0;
}

.whois-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    background: #f4f7fa;
    padding: 0.75rem;
    border-radius: 12px;
}

.search-box input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    font-size: 1.2rem;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    background: white;
    transition: all 0.2s ease;
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.search-box button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 2.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-box button:hover {
    background-color: var(--accent-hover);
}

/* Results Display */
.whois-results {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.results-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.data-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.data-item strong {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.data-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.raw-section {
    margin-top: 3rem;
}

.raw-section strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.raw-section pre {
    background: #1a1f36;
    color: #e3e8ee;
    padding: 2rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #3c4257;
}

/* SEO Section */
.seo-section {
    padding: 8rem 0;
    background-color: #ffffff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: left;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.card .icon {
    width: 60px;
    height: 60px;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Use Cases */
.use-cases {
    margin-top: 6rem;
    background: var(--primary);
    color: white;
    padding: 5rem;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.use-cases h2 {
    font-size: 3rem;
    line-height: 1.1;
}

.use-cases ul {
    list-style: none;
}

.use-cases li {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.use-cases li::before {
    content: "✓";
    color: #4ade80;
    font-weight: 900;
}

/* Footer */
footer {
    padding: 4rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .use-cases { grid-template-columns: 1fr; padding: 3rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .data-grid { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; padding: 0.5rem; }
    .search-box button { padding: 1rem; }
}
