@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
    --bg-dark: #050a1f;
    --header-bg: #0a0f29;
    --text-white: #ffffff;
    --accent-grad: linear-gradient(135deg, #d946ef, #f43f5e);
    --glass: rgba(255, 255, 255, 0.03);
    --border-glow: 1px solid rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.05);
}

body {
    background: var(--bg-dark); color: var(--text-white);
    font-family: 'Inter', sans-serif; margin: 0; padding: 0;
    overflow-x: hidden; position: relative;
}

/* «Тихие» мерцающие звезды */
body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
    background-image: radial-gradient(white, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 60px 60px; opacity: 0.1;
    animation: starsTwinkle 20s infinite alternate;
}
@keyframes starsTwinkle { from { opacity: 0.05; } to { opacity: 0.2; } }

header {
    background: var(--header-bg); padding: 20px 10%;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: var(--border-glow);
}
.logo-area { display: flex; align-items: center; gap: 15px; font-weight: 800; font-size: 1.3rem; }
.logo-area img { height: 35px; }
nav { display: flex; gap: 40px; }
nav a { color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
nav a:hover { color: #d946ef; }

section { padding: 100px 10%; position: relative; }

/* Кнопки */
.btn {
    padding: 16px 35px; border-radius: 16px; font-weight: 700;
    text-decoration: none; display: inline-block; transition: 0.3s;
}
.btn-primary { background: var(--accent-grad); color: white; border: none; cursor: pointer; }
.btn-primary:hover { box-shadow: 0 0 25px rgba(217, 70, 239, 0.4); }

/* Карточки общего назначения */
.glass-card {
    background: var(--glass); padding: 30px; border-radius: 16px;
    border: var(--border-glow); transition: 0.3s;
}
.glass-card-hover:hover {
    border-color: #d946ef; background: var(--card-hover-bg);
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.2);
}

/* Орбитальная анимация иконок вокруг телефона */
.phone-scene { position: relative; width: 300px; height: 500px; perspective: 1000px; margin: auto; }
.phone-body {
    width: 100%; height: 100%; background: #000; border-radius: 45px;
    border: 3px solid #333; position: relative; z-index: 2;
}
.orbit-system {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transform-style: preserve-3d; animation: orbitRotate 10s infinite linear;
}
.orbit-icon {
    position: absolute; width: 50px; height: 50px; background: var(--glass);
    border: var(--border-glow); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; backdrop-filter: blur(5px);
}
@keyframes orbitRotate { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
/* Чтобы сами иконки не вращались "вверх ногами" */
.orbit-icon img { animation: counterRotate 10s infinite linear; }
@keyframes counterRotate { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }

/* Сетка отзывов */
.reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 30px;
}
.stars-gold { color: gold; font-size: 1.2rem; margin: 15px 0; }