:root {
    /* Основные цвета */
    --color-bg-primary: #1a0f0a;
    --color-bg-secondary: #2d1f14;
    --color-bg-tertiary: #3d2817;

    --color-brown-dark: #3d2817;
    --color-brown-medium: #5c3d2e;
    --color-brown-light: #7a5548;
    --color-brown-accent: #8b6f47;
    --color-brown-lighter: #6d5438;

    --color-gold: #d4a574;
    --color-gold-medium: #c89968;

    --color-white: #ffffff;
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.6);
    --color-text-muted: rgba(255, 255, 255, 0.5);

    /* Границы и рамки */
    --border-color-primary: rgba(212, 165, 116, 0.2);
    --border-color-secondary: rgba(212, 165, 116, 0.3);
    --border-color-hover: rgba(212, 165, 116, 0.5);
    --border-color-header: rgba(122, 85, 72, 0.2);

    /* Фоны с прозрачностью */
    --bg-overlay-light: rgba(92, 61, 46, 0.15);
    --bg-overlay-medium: rgba(92, 61, 46, 0.2);
    --bg-overlay-dark: rgba(92, 61, 46, 0.3);
    --bg-overlay-section: rgba(92, 61, 46, 0.05);
    --bg-gradient-overlay: rgba(139, 111, 71, 0.1);

    /* Тени */
    --shadow-small: 0 10px 30px rgba(139, 111, 71, 0.3);
    --shadow-medium: 0 20px 60px rgba(139, 111, 71, 0.3);
    --shadow-large: 0 50px 100px rgba(0, 0, 0, 0.5);
    --shadow-btn-primary: 0 10px 30px rgba(139, 111, 71, 0.4);
    --shadow-btn-primary-hover: 0 15px 40px rgba(139, 111, 71, 0.6);

    /* Размеры */
    --container-max-width: 1400px;
    --border-radius-small: 15px;
    --border-radius-medium: 20px;
    --border-radius-large: 25px;
    --border-radius-xl: 30px;
    --border-radius-xxl: 40px;
    --border-radius-round: 50px;

    /* Отступы */
    --spacing-xs: 8px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 40px;
    --spacing-3xl: 60px;
    --spacing-4xl: 80px;

    /* Размеры шрифтов */
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 15px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 22px;
    --font-size-4xl: 24px;
    --font-size-5xl: 28px;
    --font-size-6xl: 32px;
    --font-size-7xl: 36px;
    --font-size-8xl: 42px;
    --font-size-9xl: 48px;
    --font-size-10xl: 56px;

    /* Веса шрифтов */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Переходы */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Z-index */
    --z-index-header: 1000;
    --z-index-overlay: 100;
    --z-index-background: -1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-index-background);
    background: linear-gradient(135deg, var(--color-brown-dark) 0%, var(--color-brown-medium) 50%, var(--color-brown-light) 100%);
    opacity: 0.3;
}

/*
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-index-background);
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}*/

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header */
header {
    padding: var(--spacing-lg) 0;
    position: sticky;
    top: 0;
    background: rgba(26, 15, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: var(--z-index-header);
    border-bottom: 1px solid var(--border-color-header);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;

    display:flex;
    align-items: center;
    gap: 5px;
}
.logo-icon
{
    width: 32px;
    height: 32px;
    background-size: contain;
    background-image: url(/assets/images/landing/icon.png);
}
.logo-label
{

}

.header-buttons {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-shrink: 0;
}

.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-round);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--font-size-base);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    white-space: nowrap;
    min-height:40px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-brown-accent), var(--color-brown-lighter));
    color: var(--color-white);
    box-shadow: var(--shadow-btn-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--border-color-secondary);
    padding: var(--spacing-xs) 18px;
}

.btn-outline:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--border-color-hover);
}

