/* CRM Landing Page Styles */

/* Base & Typography */
.crm-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.crm-section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.crm-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}

.hero-content h1 span {
    color: #0066ff;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0066ff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    background: #0052cc;
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    border: 2px solid #0066ff;
    color: #0066ff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 102, 255, 0.05);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Hero Mockup Graphic (CSS Only) */
.hero-mockup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-right: 48px; /* Offset for dots */
}

.mockup-body {
    display: flex;
    height: 350px;
}

.mockup-sidebar {
    width: 25%;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mockup-sidebar::-webkit-scrollbar {
    width: 4px;
}
.mockup-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.mockup-menu-item {
    padding: 8px 12px;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mockup-menu-item i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.mockup-menu-item:hover {
    background: #e2e8f0;
    color: #334155;
}

.mockup-menu-item.active {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
}

.mockup-content {
    flex: 1;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-cards {
    display: flex;
    gap: 15px;
}

.mockup-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    font-size: 0.75rem;
    color: #64748b;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.mockup-chart {
    height: 20px;
    border-radius: 2px;
    margin-top: 5px;
}

.mockup-chart.c1 {
    background: linear-gradient(to right, rgba(39, 201, 63, 0.2) 0%, rgba(39, 201, 63, 0.6) 100%);
    width: 80%;
}

.mockup-chart.c2 {
    background: linear-gradient(to right, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0.6) 100%);
    width: 65%;
}

.mockup-chart.c3 {
    background: linear-gradient(to right, rgba(255, 189, 46, 0.2) 0%, rgba(255, 189, 46, 0.6) 100%);
    width: 90%;
}

.mockup-table {
    flex: 1;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-table-header {
    background: #f8fafc;
    padding: 10px 15px;
    display: flex;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.mockup-table-row {
    padding: 10px 15px;
    display: flex;
    font-size: 0.8rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.mockup-table-row:last-child {
    border-bottom: none;
}

/* Why Choose Us Section */
.why-us {
    background-color: #fff;
}

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

.why-card {
    padding: 30px;
    background: #f9fbff;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,102,255,0.05);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.why-icon {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.why-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Core Features Section */
.features-section {
    background-color: #f8fafc;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-text h3 i {
    color: #0066ff;
    font-size: 1.8rem;
}

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

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

.feature-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #00c853;
    font-size: 1.1rem;
}

.feature-media {
    flex: 1;
    width: 100%;
}

.feature-media img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* CSS Graphic Features */
.css-graphic-box {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,102,255,0.1);
}

.css-graphic-box.blue-theme { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border-color: rgba(14, 165, 233, 0.2); }
.css-graphic-box.green-theme { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); border-color: rgba(34, 197, 94, 0.2); }
.css-graphic-box.purple-theme { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); border-color: rgba(168, 85, 247, 0.2); }
.css-graphic-box.orange-theme { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); border-color: rgba(249, 115, 22, 0.2); }

/* Feature 1: Security Shield */
.graphic-circle {
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #0066ff;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0,102,255,0.1);
}

.graphic-shield {
    position: absolute;
    bottom: 60px;
    right: 80px;
    width: 80px;
    height: 80px;
    background: #00c853;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
    border: 4px solid #fff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.graphic-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.graphic-dots span {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #0066ff;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}
.graphic-dots span:nth-child(1) { top: 20%; left: 20%; }
.graphic-dots span:nth-child(2) { top: 70%; left: 15%; }
.graphic-dots span:nth-child(3) { top: 30%; right: 20%; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.2; }
}

/* Feature 2: Anti-Poaching Users */
.graphic-users {
    width: 160px;
    height: 160px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #0ea5e9;
    position: relative;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.graphic-lock {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    border: 4px solid #e0f2fe;
}

.graphic-lines {
    position: absolute;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.graphic-lines .line {
    height: 12px;
    background: rgba(255,255,255,0.8);
    border-radius: 6px;
}
.line.w-100 { width: 120px; }
.line.w-80 { width: 96px; }
.line.w-60 { width: 72px; }

/* Feature 3: Field Management Map */
.graphic-map {
    width: 220px;
    height: 180px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #22c55e;
    position: relative;
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
}

.graphic-pin {
    position: absolute;
    color: #ef4444;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

.graphic-pin.pin-1 { top: -20px; left: 30px; animation-delay: 0s; }
.graphic-pin.pin-2 { bottom: 20px; right: 20px; animation-delay: 1s; font-size: 2rem; color: #f59e0b; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Feature 4: AI Radar */
.graphic-ai {
    width: 140px;
    height: 140px;
    background: #a855f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.5);
}

.graphic-radar {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #a855f7;
    z-index: -1;
    animation: ripple 3s linear infinite;
}

.graphic-radar.delay {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Feature 5: Finance */
.graphic-finance {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #f97316;
    position: relative;
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15);
    gap: 15px;
}

.graphic-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 40px;
}

.graphic-chart-bars .bar {
    width: 12px;
    background: #fbd38d;
    border-radius: 3px 3px 0 0;
}
.bar.b1 { height: 40%; background: #fdba74; }
.bar.b2 { height: 60%; background: #fb923c; }
.bar.b3 { height: 30%; background: #f97316; }
.bar.b4 { height: 90%; background: #ea580c; }

/* Data Growth Section */
.data-growth {
    background-color: #fff;
}

.growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.growth-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.growth-box h3 {
    font-size: 1.5rem;
    color: #0066ff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.growth-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.growth-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.growth-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.growth-item p {
    color: #666;
    font-size: 0.95rem;
}

.growth-number {
    display: inline-block;
    color: #ff3b30;
    font-weight: 700;
    font-size: 1.2rem;
}

/* AI Section */
.ai-section {
    background: #0a0f1a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai-section .section-title {
    color: #fff;
}

.ai-section .section-subtitle {
    color: #a0aec0;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.ai-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 35px 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ai-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.5);
}

.ai-icon {
    font-size: 2.5rem;
    color: #4da3ff;
    margin-bottom: 20px;
}

.ai-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.ai-card p {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Tech Strength */
.tech-strength {
    background-color: #f8fafc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    color: #0066ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.tech-item h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 0.9rem;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #fdfdfd;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f4f8ff;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    border-top: 1px solid #eaeaea;
}

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

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.bottom-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.bottom-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.bottom-cta .btn-primary {
    background: #fff;
    color: #0066ff;
}

.bottom-cta .btn-primary:hover {
    background: #f0f0f0;
}

.bottom-cta .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.bottom-cta .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .feature-list li {
        text-align: left;
        display: inline-block;
        width: 100%;
    }
    
    .feature-text h3 {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    .crm-section {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-text h3 {
        font-size: 1.5rem;
    }
    
    .bottom-cta h2 {
        font-size: 1.8rem;
    }
}