/* ============================================
   eFILING TRAINING - WEBSITE STYLES
   Marketing Frontend CSS
   ============================================ */

:root {
    /* Primary Color Scheme - Professional Navy/Gold */
    --primary-navy: #0a2540;
    --primary-navy-light: #1a3a5c;
    --primary-navy-dark: #061a2e;
    
    /* Accent - Gold/SARS-inspired */
    --accent-gold: #c9a227;
    --accent-gold-light: #e0c158;
    --accent-gold-dark: #a88420;
    
    /* Secondary */
    --secondary-blue: #0066cc;
    --secondary-blue-light: #4d94db;
    
    /* Neutrals */
    --white: #ffffff;
    --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;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-navy) 0%, #0d3b66 50%, var(--primary-navy-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-blue-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

#mainNav {
    background: var(--gradient-primary);
    padding: 8px 0;           /* REDUCED from 1rem (16px) to 8px */
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

#mainNav.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 37, 64, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--white) !important;
}

.brand-text {
    color: var(--white);
}

.brand-accent {
    color: var(--accent-gold);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 13px;          
    padding: 4px 12px !important;   
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}

.nav-link.active {
    color: var(--accent-gold) !important;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 12px;          
    padding: 6px 16px;        
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-gold-light);
    color: var(--primary-navy);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 500;
    font-size: 12px;          
    padding: 6px 16px;        
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 36px;         
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent-gold);
    position: relative;
}

.hero-subtitle {
    font-size: 16px;         
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 12px;                
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 10px 24px;       
    font-size: 14px;          
    font-weight: 600;
}

.btn-gold {
    background: var(--gradient-accent);
    color: var(--primary-navy);
    border: none;
    border-radius: 8px;       
}

.btn-gold:hover {
    background: var(--accent-gold-light);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    border-radius: 8px;       
}

.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.hero-image {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-padding {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--secondary-blue);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TAX MODULE CARDS
   ============================================ */

.tax-module-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--gray-200);
}

.tax-module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tax-module-header {
    background: var(--gradient-primary);
    padding: 16px 20px;
    color: var(--white);
}

.tax-module-header i {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
}

.tax-module-header h3 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.tax-module-body {
    padding: 16px 20px;
}

.tax-module-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-module-body li {
    padding: 4px 0;
    color: var(--gray-600);
    font-size: 13px;
    border-bottom: 1px solid var(--gray-100);
}

.tax-module-body li:last-child {
    border-bottom: none;
}

.tax-module-body li i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-100);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--primary-navy);
    padding: 0.375rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-400);
}

.pricing-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.pricing-features li i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.pricing-features li.not-included {
    color: var(--gray-400);
    text-decoration: line-through;
}

.pricing-features li.not-included i {
    color: var(--gray-300);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--gray-900);
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--accent-gold);
}

.footer-desc {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-3px);
}

.footer h6 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

.copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .stat-item {
        flex: 1;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .section-label {
        margin-bottom: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    section.section-padding:first-child,
    .section-padding:first-child {
        padding-top: 40px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-gray-100 {
    background-color: var(--gray-100);
}

.text-primary-navy {
    color: var(--primary-navy);
}

.text-accent-gold {
    color: var(--accent-gold);
}

/* Placeholder image styling */
.placeholder-img {
    background: var(--gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 3rem;
    min-height: 300px;
}

.placeholder-img-sm {
    min-height: 200px;
    font-size: 2rem;
}

/* ============================================
   AUTH PAGES (Login / Register)
   ============================================ */

.auth-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    padding: 100px 0 60px;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.form-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
}

.form-section h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-check-label {
    font-size: 13px;
    color: var(--gray-600);
}

.form-check-label a {
    color: var(--secondary-blue);
    font-weight: 500;
}

.auth-form .btn-primary {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.auth-footer p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.auth-footer a {
    color: var(--secondary-blue);
    font-weight: 500;
}

.text-small {
    font-size: 12px;
    color: var(--secondary-blue);
}
