/* Variables CSS */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 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);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list li.lang-selector,
.nav-list li.currency-selector {
    margin-left: 0.5rem;
}

.nav-list li.lang-selector select,
.nav-list li.currency-selector select {
    font-size: 14px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.2s;
}

.nav-list li.lang-selector select:hover,
.nav-list li.currency-selector select:hover {
    border-color: var(--primary-color);
}

.nav-list li.lang-selector select:focus,
.nav-list li.currency-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    top: -8px;
    transform: rotate(-45deg);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-link {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e293b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* Domains Section */
.domains-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.domain-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.domain-logo {
    width: 240px;
    height: 160px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 12px;
}

.domain-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.domain-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.domain-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.domain-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domain-card-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    padding-top: 1rem;
    pointer-events: none;
}

.domain-card-link:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Domain Detail Page */
.domain-hero-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.domain-header {
    text-align: center;
    margin-bottom: 3rem;
}

.domain-logo-large {
    width: 480px;
    height: 320px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.domain-logo-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.domain-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.domain-name-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.domain-description-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.domain-description-section h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.make-offer-section {
    max-width: 500px;
    margin: 0 auto;
}

.make-offer-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.verified-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.price-display {
    margin: 2rem 0;
}

.currency {
    font-size: 1rem;
    color: var(--text-secondary);
    vertical-align: top;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-make-offer,
.btn-buy-now {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.btn-make-offer:hover,
.btn-buy-now:hover {
    background: var(--primary-hover);
}

.btn-contact {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    margin-bottom: 2rem;
    width: 100%;
    text-align: center;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: white;
}

.purchase-features {
    margin-top: 2rem;
    text-align: left;
}

.feature-item {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-item span {
    color: #10b981;
    margin-right: 0.5rem;
}

.related-domains {
    padding: 60px 0;
    background: white;
}

.related-domains h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        transition: left 0.3s ease;
        z-index: 100;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-list li.lang-selector,
    .nav-list li.currency-selector {
        margin-left: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list li.lang-selector select,
    .nav-list li.currency-selector select {
        font-size: 14px;
        padding: 8px 12px;
        width: 100%;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-name-large {
        font-size: 2rem;
    }
    
    .domain-logo-large {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px;
        padding: 20px;
        margin: 0 auto 2rem;
    }
    
    .domain-logo-large img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .domain-title {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
