/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366F1;
    --primary-hover: #4F46E5;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Language Specific Styles */
[lang="ru"] {
    font-family: 'Onest', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[lang="en"] {
    font-family: 'Onest', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[lang="ru"] .hero-title,
[lang="en"] .hero-title {
    font-family: 'Onest', 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

[lang="ru"] .section-title,
[lang="en"] .section-title {
    font-family: 'Onest', 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

[lang="ru"] .feature h3,
[lang="en"] .feature h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 600;
}

[lang="ru"] .cta-button,
[lang="ru"] .download-button,
[lang="en"] .cta-button,
[lang="en"] .download-button {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo .logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo .logo:hover {
    transform: scale(1.05);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    gap: 12px;
    align-items: center;
}

.lang-btn {
    padding: 4px 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 4px;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    color: var(--text-primary);
    font-weight: 500;
}

.lang-separator {
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse 700px 350px at center, rgba(255, 235, 59, 0.4) 0%, rgba(255, 193, 7, 0.3) 40%, rgba(255, 235, 59, 0.2) 70%, transparent 100%);
    filter: blur(60px);
    z-index: -1;
}

@keyframes floatBlob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse 700px 350px at center, rgba(33, 150, 243, 0.4) 0%, rgba(3, 169, 244, 0.3) 40%, rgba(129, 212, 250, 0.2) 70%, transparent 100%);
    filter: blur(60px);
    z-index: -1;
}

@keyframes floatBlob2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50px, 30px) scale(1.2) rotate(180deg);
    }
}



.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .black-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-primary);
    background-clip: unset;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: black;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-button .icon {
    width: 36px;
    height: 36px;
}

/* Section Base Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* Demo Section */
.demo {
    /* ensure full viewport height */
    height: 100vh;
    padding: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: stretch; /* allow container to fill height */
}

.demo .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

/* demo content as column (title then visual) */
.demo-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    /* let visual decide vertical centering via auto margins */
}

.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto; /* centers between title and bottom */
}

/* Steps Timeline */
.steps-timeline {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.steps-track {
    display: flex;
    gap: 60px;
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.85);
    white-space: nowrap;
}

.step.passed {
    opacity: 0.5;
    transform: scale(0.9);
}

.step.active {
    opacity: 1;
    transform: scale(1);
}

