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

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-wrapper {
    flex: 1;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.9;
}

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

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    padding: 20px;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.container-narrow {
    max-width: 900px;
}

.container-medium {
    max-width: 1000px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.card-intro {
    color: #666;
    margin-bottom: 30px;
}

.auth-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 450px;
    width: 100%;
    padding: 40px;
}

.auth-container.wide {
    max-width: 500px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo h1 {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 5px;
}

.auth-logo p {
    color: #666;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group-spaced {
    margin-bottom: 40px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input[readonly],
textarea[readonly] {
    background: #f8f9fa;
    cursor: not-allowed;
}

.help-text {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 18px 50px;
    font-size: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-secondary {
    background: #e1e8ed;
    color: #333;
}

.btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-danger {
    background: #dc3545;
}

.btn-paypal {
    width: 100%;
    padding: 16px;
    background: #0070ba;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-paypal:hover {
    background: #005ea6;
    transform: none;
}

.btn-transparent {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-transparent:hover {
    background: white;
    color: #667eea;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-current {
    background: #e7f3ff;
    color: #0066cc;
    border: 2px solid #0066cc;
    cursor: default;
}

.btn-current:hover {
    transform: none;
}

.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.info {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    color: #0066cc;
    font-size: 14px;
    text-align: center;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.warning a {
    color: #856404;
    font-weight: 600;
}

.risk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-badge-lg {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 15px;
}

.risk-low {
    background: #d4edda;
    color: #155724;
}

.risk-medium {
    background: #fff3cd;
    color: #856404;
}

.risk-high {
    background: #f8d7da;
    color: #721c24;
}

.risk-critical {
    background: #f5c6cb;
    color: #491217;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-card h3 {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stat-card .value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.stat-card .label {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive,
.table-wrapper {
    overflow-x: auto;
    display: block;
}

.table-responsive thead,
.table-responsive tbody,
.table-wrapper thead,
.table-wrapper tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

th {
    text-align: left;
    padding: 12px;
    background: #f8f9fa;
    font-weight: 600;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
}

td {
    padding: 15px 12px;
    border-bottom: 1px solid #e1e8ed;
}

td a {
    color: #667eea;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.truncate,
.url-cell {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-spaced {
    margin-top: 20px;
}

.api-key-code {
    font-size: 12px;
    font-family: monospace;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.inline-form {
    display: inline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.section {
    padding: 80px 20px;
}

.section-alt {
    background: #f8f9fa;
}

.section-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #333;
}

.section-gradient .section-title {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

.problem-list {
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    background: white;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #f44336;
}

.problem-item strong {
    color: #f44336;
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.landing-stat-item {
    padding: 20px;
}

.landing-stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
}

.landing-stat-label {
    font-size: 18px;
    opacity: 0.9;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: white;
    border: 2px solid #e1e8ed;
    padding: 30px 25px;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.price-card.popular {
    border: 3px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 42px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.plan-price span {
    font-size: 16px;
    color: #666;
}

.plan-period {
    color: #999;
    margin-bottom: 20px;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 14px;
}

.plan-features li::before {
    content: "\2713";
    color: #667eea;
    font-weight: 700;
    margin-right: 10px;
}

.plan-features li.disabled {
    color: #ccc;
}

.plan-features li.disabled::before {
    content: "\2717";
    color: #ccc;
}

.price-card .btn {
    margin-top: auto;
}

.order-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.order-summary h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e8ed;
}

.order-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-label {
    color: #666;
}

.order-value {
    font-weight: 600;
    color: #333;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e1e8ed;
}

.api-key-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.key-info {
    flex: 1;
    min-width: 200px;
}

.key-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.key-value {
    font-family: monospace;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    word-break: break-all;
    font-size: 13px;
}

.key-meta {
    font-size: 13px;
    color: #666;
}

.key-actions {
    display: flex;
    gap: 10px;
}

.docs {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.doc-section {
    margin-bottom: 25px;
}

.doc-section:last-child {
    margin-bottom: 0;
}

.doc-section h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
}

.doc-section p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.doc-section pre {
    background: white;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    border: 1px solid #e1e8ed;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.scan-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.scan-type-tabs label {
    flex: 1;
    min-width: 120px;
    padding: 12px;
    text-align: center;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0;
}

.scan-type-tabs input[type="radio"] {
    display: none;
}

.scan-type-tabs input[type="radio"]:checked + label {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.scans-remaining {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    color: #856404;
}

.score-display {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
}

.score-display .score {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 10px;
}

.score-display .label {
    font-size: 18px;
    opacity: 0.9;
}

.findings {
    margin-bottom: 30px;
}

.finding-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

.finding-item.severity-critical {
    border-left-color: #dc3545;
}

.finding-item.severity-high {
    border-left-color: #fd7e14;
}

.finding-item.severity-medium {
    border-left-color: #ffc107;
}

.finding-item.severity-low {
    border-left-color: #28a745;
}

.finding-item.severity-positive {
    border-left-color: #007bff;
    background: #f0f8ff;
}

.finding-item strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.finding-item .meta {
    font-size: 13px;
    color: #666;
}

.finding-item .details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e1e8ed;
    font-size: 13px;
    color: #555;
}

.finding-item .details ul {
    margin-left: 20px;
    margin-top: 5px;
}

.finding-item .details li {
    margin-bottom: 3px;
}

.finding-code {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    overflow-x: auto;
}

.finding-code .line-number {
    color: #858585;
    user-select: none;
    margin-right: 15px;
    display: inline-block;
    min-width: 30px;
    text-align: right;
}

.finding-code .line-content {
    color: #d4d4d4;
}

.finding-code .highlight {
    background: rgba(255, 255, 0, 0.2);
    color: #ffd700;
}

.recommendations {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.recommendations h3 {
    color: #0066cc;
    margin-bottom: 15px;
}

.recommendations ul {
    margin-left: 20px;
}

.recommendations li {
    margin-bottom: 8px;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.info-item .info-label,
.info-item .label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item .info-value,
.info-item .value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    color: #666;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #999;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-15 {
    margin-left: 15px;
}

.inline-block {
    display: inline-block;
}

.footer {
    background: #2d3748;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.success-page {
    text-align: center;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.success-page h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.success-page p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.word-break {
    word-break: break-all;
}

.data-display {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.single-scan-box {
    text-align: center;
    margin-top: 40px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.single-scan-box h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.single-scan-box p {
    color: #666;
    margin-bottom: 20px;
}

.serp-preview {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
}

.serp-preview h4,
.preview-section-title {
    color: #667eea;
    font-size: 12px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.serp-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.serp-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.serp-url {
    font-size: 14px;
    color: #006621;
    margin-bottom: 3px;
}

.serp-title {
    font-size: 20px;
    color: #1a0dab;
    margin-bottom: 3px;
    font-weight: 400;
    cursor: pointer;
}

.serp-title:hover {
    text-decoration: underline;
}

.serp-description {
    font-size: 14px;
    color: #545454;
    line-height: 1.5;
}

.og-preview {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    max-width: 500px;
}

.og-image {
    width: 100%;
    height: 261px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    overflow: hidden;
}

.og-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.og-content {
    padding: 12px;
    background: #f2f3f5;
}

.og-domain {
    font-size: 12px;
    color: #606770;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.og-title {
    font-size: 16px;
    color: #1d2129;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.og-description {
    font-size: 14px;
    color: #606770;
    line-height: 1.4;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.preview-column {
    display: flex;
    flex-direction: column;
}

.detail-section {
    margin-top: 20px;
}

.detail-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
}

.detail-value {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.url-box {
    word-break: break-all;
    font-family: monospace;
    font-size: 13px;
}

.action-buttons {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.filters button {
    padding: 8px 16px;
    border: 2px solid #e1e8ed;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555;
}

.filters button:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f0f4ff;
}

.filters button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.filters button[data-filter="critical"] {
    border-color: #f5c6cb;
    color: #721c24;
}

.filters button[data-filter="critical"]:hover {
    background: #f8d7da;
    border-color: #dc3545;
}

.filters button[data-filter="critical"].active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.filters button[data-filter="high"] {
    border-color: #ffe5d0;
    color: #c35a00;
}

.filters button[data-filter="high"]:hover {
    background: #fff3e6;
    border-color: #fd7e14;
}

.filters button[data-filter="high"].active {
    background: #fd7e14;
    color: white;
    border-color: #fd7e14;
}

.filters button[data-filter="medium"] {
    border-color: #fff3cd;
    color: #856404;
}

.filters button[data-filter="medium"]:hover {
    background: #fff8e6;
    border-color: #ffc107;
}

.filters button[data-filter="medium"].active {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.filters button[data-filter="low"] {
    border-color: #d4edda;
    color: #155724;
}

.filters button[data-filter="low"]:hover {
    background: #e8f5e9;
    border-color: #28a745;
}

.filters button[data-filter="low"].active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.filters button[data-filter="positive"] {
    border-color: #cce5ff;
    color: #004085;
}

.filters button[data-filter="positive"]:hover {
    background: #e7f3ff;
    border-color: #007bff;
}

.filters button[data-filter="positive"].active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.finding-group {
    margin-bottom: 25px;
}

.finding-group h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
}

.finding-group[data-severity="critical"] h3 {
    background: #f8d7da;
    color: #721c24;
}

.finding-group[data-severity="high"] h3 {
    background: #ffe5d0;
    color: #c35a00;
}

.finding-group[data-severity="medium"] h3 {
    background: #fff3cd;
    color: #856404;
}

.finding-group[data-severity="low"] h3 {
    background: #d4edda;
    color: #155724;
}

.finding-group[data-severity="positive"] h3 {
    background: #cce5ff;
    color: #004085;
}

.faq-section {
    margin-top: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.faq-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.checkout-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 100%;
    padding: 40px;
}

.checkout-info {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #0066cc;
    font-size: 14px;
    text-align: center;
}

.checkout-back {
    text-align: center;
    margin-top: 20px;
}

.checkout-back a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.checkout-back a:hover {
    text-decoration: underline;
}

.success-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
}

.success-container h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.success-container p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.redirect-notice {
    font-size: 14px !important;
    color: #999 !important;
}

.privacy-content h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.privacy-content ul {
    margin: 15px 0 25px 20px;
    line-height: 1.8;
}

.privacy-content li {
    color: #555;
    margin-bottom: 8px;
}

.privacy-content strong {
    color: #333;
}

.privacy-notice {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.privacy-notice p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .landing-stat-number {
        font-size: 48px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .price-card {
        padding: 25px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h2 {
        font-size: 20px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 8px 6px;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .score-display .score {
        font-size: 56px;
    }
    
    .btn-block-mobile {
        width: 100%;
    }
    
    .scan-type-tabs label {
        font-size: 14px;
        padding: 10px;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    .page-title p {
        font-size: 16px;
    }
    
    .api-key-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .key-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        justify-content: center;
    }
    
    .filters button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .checkout-container {
        padding: 30px 20px;
    }
    
    .success-container {
        padding: 40px 20px;
    }
    
    .order-total {
        font-size: 20px;
    }
    
    .finding-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-xl {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h3 {
        font-size: 20px;
    }
    
    .problem-item strong {
        font-size: 16px;
    }
    
    .landing-stat-number {
        font-size: 40px;
    }
    
    .stat-card .value {
        font-size: 28px;
    }
    
    .plan-price {
        font-size: 36px;
    }
    
    .card {
        padding: 15px;
    }
    
    .score-display {
        padding: 30px 15px;
    }
    
    .score-display .score {
        font-size: 48px;
    }
    
    table {
        font-size: 12px;
    }
    
    .page-title h1 {
        font-size: 24px;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
    
    .doc-section pre {
        font-size: 11px;
        padding: 10px;
    }
    
    .success-icon {
        font-size: 60px;
    }
    
    .success-container h1 {
        font-size: 24px;
    }
}

.card-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
}

.card-warning h2 {
    color: #856404;
}

.new-key-display {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.new-key-display label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #155724;
}

.key-copy-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.key-copy-wrapper code {
    flex: 1;
    background: white;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    word-break: break-all;
    border: 1px solid #28a745;
}

.warning-text {
    color: #856404;
    font-size: 13px;
    margin: 0;
}

.form-inline-create {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.form-inline-create .form-group {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.actions-cell {
    display: flex;
    gap: 5px;
}

.doc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 2px solid #e1e8ed;
    margin-bottom: 30px;
}

.doc-nav-item {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.doc-nav-item:hover {
    background: #e9ecef;
    color: #333;
}

.doc-nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.doc-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e8ed;
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.doc-section h4 {
    color: #555;
    font-size: 18px;
    margin: 25px 0 15px 0;
}

.doc-section h5 {
    color: #666;
    font-size: 14px;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doc-steps {
    background: #f8f9fa;
    padding: 20px 20px 20px 40px;
    border-radius: 8px;
    margin: 20px 0;
}

.doc-steps li {
    margin-bottom: 10px;
    color: #555;
}

.doc-note {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.doc-note strong {
    color: #004085;
}

.code-block {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.endpoint {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e8ed;
    cursor: pointer;
}

.endpoint-header:hover {
    background: #e9ecef;
}

.method {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.method.post {
    background: #28a745;
    color: white;
}

.method.get {
    background: #007bff;
    color: white;
}

.endpoint-header code {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background: none;
    padding: 0;
}

.endpoint-desc {
    color: #666;
    font-size: 14px;
}

.endpoint-body {
    padding: 20px;
    display: block;
}

.params-table {
    width: 100%;
    margin: 10px 0;
    font-size: 14px;
}

.params-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #e1e8ed;
}

.params-table td:first-child {
    font-weight: 500;
    width: 150px;
}

.params-table td:nth-child(2) {
    color: #667eea;
    width: 80px;
}

.params-table td:nth-child(3) {
    width: 80px;
    color: #666;
}

.params-note {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.code-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 0;
    border-bottom: 2px solid #e1e8ed;
    padding-bottom: 0;
}

.code-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.code-tab:hover {
    background: #e9ecef;
}

.code-tab.active {
    background: #1e1e1e;
    color: white;
}

.code-content {
    display: none;
}

.code-content.active {
    display: block;
}

.code-content h4 {
    margin-top: 25px;
}

.error-table,
.limits-table {
    width: 100%;
    margin: 15px 0;
}

.error-table th,
.error-table td,
.limits-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.error-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.error-table code {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
}

.limits-table td:first-child {
    font-weight: 500;
    width: 200px;
}

.best-practices {
    list-style: none;
    padding: 0;
}

.best-practices li {
    padding: 12px 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.best-practices strong {
    color: #333;
}

@media (max-width: 768px) {
    .form-inline-create {
        flex-direction: column;
    }
    
    .form-inline-create .form-group {
        width: 100%;
    }
    
    .doc-nav {
        gap: 5px;
    }
    
    .doc-nav-item {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .endpoint-header {
        flex-wrap: wrap;
    }
    
    .endpoint-desc {
        width: 100%;
        margin-top: 5px;
    }
    
    .code-tabs {
        overflow-x: auto;
    }
    
    .code-tab {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .actions-cell {
        flex-direction: column;
    }
}
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.seo-tag {
    background: #17a2b8;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.seo-score-display {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.seo-score {
    font-size: 48px;
    font-weight: 700;
}

.seo-label {
    font-size: 16px;
    opacity: 0.9;
}

.seo-recommendations {
    background: linear-gradient(to right, #e3f2fd, #f5f5f5);
    border-left: 4px solid #17a2b8;
}

.seo-recommendations h3 {
    color: #17a2b8;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.upgrade-notice {
    background: linear-gradient(to right, #fff3e0, #fff8e1);
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.upgrade-notice strong {
    color: #e65100;
    display: block;
    margin-bottom: 8px;
}

.upgrade-notice p {
    color: #555;
    margin-bottom: 12px;
    font-size: 14px;
}

.finding-group[data-severity="seo"] h3 {
    color: #17a2b8;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

body.home-page .page-wrapper {
    padding-top: 0;
}

body.home-page .hero {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .seo-score-display {
        padding: 20px;
    }
    
    .seo-score {
        font-size: 36px;
    }
    
    .checkbox-label {
        flex-direction: row;
    }
    
    .checkbox-label input[type="checkbox"] {
        margin-top: 0;
    }
    
    .scores-row {
        flex-direction: column;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 12px 24px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.scores-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.seo-score-box {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.seo-score-box .score {
    color: #fff;
}

.seo-score-box .label {
    color: rgba(255,255,255,0.9);
}

.seo-finding-group h3 {
    color: #11998e;
}

.seo-recommendations {
    background: linear-gradient(135deg, rgba(17,153,142,0.1) 0%, rgba(56,239,125,0.1) 100%);
    border-left: 4px solid #11998e;
}

.upgrade-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.upgrade-notice strong {
    color: #856404;
    display: block;
    margin-bottom: 10px;
}

.upgrade-notice p {
    color: #856404;
    margin-bottom: 15px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-text {
    font-weight: 600;
    color: #333;
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: #fff;
}

body.home-page .page-wrapper {
    padding-top: 0;
}
