:root {
    --sp-bg: #09090b; 
    --sp-text: #f5f5f7;
    --sp-muted: #86868b;
    --sp-accent: #e3001b; 
    --sp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sp-section {
    background-color: var(--sp-bg);
    color: var(--sp-text);
    padding: 120px 0;
    font-family: var(--sp-font);
    overflow: hidden;
}

.sp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.sp-info { display: flex; flex-direction: column; align-items: flex-start; }

.sp-badge {
    font-size: 13px;
    color: var(--sp-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sp-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -2px;
    color: var(--sp-text);
}

.sp-tagline {
    font-size: 32px;
    font-weight: 700;
    color: var(--sp-muted);
    margin: 10px 0 25px 0;
    letter-spacing: -0.5px;
}

.sp-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sp-muted);
    margin: 0 0 40px 0;
    max-width: 500px;
}

/* === КАСТОМИЗАТОР === */
.sp-color-customizer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 450px;
}

.sp-color-label {
    font-size: 14px;
    color: var(--sp-muted);
    margin: 0 0 15px 0;
}

.sp-color-name {
    color: var(--sp-text);
    font-weight: 600;
}

.sp-color-dots { display: flex; gap: 15px; flex-wrap: wrap; }

.sp-color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.3);
}

.sp-color-dot.active {
    border-color: var(--sp-text);
    transform: scale(1.15);
}

/* Блок Промо / Trade-In */
.sp-action-box {
    max-width: 500px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.sp-action-promo {
    font-size: 15px;
    line-height: 1.5;
    color: var(--sp-muted);
    margin: 0 0 25px 0;
}

.sp-action-promo strong, 
.sp-action-promo b { 
    color: var(--sp-text); 
    font-weight: 700;
}

.sp-action-promo p { margin: 0; }

.sp-btn {
    display: inline-block;
    background-color: var(--sp-text);
    color: var(--sp-bg);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.sp-btn:hover {
    background-color: var(--sp-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(227, 0, 27, 0.3);
}

/* === ПРАВАЯ ЧАСТЬ (ГРАФИКА И ТЕЛЕФОН) === */
.sp-display {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    transition: background-color 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.sp-phone-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sp-float 6s ease-in-out infinite; 
}

.sp-phone-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.8));
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

@keyframes sp-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); } 
    100% { transform: translateY(0px); }
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .sp-grid { grid-template-columns: 1fr; gap: 50px; }
    .sp-info { align-items: center; text-align: center; }
    .sp-desc { max-width: 100%; }
    .sp-color-customizer { margin-inline: auto; }
    .sp-color-dots { justify-content: center; }
    .sp-action-box { max-width: 100%; margin-inline: auto; }
    .sp-display { height: 450px; }
    .sp-glow { width: 300px; height: 300px; filter: blur(80px); }
}

@media (max-width: 768px) {
    .sp-section { padding: 60px 0; }
    .sp-title { font-size: 42px; }
    .sp-tagline { font-size: 24px; }
    .sp-color-customizer { padding: 15px; }
    .sp-display { height: 350px; }
    .sp-btn { width: 100%; text-align: center; box-sizing: border-box; }
}