:root{ --bg:#0f1724; --card:#ffffff; --accent:#0066ff; }
*{
    box-sizing:border-box
}
body{
  font-family: Inter, system-ui, Arial; 
  margin:0; 
  color:#0b1220; 
  background:#e5e5e5; 
  -webkit-font-smoothing: antialiased
}
.container{
    max-width:1100px;
    margin:0 auto;
    padding:0px
}



.search-phone-hero {
    background: linear-gradient(135deg, #0f1724, #1e293b);
    color: #fff;
    padding: 30px 16px 30px;
    text-align: center;
    border-radius: 12px;
    margin-top: 100px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.search-phone-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(51,153,255,0.15) 0%, transparent 70%);
    /* анимация теперь один раз и останавливается в конце */
    animation: rotateBGOnce 5s ease forwards;
}

@keyframes rotateBGOnce {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(45deg); } /* конечный угол */
}

.search-phone-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 30px auto;
}

.search-phone-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards;
}

.search-phone-hero p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

.search-phone-hero .btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: #3399ff;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
}

.search-phone-hero .btn:hover {
    background: #66c0ff;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}




/* Карточки в твоём стиле */
.card {
    width: 50%;
    padding: 10px;
}

/* Основная секция */
.phone-lookup-section {
    margin-top: 40px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
}

.lookup-grid {
    display: flex;
    gap: 10px;
}

/* формы */
.lookup-sub {
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
}

.lookup-tool-h2 {
    font-size: 24px;
    color: #393939;
}

.lookup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lookup-form input {
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #c6c6c6;
    background: #f8f8f8;
    color: #111;
    transition: 0.2s;
}

.lookup-form input:focus {
    border-color: var(--accent);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}

/* Блок результата */
.lookup-result {
    margin-top: 20px;
}


/* КНОПКИ  */
.btn-buy {
	text-align: center;
	width: 100%;
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--accent); 
    border: 2px solid var(--accent);
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease;
    cursor: pointer;
}

.btn-buy:hover {
    color: #fff;
    transform: scale(1.04);
}

/* Блик */
.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn-buy:hover::before {
    left: 130%;
}

.lookup-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.65;
    color: #0f1724;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.lookup-content p {
    margin-bottom: 18px;
}

.lookup-info-p {
    font-size: 17px;
}


/* === ФАГ === */

.faq-section {
    padding: 40px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
	margin-bottom: 20px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #0f1c3f;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #1a2b5c;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0066ff;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    color: #3b3b3b;
    line-height: 1.5;
}

.lookup-box {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #c9d8f5;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #0f1724;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    animation: fadeIn 0.25s ease;
}

.lookup-row {
    margin-bottom: 10px;
}

.lookup-label {
    font-weight: 600;
    color: #0066ff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-card {
    padding: 10px 15px;
}

/* Адаптив */
@media (max-width: 768px) {
    .container {
        padding: 5px;
    }

    .search-phone-hero-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin: 0px auto;
        
    }
    .search-phone-hero {
        margin-top: 20px;
        padding: 20px;
        border-radius: 16px;
        
    }
    .search-phone-hero p {
        text-align: start;
    }

    .search-phone-hero h1 {
        font-size: 22px;
        text-align: start;
    }

    .lookup-grid {
        flex-direction: column;
        gap: 0px;
    }
    .card {
        width: 100%;
    }
    .lookup-tool-h2 {
        text-align: center;
    }
    .phone-lookup-section {
        padding: 5px;
        margin-bottom: 30px;
        margin-top: 30px;
        border-radius: 16px;
    }
    .contact-card {
        padding: 8px 8px;
    }
    .lookup-content {
        padding: 5px;
        font-size: 16px;
    }
    .faq-title {
        font-size: 1.3rem;
    }
    .faq-section {
        padding: 10px;
    }
}