/* ===================================
   TelzLink - Modern Website Styles
   Mobile-First Responsive Design
   =================================== */

/* CSS Variables for Theme */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #00D4AA;
    --accent-color: #FF6B35;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E9ECEF;
    --border-color: #DEE2E6;
    --success-color: #28A745;
    --error-color: #DC3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: #00BF99;
    border-color: #00BF99;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-text {
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--primary-dark);
    background: var(--bg-light);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo:hover {
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8F9FA 0%, #E3F2FD 100%);
    padding: 80px 0 100px;
}

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

.trust-badges-top {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.trust-badges-top .badge {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Audience Tabs */
.audience-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: var(--text-medium);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-btn:hover {
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    margin-bottom: 32px;
}

.tab-content.active {
    display: block;
}

.tab-description {
    font-size: 1.125rem;
    color: var(--text-medium);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-stat {
    text-align: center;
}

.trust-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 4px;
}

.trust-stat span {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* Compliance Badges */
.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.badge-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Why Choose Section */
.why-choose {
    background: var(--bg-white);
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Callout Box */
.callout-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.callout-box p {
    color: white;
    font-size: 1.125rem;
    margin: 0;
}

/* AI Suite Section */
.ai-suite {
    background: var(--bg-light);
}

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

.ai-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

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

.ai-card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.ai-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.ai-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Products & Services Section */
.products-services {
    background: var(--bg-white);
}

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

.product-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.product-box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.product-description {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-features li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
    font-size: 0.9375rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* Integrations Section */
.integrations {
    background: var(--bg-light);
}

.integration-logos {
    margin-bottom: 32px;
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.integration-logo {
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-medium);
    transition: var(--transition);
    min-width: 150px;
    text-align: center;
}

.integration-logo:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.integration-note {
    text-align: center;
    color: var(--text-medium);
    font-style: italic;
    margin: 24px 0;
}

.integration-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.int-feature {
    padding: 12px 20px;
    background: white;
    border-radius: var(--border-radius);
    color: var(--text-medium);
    font-size: 0.9375rem;
}

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

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* Partner Program Section */
.partner-program {
    background: linear-gradient(135deg, #E3F2FD 0%, #F8F9FA 100%);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.partner-column h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.partner-list {
    list-style: none;
}

.partner-list li {
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 1rem;
}

.partner-use-cases {
    text-align: center;
    margin-bottom: 48px;
}

.partner-use-cases h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.use-case-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tag {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Pricing Section */
.pricing {
    background: var(--bg-white);
}

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

.pricing-highlight {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.pricing-highlight h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pricing-highlight p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin: 0;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.value-prop {
    padding: 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

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

.value-prop h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.value-prop ul {
    list-style: none;
}

.value-prop li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
}

.value-prop li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.pricing-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Social Proof Section */
.social-proof {
    background: var(--bg-light);
}

.stats-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.stat-box {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
}

/* Testimonials */
.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Industry Recognition */
.industry-recognition {
    text-align: center;
}

.industry-recognition h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.awards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.award {
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-dark);
}

/* Comparison Table Section */
.comparison {
    background: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 48px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table thead {
    background: var(--bg-light);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: #E3F2FD;
    font-weight: 600;
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #F8F9FA 100%);
}

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

.cta-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.cta-box.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-box.primary h3,
.cta-box.primary p {
    color: white;
}

.cta-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

.cta-box .btn {
    margin-top: 16px;
    width: 100%;
}

/* Resources Section */
.resources {
    background: var(--bg-white);
}

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

.resource-column h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.resource-column ul {
    list-style: none;
}

.resource-column li {
    margin-bottom: 12px;
}

.resource-column a {
    color: var(--text-medium);
    transition: var(--transition);
}

.resource-column a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 64px 0 32px;
}

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

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: #B0B0B0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-column p {
    color: #B0B0B0;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #B0B0B0;
    font-size: 0.9375rem;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid #333;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: #B0B0B0;
    font-size: 0.875rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges span {
    padding: 6px 12px;
    background: #333;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #B0B0B0;
}

/* 3CX Live Chat Widget - Ensure it's always on top and clickable */
call-us-selector {
    z-index: 99999 !important;
    position: fixed !important;
    pointer-events: auto !important;
}

/* 3CX Widget wrapper */
#wp-live-chat-by-3CX,
[id^="wp-live-chat"] {
    z-index: 99999 !important;
    pointer-events: auto !important;
}

/* Old Chat Widget (kept for fallback styling) */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chat-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Sticky CTA Mobile */
.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    padding: 12px 16px;
    gap: 12px;
    z-index: 998; /* Lower than 3CX widget (99999) */
}

.sticky-cta-mobile .btn {
    flex: 1;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 24px;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 48px 0;
    }
    
    .hero {
        padding: 48px 0 64px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-signals {
        gap: 24px;
    }
    
    .three-column-grid,
    .ai-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-ctas {
        flex-direction: column;
    }
    
    .pricing-ctas .btn {
        width: 100%;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .sticky-cta-mobile {
        display: flex;
    }
    
    .chat-button span {
        display: none;
    }
    
    .chat-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .nav-cta {
        display: none;
    }
    
    .audience-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .compliance-badges {
        gap: 12px;
    }
    
    .badge-icon {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .logo-row {
        gap: 16px;
    }
    
    .integration-logo {
        min-width: 120px;
        font-size: 0.875rem;
        padding: 12px 16px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}


/* Additional 3CX Widget CSS - Ensure maximum clickability */
call-us {
    z-index: 99999 !important;
    pointer-events: auto !important;
}

/* Ensure 3CX elements are never blocked */
div[id*="3CX"],
div[class*="3cx"],
div[class*="callus"] {
    z-index: 99999 !important;
    pointer-events: auto !important;
}

/* Mobile adjustments for 3CX widget */
@media (max-width: 768px) {
    call-us-selector,
    call-us,
    #wp-live-chat-by-3CX {
        bottom: 70px !important; /* Above sticky mobile bar */
        z-index: 99999 !important;
    }
}

/* ============================================
   GDPR Cookie Consent Banner
   ============================================ */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 24px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 100000;
    animation: slideUp 0.3s ease-out;
    transition: opacity 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.cookie-text p:last-child {
    margin-bottom: 0;
    font-size: 0.9375rem;
    color: #e0e0e0;
}

.cookie-text a {
    color: #0066FF;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #0052CC;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    white-space: nowrap;
    padding: 12px 24px;
}

.cookie-buttons .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cookie-buttons .btn-outline:hover {
    background: white;
    color: #1a1a1a;
}

.cookie-buttons .btn-text {
    color: white;
    background: transparent;
}

.cookie-buttons .btn-text:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 20px 16px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-text p {
        font-size: 0.875rem;
    }
}

/* Ensure cookie banner is above 3CX widget */
#cookie-consent-banner {
    z-index: 100000 !important;
}

call-us-selector,
#wp-live-chat-by-3CX {
    z-index: 99999 !important;
}
