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

:root {
    --primary-color: #37448c;
    --primary-light: #3D52A0;
    --primary-dark: #1E2D5F;
    --secondary-color: #F8F9FA;
    --accent-color: #FFC107;
    --brand-green: #73bf3a;
    --brand-purple: #6c63ff;
    --brand-cyan: #4fc3f7;
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-light: #ADB5BD;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #DEE2E6;
    --shadow: 0 2px 20px rgba(55, 68, 140, 0.1);
    --shadow-lg: 0 10px 40px rgba(55, 68, 140, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --cta-gradient: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-cyan) 100%);
    --glow-shadow: 0 0 30px rgba(108, 99, 255, 0.4), 0 0 60px rgba(79, 195, 247, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.btn-primary {
    background: var(--cta-gradient);
    color: var(--white);
    box-shadow: var(--glow-shadow);
    font-weight: 600;
    border-radius: 10px;
    animation: pulse-glow 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--glow-shadow), 0 10px 25px rgba(108, 99, 255, 0.3);
    animation: none;
}

/* Super llamativo botón CTA */
.btn-primary.btn-large {
    background: var(--cta-gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: var(--glow-shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary.btn-large:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow-shadow), 0 15px 35px rgba(108, 99, 255, 0.3);
    animation: none;
}

.btn-primary.btn-large:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: var(--glow-shadow);
    }
    50% {
        box-shadow: var(--glow-shadow), 0 0 40px rgba(108, 99, 255, 0.6), 0 0 80px rgba(79, 195, 247, 0.4);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--brand-cyan);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--brand-cyan);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    --network-x: 0px;
    --network-y: 0px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><style>.node{fill:%234ECDC4;stroke:%23ffffff;stroke-width:1;opacity:0.8;}.connection{stroke:%234ECDC4;stroke-width:1;opacity:0.4;}.glow{filter:drop-shadow(0 0 6px %234ECDC4);}</style></defs><g class="network"><circle class="node glow" cx="100" cy="120" r="4"/><circle class="node glow" cx="280" cy="80" r="3"/><circle class="node glow" cx="450" cy="140" r="5"/><circle class="node glow" cx="680" cy="100" r="3"/><circle class="node glow" cx="920" cy="160" r="4"/><circle class="node glow" cx="150" cy="280" r="3"/><circle class="node glow" cx="380" cy="220" r="4"/><circle class="node glow" cx="620" cy="260" r="3"/><circle class="node glow" cx="850" cy="300" r="5"/><circle class="node glow" cx="80" cy="420" r="4"/><circle class="node glow" cx="320" cy="380" r="3"/><circle class="node glow" cx="580" cy="440" r="4"/><circle class="node glow" cx="780" cy="460" r="3"/><circle class="node glow" cx="1000" cy="400" r="4"/><circle class="node glow" cx="200" cy="580" r="3"/><circle class="node glow" cx="460" cy="520" r="5"/><circle class="node glow" cx="720" cy="580" r="4"/><circle class="node glow" cx="940" cy="540" r="3"/><line class="connection" x1="100" y1="120" x2="280" y2="80"/><line class="connection" x1="280" y1="80" x2="450" y2="140"/><line class="connection" x1="450" y1="140" x2="680" y2="100"/><line class="connection" x1="680" y1="100" x2="920" y2="160"/><line class="connection" x1="100" y1="120" x2="150" y2="280"/><line class="connection" x1="280" y1="80" x2="380" y2="220"/><line class="connection" x1="450" y1="140" x2="620" y2="260"/><line class="connection" x1="680" y1="100" x2="850" y2="300"/><line class="connection" x1="920" y1="160" x2="850" y2="300"/><line class="connection" x1="150" y1="280" x2="380" y2="220"/><line class="connection" x1="380" y1="220" x2="620" y2="260"/><line class="connection" x1="620" y1="260" x2="850" y2="300"/><line class="connection" x1="150" y1="280" x2="80" y2="420"/><line class="connection" x1="380" y1="220" x2="320" y2="380"/><line class="connection" x1="620" y1="260" x2="580" y2="440"/><line class="connection" x1="850" y1="300" x2="780" y2="460"/><line class="connection" x1="850" y1="300" x2="1000" y2="400"/><line class="connection" x1="80" y1="420" x2="320" y2="380"/><line class="connection" x1="320" y1="380" x2="580" y2="440"/><line class="connection" x1="580" y1="440" x2="780" y2="460"/><line class="connection" x1="780" y1="460" x2="1000" y2="400"/><line class="connection" x1="80" y1="420" x2="200" y2="580"/><line class="connection" x1="320" y1="380" x2="460" y2="520"/><line class="connection" x1="580" y1="440" x2="720" y2="580"/><line class="connection" x1="780" y1="460" x2="940" y2="540"/><line class="connection" x1="1000" y1="400" x2="940" y2="540"/><line class="connection" x1="200" y1="580" x2="460" y2="520"/><line class="connection" x1="460" y1="520" x2="720" y2="580"/><line class="connection" x1="720" y1="580" x2="940" y2="540"/></g></svg>');
    background-size: 1200px 800px;
    background-repeat: repeat;
    animation: networkSlowMove 45s ease-in-out infinite;
    opacity: 0.6;
    transition: all 0.3s ease-out;
    transform: translate(calc(var(--network-x) * 1), calc(var(--network-y) * 1));
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><defs><style>.node{fill:%23ffffff;stroke:%234ECDC4;stroke-width:1;opacity:0.6;}.connection{stroke:%23ffffff;stroke-width:0.8;opacity:0.3;}.glow{filter:drop-shadow(0 0 4px %23ffffff);}</style></defs><g class="network"><circle class="node glow" cx="180" cy="100" r="2"/><circle class="node glow" cx="400" cy="60" r="3"/><circle class="node glow" cx="620" cy="120" r="2"/><circle class="node glow" cx="800" cy="80" r="3"/><circle class="node glow" cx="220" cy="240" r="2"/><circle class="node glow" cx="480" cy="200" r="3"/><circle class="node glow" cx="720" cy="260" r="2"/><circle class="node glow" cx="900" cy="220" r="3"/><circle class="node glow" cx="120" cy="380" r="3"/><circle class="node glow" cx="360" cy="340" r="2"/><circle class="node glow" cx="600" cy="400" r="3"/><circle class="node glow" cx="840" cy="360" r="2"/><circle class="node glow" cx="280" cy="500" r="2"/><circle class="node glow" cx="520" cy="460" r="3"/><circle class="node glow" cx="760" cy="520" r="2"/><line class="connection" x1="180" y1="100" x2="400" y2="60"/><line class="connection" x1="400" y1="60" x2="620" y2="120"/><line class="connection" x1="620" y1="120" x2="800" y2="80"/><line class="connection" x1="180" y1="100" x2="220" y2="240"/><line class="connection" x1="400" y1="60" x2="480" y2="200"/><line class="connection" x1="620" y1="120" x2="720" y2="260"/><line class="connection" x1="800" y1="80" x2="900" y2="220"/><line class="connection" x1="220" y1="240" x2="480" y2="200"/><line class="connection" x1="480" y1="200" x2="720" y2="260"/><line class="connection" x1="720" y1="260" x2="900" y2="220"/><line class="connection" x1="220" y1="240" x2="120" y2="380"/><line class="connection" x1="480" y1="200" x2="360" y2="340"/><line class="connection" x1="720" y1="260" x2="600" y2="400"/><line class="connection" x1="900" y1="220" x2="840" y2="360"/><line class="connection" x1="120" y1="380" x2="360" y2="340"/><line class="connection" x1="360" y1="340" x2="600" y2="400"/><line class="connection" x1="600" y1="400" x2="840" y2="360"/><line class="connection" x1="120" y1="380" x2="280" y2="500"/><line class="connection" x1="360" y1="340" x2="520" y2="460"/><line class="connection" x1="600" y1="400" x2="760" y2="520"/><line class="connection" x1="280" y1="500" x2="520" y2="460"/><line class="connection" x1="520" y1="460" x2="760" y2="520"/></g></svg>');
    background-size: 800px 500px;
    background-repeat: repeat;
    animation: networkSlowMove 60s ease-in-out infinite reverse;
    opacity: 0.4;
    transition: all 0.3s ease-out;
    transform: translate(calc(var(--network-x) * -0.8), calc(var(--network-y) * -0.8));
}

