/* SEO Audit — seo.345.si — 5P Branding */

:root {
    --primary: #1B2A4A;
    --accent: #2D5BFF;
    --accent-light: #4D73FF;
    --highlight: #FF6B35;
    --success: #00C853;
    --warning: #FFB300;
    --danger: #FF1744;
    --bg: #F8F9FC;
    --white: #FFFFFF;
    --text: #2C3E50;
    --text-light: #7F8C9B;
    --border: #E0E6ED;
    --shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0 20px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.tagline {
    color: var(--text-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Main */
main {
    flex: 1;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}

.lead {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 32px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.feature strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.feature p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #FFF0F0;
    color: var(--danger);
    border: 1px solid #FFD0D0;
}

/* Form */
.audit-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background: var(--accent-light);
}

.btn-submit:active {
    transform: scale(0.98);
}

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

.disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
}

/* How it works */
.how-it-works {
    margin-bottom: 40px;
}

.how-it-works h2,
.what-you-get h2 {
    font-size: 20px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    gap: 16px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.step-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step p {
    font-size: 14px;
}

/* What you get */
.what-you-get {
    margin-bottom: 40px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px 32px;
}

.what-you-get ul {
    list-style: none;
    padding: 0;
}

.what-you-get li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    padding-left: 24px;
    position: relative;
}

.what-you-get li:last-child {
    border-bottom: none;
}

.what-you-get li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Thanks page */
.thanks-box {
    text-align: center;
    padding: 20px 0;
}

.thanks-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.thanks-details {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    margin: 24px 0;
    text-align: left;
}

.thanks-details ul {
    margin: 12px 0;
    padding-left: 20px;
}

.thanks-details li {
    font-size: 14px;
    padding: 4px 0;
}

.thanks-cta {
    margin: 32px 0;
}

.thanks-cta h2 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
}

.site-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.site-card {
    display: block;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.site-card strong {
    display: block;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 4px;
}

.site-card span {
    font-size: 12px;
    color: var(--text-light);
}

.btn-back {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.btn-back:hover {
    background: var(--accent);
    color: var(--white);
}

/* Footer */
footer {
    padding: 40px 0 24px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: var(--text);
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
    text-align: center;
}

.footer-links a:hover {
    border-color: var(--accent);
}

.footer-links a strong {
    display: block;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 2px;
}

.footer-links a span {
    display: block;
    font-size: 11px;
    color: var(--text-light);
}

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

.footer-copy p {
    font-size: 12px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 22px; }
    .features { grid-template-columns: 1fr; }
    .steps { flex-direction: column; }
    .audit-form { padding: 20px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .site-cards { grid-template-columns: 1fr; }
    header { padding: 24px 0 16px; }
}
