/* ===========================
   GLOBAL
   =========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {

    background: #f5f5f7; /* фирменный Apple-серый фон */
    color: #000;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 300;
    margin-bottom: 20px;
}

h1 { font-size: 72px; line-height: 1.1; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }

p, li { font-size: 20px; color: #444; }

section {
    padding: 100px 12%;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-block;
    padding: 18px 36px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    text-decoration: none;
    transition: 0.25s;
}

.btn:hover {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.btn.small {
    padding: 10px 20px;
}

/* ===========================
   HEADER
   =========================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 12%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.logo {
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
}

/* Desktop nav */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    white-space: nowrap;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: #000;
}

/* Скрываем маленькую кнопку QR везде, чтобы не мешала */
header .btn.small {
    display: none !important;
}

/* ===========================
   HAMBURGER
   =========================== */

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 3px;
    transition: 0.25s;
}

/* Анимация гамбургера */

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   MOBILE MENU
   =========================== */

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    right: 0;
    width: 240px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 22px;
    flex-direction: column;
    gap: 18px;
    z-index: 999;
}

.mobile-menu a {
    font-size: 18px;
    color: #111;
    text-decoration: none;
}

/* ===========================
   HERO
   =========================== */

.hero {
    padding-top: 200px;
    padding-bottom: 200px;
    text-align: left;
}

.hero .sub {
    margin-top: 40px;
    max-width: 1000px;
    font-size: 22px;
}

/* ===========================
   DEVICE MOCKUPS
   =========================== */

.tv {
    width: 100%;
    max-width: 800px;
	max-height: 600px;
    background: #f2f2f2;
    border-radius: 20px;
    border: 2px solid #ddd;
    margin: 60px auto;
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
    overflow: hidden;
}

.tv-google {
    background-image: url('../assets/screens/qr-login.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tv-samsung {
    background-image: url('./img/samsung-tv.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.viewphoto-screen{
	align-items:center;
	max-width: 300px;
    height: 200px;
}

.small-tv {
    max-width: 800px;
    height: 450px;
	border-radius: 16px;
}

.tv-overlay-text {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.85);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: #555;
    backdrop-filter: blur(6px);
}

/* iPhone mockup */

.iphone {
    width: 260px;
    height: 420px;
    background: #fafafa;
    border-radius: 40px;
    border: 2px solid #ddd;
    margin: 40px auto;
    position: relative;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow: hidden;
}

.iphone15 {
    background-image: url('./img/iphone15.webp');
    background-size: cover;
    background-position: center;
}

.small-iphone {
    height: 380px;
}

.iphone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 20px;
    background: #000;
    border-radius: 12px;
}

.iphone-overlay-text {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.85);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: #555;
    backdrop-filter: blur(6px);
}

/* ===========================
   PHOTO GRID
   =========================== */

.photo-grid {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.photo-item {
    width: 160px;
    height: 300px;
    background:#f2f2f2;
    border-radius: 16px;
    border: 1px solid #ddd;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    color:#777;
}

/* ===========================
   VIDEO DEMO
   =========================== */

.video-demo {
    margin: 80px auto;
    max-width: 600px;
    background:#f8f8f8;
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 30px;
    text-align:center;
}

.video-box {
    width:100%;
    height:260px;
    background:#fff;
    border-radius:16px;
    border:1px solid #ccc;
    object-fit: cover;
}

.video-caption {
    margin-top:16px;
    font-size:18px;
    color:#555;
}

/* ===========================
   STEPS
   =========================== */

.steps-row {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.step {
    max-width: 900px;
    margin: 0 auto;
}

.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: #111;
    stroke-width: 1.5;
    fill: none;
}

/* ===========================
   BENEFITS
   =========================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 18px;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #111;
    stroke-width: 1.5;
    fill: none;
}

/* ===========================
   BLOCKQUOTE
   =========================== */

blockquote {
    font-size: 24px;
    color: #000;
    margin-top: 40px;
    border-left: 4px solid #000;
    padding-left: 20px;
}

/* ===========================
   FOOTER
   =========================== */

footer {
    padding: 80px 12%;
    text-align: center;
    color: #666;
    font-size: 18px;
}

.copy {
    margin-top: 40px;
    font-size: 16px;
    color: #aaa;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1100px) {
    /* прячем десктопное меню, показываем гамбургер */
    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    section { padding: 100px 8%; }
    header { padding: 14px 8%; }
    .hero { padding-top: 160px; padding-bottom: 140px; }
}

.section-card {
    background: #fafafa; /* светлый Apple‑фон */
    border-radius: 28px;
    padding: 60px 50px;
    margin: 80px auto;
    max-width: 1200px;

    /* Apple‑style тень */
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);

    /* плавное появление */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

/* Анимация появления */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* На мобильных — меньше отступы */
@media (max-width: 768px) {
    .section-card {
        padding: 40px 28px;
        margin: 50px 16px;
        border-radius: 22px;
    }
}

/* Apple Fitness / TV+ style gradient cards */
.section-card-gradient {
    position: relative;
    border-radius: 40px;
    padding: 80px 60px;
    margin: 100px auto;
    max-width: 1200px;
    color: #fff;
    overflow: hidden;

    /* глубокая тень */
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);

    /* лёгкая 3D-анимация */
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

/* Apple-style glow */
.section-card-gradient::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 70%);
    filter: blur(60px);
    opacity: 0.7;
}

/* Apple-style glass reflection */
.section-card-gradient::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
    filter: blur(80px);
    opacity: 0.5;
}

/* Premium gradients */
.grad-blue {
    background: linear-gradient(135deg, #0a84ff 0%, #005eff 40%, #4da3ff 100%);
}

.grad-purple {
    background: linear-gradient(135deg, #8e44ff 0%, #6b2cff 40%, #b07bff 100%);
}

.grad-pink {
    background: linear-gradient(135deg, #ff2d55 0%, #ff0f7b 40%, #ff6b81 100%);
}

.grad-orange {
    background: linear-gradient(135deg, #ff9500 0%, #ff6a00 40%, #ffb347 100%);
}

.grad-green {
    background: linear-gradient(135deg, #30d158 0%, #00c851 40%, #66e88f 100%);
}

/* Mobile */
@media (max-width: 768px) {
    .section-card-gradient {
        padding: 50px 30px;
        margin: 60px 16px;
        border-radius: 28px;
    }
}

.section-card-white {
    background: #ffffff;
    border-radius: 32px;
    padding: 60px 50px;
    margin: 80px auto;
    max-width: 1200px;

    /* Apple-style shadow */
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);

    color: #000;
    position: relative;
}

/* Mobile */
@media (max-width: 768px) {
    .section-card-white {
        padding: 40px 28px;
        margin: 50px 16px;
        border-radius: 24px;
    }
}