/* Remover hover estático, ahora será dinámico con JavaScript */

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--secondary-teal);
    font-weight: 700;
}

/* Ensure tech gradient overrides any other styles */
.hero-title .tech-gradient {
    background: linear-gradient(135deg, #4fc3f7 0%, #00bfff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    font-weight: 800 !important;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4)) !important;
    animation: subtle-glow 3s ease-in-out infinite alternate !important;
}

.tech-gradient {
    background: linear-gradient(135deg, #4fc3f7 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
    font-weight: 800 !important;
    display: inline-block;
    font-size: inherit;
    filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
    animation: subtle-glow 3s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    0% {
        filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(79, 195, 247, 0.6));
    }
}

@keyframes techGradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    font-size: 0.9rem;
    background: linear-gradient(135deg, #73bf63 0%, #5aa142 50%, #4a8935 100%);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(115, 191, 99, 0.5), 0 0 40px rgba(115, 191, 99, 0.3);
    animation: checkPulseGlow 2s infinite;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-item i::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.feature-item:hover i {
    box-shadow: 0 0 25px rgba(115, 191, 99, 0.7), 0 0 50px rgba(115, 191, 99, 0.4), 0 0 80px rgba(115, 191, 99, 0.2);
    transform: scale(1.1);
    animation: none;
}

.feature-item i::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-item:hover i::before {
    left: 100%;
}

@keyframes checkPulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(115, 191, 99, 0.5), 0 0 40px rgba(115, 191, 99, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(115, 191, 99, 0.7), 0 0 60px rgba(115, 191, 99, 0.5), 0 0 90px rgba(115, 191, 99, 0.3);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-teal);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    background: var(--brand-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 195, 247, 0.3);
}

.feature-card:hover h3 {
    color: white;
}

.feature-card:hover p {
    color: white;
}


.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--brand-violet) 50%, var(--brand-cyan) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="60" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="30" r="0.5" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: drift 20s infinite linear;
}

