:root {
    --blue: #2196F3;
    --blue-dark: #1976D2;
    --blue-light: #E3F2FD;
    --orange: #FF6F00;
    --orange-dark: #E65100;
    --orange-light: #FFF3E0;
    --bg: #F5F8FC;
    --text: #1A1A2E;
    --text-muted: #5A6A7A;
    --white: #fff;
    --border: #E0E8F0;
    --success: #34A853;
    --error: #E53935;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 2px 16px rgba(0,0,0,.07);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue);
    box-shadow: 0 2px 12px rgba(33,150,243,.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 24px;
}

.navbar-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.4px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: -2px;
}

.navbar-logo:hover { text-decoration: none; opacity: .9; }

.navbar-links {
    display: flex;
    gap: 20px;
    flex: 1;
}

.navbar-links a {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 500;
    transition: color .15s;
}

.navbar-links a:hover { color: var(--white); text-decoration: none; }

.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.navbar-support {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-weight: 500;
    transition: color .15s;
}

.navbar-support:hover { color: var(--white); text-decoration: none; }

.navbar-support svg { flex-shrink: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255,111,0,.3);
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255,111,0,.4);
}

.btn-orange:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
}

.btn-blue:hover { background: var(--blue-dark); }

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover { background: var(--blue-light); }

.btn-outline:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.btn-sm { padding: 6px 14px; font-size: 13px; }

.orders-section {
    display: none;
    padding: 24px 0 0;
}

.orders-section.visible { display: block; }

.orders-panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.orders-header h2 {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.orders-table { width: 100%; border-collapse: collapse; }

.orders-table th {
    text-align: left;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .3px;
    background: #FAFBFD;
}

.orders-table td {
    padding: 12px 24px;
    font-size: 14px;
    border-top: 1px solid var(--border);
    vertical-align: middle;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-demo { background: var(--blue-light); color: var(--blue); }
.badge-waiting { background: #FFF8E1; color: #F9A825; }
.badge-running { background: var(--blue-light); color: var(--blue); }
.badge-done { background: #E8F5E9; color: var(--success); }
.badge-error { background: #FFEBEE; color: var(--error); }
.badge-notpaid { background: var(--orange-light); color: var(--orange); }

.hero {
    padding: 48px 0 32px;
}

.hero-grid {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}

.hero-text h1 span { color: var(--blue); }

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.hero-badge svg { flex-shrink: 0; }


.upload-section { padding: 0 0 48px; }

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: relative;
    border: 2px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

.card-demo { border-color: var(--blue-light); }
.card-demo:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.card-paid { border-color: var(--orange-light); }
.card-paid:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }

.card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-demo .card-label { background: var(--blue-light); color: var(--blue); }
.card-paid .card-label { background: var(--orange-light); color: var(--orange); }

.card-price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}

.card-demo .card-price { color: var(--blue); }
.card-paid .card-price { color: var(--orange); }

.card-price-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    padding: 4px 0;
    color: var(--text);
}

.card-features li svg { flex-shrink: 0; margin-top: 3px; }

.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 16px;
    background: var(--bg);
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.dropzone.has-file {
    border-color: var(--success);
    background: #E8F5E9;
    border-style: solid;
}

.dropzone-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.dropzone-text strong { color: var(--text); }

.dropzone-filename {
    display: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

.dropzone.has-file .dropzone-text { display: none; }
.dropzone.has-file .dropzone-filename { display: block; }

.card-action { width: 100%; }

.offer-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 11px;
    color: #999;
}

.offer-link a { color: #999; border-bottom: 1px dotted #ccc; }
.offer-link a:hover { color: var(--text-muted); text-decoration: none; }

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -.3px;
}

.how-it-works { padding: 56px 0; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon-blue {
    background: var(--blue-light);
    color: var(--blue);
}

.step-icon-orange {
    background: var(--orange-light);
    color: var(--orange);
}

.step-icon-green {
    background: #E8F5E9;
    color: var(--success);
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.advantages { padding: 56px 0; }

.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.adv-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.adv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adv-icon-blue { background: var(--blue-light); }
.adv-icon-orange { background: var(--orange-light); }
.adv-icon-green { background: #E8F5E9; }

.adv-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.adv-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.faq { padding: 56px 0; }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .15s;
}

.faq-item summary:hover { background: #FAFBFD; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-arrow {
    margin-left: auto;
    transition: transform .25s;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item[open] .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px 18px 68px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
}

.seo-section {
    padding: 0 0 56px;
    max-width: 760px;
    margin: 0 auto;
}

.seo-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 32px 0 14px;
    border-bottom: 2px solid var(--blue-light);
    padding-bottom: 10px;
}

.seo-section h2:first-child { margin-top: 0; }

.seo-section p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.seo-section ul {
    margin: 0 0 16px;
    padding-left: 24px;
}

.seo-section li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.seo-section strong { color: var(--text); }

.footer {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.download-links { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .navbar .container { gap: 10px; }
    .navbar-links { display: none; }
    .navbar-right .btn-orange { display: none; }

    .hero-text h1 { font-size: 28px; }

    .cards-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .adv-grid { grid-template-columns: 1fr; }

    .orders-table th,
    .orders-table td { padding: 10px 14px; font-size: 13px; }

    .faq-answer { padding-left: 24px; }

    .section-title { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero { padding: 24px 0 16px; }
    .hero-text h1 { font-size: 24px; }
    .hero-subtitle { font-size: 15px; }
    .card { padding: 20px; }
    .card-price { font-size: 28px; }
    .orders-header { padding: 12px 16px; }
    .navbar-logo { font-size: 17px; }
}
