/* Global Styles */
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00AEEF;
    --primary-dark: #008CBF;
    --primary-light: #E0F7FF;
    --secondary-color: #000000;
    --text-color: #333333;
    --bg-light: #F8F9FA;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 85% !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

/* Navbar */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.btn.rounded-pill {
    border-radius: 0.75rem !important;
}

.btn-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.3);
}

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

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

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 174, 239, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 174, 239, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #ffffff 0%, #f0faff 100%);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300aeef' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-img {
    border: 10px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.5s ease;
}

.hero-image-container {
    padding: 20px;
    transform: scale(1.25);
    transition: transform 0.5s ease;
    z-index: 10;
    position: relative;
}

.hero-image-container:hover {
    transform: scale(1.28);
}

/* Overlap Cards */
.overlap-container {
    margin-top: -130px;
    margin-bottom: 80px;
    position: relative;
    z-index: 20;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Features Section */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: transparent;
}

.icon-box {
    width: 70px;
    height: 70px;
}

.ls-2 {
    letter-spacing: 2px;
}

/* Pricing Section */
.pricing-card {
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.bi-dashboard {
    width: min(560px, 100%);
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.bi-dashboard-top {
    height: 54px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.14) 0%, rgba(0, 174, 239, 0.04) 100%);
}

.bi-dashboard-title {
    height: 14px;
    width: 48%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.12);
}

.bi-dashboard-actions {
    display: flex;
    gap: 10px;
}

.bi-dashboard-action {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.08);
}

.bi-dashboard-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bi-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bi-kpi {
    height: 64px;
    border-radius: 14px;
    border: 1px solid rgba(0, 174, 239, 0.18);
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.18) 0%, rgba(0, 174, 239, 0.06) 60%, rgba(0, 0, 0, 0.02) 100%);
}

.bi-dashboard-chart {
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25) 0%, rgba(0, 174, 239, 0.08) 55%, rgba(0, 0, 0, 0.03) 100%);
    border: 1px solid rgba(0, 174, 239, 0.20);
}

.bi-dashboard-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bi-row {
    height: 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.07);
}

@media (max-width: 575.98px) {
    .bi-dashboard-kpis {
        grid-template-columns: 1fr;
    }
}

.mobile-mockup {
    width: min(420px, 100%);
    aspect-ratio: 9 / 19.5;
    border-radius: 38px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.18) 0%, rgba(0, 174, 239, 0.05) 55%, rgba(0, 0, 0, 0.02) 100%);
}

.mobile-mockup-screen {
    height: 100%;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-mockup-screen.is-image {
    position: relative;
}

.mobile-mockup-screen.is-image .mobile-mockup-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 2;
}

.mobile-mockup-header {
    height: 54px;
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.12) 0%, rgba(0, 174, 239, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
}

.mobile-mockup-pill {
    width: 70px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.12);
}

.mobile-mockup-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mobile-mockup-content.is-image {
    padding: 54px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.mobile-screen-img {
    width: 100%;
    height: calc(100% - 54px);
    object-fit: contain;
    object-position: center;
    display: block;
}

.mobile-image-wrap {
    width: min(520px, 100%);
}

.mobile-img {
    background: transparent;
    border-radius: 22px;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.22));
}

.mobile-mockup-title {
    height: 18px;
    width: 68%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.10);
}

@media (min-width: 992px) {
    .mobile-mockup {
        width: min(460px, 100%);
    }
}

.mobile-mockup-row {
    height: 12px;
    width: 100%;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.07);
}

.mobile-mockup-card {
    height: 120px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25) 0%, rgba(0, 174, 239, 0.10) 55%, rgba(0, 0, 0, 0.03) 100%);
    border: 1px solid rgba(0, 174, 239, 0.20);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    bottom: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px);
    color: white;
}

.back-to-top {
    right: 30px;
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn {
    left: 30px;
    background-color: #25D366;
}
