:root {
    /* Color Palette */
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --modal-overlay: rgba(15, 23, 42, 0.5);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background Mesh Gradient - Very subtle and premium */
.background-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 10% 10%, hsla(217, 100%, 70%, 0.1) 0px, transparent 50%),
        radial-gradient(at 90% 10%, hsla(280, 100%, 70%, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 90%, hsla(250, 100%, 70%, 0.08) 0px, transparent 50%);
    pointer-events: none;
}

/* Layout Utilities */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Typography Styles */
.pre-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.domain-name {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    word-break: break-word;
    /* Subtle gradient for text */
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.divider {
    width: 48px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 4px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.8;
}

.description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 9999px;
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Modal Overlay Restyling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--modal-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content & Form */
.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.05);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--text-primary);
    background: var(--bg-color);
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-header p strong {
    color: var(--text-primary);
}

.inquiry-form .form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.inquiry-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-color);
    color: var(--text-primary);
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: #94a3b8;
}

.inquiry-form input[readonly] {
    background-color: #f1f5f9;
    color: var(--text-secondary);
    cursor: default;
    border-color: #cbd5e1;
}

.inquiry-form input[readonly]:focus {
    box-shadow: none;
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: var(--white);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form input.input-error,
.inquiry-form textarea.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.35rem;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.cf-turnstile {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    width: 100%;
    background-color: var(--text-primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #000;
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Status Messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-status.hidden {
    display: none;
}

.form-status.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
}
