:root {
    --dark: #1f2937;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #fff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: .75rem;
    --font-size-sm: .875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.3rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 4rem;
    
    --radius: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08);
    
    --hero-padding: 120px 20px;
    --hero-padding-searching: 40px 20px;
    --hero-title-size: 4rem;
    --hero-title-size-searching: 2rem;
    --hero-subtitle-size: 1.3rem;
    --search-input-size: 18px;
    --search-form-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --global-btn-register: linear-gradient(135deg, #10b981, #059669);
    --global-btn-price: linear-gradient(135deg, #f59e0b, #d97706);
    --global-btn-check: linear-gradient(135deg, #3b82f6, #2563eb);
    --global-btn-expired: linear-gradient(135deg, #ef4444, #dc2626);
    --global-btn-offer: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --global-btn-verify: linear-gradient(135deg, #64748b, #475569);

    --global-btn-dropdown: #e5e7eb;
    --global-btn-secondary: rgba(107,114,128,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: radial-gradient(circle at 30% 20%, var(--primary-bg-1) 0%, transparent 50%), 
                radial-gradient(circle at 80% 80%, var(--primary-bg-2) 0%, transparent 50%), 
                linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
    min-height: 100vh;
    color: var(--dark);
    line-height: 1.6;
}

.main-container {
    padding-top: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fffffff2;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid #0000000d;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    transition: .3s;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .3s;
    background: var(--gradient-main, linear-gradient(135deg, #0077BE 0%, #00CED1 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-center {
    display: flex;
    gap: 5px;
    margin-left: 40px;
}

.nav-center .nav-link {
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.nav-center .nav-link:hover {
    background: var(--primary-bg-1, rgba(0, 119, 190, 0.05));
    color: var(--primary, #0077BE);
}

.search-active .nav-link[href*="active"],
.search-expired .nav-link[href*="expired"],
.search-deleted .nav-link[href*="deleted"],
.search-aged .nav-link[href*="aged"],
.search-new .nav-link[href*="new"],
.search-tlds .nav-link[href*="tlds"] {
    background: var(--gradient-main);
    color: white;
}


.user-info {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.nav-link {
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(0, 119, 190, 0.1);
    color: #0077BE;
}

button.nav-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--hero-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    background: #ffffff;
}

.hero-section.searching {
    padding: var(--hero-padding-searching);
    min-height: auto;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .06;
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    transition: var(--transition-slow);
}

.searching .hero-content {
    max-width: 1600px;
}

.hero-title {
    font-size: var(--hero-title-size);
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    transition: var(--transition-slow);
    filter: var(--hero-filter);
}

.searching .hero-title {
    font-size: var(--hero-title-size-searching);
    margin-bottom: 15px;
    filter: none;
}

.hero-subtitle {
    font-size: var(--hero-subtitle-size);
    color: var(--gray);
    margin-bottom: 50px;
    font-weight: 500;
    transition: var(--transition-slow);
    opacity: .9;
}

.searching .hero-subtitle {
    display: none;
}

.hero-title-link {
    text-decoration: none;
    color: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.hero-title-link:hover {
    text-decoration: none;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transition: var(--transition-slow);
}

.searching .search-container {
    max-width: 800px;
    margin-bottom: 40px;
}

.search-form {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.98);
    padding: 8px;
    border-radius: var(--radius-lg);
    box-shadow: var(--search-form-shadow);
    border: 2px solid var(--primary);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.search-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.search-form:focus-within::before {
    opacity: .15;
}

.search-form:focus-within {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--focus-shadow);
}

.search-input {
    flex: 1;
    padding: 18px 24px;
    font-size: var(--search-input-size);
    border: none;
    outline: none;
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.search-input::placeholder {
    color: #94a3b8;
    transition: color 0.3s;
}

.search-input:focus::placeholder {
    color: #cbd5e1;
}

.search-btn {
    padding: 18px 36px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: var(--search-input-size);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.search-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.search-btn:active::after {
    width: 300px;
    height: 300px;
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.features-section {
    padding: 10px 20px;
    background: #ffffff;
    position: relative;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
}

.feature-icon svg,
.feature-icon i {
    color: var(--white);
    font-size: 32px;
}

.feature-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.feature-desc {
    font-size: var(--font-size-base);
    color: var(--gray);
    line-height: 1.7;
}

.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    opacity: .8;
    transition: all .3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    transform: scaleX(0);
    transition: transform .3s ease;
    background: var(--gradient-main, linear-gradient(135deg, #0077BE 0%, #00CED1 100%));
}

.footer-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-link:hover::after {
    transform: scaleX(1);
}

.footer-copy {
    opacity: .6;
    font-size: 14px;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

::selection {
    background: rgba(0, 119, 190, 0.2);
    color: var(--primary-dark);
}

.faq-section {
    width: 100%;
    margin: 0;
    padding: 50px 20px;
    background: #ffffff; 
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    padding: 30px 40px 20px;
    margin: 0;
    letter-spacing: -0.3px;
}

.faq-answer {
    padding: 0 40px 30px;
    color: var(--gray);
    line-height: 1.7;
    font-size: var(--font-size-base);
}

.faq-answer p {
    margin: 0;
}
.faq-answer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .faq-container {
        gap: 20px;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 25px 25px 15px;
    }
    
    .faq-answer {
        padding: 0 25px 25px;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 0 20px;
    }
    .hero-title { 
        font-size: 2.5rem; 
    }
    .searching .hero-title { 
        font-size: 1.5rem; 
    }
    .hero-subtitle { 
        font-size: 1.1rem; 
    }
    .search-form {
        flex-direction: column;
        gap: 0;
        padding: 15px;
    }
    .search-input {
        width: 100%;
        margin-bottom: 12px;
    }
    .search-btn {
        width: 100%;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-links {
        gap: 20px;
    }
    .footer-link {
        font-size: 14px;
    }
}