/* Reset & Variables */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --bg-dark: #0a0a0a;
    --bg-gray: #f5f5f5;
    --text: #0a0a0a;
    --text-secondary: #666666;
    --text-light: #999999;
    --border: #e5e5e5;
    --primary: #0a0a0a;
    --primary-light: #333333;
    --accent: #7c3aed;
    --bad-accent: #868686;
    --success: #22c55e;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.hidden {
  display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-badge {
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:not(.btn):hover {
    color: var(--text);
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .highlight-bad {
    font-weight: 900;
    color: var(--bad-accent);
}

.hero .highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Hero Demo */
.hero-demo {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.demo-window {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 280px;
    border: 1px solid var(--border);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.demo-dots span:nth-child(1) {
    background: #ff5f57;
}

.demo-dots span:nth-child(2) {
    background: #febc2e;
}

.demo-dots span:nth-child(3) {
    background: #28c840;
}

.demo-url {
    font-size: 12px;
    color: var(--text-light);
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
}

.demo-content {
    padding: 16px;
}

.demo-product {
    background: var(--bg-gray);
    border-radius: var(--radius);
    overflow: hidden;
}

.demo-image {
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    position: relative;
}
.demo-image img{
    width: 100%;
}

.result-preview{
    overflow: hidden;
}

.tryon-btn {
    position: absolute;
    width: 100%;
    text-align: center;
    background: black;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.demo-info {
    padding: 12px;
}

.demo-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.demo-price {
    font-size: 16px;
    font-weight: 700;
}

.demo-result {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    width: 300px;
    border: 1px solid var(--border);
}

.result-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 12px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.result-preview {
    border-radius: var(--radius);
    position: relative;
}

.ai-badge {
    z-index: 1;
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

/* How it works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-gray);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.125rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.step-content h3 {
    margin-bottom: 12px;
    padding-top: 16px;
}

.step-content p {
    font-size: 15px;
    line-height: 1.6;
}

.step-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 13px;
    color: #0369a1;
}

.step-tip svg {
    flex-shrink: 0;
    color: #0ea5e9;
}

/* Step Visuals */
.step-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.visual-install {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.chrome-icon {
    opacity: 0.8;
}

.install-arrow {
    color: var(--text-light);
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.extension-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.visual-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.photo-frame {
    width: 80px;
    height: 100px;
    background: white;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    color: var(--text-light);
}

.upload-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
}




.cursor {
    position: absolute;
    top: 10px;
    left: 50px;
    color: white;
    animation: click 2s infinite;
}

@keyframes click {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(5px, 5px);
    }
}

.visual-result {
    position: relative;
}

.result-frame {
    width: 100px;
    height: 130px;
    background: linear-gradient(135deg, #f0e6ff 0%, #e0d0ff 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.result-ai {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--accent);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
}

.result-check {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

/* Stores */
.stores {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.stores h3 {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 32px;
}

.stores-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.store {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.store-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.store-logo.wb {
    background: #cb11ab;
}

.store-logo.ozon {
    background: #005bff;
}

.store-logo.kari {
    background: #ff4d00;
}
.store-logo.lamoda{
     background: #000;
}

.store span {
    font-size: 13px;
    color: var(--text-secondary);
}

.store.soon .store-logo {
    background: var(--bg-gray);
    color: var(--text-light);
    border: 2px dashed var(--border);
}

/* Install CTA */
.install {
    padding: 100px 0;
}

.install-card {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
}

.install-content h2 {
    color: white;
    margin-bottom: 12px;
}

.install-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.install-buttons {
    margin-bottom: 32px;
}

.install-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.feature svg {
    color: var(--success);
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg-gray);
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--text-light);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-demo {
        justify-content: center;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header .container {
        height: 64px;
    }

    .nav a:not(.btn) {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-demo {
        flex-direction: column;
        align-items: center;
    }

    .demo-result {
        width: 100%;
        max-width: 280px;
    }

    .step {
        padding: 24px;
    }

    .install-card {
        padding: 40px 24px;
    }

    .install-features {
        flex-direction: column;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Examples Section */
.examples {
    padding: 100px 0;
}

.examples-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.example-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.example-card h3 {
    margin-bottom: 24px;
}

.example-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.example-block {
    flex: 1;
    min-width: 30%;
}

.example-block span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.example-block .photo {
    width: 100%;
}

.items-grid {
    display: flex;
    gap: 12px;
    flex-direction: row;
}

.items-grid img {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .example-row {
        flex-direction: column;
    }
}
.items-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.market-card {
    width: 45%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.market-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.card-image {
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-height: 150px;
    min-width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.card-rating {
    font-size: 13px;
    font-weight: 600;
    color: #ff9800;
}

.card-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-price {
    font-size: 12px;
    font-weight: 700;
}

.old-price {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
}

.card-title {
    font-size: 12px;
    color: #333;
    line-height: 1.2;
    min-height: 25px;
}

.card-btn {
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
    background: #7b61ff;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.card-btn:hover {
    background: #6248e5;
}

.example-block .photo_info{
    background-color: #000000aa;
    color: #fff;
    font-weight: 700;
    position: absolute;
    padding: 3px 20px;
    border-radius: 0 0 15px;
}
.example-block .tryon_badge{
    background-color: #000000;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;

}
.images-container {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease;
}

.images-container .photo, .result {
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.visual-card {
    background: white;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    height: 130px;
    width: 100px
}
.visual-card .tryon-button{
    font-size: 12px;
    text-align: center;
    background-color: #000;
    color:white;
    font-weight: 200;
}
.visual-card .card-rating{
    font-size: 8px;
}
.visual-card .card-title{
    font-size: 10px;
}

.visual-card .new-price, .old-price{
    font-size: 8px;

}

.visual-card .card-image img{
    height: 50px;
}