@keyframes drift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-content .btn {
    margin-top: 1rem;
    position: relative;
    z-index: 3;
}

/* Benefits Section */
.benefits {
    padding: 100px 0 120px 0;
    background: var(--light-gray);
    overflow: hidden;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-item.reverse {
    direction: rtl;
}

.benefit-item.reverse > * {
    direction: ltr;
}

.benefit-content {
    padding: 2rem 0;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.benefit-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.benefit-image {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
    background: var(--light-gray);
    border-radius: 16px;
    z-index: 10;
}

.benefit-image:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(55, 68, 140, 0.3);
}

.benefit-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease !important;
}

/* Social Proof */
.social-proof {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.proof-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.proof-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.proof-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #ffd700;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-cyan));
    flex-shrink: 0;
}

.avatar::before {
    content: attr(data-initials);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature i {
    color: var(--secondary-teal);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--light-gray);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-feature h4 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.contact-feature p {
    margin: 0;
    color: var(--text-secondary);
}

/* Form Styles */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 63, 130, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-item.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .proof-badges {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Retell Chat Widget Mobile Optimization */
    [id*="retell"] iframe,
    [class*="retell"] iframe,
    iframe[src*="retell"] {
        max-height: 70vh !important;
        max-width: 90vw !important;
        bottom: 80px !important;
        right: 10px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    }
    
    [id*="retell-widget"] {
        max-height: 70vh !important;
        max-width: 90vw !important;
        bottom: 80px !important;
        right: 10px !important;
        z-index: 999 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .features,
    .benefits,
    .testimonials,
    .faq,
    .contact,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .contact-form {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem;
    }

    /* Additional Retell Chat Widget Mobile Optimization for smaller screens */
    [id*="retell"] iframe,
    [class*="retell"] iframe,
    iframe[src*="retell"] {
        max-height: 60vh !important;
        max-width: 95vw !important;
        bottom: 70px !important;
        right: 5px !important;
        left: 5px !important;
        margin: 0 auto !important;
    }
    
    [id*="retell-widget"] {
        max-height: 60vh !important;
        max-width: 95vw !important;
        bottom: 70px !important;
        right: 5px !important;
        left: 5px !important;
    }
}

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

@keyframes networkSlowMove {
    0% {
        transform: translate(0px, 0px) scale(1);
        background-position: 0% 0%;
    }
    25% {
        transform: translate(-15px, -10px) scale(1.02);
        background-position: 25% 25%;
    }
    50% {
        transform: translate(10px, -8px) scale(0.98);
        background-position: 50% 50%;
    }
    75% {
        transform: translate(-8px, 12px) scale(1.01);
        background-position: 75% 75%;
    }
    100% {
        transform: translate(0px, 0px) scale(1);
        background-position: 100% 100%;
    }
}

@keyframes networkHoverMove {
    0% {
        transform: translate(0px, 0px) scale(1.02);
        background-position: 0% 0%;
    }
    25% {
        transform: translate(-40px, -30px) scale(1.08);
        background-position: 30% 20%;
    }
    50% {
        transform: translate(35px, -25px) scale(0.95);
        background-position: 70% 60%;
    }
    75% {
        transform: translate(-30px, 40px) scale(1.05);
        background-position: 80% 90%;
    }
    100% {
        transform: translate(0px, 0px) scale(1.02);
        background-position: 100% 100%;
    }
}

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

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error states */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}
