:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.3);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-container: 1200px;
    --spacing-section: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.centered {
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-nav {
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
}

.btn-nav:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.hamburger {
    display: none;
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    /* Dim the image */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 800px;
    padding-top: 5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Model Section */
#model .section-header {
    text-align: right;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-gold);
}

.card-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

/* Discovery Section */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout>div {
    flex: 1;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

/* About Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    grid-template-areas:
        "image title"
        "image text";
}

.about-grid h2 {
    grid-area: title;
    margin-bottom: 0.5rem;
}

.about-grid .visual-content {
    grid-area: image;
}

.about-grid .text-content {
    grid-area: text;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 45px;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 0 0 4px #1a1a1a,
        0 0 0 8px #2a2a2a,
        0 0 0 9px #111,
        0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
}

/* Notch simulation */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
    border-radius: 38px;
}

/* Home Indicator */
.screen::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    z-index: 20;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.video-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ui-overlay {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 15;
}

.heart-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    background: transparent;
    border-radius: 50%;
    opacity: 0.65;
}

.heart-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.heart-icon:active {
    transform: scale(0.95);
}

.heart-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.share-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Контейнер для летящих сердечек */
.floating-hearts {
    position: absolute;
    bottom: 50px;
    right: 5px;
    width: 50px;
    height: 250px;
    pointer-events: none;
    overflow: visible;
}

/* Отдельное летящее сердечко */
.floating-heart {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: floatUp 3s ease-out forwards;
    pointer-events: none;
}

.floating-heart svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Анимация полёта сердечка вверх */
@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    }

    25% {
        transform: translateX(calc(-50% + 15px)) translateY(-60px) scale(1.1) rotate(10deg);
    }

    50% {
        transform: translateX(calc(-50% - 10px)) translateY(-120px) scale(1) rotate(-5deg);
    }

    75% {
        opacity: 0.7;
        transform: translateX(calc(-50% + 8px)) translateY(-180px) scale(0.9) rotate(8deg);
    }

    100% {
        opacity: 0;
        transform: translateX(calc(-50% - 5px)) translateY(-240px) scale(0.7) rotate(-3deg);
    }
}

/* Вариации анимации для разнообразия */
.floating-heart.variant-1 {
    animation: floatUp1 2.5s ease-out forwards;
}

.floating-heart.variant-2 {
    animation: floatUp2 3.2s ease-out forwards;
}

.floating-heart.variant-3 {
    animation: floatUp3 2.8s ease-out forwards;
}

@keyframes floatUp1 {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(0.8) rotate(-5deg);
    }

    30% {
        transform: translateX(calc(-50% - 20px)) translateY(-70px) scale(1) rotate(-15deg);
    }

    60% {
        opacity: 0.8;
        transform: translateX(calc(-50% + 5px)) translateY(-140px) scale(0.9) rotate(5deg);
    }

    100% {
        opacity: 0;
        transform: translateX(calc(-50% - 10px)) translateY(-220px) scale(0.6) rotate(-10deg);
    }
}

@keyframes floatUp2 {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1.1) rotate(5deg);
    }

    35% {
        transform: translateX(calc(-50% + 25px)) translateY(-80px) scale(1.05) rotate(15deg);
    }

    70% {
        opacity: 0.6;
        transform: translateX(calc(-50% - 15px)) translateY(-160px) scale(0.85) rotate(-10deg);
    }

    100% {
        opacity: 0;
        transform: translateX(calc(-50% + 10px)) translateY(-260px) scale(0.5) rotate(5deg);
    }
}

@keyframes floatUp3 {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(0.9) rotate(0deg);
    }

    25% {
        transform: translateX(calc(-50% - 18px)) translateY(-55px) scale(1.15) rotate(-12deg);
    }

    55% {
        opacity: 0.75;
        transform: translateX(calc(-50% + 12px)) translateY(-130px) scale(0.95) rotate(8deg);
    }

    100% {
        opacity: 0;
        transform: translateX(calc(-50% - 8px)) translateY(-230px) scale(0.65) rotate(-5deg);
    }
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.text-highlight {
    color: rgba(255, 255, 255, 0.85);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Contact Section */
.gold-section {
    border-top: 1px solid var(--accent-gold);
    background: linear-gradient(to bottom, var(--bg-dark), #110e00);
}

.btn-primary {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-dark);
    padding: 1rem 3rem;
    font-weight: 600;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-primary:hover {
    background: #b5952f;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.3;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .split-layout {
        flex-direction: column;
    }

    .navbar {
        padding: 1.5rem;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--text-main);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.85);
        /* Slightly more transparent */
        backdrop-filter: blur(15px);
        /* Stronger blur for menu */
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu a {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        margin: 1.5rem 0;
        color: var(--text-main);
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .mobile-menu a:hover {
        color: var(--accent-gold);
    }

    .hero-img {
        transform: scale(1.2);
        transform-origin: top center;
    }
}

/* Organic Strategy Section */
.platforms-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.platform-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.platform-icon {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.platform-card:hover .platform-icon {
    color: var(--accent-gold);
}

/* Force icons to inherit color */
.platform-icon svg {
    fill: currentColor;
}

/* Remove specific branding colors, keep generic class names for potential future use */
.platform-icon.tik-tok,
.platform-icon.youtube-shorts,
.platform-icon.instagram-reels {
    color: inherit;
}

.strategy-approach {
    background: transparent;
    border-left: 2px solid var(--accent-gold);
    padding: 1.5rem 2rem;
    margin: 4rem auto 0;
    max-width: 800px;
    text-align: left;
    position: relative;
}

/* Optional: Add a subtle glow behind the text or a background gradient */
.strategy-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent);
    z-index: -1;
}

.strategy-approach h3 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.strategy-approach p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .platforms-grid {
        flex-direction: column;
        align-items: center;
    }

    .reverse {
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "image"
            "text";
        gap: 2rem;
        text-align: center;
    }

    .about-grid .visual-content {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Contact Form */
.contact-simple {
    margin-top: 3rem;
}

.contact-email {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.contact-email a {
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-email a:hover {
    color: #fff;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s ease;
}

.faq-question span:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Sound Toggle Button */
.sound-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.sound-toggle svg {
    width: 20px;
    height: 20px;
    stroke: white;
}