/* COMPLIANCE SCOUT - GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

/* NAVIGATION */
nav {
    background: rgba(15, 43, 95, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

nav .nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.btn-nav {
    background: #dc2626;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}

/* BUTTONS */
.btn {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: #dc2626;
    color: white;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: white;
    color: #0F2B5F;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #0F2B5F 0%, #1a4d8f 50%, #2563eb 100%);
    color: white;
    padding: 140px 30px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 80px 30px;
}
/* FORMS */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F2B5F;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* AUTH PAGES (Register/Login) */
.auth-page {
    background: linear-gradient(135deg, #0F2B5F 0%, #1a4d8f 50%, #2563eb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-header a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 700;
}

.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    width: 100%;
}

.auth-section {
    padding: 50px;
}

.auth-section.login-section {
    background: #f9fafb;
    border-right: 2px solid #e5e7eb;
}

.auth-section h2 {
    color: #0F2B5F;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-section p {
    color: #6b7280;
    margin-bottom: 30px;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-size: 14px;
}

.password-strength {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 8px;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s;
}

.strength-weak { background: #ef4444; width: 33%; }
.strength-medium { background: #f59e0b; width: 66%; }
.strength-strong { background: #10b981; width: 100%; }

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #0F2B5F;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* PRICING CARDS */
.pricing-page {
    background: linear-gradient(135deg, #0F2B5F 0%, #2563eb 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.pricing-card.selected {
    border-color: #dc2626;
    transform: scale(1.05);
}

.pricing-card.featured {
    border: 3px solid #dc2626;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 24px;
    color: #0F2B5F;
    margin-bottom: 12px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: #0F2B5F;
    margin: 20px 0;
}

.price span {
    font-size: 20px;
    font-weight: 500;
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #059669;
    font-weight: 700;
    font-size: 18px;
}

.continue-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    text-align: center;
    display: none;
    z-index: 100;
}

.continue-btn.active {
    display: block;
}
/* DETAILS PAGE */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 800px;
    margin: 0 auto;
}

.form-card h1 {
    color: #0F2B5F;
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.plan-summary {
    background: #dbeafe;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.plan-summary h3 {
    color: #0F2B5F;
    margin-bottom: 10px;
}

.plan-summary p {
    color: #1e40af;
    font-size: 18px;
    font-weight: 700;
}

.location-section {
    margin-bottom: 30px;
}

.location-item {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
    position: relative;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.location-number {
    font-weight: 700;
    color: #0F2B5F;
    font-size: 18px;
}

.remove-location {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.remove-location:hover {
    background: #b91c1c;
}

.add-location-btn {
    background: transparent;
    border: 2px dashed #d1d5db;
    color: #6b7280;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

.add-location-btn:hover {
    border-color: #0F2B5F;
    color: #0F2B5F;
}

/* DASHBOARD */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px 50px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    color: #0F2B5F;
    font-size: 36px;
    margin-bottom: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #e5e7eb;
}

.dashboard-card h3 {
    color: #0F2B5F;
    font-size: 20px;
    margin-bottom: 20px;
}

.subscription-info {
    background: linear-gradient(135deg, #0F2B5F 0%, #2563eb 100%);
    color: white;
}

.subscription-info h3 {
    color: white;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    opacity: 0.8;
}

.info-value {
    font-weight: 700;
}

.reports-list {
    list-style: none;
}

.report-item {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-item:last-child {
    border-bottom: none;
}

.report-date {
    color: #6b7280;
    font-size: 14px;
}

.download-btn {
    background: #0F2B5F;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.download-btn:hover {
    background: #1a4d8f;
}

.logout-btn {
    background: #dc2626;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.logout-btn:hover {
    background: #b91c1c;
}

/* PAYMENT PAGE */
.payment-container {
    max-width: 600px;
    margin: 0 auto;
}

.order-summary {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.order-summary h3 {
    color: #0F2B5F;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #0F2B5F;
    border-bottom: none;
    margin-top: 10px;
}

#card-element {
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* SUCCESS PAGE */
.success-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.countdown {
    font-size: 48px;
    font-weight: 800;
    color: #dc2626;
    margin: 20px 0;
}
/* FOOTER */
footer {
    background: #1f2937;
    color: white;
    padding: 60px 30px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: white;
}

/* SCROLL TO TOP */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #dc2626;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s;
    z-index: 999;
    border: none;
}

.scroll-to-top:hover {
    background: #b91c1c;
    transform: translateY(-5px);
}

.scroll-to-top.active {
    display: flex;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    nav .nav-links {
        display: none;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-section.login-section {
        border-right: none;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .auth-section {
        padding: 30px;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

/* ADMIN PAGE */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 30px 50px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #0F2B5F 0%, #2563eb 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    opacity: 0.9;
    font-size: 14px;
}

.clients-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.clients-table table {
    width: 100%;
    border-collapse: collapse;
}

.clients-table th,
.clients-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.clients-table th {
    background: #f9fafb;
    font-weight: 700;
    color: #0F2B5F;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-trial {
    background: #dbeafe;
    color: #1e40af;
}

.status-pastdue {
    background: #fee2e2;
    color: #991b1b;
}