/* Homepage-Specific Styles - Enhanced UI */

/* Hero Home - Enhanced */
.hero-home {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #ffffff 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #0066cc;
}

/* Animated background pattern */
.hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,102,204,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,163,255,0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,102,204,0.05) 0%, transparent 100%);
    pointer-events: none;
    animation: subtlePulse 8s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

/* Subtle grid pattern overlay */
.hero-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0,102,204,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,102,204,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

.hero-home .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Enhanced hero content spacing */
.hero-home h1 {
    margin-bottom: 1.5rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
}

.hero-home h2 {
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
    letter-spacing: -0.01em;
}

.brand-consulting {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0066cc;
    font-weight: 600;
}

.brand-divider {
    font-size: 0.75rem;
    color: #666;
    margin: 0.25rem 0;
}

.brand-product {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-headline {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.95);
}

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

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.25), 0 0 0 0 rgba(0, 102, 204, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4), 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.cta-secondary {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
}

.cta-secondary:hover::before {
    left: 100%;
}

.cta-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
    border-color: #0052a3;
}

.hero-trust-bar {
    display: flex;
    gap: 2rem;
}

.hero-trust-bar span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333333;
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-trust-bar span i {
    color: #0066cc;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,102,204,0.15);
    overflow: hidden;
    border: 1px solid rgba(0,102,204,0.1);
    transition: all 0.3s ease;
}

.dashboard-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,102,204,0.2);
}

.preview-header {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 12px 16px;
    border-bottom: 1px solid #e6f2ff;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.preview-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    padding: 24px 0;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0066cc 0%, #00a3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Feature Cards Home - Enhanced with Glassmorphism */
.feature-card-home {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 204, 0.15);
    box-shadow: 
        0 4px 16px rgba(0,102,204,0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00a3ff, #0066cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-home:hover::before {
    transform: scaleX(1);
}

.feature-card-home:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,102,204,0.2),
        0 0 0 1px rgba(0, 102, 204, 0.3) inset,
        0 0 30px rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon-home {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    position: relative;
}

.feature-icon-home::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0066cc, #00a3ff);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-icon-home svg {
    width: 32px;
    height: 32px;
    stroke: #0066cc;
    stroke-width: 2;
}

.feature-card-home:hover .feature-icon-home {
    background: linear-gradient(135deg, #0066cc 0%, #00a3ff 100%);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.feature-card-home:hover .feature-icon-home::after {
    opacity: 0.3;
}

.feature-card-home:hover .feature-icon-home svg {
    stroke: white;
    transform: scale(1.1);
}

.feature-card-home h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.feature-card-home p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.learn-more {
    color: #0066cc;
    font-weight: 600;
    font-size: 0.95rem;
}

.demo-video-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.demo-video-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.demo-video-header {
    max-width: 960px;
    margin: 0 auto 24px auto;
    text-align: center;
}

.demo-video-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.demo-subtitle {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 auto 18px;
    max-width: 720px;
}

.demo-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-highlights {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.demo-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #1e293b;
    font-weight: 600;
}

.demo-highlights span::before {
    content: '•';
    font-size: 1.2rem;
    color: #2563eb;
}

.demo-takeaways {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.demo-takeaways li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 12px 16px;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
}

.demo-takeaways li::before {
    content: '✅';
    font-size: 1rem;
}

.demo-video-player {
    position: relative;
}

.demo-video-player video::-webkit-media-controls-volume-slider,
.demo-video-player video::-webkit-media-controls-volume-control-container,
.demo-video-player video::-webkit-media-controls-mute-button {
    display: none !important;
}

.demo-video-player video::-moz-media-controls-volume,
.demo-video-player video::-moz-media-controls-mute-button {
    display: none !important;
}

.demo-video-player video::-ms-media-controls-volume,
.demo-video-player video::-ms-media-controls-mute-button {
    display: none !important;
}

.video-frame {
    max-width: 90%;
    margin: 0 auto;
}

.demo-video-player video {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    background: #000;
    aspect-ratio: 16 / 9;
}

.demo-video-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.demo-video-actions .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.demo-video-actions .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.35);
}

.demo-proof {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #475569;
    font-size: 0.9rem;
    justify-self: center;
    text-align: center;
}

/* Offering Cards */
.offering-card {
    cursor: pointer;
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,102,204,0.15);
    border-color: #0066cc !important;
}

/* Impact Metrics - Enhanced with Animation Support */
.impact-metric {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 204, 0.15);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.impact-metric:hover {
    transform: translateY(-8px) scale(1.03);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.4);
}

.impact-metric .number {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 114, 188, 0.2);
}

.impact-metric:hover .number {
    transform: scale(1.15);
    text-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
}

.impact-metric .label {
    transition: color 0.3s ease;
}

.impact-metric:hover .label {
    color: #0066cc;
}

/* Enhanced Step Cards */
.step-card-wrapper {
    position: relative;
    overflow: hidden;
}

.step-card-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card-wrapper:hover::before {
    opacity: 1;
}

/* Enhanced Why Choose Us Cards */
.why-choose-us-card {
    position: relative;
    overflow: hidden;
}

.why-choose-us-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-choose-us-card:hover::after {
    opacity: 1;
}

/* Enhanced Typography */
h1, h2, h3 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* Smooth Scroll Enhancement */
html {
    scroll-behavior: smooth;
}

/* Enhanced Button Styles Throughout */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Navbar on Scroll */
.navbar.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-home .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-trust-bar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .demo-video-wrapper {
        padding: 0 20px;
    }

    .demo-video-actions {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card-home {
        margin-bottom: 1.5rem;
    }
}

