/* ========== SERVICES PAGE ENHANCEMENTS ========== */

/* Compact Service Grid */
.service-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card-compact {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card-compact:hover {
    border-color: var(--hh-brand-orange);
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.service-card-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
}

.service-card-compact h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.service-card-compact p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-card-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-card-stats span {
    font-size: 0.85rem;
    color: var(--hh-brand-teal);
    font-weight: 600;
}

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

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

/* Package Builder */
.package-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .package-builder-grid {
        grid-template-columns: 1fr;
    }
}

.package-preview-panel {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.drone-visual-builder {
    text-align: center;
    margin-bottom: 2rem;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.package-modules {
    position: absolute;
    inset: 0;
}

.drone-module {
    position: absolute;
    animation: moduleAppear 0.5s ease;
}

@keyframes moduleAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.package-preview-deliverables ul {
    max-height: 300px;
    overflow-y: auto;
}

.package-preview-deliverables li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 3px solid var(--hh-brand-orange);
    border-radius: 4px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-option {
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-option:hover {
    border-color: var(--hh-brand-orange);
    background: rgba(255, 107, 53, 0.05);
}

.service-option input[type="checkbox"] {
    display: none;
}

.service-option input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(0, 188, 212, 0.2));
    border-color: var(--hh-brand-orange);
}

.service-option label {
    display: block;
    padding: 1.5rem;
    cursor: pointer;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.option-icon {
    font-size: 2rem;
}

.option-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
}

.option-price {
    color: var(--hh-brand-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.option-details {
    opacity: 0.8;
    font-size: 0.95rem;
    padding-left: 3rem;
}

.package-summary {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--hh-brand-teal);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.summary-row.total {
    border-bottom: none;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* Before/After Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

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

.comparison-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.comparison-images {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    inset: 0;
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    cursor: ew-resize;
    z-index: 10;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--hh-brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.comparison-labels {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
}

.before-label,
.after-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.hotspot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hotspot-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.hotspot-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.hotspot-item strong {
    display: block;
    color: var(--hh-brand-teal);
    margin-bottom: 0.25rem;
}

.hotspot-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.impact-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ROI Calculator */
.roi-calculator {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1024px) {
    .roi-calculator {
        grid-template-columns: 1fr;
    }
}

.roi-input-group {
    margin-bottom: 2rem;
}

.roi-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--hh-brand-orange);
}

.input-with-prefix {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.input-with-prefix span {
    padding: 0.75rem 1rem;
    background: rgba(255, 107, 53, 0.2);
    font-weight: 700;
}

.input-with-prefix input,
.roi-input-group select {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--hh-text);
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-family: inherit;
}

.roi-input-group select {
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
}

.roi-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.roi-scenario {
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.1);
}

.roi-scenario.highlighted {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(0, 188, 212, 0.1));
    border-color: var(--hh-brand-orange);
}

.scenario-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.timeline-value {
    font-weight: 700;
}

.roi-savings {
    background: rgba(0,0,0,0.4);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.savings-label {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.savings-value {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Social Proof Feed */
.social-proof-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 188, 212, 0.05));
    padding: 5rem 0;
}

.social-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-stat-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-stat-card:hover {
    border-color: var(--hh-brand-orange);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-count {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--hh-brand-orange);
    margin-bottom: 0.5rem;
}

.activity-feed {
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border-left: 3px solid var(--hh-brand-teal);
    animation: slideIn 0.5s ease;
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-text {
    flex: 1;
}

.activity-text strong {
    color: var(--hh-brand-orange);
}

.activity-time {
    font-size: 0.85rem;
    opacity: 0.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--hh-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--hh-brand-orange);
    border-color: var(--hh-brand-orange);
    transform: scale(1.05);
}

.social-link i {
    font-size: 1.5rem;
}

/* Animated Timeline */
.timeline-container {
    max-width: 1000px;
    margin: 3rem auto;
    position: relative;
    padding-left: 120px;
}

.timeline-line {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--hh-brand-orange), var(--hh-brand-teal));
}

.timeline-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
.timeline-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    flex: 1;
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: var(--hh-brand-orange);
    background: rgba(255,107,53,0.1);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--hh-brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px rgba(255,107,53,0.2);
    position: absolute;
    left: -100px;
}

.step-day {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hh-brand-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-description {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0,188,212,0.2);
    border: 1px solid var(--hh-brand-teal);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--hh-brand-teal);
}

/* Responsive */
@media (max-width: 768px) {
    .portal-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-grid,
    .hotspot-grid,
    .impact-stats,
    .roi-comparison-grid {
        grid-template-columns: 1fr;
    }

    .stat-number,
    .impact-number {
        font-size: 2rem;
    }

    .social-stats-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .timeline-container {
        padding-left: 80px;
    }

    .timeline-line {
        left: 30px;
    }

    .step-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        left: -70px;
    }
}
