* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* Hero */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111827;
}

.hero p {
    font-size: 20px;
    color: #4b5563;
    max-width: 700px;
    margin-bottom: 30px;
}

/* Features grid */
.features {
    padding: 60px 0;
    background: white;
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111827;
}

.feature-card p {
    color: #6b7280;
    font-size: 16px;
}

/* Tabs description */
.tabs-section {
    padding: 60px 0;
    background: #f3f4f6;
}

.tabs-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.tabs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tab-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.tab-card ul {
    list-style: none;
    margin: 15px 0;
}

.tab-card li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.tab-card li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

.tab-card .note {
    background: #f3f4f6;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-style: italic;
    color: #4b5563;
}

/* Price */
.price-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.price-card {
    max-width: 400px;
    margin: 0 auto;
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-card .price {
    font-size: 48px;
    font-weight: 800;
    color: #3b82f6;
    margin: 20px 0;
}

.price-card .price small {
    font-size: 18px;
    font-weight: 400;
    color: #6b7280;
}

.price-card ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.price-card li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.price-card li::before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #10b981;
}

.price-note {
    color: #6b7280;
    margin-top: 20px;
    font-size: 14px;
}

/* CTA */
.cta {
    padding: 60px 0;
    background: #3b82f6;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: #3b82f6;
    font-size: 20px;
    padding: 15px 40px;
}

.cta .btn:hover {
    background: #f3f4f6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    .features h2, .tabs-section h2, .cta h2 { font-size: 28px; }
}

.payment-section {
    padding: 60px 0;
    background: #f3f4f6;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.payment-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.payment-card h2 {
    margin-bottom: 10px;
}

.payment-card .subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.plan-info {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.plan-info h3 {
    margin-bottom: 10px;
    color: #111827;
}

.plan-info .price {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
    margin: 10px 0;
}

.plan-info .price span {
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
}

.plan-info ul {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.plan-info li {
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
}

.plan-info li::before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #10b981;
}

.payment-note {
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
}

.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
}

.input-error {
    border-color: #dc2626 !important;
    background-color: #fee2e2;
}

.input-error:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220,38,38,0.2);
}

/* ===== Дополнительные стили для новых секций ===== */

/* Секция "Как это работает" */
.how-it-works {
    padding: 60px 0;
    background-color: #fff;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}
.step {
    flex: 1 1 200px;
    text-align: center;
}
.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2d3748;
}
.step p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

/* Секция "Скриншоты" */
.screenshots {
    padding: 60px 0;
    background-color: #f7fafc;
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.screenshot-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.screenshot-card:hover {
    transform: translateY(-5px);
}
.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}
.screenshot-card p {
    padding: 15px;
    text-align: center;
    color: #2d3748;
    font-size: 14px;
    border-top: 1px solid #e2e8f0;
}

/* Секции "Аналитика" и "Публичная визитка" */
.analytics, .public-page {
    padding: 60px 0;
    background: white;
}
.analytics .container, .public-page .container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.analytics-content, .public-content {
    flex: 1;
}
.analytics-image, .public-image {
    flex: 1;
    text-align: center;
}
.analytics-image img, .public-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .analytics .container, .public-page .container {
        flex-direction: column;
    }
}

/* Бесплатный период */
.free-trial {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}
.free-trial h2 {
    color: white;
    margin-bottom: 20px;
}
.free-trial p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}
.trial-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    margin-bottom: 40px;
}
.trial-features li {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    backdrop-filter: blur(5px);
}
.free-trial .btn {
    background: white;
    color: #667eea;
    font-size: 18px;
    padding: 15px 40px;
    border: none;
}
.free-trial .btn:hover {
    background: #f3f4f6;
}

/* Кнопка btn-large (увеличиваем) */
.btn-large {
    font-size: 18px;
    padding: 15px 40px;
}

/* ===== Новые стили для блоков с заказами, аналитикой и визиткой ===== */

.orders-preview, .analytics-preview, .public-preview {
    padding: 60px 0;
    background: white;
}

.orders-preview {
    background: #f9fafb;
}

.preview-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.preview-row.reverse {
    flex-direction: row-reverse;
}

.preview-text {
    flex: 1;
}

.preview-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.preview-text p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 20px;
}

.preview-text ul {
    list-style: none;
    margin: 20px 0;
}

.preview-text li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    color: #374151;
}

.preview-text li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 8px;
    top: -2px;
}

.preview-image {
    flex: 1;
    text-align: center;
}

.preview-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .preview-row, .preview-row.reverse {
        flex-direction: column;
    }
}

/* Секция "Как это работает" (уже была, но добавим отступы) */
.how-it-works {
    padding: 60px 0;
    background: #f3f4f6;
}

/* Секция дополнительных возможностей */
.other-features {
    padding: 60px 0;
    background: white;
}

.other-features h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* Уменьшим карточки в дополнительных возможностях, если нужно */
.other-features .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Кнопка btn-large */
.btn-large {
    font-size: 18px;
    padding: 15px 40px;
}

/* Детальные разделы (заказы и аналитика) */
.orders-detailed, .analytics-detailed {
    padding: 60px 0;
    background: #f9fafb;
}
.analytics-detailed {
    background: white;
}
.detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.detailed-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}
.detailed-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #111827;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}
.detailed-card p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.detailed-card .example {
    background: #f3f4f6;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .detailed-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}