/* ==========================================================================
   NETAXSERVICES CONSOLIDATED STYLESHEET
   Includes: premium-styles.css, netaxservices.css, and crm.css
   ========================================================================== */

/* ============================================
   GLOBAL VARIABLES & RESET (from premium-styles.css)
   ============================================ */
:root {
    --bg-color: #F8FAFC;
    --bg-section: #FFFFFF;
    --bg-secondary: #F1F5F9;
    --text-color: #1E293B;
    --text-muted: #64748B;
    --primary-accent: #0C4A6E;
    --primary-accent-light: #075985;
    --cta-accent: #0d6efd;
    --cta-accent-hover: #0b5ed7;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body { 
    margin: 0; 
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
    color: var(--text-color); 
    background: var(--bg-color);
    line-height: 1.65;
}

a { 
    color: var(--primary-accent); 
    text-decoration: none; 
    transition: var(--transition); 
}

a:hover {
    color: var(--primary-accent-light);
}

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

/* ============================================
   TYPOGRAPHY & HEADERS
   ============================================ */
h1 { 
    margin: 0 0 16px; 
    font-size: clamp(36px, 4vw, 48px); 
    line-height: 1.1; 
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 3vw, 32px);
    margin: 0 0 16px;
    color: var(--primary-accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: var(--text-color);
    font-weight: 600;
}

p.lead { 
    font-size: 18px; 
    color: var(--text-muted); 
    margin: 0 0 24px;
    line-height: 1.6;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted, #6b7280);
    margin: 0.5rem 0 1rem;
}

.muted { 
    color: var(--text-muted);
    font-size: 15px;
}

.text-center { text-align: center; }
.text-center-important { text-align: center !important; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { 
    display: inline-block; 
    background: linear-gradient(135deg, var(--cta-accent) 0%, var(--cta-accent-hover) 100%);
    color: #fff; 
    padding: 14px 28px; 
    border-radius: 10px; 
    font-weight: 600; 
    font-size: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover { 
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn.alt { 
    background: var(--white); 
    color: var(--primary-accent); 
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn.alt:hover {
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #0d6efd;
    color: white;
}

.btn-hero {
    background: #0C4A6E;
    background-image: none;
}

/* ============================================
   LAYOUT & SPACING UTILITIES
   ============================================ */
.main-padding-top { padding-top: 24px; }
.section-padding { padding: 4rem 0; }
.section-padding-bottom { padding: 4rem 0 2rem 0; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-48 { margin-bottom: 48px; }
.pt-12 { padding-top: 12px; }

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 24px; 
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.flex-center-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Cards */
.card { 
    background: var(--white); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-accent-light);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    padding: 1.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ============================================
   CRM PAGE SPECIFIC STYLES (from crm.css)
   ============================================ */
.crm-hero {
    background: linear-gradient(135deg, #0C4A6E 0%, #0F172A 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.crm-hero h1 {
    font-size: 3rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.crm-hero .subheadline {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.crm-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.crm-hero .btn-secondary {
    background: rgba(255,255,255,0.15);
    border: 2px solid white;
}

.crm-hero .btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.credibility-line {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.problem-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.problem-section h2 {
    text-align: center;
    color: #0F172A;
    margin-bottom: 2.5rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.problem-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.problem-item p {
    margin: 0;
    color: #475569;
    font-size: 1rem;
}

.problem-closing {
    text-align: center;
    max-width: 700px;
    margin: 2.5rem auto 0;
    font-size: 1.1rem;
    color: #475569;
}

.solution-section {
    padding: 4rem 0;
    text-align: center;
}

.solution-section h2 {
    color: #0F172A;
    margin-bottom: 1rem;
}

.solution-intro {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #475569;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.feature-item {
    padding: 1rem 1.25rem;
    border-left: 4px solid #0C4A6E;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

.feature-item p {
    margin: 0;
    color: #334155;
}

.solution-closing {
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0C4A6E 0%, #0F172A 100%);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
}

.benefits-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.benefits-section h2 {
    text-align: center;
    color: #0F172A;
    margin-bottom: 1rem;
}

.benefits-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #475569;
}

.benefits-boxes {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.benefits-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.benefit-box-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-box h3 {
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.benefit-box p {
    color: #475569;
    margin: 0;
}

.benefits-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.benefits-results h3 {
    color: #0F172A;
    margin-bottom: 1rem;
}

.benefits-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.benefits-results li {
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-results li::before {
    content: "✓";
    color: #0C4A6E;
    font-weight: bold;
}

.audience-section {
    padding: 4rem 0;
    text-align: center;
}

.audience-section h2 {
    color: #0F172A;
    margin-bottom: 1rem;
}

.audience-intro {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #475569;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.audience-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.audience-item h3 {
    color: #0C4A6E;
    margin: 0;
    font-size: 1.1rem;
}

.audience-closing {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 1.25rem;
    background: #0F172A;
    color: white;
    border-radius: 8px;
    font-size: 1rem;
}

.comparison-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.comparison-section h2 {
    text-align: center;
    color: #0F172A;
    margin-bottom: 2.5rem;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.comparison-header {
    background: #0C4A6E;
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.comparison-cell {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-row:last-child .comparison-cell {
    border-bottom: none;
}

.comparison-cell.without {
    color: #dc2626;
}

.comparison-cell.with {
    color: #16a34a;
    background: #f0fdf4;
}

.trust-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0C4A6E 0%, #0F172A 100%);
    color: white;
}

.trust-quote {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
}

.trust-author {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.final-cta-section {
    padding: 4rem 0;
    text-align: center;
    background: #f8fafc;
}

.final-cta-section h2 {
    color: #0F172A;
    margin-bottom: 1rem;
}

.final-cta-intro {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #475569;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.final-cta-actions .btn-outline {
    background: white;
    border: 2px solid #0C4A6E;
    color: #0C4A6E;
}

.final-cta-actions .btn-outline:hover {
    background: #0C4A6E;
    color: white;
}

/* ============================================
   RESPONSIVE (Consolidated)
   ============================================ */
@media (max-width: 768px) {
    .crm-hero h1 {
        font-size: 2rem;
    }
    
    .crm-hero .subheadline {
        font-size: 1.1rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-header {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
    }
    
    .hero-inner > div {
        width: 100%;
    }
}
