/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
    /* Colors */
    --color-bg: #000000;
    --color-bg-alt: #0A0A0A;
    --color-pink: #FF0080;
    --color-lime: #CCFF00;
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-gray-light: #B0B0B0;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--color-pink) 0%, var(--color-lime) 100%);
    --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FFB627 100%);
    
    /* Typography */
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --glow-pink: 0 0 20px rgba(255, 0, 128, 0.5), 0 0 40px rgba(255, 0, 128, 0.3);
    --glow-lime: 0 0 20px rgba(204, 255, 0, 0.5), 0 0 40px rgba(204, 255, 0, 0.3);
    --glow-gradient: 0 0 30px rgba(255, 0, 128, 0.4), 0 0 60px rgba(204, 255, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-pink);
}

.nav-link--cta {
    background: var(--gradient-main);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    color: var(--color-bg);
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gradient);
    color: var(--color-bg);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
    position: relative;
}

/* Giant Typography */
.hero-title {
    margin-bottom: var(--spacing-lg);
}

.giant-text {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    font-weight: 700;
}

.giant-text__line {
    font-size: clamp(4rem, 15vw, 12rem);
    letter-spacing: -0.05em;
    text-transform: uppercase;
    display: block;
}

.giant-text__line--pink {
    color: var(--color-pink);
    text-shadow: var(--glow-pink);
    animation: glowPulse 3s ease-in-out infinite;
}

.giant-text__line--lime {
    color: var(--color-lime);
    text-shadow: var(--glow-lime);
    animation: glowPulse 3s ease-in-out infinite 1s;
}

.giant-text__line--gradient {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glowPulse 3s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

/* Hero Content Grid */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-md);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--color-white);
    font-weight: 500;
    line-height: 1.3;
}

.hero-description {
    color: var(--color-gray-light);
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.25rem 2.5rem;
    background: var(--gradient-main);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-gradient);
}

.cta-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.cta-button__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotatGlow 3s linear infinite;
    pointer-events: none;
}

@keyframes rotatGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-gray);
    font-size: 0.875rem;
}

.stat-divider {
    opacity: 0.5;
}

/* Hero Right - Mockup */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-container {
    width: 100%;
    max-width: 600px;
    position: relative;
}

/* Comparison Cards */
.comparison-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.comparison-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-sm);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.comparison-card--after:hover {
    box-shadow: var(--glow-gradient);
}

.card-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-image {
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    overflow: hidden;
}

.card-image--placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.card-image--glow {
    border-color: var(--color-lime);
    box-shadow: var(--glow-lime);
}

.card-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Gallery Styles */
.card-image--gallery {
    padding: 0;
    position: relative;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide--active {
    opacity: 1;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--color-lime);
    color: var(--color-lime);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-arrow:focus {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
}

.gallery-arrow:focus:not(:focus-visible) {
    outline: none;
}

.gallery-arrow:focus-visible {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
}

.gallery-arrow--prev {
    left: 8px;
}

.gallery-arrow--next {
    right: 8px;
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
}

.gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.gallery-dot--active {
    background: var(--color-lime);
    box-shadow: 0 0 8px rgba(204, 255, 0, 0.6);
    width: 8px;
    height: 8px;
}

.gallery-dot:focus {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
}

.gallery-dot:focus:not(:focus-visible) {
    outline: none;
}

.gallery-dot:focus-visible {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
}

.placeholder-icon {
    font-size: 3rem;
}

.placeholder-text {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    text-align: center;
}

/* Transform Arrow */
.transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-lime);
    animation: pulse 2s ease-in-out infinite;
}

.transform-time {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--color-lime);
    box-shadow: var(--glow-lime);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Telegram Widget */
.telegram-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.telegram-widget:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.telegram-icon {
    color: var(--color-lime);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-lime);
    transform: translateY(-5px);
    box-shadow: var(--glow-lime);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.feature-desc {
    color: var(--color-gray-light);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.footer-right {
    display: flex;
    gap: var(--spacing-md);
}

.footer-link {
    color: var(--color-gray-light);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr auto 1fr;
        gap: var(--spacing-xs);
    }
    
    .transform-arrow {
        transform: rotate(0deg);
    }
    
    .transform-arrow svg {
        width: 40px;
        height: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .nav {
        gap: var(--spacing-sm);
    }
    
    .nav-link--cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding-top: 90px;
        padding-bottom: var(--spacing-md);
    }
    
    .hero-title {
        margin-bottom: var(--spacing-md);
    }
    
    .giant-text__line {
        font-size: clamp(2.5rem, 15vw, 5rem);
        line-height: 0.9;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.4;
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-description {
        font-size: 0.9375rem;
        gap: 0.375rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-description p {
        line-height: 1.5;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .cta-button__icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-stats {
        font-size: 0.8125rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .mockup-container {
        max-width: 100%;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr auto 1fr;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .comparison-card {
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
    }
    
    .card-label {
        font-size: 0.625rem;
        margin-bottom: 0.25rem;
        text-align: center;
    }
    
    .card-image {
        flex: 1;
        min-height: 0;
    }
    
    .card-image__img {
        border-radius: 6px;
    }
    
    .gallery-arrow {
        width: 28px;
        height: 28px;
    }
    
    .gallery-arrow--prev {
        left: 4px;
    }
    
    .gallery-arrow--next {
        right: 4px;
    }
    
    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .gallery-dots {
        bottom: 4px;
        gap: 4px;
    }
    
    .gallery-dot {
        width: 4px;
        height: 4px;
    }
    
    .gallery-dot--active {
        width: 6px;
        height: 6px;
    }
    
    .transform-arrow {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        padding: 0 0.25rem;
    }
    
    .transform-arrow svg {
        width: 32px;
        height: 32px;
    }
    
    .transform-time {
        font-size: 0.625rem;
        padding: 0.15rem 0.5rem;
        white-space: nowrap;
    }
    
    .telegram-widget {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    .telegram-icon {
        width: 24px;
        height: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-sm);
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
    
    .feature-desc {
        font-size: 0.8125rem;
    }
    
    .footer {
        padding: var(--spacing-sm) 0;
        margin-top: var(--spacing-md);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .footer-left {
        font-size: 0.8125rem;
    }
    
    .footer-right {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
    }
    
    .footer-link {
        font-size: 0.8125rem;
    }
    
    .header {
        padding: var(--spacing-xs) 0;
    }
    
    .header .container {
        flex-wrap: nowrap;
        gap: var(--spacing-sm);
    }
    
    .logo {
        font-size: 1.125rem;
        flex-shrink: 0;
    }
    
    .logo-icon {
        font-size: 1.25rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: var(--spacing-xs);
        margin-left: auto;
    }
    
    .nav-link--features {
        display: none;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .nav-link--cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        white-space: nowrap;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-left,
.hero-right,
.features-grid {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-left {
    animation-delay: 0.2s;
}

.hero-right {
    animation-delay: 0.4s;
}

.features-grid {
    animation-delay: 0.6s;
}

/* Smooth transitions for all interactive elements */
a, button, .comparison-card, .feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
