/* holos.works - Corporate Gradient SaaS */
/* Palette: #eff6ff, #e0e7ff, #ffffff, #1e293b, #4f46e5, #64748b, #e2e8f0, #eef2ff */
/*
 * Typography -- font family:** "Inter" (Google Fonts) at medium weight for brand, bold for headings.
 * "Roboto" (Google Fonts) for numbers. Single font family throughout creates
 * maximum typographic unity for corporate clarity. tagline: "Complete work,
 * complete solutions." Product mockup outline.
 */

/* ========================================
   Reset & Base
   ======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========================================
   Hero Section (0-100vh)
   ======================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    width: 100%;
}

.brand {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #1e293b;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* Product Mockup Outline */
.mockup-frame {
    width: 100%;
    max-width: 560px;
    height: 340px;
    border: 2px solid #4f46e5;
    border-radius: 12px;
    margin: 3rem auto 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
}

.mockup-toolbar {
    height: 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mockup-body {
    display: flex;
    height: calc(100% - 32px);
}

.mockup-sidebar {
    width: 60px;
    border-right: 1px solid #e2e8f0;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-sidebar-item {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
}

.mockup-sidebar-item.active {
    background: #4f46e5;
    opacity: 0.5;
}

.mockup-main {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-row {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    width: 100%;
}

.mockup-row.short {
    width: 60%;
}

/* ========================================
   Solutions Section (100-260vh)
   ======================================== */

.solutions {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.solutions-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #1e293b;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 3px;
    background: #4f46e5;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-heading:hover::after {
    width: 100%;
}

.section-subheading {
    font-size: 1.0625rem;
    color: #64748b;
    margin-top: 1.25rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

.solution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.icon-area {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.solution-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.solution-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4f46e5;
    transition: width 0.3s ease;
}

.solution-card:hover .solution-title::after {
    width: 100%;
}

.solution-text {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    font-size: 0.875rem;
    color: #1e293b;
    padding: 0.375rem 0;
    padding-left: 20px;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4f46e5;
    opacity: 0.6;
}

/* ========================================
   Stats Section (260-340vh)
   ======================================== */

.stats {
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    padding: 5rem 2rem;
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.stat {
    text-align: center;
    min-width: 140px;
}

.stat-num {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #4f46e5;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.375rem;
    display: block;
}

/* ========================================
   Trust Section (340vh+)
   ======================================== */

.trust {
    padding: 6rem 2rem;
    text-align: center;
    background: #ffffff;
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #1e293b;
    margin-bottom: 3rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.partner-shape {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.partner-shape:hover {
    opacity: 0.7;
}

.partner-rect {
    width: 40px;
    height: 28px;
    border: 2px solid #64748b;
    border-radius: 4px;
}

.partner-circle {
    width: 32px;
    height: 32px;
    border: 2px solid #64748b;
    border-radius: 50%;
}

.partner-diamond {
    width: 28px;
    height: 28px;
    border: 2px solid #64748b;
    transform: rotate(45deg);
    border-radius: 3px;
}

.partner-hexagon {
    width: 32px;
    height: 28px;
    border: 2px solid #64748b;
    border-radius: 6px;
    position: relative;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #64748b;
    opacity: 0.4;
}

.partner-triangle {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 28px solid #64748b;
    opacity: 0.4;
}

.partner-name {
    font-size: 0.6875rem;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trust-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e293b;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: #1e293b;
    padding: 2.5rem 2rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    font-size: 0.8125rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-copy {
    font-size: 0.75rem;
    color: #64748b;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* ========================================
   Fade-in Animation
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.solution-card.fade-in:nth-child(1) { transition-delay: 0s; }
.solution-card.fade-in:nth-child(2) { transition-delay: 0.15s; }
.solution-card.fade-in:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-inner {
        gap: 2rem;
    }

    .partner-logos {
        gap: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .solutions {
        padding: 4rem 1.5rem;
    }

    .mockup-frame {
        height: 240px;
    }
}

/* ========================================
   Keyframe Animations
   ======================================== */

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.08);
    }
}

.mockup-frame {
    animation: pulseGlow 4s ease-in-out infinite;
}
