@import url('domain-search-panel.css');

.domains-hero {
    background: linear-gradient(135deg, #002659 0%, #003d7a 55%, #0d4a6f 100%);
    color: #fff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.domains-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 40%, rgba(28, 187, 180, 0.12), transparent 45%);
    pointer-events: none;
}

.domains-hero-inner {
    position: relative;
    z-index: 1;
}

.domains-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(28, 187, 180, 0.15);
    border: 1px solid rgba(28, 187, 180, 0.35);
    color: #a7f3ee;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.domains-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.domains-hero h1 .accent {
    color: #1CBBB4;
    display: block;
}

.domains-hero-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

.domains-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}

.domains-trust-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.domains-trust-chips i {
    color: #1CBBB4;
}

.domains-hero .domains-search-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: none;
}

.domains-hero .domains-quick-prices {
    color: rgba(255, 255, 255, 0.85);
}

.domains-hero-visual {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domains-hero-visual-panel {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(28, 187, 180, 0.18), rgba(0, 38, 89, 0.5) 65%);
    border: 1px solid rgba(28, 187, 180, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(28, 187, 180, 0.06);
}

.domains-uk-map {
    position: absolute;
    inset: 18%;
    opacity: 0.5;
    pointer-events: none;
}

.domains-visual-orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domains-visual-core {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1CBBB4, #0e9a94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(28, 187, 180, 0.45);
    z-index: 2;
}

.domains-visual-core i {
    font-size: 2.25rem;
    color: #fff;
}

.domains-visual-float {
    position: absolute;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.domains-visual-float i {
    font-size: 1.1rem;
    color: #1CBBB4;
}

.domains-visual-float-1 {
    top: 14%;
    right: 12%;
}

.domains-visual-float-2 {
    bottom: 18%;
    left: 8%;
}

.domains-visual-float-3 {
    bottom: 22%;
    right: 10%;
}

.domains-feature-bar {
    background: #041428;
    border-top: 1px solid rgba(28, 187, 180, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.domains-feature-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.domains-feature-item i {
    color: #1CBBB4;
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.domains-feature-item strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
}

.domains-feature-item span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
}

.domains-results-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.domains-results-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.domains-results-term-toolbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    padding: 0.45rem 0.75rem;
}

.domains-results-term-toolbar .form-label {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

.domains-results-term-toolbar .form-select {
    min-width: 7.5rem;
    border-color: #e2e8f0;
}

.domains-promo-intro {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

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

.domains-promo-card {
    position: relative;
    background: linear-gradient(160deg, #fff 0%, #f0fdfa 100%);
    border: 2px solid rgba(28, 187, 180, 0.35);
    border-radius: 0.85rem;
    padding: 1.1rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 38, 89, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.domains-promo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(28, 187, 180, 0.15);
}

.domains-promo-badge {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #002659;
    color: #fff;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.domains-promo-tld {
    font-size: 1.35rem;
    font-weight: 800;
    color: #002659;
    margin-bottom: 0.35rem;
    padding-right: 2rem;
}

.domains-promo-price .amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1CBBB4;
    line-height: 1.1;
}

.domains-promo-price .period {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.domains-promo-transfer {
    margin: 0.35rem 0 0.75rem;
}

.domains-promo-card .btn-promo-search {
    margin-top: 0.25rem;
}

.domains-cart-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}

.domains-cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.domains-cart-item-body {
    min-width: 0;
}

.domains-faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.domains-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.domains-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 38, 89, 0.04);
}

.domains-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.15rem;
    font-weight: 700;
    color: #002659;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.domains-faq-item summary::-webkit-details-marker {
    display: none;
}

.domains-faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.domains-faq-item[open] summary::after {
    content: '−';
    background: #1CBBB4;
    color: #002659;
}

.domains-faq-item[open] summary {
    border-bottom: 1px solid #e2e8f0;
}

.domains-faq-answer {
    padding: 1rem 1.15rem 1.1rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.domains-pricing-section {
    padding: 4rem 0;
}

.domains-pricing-table-wrap {
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.domains-pricing-table th,
.domains-pricing-table td {
    white-space: nowrap;
    font-size: 0.9rem;
}

.domains-pricing-table th {
    background: #f1f5f9;
    color: #002659;
    font-weight: 600;
}

.domains-pricing-table .tld-col {
    font-weight: 700;
    color: #002659;
}

.domains-pricing-toolbar .domains-pricing-search {
    position: relative;
}

.domains-pricing-toolbar .domains-pricing-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

.domains-pricing-toolbar .domains-pricing-search .form-control {
    padding-left: 2.25rem;
    border-radius: 0.5rem;
}

.btn-domains-filter {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.btn-domains-filter.active,
.btn-domains-filter:hover {
    background: #1CBBB4;
    border-color: #1CBBB4;
    color: #fff;
}

@media (max-width: 991px) {
    .domains-hero {
        padding-top: 3rem;
    }

    .domains-hero-visual {
        min-height: 200px;
        margin-top: 1.5rem;
    }

    .domains-hero-visual-panel {
        max-width: 260px;
    }
}
