@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: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.domains-tld-bubbles {
    position: relative;
    width: 100%;
    max-width: 420px;
    min-height: 320px;
    margin: 0 auto;
}

.domains-tld-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(28, 187, 180, 0.2);
    pointer-events: none;
    animation: domains-tld-ring-float 7s ease-in-out infinite;
}

.domains-tld-ring-1 {
    width: 110px;
    height: 110px;
    top: 6%;
    right: 8%;
    animation-delay: 0s;
}

.domains-tld-ring-2 {
    width: 72px;
    height: 72px;
    bottom: 18%;
    left: 4%;
    animation-delay: 1.2s;
    border-color: rgba(255, 255, 255, 0.14);
}

.domains-tld-ring-3 {
    width: 180px;
    height: 180px;
    top: 52%;
    right: 2%;
    animation-delay: 2.4s;
    border-color: rgba(28, 187, 180, 0.12);
}

.domains-tld-ring-4 {
    width: 56px;
    height: 56px;
    top: 28%;
    left: 14%;
    animation-delay: 0.6s;
    border-color: rgba(255, 255, 255, 0.18);
}

.domains-tld-bubble {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    animation: domains-tld-bubble-float 8s ease-in-out infinite;
}

.domains-tld-bubble--solid {
    background: rgba(28, 187, 180, 0.42);
    color: #fff;
    box-shadow: 0 8px 28px rgba(28, 187, 180, 0.28);
}

.domains-tld-bubble--glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #a7f3ee;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.domains-tld-bubble--wide {
    border-radius: 999px;
    padding: 0 1rem;
}

.domains-tld-bubble--1 {
    top: 6%;
    left: 10%;
    width: 7.25rem;
    height: 7.25rem;
    font-size: 1.45rem;
}

.domains-tld-bubble--2 {
    top: 10%;
    right: 4%;
    width: 6.75rem;
    height: 6.75rem;
    font-size: 1.35rem;
}

.domains-tld-bubble--3 {
    top: 42%;
    left: 0;
    width: 7rem;
    height: 7rem;
    font-size: 1.4rem;
}

.domains-tld-bubble--4 {
    top: 38%;
    right: 8%;
    width: 6.5rem;
    height: 6.5rem;
    font-size: 1.3rem;
}

.domains-tld-bubble--5 {
    bottom: 8%;
    left: 32%;
    width: 7rem;
    height: 7rem;
    font-size: 1.4rem;
}

.domains-tld-bubble--wide {
    width: auto;
    min-width: 7.5rem;
    height: 4.25rem;
    padding: 0 1.35rem;
    font-size: 1.28rem;
}

@keyframes domains-tld-ring-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.55;
    }
    50% {
        transform: translateY(-18px) translateX(10px);
        opacity: 0.75;
    }
}

@keyframes domains-tld-bubble-float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    25% {
        transform: translateY(-22px) translateX(12px) scale(1.04);
    }
    50% {
        transform: translateY(-12px) translateX(-8px) scale(0.98);
    }
    75% {
        transform: translateY(-28px) translateX(14px) scale(1.02);
    }
}

.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: 240px;
        margin-top: 1.5rem;
    }

    .domains-tld-bubbles {
        min-height: 240px;
        max-width: 300px;
    }

    .domains-tld-bubble--1 { font-size: 1.2rem; width: 6rem; height: 6rem; }
    .domains-tld-bubble--2 { font-size: 1.1rem; width: 5.75rem; height: 5.75rem; }
    .domains-tld-bubble--3 { font-size: 1.15rem; width: 5.85rem; height: 5.85rem; }
    .domains-tld-bubble--4 { font-size: 1.05rem; width: 5.5rem; height: 5.5rem; }
    .domains-tld-bubble--5 { font-size: 1.15rem; width: 5.85rem; height: 5.85rem; }
    .domains-tld-bubble--wide { font-size: 1.05rem; min-width: 6.25rem; height: 3.6rem; }

    .domains-tld-ring-3 {
        width: 130px;
        height: 130px;
    }
}
