/* LicenShield Website Styles */
/* Global Design System */

:root {
    --primary: #1E40AF;
    --primary-dark: #1e3a8a;
    --accent: #06B6D4;
    --accent-dark: #0891b2;
    --dark: #0F172A;
    --dark-light: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: white;
}

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

/* ========================================
   NAVIGATION
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.logo svg { height: 40px; width: auto; }

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

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

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

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active { display: block; }

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-links a {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-white { background: white; color: var(--primary); }
.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========================================
   HERO SECTION
======================================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03) 0%, rgba(6, 182, 212, 0.05) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--gray-500);
}

/* Dashboard Preview */
.hero-dashboard {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.dashboard-dots span:first-child { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 13px;
    color: var(--gray-500);
}

.dashboard-content { padding: 24px; }

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 12px;
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.dash-stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

.dashboard-chart {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    height: 100px;
}

.chart-line { width: 100%; height: 100%; }

/* ========================================
   TRUST BAR
======================================== */
.trust-bar {
    padding: 24px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-bar p {
    font-size: 14px;
    color: var(--gray-500);
}

.trust-logos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logos span {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   SECTIONS
======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
}

/* ========================================
   FEATURES
======================================== */
.features {
    padding: 100px 0;
}

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

.feature-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-50);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 220px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.step-arrow {
    color: var(--gray-300);
    font-size: 24px;
    margin-top: 12px;
}

/* ========================================
   PRICING
======================================== */
.pricing-preview {
    padding: 100px 0;
}

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

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* New 4-column pricing grid for homepage */
.pricing-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 16px 28px;
    margin: 24px auto;
    max-width: 550px;
    text-align: center;
}

.pricing-highlight p {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.price-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    transition: all 0.3s;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.price-card-featured {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.price-card-free {
    border-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.price-badge-free {
    background: linear-gradient(135deg, #10b981, #059669);
}

.price-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-icon-gray {
    background: var(--gray-100);
}

.price-icon-free {
    background: linear-gradient(135deg, #10b981, #059669);
}

.price-icon-featured {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.price-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-subtitle {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
}

.price-amount-wrap {
    margin-bottom: 24px;
}

.price-amount-wrap .price-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.price-amount-wrap .price-term {
    font-size: 15px;
    color: var(--gray-500);
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

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

.price-features svg {
    flex-shrink: 0;
}

.btn-free {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.btn-free:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

/* Old pricing card styles kept for compatibility */
.pricing-card {
    padding: 40px 32px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s;
}

.pricing-grid-4 .pricing-card {
    padding: 32px 24px;
}

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

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.pricing-card-free {
    border-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-badge-free {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
}

.price-term {
    font-size: 16px;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    color: var(--gray-700);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

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

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand { max-width: 300px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-links-group h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 24px;
    font-size: 13px;
}

.footer-badge-usa {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* ========================================
   PAGE HEADERS (for inner pages)
======================================== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CONTENT SECTIONS (for inner pages)
======================================== */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background: var(--gray-50);
}

.content-prose {
    max-width: 800px;
    margin: 0 auto;
}

.content-prose h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 20px;
    color: var(--dark);
}

.content-prose h2:first-child {
    margin-top: 0;
}

.content-prose h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--dark);
}

.content-prose p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-prose ul, .content-prose ol {
    margin: 16px 0 24px 24px;
    color: var(--gray-600);
}

.content-prose li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-prose a {
    color: var(--primary);
    text-decoration: none;
}

.content-prose a:hover {
    text-decoration: underline;
}

.content-prose code {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.content-prose pre {
    background: var(--dark);
    color: #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
}

.content-prose pre code {
    background: none;
    padding: 0;
}

/* ========================================
   FORMS
======================================== */
.form-group {
    margin-bottom: 24px;
}

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

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   CARDS
======================================== */
.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
    .pricing-grid-4col { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-mobile-toggle { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-cta { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .section-title { font-size: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-grid-4col { grid-template-columns: 1fr; max-width: 400px; }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }
    .cta h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
