/* Homepage Specific Styles */

/* Hero Section Updates */
.hero {
    position: relative;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: var(--nv-text-dark-bg);
    overflow: hidden;
}

.hero__grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.hero__orb--1 {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #2b5af4;
    /* Primary Accent */
}

.hero__orb--2 {
    bottom: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: #ff5000;
    /* Orange Accent */
    opacity: 0.2;
}

/* =========================================
   BAS System Section Styles
   ========================================= */

#bas-system .section__header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 64px;
}

#bas-system .section__title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.2;
}

#bas-system .section__subtitle {
    font-size: 20px;
    color: #475569;
    line-height: 1.625;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Approach Section Styles
   ========================================= */

#approach {
    padding: 80px 0;
    background-color: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
}

.approach-card {
    background-color: #f8fafc;
    /* slate-50 */
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.approach-card:hover {
    background-color: #fff7ed;
    /* orange-50 */
    border-color: #ffedd5;
    /* orange-100 */
    transform: translateY(-4px);
}

.approach-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.approach-icon {
    width: 48px;
    height: 48px;
    background-color: #ff5000;
    /* orange-500 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 80, 0, 0.2);
}

.approach-step {
    font-size: 36px;
    font-weight: 700;
    color: #ffedd5;
    /* orange-100 */
    line-height: 1;
    font-family: var(--nv-fallback-ff);
}

.approach-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    /* slate-900 */
    margin-bottom: 12px;
}

.approach-desc {
    font-size: 16px;
    color: #475569;
    /* slate-600 */
    line-height: 1.625;
}

.section__cta {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

/* =========================================
   Products Section Styles
   ========================================= */

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

@media (max-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: none;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

/* Popular Card Style */
.product-card--popular {
    box-shadow: 0 0 0 2px #ff5000;
}

.product-card--popular:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 2px #ff5000;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff5000;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    z-index: 10;
}

/* Icons and Gradients */
.product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-b {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.product-icon--emerald {
    background: linear-gradient(135deg, #10b981 0%, #0d9488 100%);
}

.product-icon--blue {
    background: linear-gradient(135deg, #ff5000 0%, #ea580c 100%);
}

.product-icon--violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #9333ea 100%);
}

.product-icon--orange {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
}

.product-icon--cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #f97316 100%);
}

.product-icon--pink {
    background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%);
}

.product-icon--amber {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.product-icon--gray {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

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

.product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
}

.product-features li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff5000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.product-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background-color: transparent;
    color: #0f172a;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.product-card:hover .product-btn {
    background-color: #ff5000;
    color: white;
    border-color: #ff5000;
}

/* =========================================
   Audience Section Styles
   ========================================= */

#audience {
    padding: 96px 0;
    background-color: #ffffff;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    /* slate-900 */
    text-align: center;
    margin-bottom: 32px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

.audience-card {
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

/* Business Size Cards (Gradient) */
.audience-card--gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
}

.audience-card--gradient:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.audience-card--gradient .audience-icon {
    width: 64px;
    height: 64px;
    background-color: #ff5000;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

/* Industry Cards (Bordered) */
.audience-card--border {
    background: white;
    border: 1px solid #e2e8f0;
    /* border-slate-200 */
    padding: 24px;
}

.audience-card--border:hover {
    border-color: #fdba74;
    /* orange-300 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.audience-card--border .audience-icon {
    width: 56px;
    height: 56px;
    background-color: #fff7ed;
    /* orange-50 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #ff5000;
}

.audience-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 0;
}

.audience-card--border h4 {
    font-size: 18px;
}

.audience-card--border p {
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 768px) {
    .audience-card h4 {
        font-size: 18px;
    }
}

/* =========================================
   Services Section (Dark)
   ========================================= */
#services {
    background-color: #0f172a;
    /* slate-900 */
    padding: 96px 0;
    color: white;
}

/* Section Header */
#services .section__header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 64px;
}

#services .section__tagline {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff5000;
    /* orange-500 */
    display: block;
    margin-bottom: 16px;
}

#services .section__title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

#services .section__subtitle {
    font-size: 20px;
    color: #94a3b8;
    line-height: 1.625;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

@media (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: rgba(30, 41, 59, 0.5);
    /* slate-800/50 */
    backdrop-filter: blur(4px);
    border: 1px solid #334155;
    /* slate-700 */
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(255, 80, 0, 0.5);
    /* orange-500/50 */
    transform: translateY(-4px);
}

.service-card--accent {
    background-color: #7c2d12 !important;
    /* orange-900 */
    border-color: #ff5000 !important;
}

.service-card--accent:hover {
    background-color: #9a3412 !important;
    /* orange-800 */
    border-color: #fb923c !important;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 80, 0, 0.2);
    /* orange-600/20 */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background-color: #ff5000;
    /* orange-600 */
}

.service-icon {
    width: 28px;
    height: 28px;
    color: #fb923c;
    /* orange-400 */
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.service-desc {
    color: #94a3b8;
    /* slate-400 */
    margin-bottom: 24px;
    line-height: 1.625;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    /* slate-300 */
    font-size: 14px;
}

.service-dot {
    width: 6px;
    height: 6px;
    background-color: #fb923c;
    /* orange-400 */
    border-radius: 50%;
    flex-shrink: 0;
}

/* =========================================
   Why Us Section Styles
   ========================================= */
#why-us {
    background-color: white;
    padding: 96px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content .section__tagline {
    color: #ff5000;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.why-us-content .section__title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.why-us-content .section__subtitle {
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.625;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reason-item {
    display: flex;
    gap: 16px;
}

.reason-icon-box {
    width: 48px;
    height: 48px;
    background-color: #fff7ed;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reason-icon-box svg {
    width: 24px;
    height: 24px;
    color: #ff5000;
}

.reason-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}

.reason-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.5;
}

/* Visual Side (Stats) */
.why-us-visual {
    position: relative;
}

.visual-gradient-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

@media (max-width: 640px) {
    .visual-gradient-box {
        padding: 32px;
    }
}

.stats-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-box-glass {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-box-glass .val {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.stat-box-glass .lab {
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.partner-box-glass {
    margin-top: 32px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.partner-icon-circle {
    width: 40px;
    height: 40px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-icon-circle svg {
    width: 20px;
    height: 20px;
    color: #ff5000;
}

.partner-title {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.partner-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Decorative Elements */
.decor-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.decor-1 {
    top: -24px;
    left: -24px;
    width: 96px;
    height: 96px;
    background-color: #cbd5e1;
}

.decor-2 {
    bottom: -24px;
    right: -24px;
    width: 128px;
    height: 128px;
    background-color: #94a3b8;
}