/* SafetyPermit Home Page - Shottr-inspired clean design */

:root {
    --navy: #0A4D82;
    --navy-dark: #07345F;
    --orange: #F16523;
    --orange-hover: #d9561c;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1100px, 90%);
    margin-inline: auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    padding: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links .nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--navy-dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    /* Blue version - commented out
    background: radial-gradient(farthest-corner circle at 50% 100%, #0d5a96 0%, #0A4D82 57%, #07345F 95%);
    */
    /* Orange Shottr-style */
    background: radial-gradient(farthest-corner circle at 50% 100%, #FF9247 0%, #FF763A 57%, #FA5726 95%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg-pattern.png') 50% 110% no-repeat;
    background-size: 120%;
    opacity: 0.15;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(241, 101, 35, 0.4);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 101, 35, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--navy);
    background: var(--gray-50);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Features */
.features {
    background: var(--gray-50);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #E8F4FC 0%, #D6EBFA 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--navy);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* How It Works - Worker Section */
.how-it-works-worker {
    background: var(--gray-50);
}

.worker-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.worker-step {
    text-align: center;
    max-width: 220px;
    position: relative;
}

.worker-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8547 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
}

.worker-step-number {
    position: absolute;
    top: -8px;
    right: calc(50% - 52px);
    width: 28px;
    height: 28px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid var(--gray-50);
}

.worker-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.worker-step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.worker-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 24px;
    color: var(--gray-300);
}

/* How It Works - Company Section */
.how-it-works {
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Pricing */
.pricing {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.pricing .section-title {
    color: var(--white);
}

.pricing .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Trial Banner */
.trial-banner {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 28px;
    text-align: center;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.trial-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.trial-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.price-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    outline: 3px solid var(--orange);
    transform: scale(1.02);
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.price-card .price {
    margin-bottom: 4px;
}

.price-card .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-600);
    vertical-align: top;
}

.price-card .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.price-card .amount-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.price-card .interval {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.price-card .price-detail {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
}

.price-card li {
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-100);
}

.price-card li:last-child {
    border-bottom: none;
}

.price-card li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 600;
    margin-right: 8px;
}

.price-card .helper-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.5;
}

.price-card .annual-option {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: var(--gray-50);
    border-radius: 6px;
    text-align: center;
}

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

.pricing-footer {
    text-align: center;
    margin-top: 8px;
}

.pricing-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pricing-note a {
    color: var(--white);
    text-decoration: underline;
}

.pricing-support {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.permit-definition {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
}

.permit-definition .definition-label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

/* Pricing FAQ */
.pricing-faq {
    margin-top: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 20px 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact */
.contact {
    background: var(--gray-50);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.contact-text p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
}

.contact-form span {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 77, 130, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    background: var(--gray-900);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

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

.copyright {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .worker-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .worker-step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .price-card.featured {
        transform: none;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 640px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}
