* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #f093fb;
    --bg-dark: #0a0e27;
    --bg-darker: #060917;
    --bg-card: #131831;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --success: #43e97b;
    --warning: #fee140;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(360deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    border: none;
}

.nav-menu .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn-large:hover::before {
    left: 100%;
}

.btn-large.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-large.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-large.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-large.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Dashboard Mockup */
.hero-image {
    position: relative;
    z-index: 1;
}

.dashboard-mockup {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dashboard-mockup:hover {
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.5;
}

.mockup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.scan-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 565;
    stroke-dashoffset: 50;
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    to {
        stroke-dashoffset: 0;
    }
}

.scan-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.scan-percent {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scan-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Features */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Screenshots */
.screenshots {
    background: var(--bg-dark);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-card);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.7) 70%, transparent 100%);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.screenshot-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Lightbox for screenshots */
.screenshot-item:active {
    transform: scale(0.98);
}

.screenshot-item {
    cursor: zoom-in;
}

.screenshot-item::after {
    content: '🔍';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(102, 126, 234, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screenshot-item:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.req-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.req-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.req-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.req-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.req-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.req-card ul {
    list-style: none;
}

.req-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.req-card li:last-child {
    border-bottom: none;
}

/* What's New */
.whats-new {
    background: var(--bg-darker);
}

.new-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.new-feature {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.new-feature:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.new-feature:hover .new-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.new-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.new-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.new-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comparison */
.comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-card);
}

.comparison-table::-webkit-scrollbar {
    height: 8px;
}

.comparison-table::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 10px;
}

.comparison-table::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.table-scroll {
    min-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    vertical-align: middle;
}

th.highlight {
    background: rgba(255, 255, 255, 0.2);
}

td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

th:not(:first-child),
td:not(:first-child) {
    text-align: center;
}