.step-number {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.passed .step-number {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.step p {
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.passed p {
    color: var(--text-secondary);
}

.step.active p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
}

/* Demo Animation Styles */
.demo-animation-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Demo Stage */
.demo-stage {
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animation Elements */
.animated-element {
    position: absolute;
    width: 90%;
    max-width: 500px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animated-element.hidden {
    opacity: 0;
    transform: scale(0.2);
    pointer-events: none;
}

.animated-element.zoom-out {
    animation: zoomOut 0.4s cubic-bezier(0.550, 0.055, 0.675, 0.190) forwards;
}

.animated-element.zoom-in {
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.320, 1.275) forwards;
}

@keyframes zoomOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tweet Compose */
.tweet-compose {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: 12px;
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    background: url("img/comment_avatar.png") center/cover no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
}

.tweet-content {
    flex: 1;
}

.tweet-textarea {
    width: 100%;
    min-height: 80px;
    border: none;
    resize: none;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: #1f2937;
    background: #f3f4f6;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.tweet-textarea.improved {
    background: #e0f2fe;
    color: #0369a1;
}

.tweet-actions {
    display: flex;
    justify-content: flex-end;
}

.improve-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.improve-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.sparkle {
    font-size: 16px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.post-btn {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.post-btn:hover {
    background: #1991da;
}

/* Suggestions Box */
.suggestions-box {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.suggestions-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.suggestion-item {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.suggestion-item:hover {
    background: #e0f2fe;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.suggestion-text {
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
}

/* Posted Tweet */
.posted-tweet {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.tweet-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.tweet-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
}

.author-handle {
    color: #6b7280;
    font-size: 14px;
}

.tweet-text {
    font-size: 15px;
    line-height: 1.5;
    color: #1f2937;
    margin-bottom: 12px;
}

.tweet-stats {
    display: flex;
    gap: 24px;
}

.tweet-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 14px;
}

.heart-icon {
    fill: #e11d48;
    cursor: pointer;
    transition: all 0.3s;
}

.like-animation .heart-icon {
    animation: heartBeat 0.8s ease-out;
}

.like-animation .like-count {
    animation: countUp 0.5s ease-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes countUp {
    0% { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Animated Cursor */
.animated-cursor {
    position: absolute;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.animated-cursor.hidden {
    opacity: 0;
}

.animated-cursor img {
    display: block;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* start from below helper */
.cursor-from-below {
    opacity: 0;
    transform: translateY(24px) scale(1);
}

/* Typing Effect */
.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Button Hover Effect for Cursor */
.improve-btn.cursor-hover,
.post-btn.cursor-hover,
.suggestion-item.cursor-hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Multiple Likes Animation */
.floating-hearts {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
    bottom: 0;
    left: -40px;
}

.floating-heart {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    animation: floatUp 3s ease-out forwards;
    opacity: 0;
}

.floating-heart svg {
    width: 100%;
    height: 100%;
    fill: #e11d48;
}

@keyframes floatUp {
    0% {
        transform: translateX(-50%) translateY(0) scale(0);
        opacity: 1;
    }
    15% {
        transform: translateX(-50%) translateY(-20px) scale(1.2);
    }
    100% {
        transform: translateX(calc(-50% + var(--random-x))) translateY(-80px) scale(0.3);
        opacity: 0;
    }
}

.like-count.animating {
    animation: countUp 0.3s ease-out;
}

/* Enhanced heart animation */
.heart-icon.liked {
    fill: #e11d48;
    animation: heartPulse 0.6s ease-out;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    40% { transform: scale(0.9); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgb(255 217 217);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.feature:nth-child(1)::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.4) 0%, transparent 50%);
}

.feature:nth-child(2)::before {
    background: 
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(168, 85, 247, 0.4) 0%, transparent 50%);
}

.feature:nth-child(3)::before {
    background: 
        radial-gradient(circle at 30% 40%, rgba(34, 197, 94, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(16, 185, 129, 0.4) 0%, transparent 50%);
}

.feature:nth-child(4)::before {
    background: 
        radial-gradient(circle at 60% 30%, rgba(245, 158, 11, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.4) 0%, transparent 50%);
}

.feature:nth-child(5)::before {
    background: 
        radial-gradient(circle at 40% 20%, rgba(239, 68, 68, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.4) 0%, transparent 50%);
}

.feature:nth-child(6)::before {
    background: 
        radial-gradient(circle at 25% 60%, rgba(59, 130, 246, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 75% 30%, rgba(14, 165, 233, 0.4) 0%, transparent 50%);
}

.feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Download Section */
.download {
    background: var(--bg-light);
    text-align: center;
}

.download-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.download-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.privacy-link {
    margin-top: 2rem;
    text-align: center;
}

.privacy-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.privacy-link a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-button .icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.download-button.primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.download-button.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-button.secondary {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.download-button.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.install-note {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px;
    }
    
    .header-logo .logo {
        height: 40px;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-steps {
        order: 2;
    }
    
    .demo-visual {
        order: 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 30px 20px;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Loading and Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > *, 
.demo-content,
.features-grid,
.download-options {
    animation: fadeIn 0.8s ease-out;
}

/* Privacy Policy Styles */
.privacy-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-nav {
    display: flex;
    align-items: center;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-color);
}

.logo-small {
    width: 32px;
    height: 32px;
}

.privacy-content {
    padding: 2rem 0;
    background: var(--bg-white);
    min-height: calc(100vh - 80px);
}

.privacy-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
}

.privacy-article h1 {
    font-family: 'Onest', 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-family: 'Onest', 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.privacy-section h3 {
    font-family: 'Onest', 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem 0;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.privacy-section ul,
.privacy-section ol {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.7;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.privacy-section code {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.privacy-section a:hover {
    border-bottom-color: var(--primary-color);
}

.privacy-note {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.privacy-note p {
    margin: 0;
    font-style: italic;
    color: var(--text-secondary);
}



/* Mobile Responsive for Privacy Page */
@media (max-width: 768px) {
    .privacy-article {
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .privacy-article h1 {
        font-size: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .back-link {
        font-size: 0.9rem;
    }
    
    .logo-small {
        width: 28px;
        height: 28px;
    }
    
    .privacy-content {
        padding: 1rem 0;
    }
} 

/* Responsive Demo Animation */
@media (max-width: 768px) {
    .steps-track {
        gap: 40px;
        padding: 15px;
    }
    
    .step {
        gap: 10px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step p {
        font-size: 14px;
    }
    
    .step.active p {
        font-size: 16px;
    }
    
    .demo-stage {
        padding: 24px;
        min-height: 350px;
    }
    
    .demo-animation-container {
        height: 350px;
    }
    

    
    .tweet-compose {
        padding: 12px;
    }
    
    .tweet-avatar {
        width: 40px;
        height: 40px;
    }
    
    .tweet-textarea {
        font-size: 14px;
        min-height: 60px;
        padding: 10px;
    }
    
    .improve-btn,
    .post-btn {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .suggestions-box {
        padding: 12px;
    }
    
    .suggestion-item {
        padding: 10px;
        margin-bottom: 6px;
    }
    
    .suggestion-text {
        font-size: 13px;
    }
    
    .posted-tweet {
        padding: 12px;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .author-handle,
    .tweet-text,
    .tweet-stat {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .demo-stage {
        padding: 20px;
        min-height: 300px;
    }
    
    .steps-track {
        gap: 30px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step p {
        font-size: 12px;
    }
    
    .step.active p {
        font-size: 14px;
    }
} 

/* Animated element container stacks title above card */
.animated-element {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* тянем карточку на всю доступную ширину */
    gap: 12px;
    width: 80%;
    max-width: 600px;
}

/* Карточки внутри сцены заполняют всю ширину контейнера */
.animated-element > .tweet-compose,
.animated-element > .suggestions-box,
.animated-element > .posted-tweet {
    width: 100%;
}

/* Scene title as a normal block above the graphic */
.scene-title {
    position: static;
    margin: 0 16px 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Stage no extra top padding needed now */
.demo-stage {
    padding-top: 24px;
}

/* Remove steps timeline styles (no longer used) */
.steps-timeline, .steps-track { display: none; } 

.demo-progress {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #D1D5DB; /* gray */
    transition: all 0.25s ease;
}

.progress-dot.active {
    width: 28px; /* stretched */
    background: var(--primary-color); /* colored */
}

@media (max-width: 480px) {
    .demo-progress {
        gap: 8px;
        margin-top: 12px;
    }
    .progress-dot {
        width: 6px;
        height: 6px;
    }
    .progress-dot.active {
        width: 22px;
    }
} 

/* Alternative scene transition animations */
@keyframes slideOutLeft { from {opacity:1; transform:translateX(0)} to {opacity:0; transform:translateX(-32px)} }
@keyframes slideInRight { from {opacity:0; transform:translateX(32px)} to {opacity:1; transform:translateX(0)} }
.ani-slide-out { animation: slideOutLeft .45s cubic-bezier(.4,0,.2,1) forwards; }
.ani-slide-in  { animation: slideInRight .45s cubic-bezier(.4,0,.2,1) forwards; }

/* 3D flip */
@keyframes flipOut { from {opacity:1; transform:rotateY(0)} to {opacity:.6; transform:rotateY(12deg)} }
@keyframes flipIn  { from {opacity:.6; transform:rotateY(-12deg)} to {opacity:1; transform:rotateY(0)} }
.ani-flip-out { animation: flipOut .5s cubic-bezier(.4,0,.2,1) forwards; transform-origin: center right; }
.ani-flip-in  { animation: flipIn  .5s cubic-bezier(.4,0,.2,1) forwards; transform-origin: center left; }

/* Blur + fade */
@keyframes blurOut { from {opacity:1; filter:blur(0)} to {opacity:0; filter:blur(8px)} }
@keyframes blurIn  { from {opacity:0; filter:blur(8px)} to {opacity:1; filter:blur(0)} }
.ani-blur-out { animation: blurOut .4s ease forwards; }
.ani-blur-in  { animation: blurIn  .4s ease forwards; }

/* Perspective for flip animations */
.demo-stage { perspective: 1000px; } 

/* Enhanced Pricing */
.pricing-card {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin: 0 auto 28px;
    max-width: 520px;
    text-align: left;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: none;
    transition: none;
}

.pricing-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pricing-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-value {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    position: relative;
    padding-left: 28px;
    color: var(--text-primary);
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--primary-color);
    border: none;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') center/contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') center/contain no-repeat;
}

@media (max-width: 768px) {
    .pricing-card {
        padding: 20px;
        border-radius: 12px;
        max-width: 100%;
    }
    .pricing-currency { font-size: 22px; }
    .pricing-period { font-size: 16px; }
} 

/* Pricing actions inside card */
.pricing-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pricing-card .download-button {
    justify-content: center;
}

/* Center price */
.pricing-price.center {
    justify-content: center;
    width: 100%;
}

/* Full width secondary button inside pricing */
.pricing-actions .download-button.fullwidth {
    width: 100%;
}

/* Checkmarks for pricing features */
.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--primary-color);
    border: none;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') center/contain no-repeat;
            mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"/></svg>') center/contain no-repeat;
}

@media (max-width: 768px) {
    .pricing-actions .download-button.fullwidth {
        width: 100%;
    }
}

/* Footer links */
.footer .footer-links {
    margin-bottom: 8px;
}

.footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s ease;
}

.footer .footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer .footer-sep { color: var(--text-secondary); }
.footer .footer-info { font-size: 0.9rem; } 