/* ═══════════════════════════════════════════════════════════
   HisaabKitaab — Hero Section Styles
   Path: /public_html/assets/css/hero.css
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero Section ─── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 80px;
}

/* Three.js Canvas — positioned behind content */
.hero-section #hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gradient overlay to blend canvas with content */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 13, 23, 0.85) 0%,
        rgba(11, 13, 23, 0.5) 50%,
        rgba(11, 13, 23, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ─── Hero Content (z-index above canvas) ─── */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* ─── Hero Left (Text) ─── */
.hero-left {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-heading {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-heading .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 200px;
    justify-content: center;
}

/* CTA button special gradient hover */
.btn-cta-personal {
    background: linear-gradient(135deg, #6C63FF 0%, #8B85FF 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-cta-personal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.6);
    color: #fff;
}

.btn-cta-business {
    background: linear-gradient(135deg, #00C9A7 0%, #00E4BE 100%);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 201, 167, 0.3);
}

.btn-cta-business:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 201, 167, 0.5);
    color: var(--bg-dark);
}

/* ─── Hero Right (Visual / Canvas area) ─── */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

/* Decorative floating elements around the 3D canvas */
.hero-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    z-index: 3;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    animation: float-card 6s ease-in-out infinite;
}

.hero-float-card.card-income {
    top: 20px;
    right: 0;
    animation-delay: 0s;
}

.hero-float-card.card-expense {
    bottom: 40px;
    left: 0;
    animation-delay: -2s;
}

.hero-float-card.card-gst {
    bottom: 100px;
    right: 20px;
    animation-delay: -4s;
}

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

.float-card-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.float-card-value {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.float-card-value.positive { color: var(--secondary); }
.float-card-value.negative { color: var(--accent); }
.float-card-value.gst-val { color: var(--primary-light); }

/* ─── Hero Stats Row ─── */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
}

.stat-number .plus {
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 2px;
}