/* Hero Section */
.hero {
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text h1 {
    font-size: var(--font-size-10xl);
    font-weight: var(--font-weight-black);
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--color-white), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: var(--font-size-2xl);
    color: var(--color-text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-large {
    padding: var(--spacing-lg) 35px;
    font-size: var(--font-size-lg);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 100%;
    max-width: 350px;
    height: 450px;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
    border-radius: var(--border-radius-xxl);
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
    border: 8px solid var(--color-bg-primary);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--color-brown-medium), var(--color-bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    position: relative;

    background-image: url(/assets/images/landing/icon.png);
    background-repeat: no-repeat;
    background-position: center;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.1), transparent);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 30px;
    animation: float-around 20s ease-in-out infinite;
    opacity: 0.8;
}

/*
.float-icon:nth-child(1) { top: 5%; left: 5%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 15%; right: 10%; animation-delay: 2s; }
.float-icon:nth-child(3) { bottom: 25%; left: 10%; animation-delay: 4s; }
.float-icon:nth-child(4) { bottom: 15%; right: 5%; animation-delay: 6s; }

@keyframes float-around {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-5deg); }
    75% { transform: translate(15px, 5px) rotate(3deg); }
}
*/

/* Features Section */
.features {
    padding: var(--spacing-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-size: var(--font-size-9xl);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-white), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--color-text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-color-primary);
    border-radius: var(--border-radius-large);
    padding: var(--spacing-2xl) var(--spacing-xl);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-gradient-overlay), rgba(92, 61, 46, 0.1));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.feature-card h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: 12px;
    font-weight: var(--font-weight-bold);
    position: relative;
    z-index: var(--z-index-overlay);
}

.feature-card p {
    color: var(--color-text-tertiary);
    line-height: 1.6;
    font-size: var(--font-size-md);
    position: relative;
    z-index: var(--z-index-overlay);
    text-align: center;
}

/* Screenshots Section */
.screenshots {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-overlay-section);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.screenshot-card {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-tertiary));
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    border: 1px solid var(--border-color-primary);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.screenshot-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: linear-gradient(135deg, var(--color-brown-medium), var(--color-bg-tertiary));
}

/* Download Section */
.download {
    padding: 80px 0;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.devices-mockup {
    font-size: 180px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: float 8s ease-in-out infinite;
}

.download-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    background: rgba(92, 61, 46, 0.2);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    background: rgba(92, 61, 46, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.3);
}

.platform-icon {
    font-size: 28px;
}

.platform-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform-text small {
    font-size: 11px;
    opacity: 0.7;
}

.platform-text span {
    font-size: 15px;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 20px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-outline {
        padding: 6px 14px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
        word-wrap: break-word;
        max-width: calc(100vw - 30px);
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image {
        height: 350px;
        order: -1;
    }

    .phone-mockup {
        max-width: 280px;
        height: 350px;
    }

    .phone-screen {
        font-size: 80px;
    }

    .floating-elements {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .download-image {
        height: 250px;
        order: -1;
    }

    .devices-mockup {
        font-size: 120px;
    }

    .download-text h2 {
        font-size: 28px;
    }

    .download-text p {
        font-size: 16px;
    }

    .platform-btn {
        padding: 12px 20px;
        gap: 10px;
    }

    .platform-icon {
        font-size: 24px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .header-buttons {
        gap: 8px;
    }

    .btn {
        padding: 7px 14px;
        font-size: 12px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .platform-btn {
        width: 100%;
    }
}

.phone-mockup,
.devices-mockup,
.feature-card {
    transform: translateZ(0);
}

.screenshot-placeholder
{
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.screenshot-placeholder.image1
{
    background-image: url(/assets/images/landing/examples/image1.jpg);
}
.screenshot-placeholder.image2
{
    background-image: url(/assets/images/landing/examples/image2.jpg);
}
.screenshot-placeholder.image3
{
    background-image: url(/assets/images/landing/examples/image3.jpg);
}
.screenshot-placeholder.image4
{
    background-image: url(/assets/images/landing/examples/image4.jpg);
}