td.highlight {
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

tbody tr {
    transition: all 0.2s ease;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Alternatives */
.alternatives {
    background: var(--bg-darker);
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.alt-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alt-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.alt-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.alt-rating {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--warning);
}

.alt-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 80px;
}

.alt-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* How To */
.steps {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Testimonials Carousel */
.testimonial {
    background: var(--bg-darker);
    padding: 80px 0 100px;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 0.8s ease-out;
    max-width: 100%;
}

.carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    max-width: 100%;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    touch-action: pan-y pinch-zoom;
    width: 100%;
}

.testimonial-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.carousel-btn {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    pointer-events: none;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: var(--bg-card);
    color: var(--primary);
    transform: scale(1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Carousel animations */
@keyframes slideIn {
    from {
        opacity: 0.5;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-track {
    animation: slideIn 0.5s ease;
}

.quote-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.author-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-rating {
    font-size: 1.5rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    scroll-margin-top: 100px;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    position: relative;
    padding-right: 30px;
    user-select: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.faq-item:hover .faq-question::after {
    color: var(--accent);
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.faq-item.open {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: var(--primary);
}

.faq-item.open .faq-answer {
    padding-top: 0.75rem;
}

/* Download */
.download {
    background: var(--bg-darker);
}

.download-card {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-card > p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.pricing {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* New Download Box */
.download-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    max-width: 550px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
    animation: glow 3s ease-in-out infinite;
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.download-box:hover::before {
    left: 100%;
}

.download-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.5);
}

.download-header {
    margin-bottom: 2rem;
}

.download-icon {
    margin: 0 auto 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.download-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.license-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.license-badge svg {
    animation: pulse 2s ease-in-out infinite;
}

.features-compact {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: left;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.features-compact .feature-row {
    align-items: flex-start;
}

.feature-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-row:hover {
    color: var(--text-primary);
    padding-left: 0.5rem;
}

.feature-icon {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.features-compact .feature-icon {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    min-width: 1.5rem;
    line-height: 1;
    margin-top: 0.15rem;
}

.btn-download-main {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-download-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-download-main:hover::before {
    left: 100%;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.btn-download-main:active {
    transform: translateY(-1px);
}

.btn-download-main svg {
    flex-shrink: 0;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.info-item {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.info-item strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
    font-weight: 700;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: default;
    font-weight: 600;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: var(--primary);
}

/* Activation Keys */
.activation-keys {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
    animation: fadeInUp 0.8s ease-out, glow 3s ease-in-out infinite;
    scroll-margin-top: 100px;
}

.activation-keys h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.keys-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.keys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.key-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.key-card:nth-child(1) {
    animation-delay: 0.1s;
}

.key-card:nth-child(2) {
    animation-delay: 0.2s;
}

.key-card:nth-child(3) {
    animation-delay: 0.3s;
}

.key-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.key-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.key-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.key-expiry {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

.key-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
    word-break: break-all;
    user-select: all;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.key-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.5s ease;
}

.key-code:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

.key-code:hover::before {
    left: 100%;
}

.key-code::after {
    content: 'Нажмите чтобы скопировать';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-darker);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: normal;
}

.key-code:hover::after {
    opacity: 1;
}

.btn-copy {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-copy:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-copy:active {
    transform: scale(0.98);
}

.btn-copy.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
    animation: pulse 0.5s ease;
}

.keys-instructions {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.keys-instructions h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.keys-instructions ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.keys-instructions li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.keys-instructions strong {
    color: var(--primary);
}

.keys-note {
    background: rgba(254, 225, 64, 0.1);
    border-left: 4px solid var(--warning);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .new-features {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active .btn-primary {
        width: 100%;
        display: block;
        text-align: center;
        justify-content: center;
    }
    
    .nav-menu.active a {
        text-align: center;
    }
    
    .burger {
        display: flex;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        min-width: auto;
    }
    
    .comparison-table {
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 1rem;
    }
    
    .alternatives-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel {
        gap: 1.5rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .testimonial-card {
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .pricing {
        flex-direction: column;
        align-items: center;
    }
    
    .download-box {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .download-box h3 {
        font-size: 1.5rem;
    }
    
    .license-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .btn-download-main {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat {
        text-align: center;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .download-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .activation-keys {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .activation-keys h3 {
        font-size: 1.5rem;
    }
    
    .keys-grid {
        grid-template-columns: 1fr;
    }
    
    .key-code {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .keys-instructions {
        padding: 1.5rem;
    }
    
    .keys-instructions ol {
        margin-left: 1rem;
    }
    
    .testimonials-carousel {
        gap: 1rem;
    }
    
    .carousel-container {
        max-width: calc(100vw - 120px);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .testimonial-card {
        padding: 2rem;
        min-width: 100%;
        width: 100%;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    .carousel-dots {
        margin-top: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.8) 100%);
        padding: 1.5rem;
    }
    
    .screenshot-overlay h3 {
        font-size: 1.1rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-caption {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-card,
.new-feature,
.step,
.faq-item,
.alt-card,
.screenshot-item {
    animation: fadeInUp 0.6s ease-out;
}

.screenshot-item:nth-child(1) {
    animation-delay: 0.1s;
}

.screenshot-item:nth-child(2) {
    animation-delay: 0.2s;
}

.screenshot-item:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.featured-price {
    animation: glow 3s ease-in-out infinite;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary:active {
    transform: scale(0.95);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary) 100%);
}

/* Selection color */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* Button base styles */
button,
.btn-primary,
.btn-secondary,
.btn-large {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 44px;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

[class*="btn-"]:active {
    transform: scale(0.97);
}

[class*="btn-"] svg {
    flex-shrink: 0;
}

/* Ensure buttons in lists don't have weird spacing */
li > [class*="btn-"] {
    display: inline-flex;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

a:focus:not(:focus-visible) {
    outline: none;
}

/* Loading state */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Backdrop blur support */
@supports (backdrop-filter: blur(10px)) {
    .header {
        background: rgba(10, 14, 39, 0.8);
    }
    
    .nav-menu.active {
        background: rgba(10, 14, 39, 0.9);
    }
}

/* Gradient overlays */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced shadows */
.feature-card,
.req-card,
.new-feature,
.alt-card,
.price-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Link hover effect */
a {
    position: relative;
}

a[class*="btn-"] {
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Print styles */
@media print {
    .header,
    .burger,
    .btn-primary,
    .btn-secondary,
    .btn-large {
        display: none;
    }
}
