/* ============================================
   ALTERNATE HOMEPAGE OPTION #3
   Modern + Elegant (Blueprint / Architecture)
   Scoped to: .alt2-homepage
   ============================================ */

.alt2-homepage {
    --alt2-bg: #f8fafc;
    --alt2-surface: #ffffff;
    --alt2-border: rgba(5, 51, 75, 0.10);
    --alt2-text: #1A1F36;
    --alt2-muted: #6B7280;
    --alt2-ink: #05334B;
    --alt2-accent: #38B597;
    --alt2-accent-2: #239981;
    --alt2-gradient: var(--gradient-primary);
}

.alt2-homepage .hero-alt2 {
    position: relative;
    padding: 140px 0 90px;
    background: linear-gradient(180deg, var(--alt2-bg) 0%, #ffffff 100%);
    overflow: hidden;
}

.alt2-homepage .hero-alt2-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.alt2-homepage .hero-alt2-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 181, 151, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 181, 151, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.6;
}

.alt2-homepage .hero-alt2-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
}

.alt2-homepage .hero-alt2-glow-1 {
    background: rgba(56, 181, 151, 0.7);
    top: -220px;
    right: -160px;
}

.alt2-homepage .hero-alt2-glow-2 {
    background: rgba(5, 51, 75, 0.55);
    bottom: -260px;
    left: -180px;
}

.alt2-homepage .hero-alt2-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.alt2-homepage .hero-alt2-visual {
    transform-style: preserve-3d;
    perspective: 1200px;
}

.alt2-homepage .hero-alt2-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(56, 181, 151, 0.25);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    color: rgba(5, 51, 75, 0.85);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.alt2-homepage .hero-alt2-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--alt2-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(56, 181, 151, 0.15);
}

.alt2-homepage .hero-alt2-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--alt2-text);
    margin-bottom: 16px;
}

.alt2-homepage .hero-alt2-title-accent {
    display: inline-block;
    background: var(--alt2-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alt2-homepage .hero-alt2-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--alt2-muted);
    margin-bottom: 26px;
    max-width: 560px;
}

.alt2-homepage .hero-alt2-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.alt2-homepage .hero-alt2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    border: 0;
}

.alt2-homepage .hero-alt2-btn-primary {
    background: var(--alt2-gradient);
    color: white;
    box-shadow: 0 14px 40px rgba(56, 181, 151, 0.22);
}

.alt2-homepage .hero-alt2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(56, 181, 151, 0.30);
}

.alt2-homepage .hero-alt2-btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--alt2-ink);
    border-color: rgba(5, 51, 75, 0.12);
    border: 1px solid rgba(5, 51, 75, 0.12);
}

.alt2-homepage .hero-alt2-btn-secondary:hover {
    border-color: rgba(56, 181, 151, 0.45);
    background: #ffffff;
    transform: translateY(-1px);
}

.alt2-homepage .hero-alt2-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.alt2-homepage .hero-alt2-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(5, 51, 75, 0.10);
    color: rgba(5, 51, 75, 0.85);
    font-size: 13px;
    font-weight: 600;
}

.alt2-homepage .hero-alt2-chips .chip i {
    color: var(--alt2-accent);
}

.alt2-homepage .hero-alt2-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(5, 51, 75, 0.08);
    max-width: 560px;
}

.alt2-homepage .hero-alt2-metrics .metric-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--alt2-ink);
}

.alt2-homepage .hero-alt2-metrics .metric-label {
    font-size: 13px;
    color: var(--alt2-muted);
    margin-top: 4px;
}

/* Blueprint visual */
.alt2-homepage .blueprint-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(5, 51, 75, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(5, 51, 75, 0.12);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.alt2-homepage .blueprint-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(5, 51, 75, 0.08);
    background: rgba(255, 255, 255, 0.6);
}

.alt2-homepage .bp-dots {
    display: flex;
    gap: 7px;
}

.alt2-homepage .bp-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.alt2-homepage .bp-dots span:nth-child(1) { background: #ff5f57; }
.alt2-homepage .bp-dots span:nth-child(2) { background: #febc2e; }
.alt2-homepage .bp-dots span:nth-child(3) { background: #28c840; }

.alt2-homepage .bp-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(5, 51, 75, 0.85);
    margin-left: 4px;
}

.alt2-homepage .bp-pill {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: rgba(56, 181, 151, 0.95);
    background: rgba(56, 181, 151, 0.10);
    border: 1px solid rgba(56, 181, 151, 0.18);
    padding: 6px 10px;
    border-radius: 999px;
}

.alt2-homepage .blueprint-card-body {
    padding: 16px;
    transform-style: preserve-3d;
}

.alt2-homepage .blueprint-svg {
    width: 100%;
    height: auto;
    display: block;
    transform-style: preserve-3d;
}

.alt2-homepage .blueprint-caption {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(5, 51, 75, 0.70);
    line-height: 1.6;
}

/* 3D Animation on hover */
.alt2-homepage .hero-alt2-visual:hover .blueprint-card {
    transform: rotateX(2deg) rotateY(-2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.alt2-homepage .hero-alt2-visual:hover .blueprint-svg {
    transform: translateZ(10px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Subtle floating animation for the architecture diagram */
@keyframes blueprintFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.alt2-homepage .blueprint-card {
    animation: blueprintFloat 6s ease-in-out infinite;
}

/* Add depth to mini cards */
.alt2-homepage .mini-card {
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.alt2-homepage .mini-card:hover {
    transform: translateY(-4px) translateZ(8px) rotateX(5deg);
    box-shadow: 0 12px 30px rgba(5, 51, 75, 0.15);
}

.alt2-homepage .blueprint-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.alt2-homepage .mini-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(5, 51, 75, 0.08);
}

.alt2-homepage .mini-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 181, 151, 0.12);
    color: var(--alt2-accent-2);
}

.alt2-homepage .mini-title {
    font-size: 13px;
    font-weight: 800;
    color: rgba(5, 51, 75, 0.88);
    line-height: 1.2;
}

.alt2-homepage .mini-sub {
    font-size: 12px;
    color: rgba(5, 51, 75, 0.60);
    margin-top: 2px;
}

/* Services section */
.alt2-homepage .alt2-services {
    padding: 90px 0;
    background: #ffffff;
}

.alt2-homepage .alt2-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.alt2-homepage .alt2-section-head h2 {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--alt2-text);
    margin-bottom: 14px;
}

.alt2-homepage .alt2-section-head p {
    font-size: 17px;
    color: var(--alt2-muted);
    line-height: 1.7;
}

.alt2-homepage .alt2-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.alt2-homepage .alt2-service-card {
    display: block;
    padding: 28px 26px;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(5, 51, 75, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.alt2-homepage .alt2-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 181, 151, 0.45);
    box-shadow: 0 24px 60px rgba(5, 51, 75, 0.10);
    background: #ffffff;
}

.alt2-homepage .alt2-service-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 181, 151, 0.12);
    color: var(--alt2-accent-2);
    margin-bottom: 16px;
    font-size: 22px;
}

.alt2-homepage .alt2-service-card h3 {
    font-size: 20px;
    color: var(--alt2-text);
    margin-bottom: 10px;
    font-weight: 800;
}

.alt2-homepage .alt2-service-card p {
    font-size: 15px;
    color: var(--alt2-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.alt2-homepage .alt2-service-card .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--alt2-accent-2);
    font-weight: 800;
    font-size: 14px;
}

.alt2-homepage .alt2-service-card:hover .link {
    gap: 12px;
}

/* CTA section */
.alt2-homepage .alt2-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(56, 181, 151, 0.10) 0%, rgba(5, 51, 75, 0.06) 100%);
}

.alt2-homepage .alt2-cta-inner {
    border: 1px solid rgba(5, 51, 75, 0.10);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    padding: 34px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.alt2-homepage .alt2-cta-copy h2 {
    font-family: var(--font-display);
    font-size: 30px;
    color: var(--alt2-text);
    margin-bottom: 8px;
}

.alt2-homepage .alt2-cta-copy p {
    color: var(--alt2-muted);
    font-size: 16px;
    margin: 0;
}

.alt2-homepage .alt2-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 1100px) {
    .alt2-homepage .hero-alt2-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .alt2-homepage .blueprint-mini-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .alt2-homepage .alt2-services-grid {
        grid-template-columns: 1fr;
    }
    .alt2-homepage .hero-alt2-metrics {
        grid-template-columns: 1fr;
    }
    .alt2-homepage .alt2-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .alt2-homepage .alt2-cta-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .alt2-homepage .hero-alt2 {
        padding: 120px 0 70px;
    }
    .alt2-homepage .hero-alt2-cta {
        flex-direction: column;
    }
    .alt2-homepage .hero-alt2-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Home-only density tuning (Platforms + Tools)
   Goal: 20–30% smaller overall look on homepage
   ============================================ */

/* Platforms We Support (home only) */
.alt2-homepage .platforms-section-creative {
    padding: 72px 0;
}

.alt2-homepage .platforms-header-creative {
    margin-bottom: 44px;
}

.alt2-homepage .platforms-subtitle-creative {
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 860px;
}

.alt2-homepage .platforms-showcase {
    /* User request: 4 cards per row on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.alt2-homepage .platform-card-creative {
    height: 176px;
}

.alt2-homepage .platform-inner {
    padding: 22px 16px;
    border-radius: 18px;
}

.alt2-homepage .platform-icon-creative {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 14px;
}

.alt2-homepage .platform-icon-creative i {
    font-size: 28px;
}

.alt2-homepage .platform-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.alt2-homepage .platform-info p {
    font-size: 11px;
    letter-spacing: 0.6px;
}

.alt2-homepage .platform-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 10px;
}

.alt2-homepage .platform-card-creative:hover .platform-inner {
    transform: rotateY(4deg) rotateX(-4deg) translateY(-8px);
}

.alt2-homepage .platform-card-creative:hover .platform-icon-creative {
    transform: scale(1.08) rotateY(12deg) rotateZ(-4deg);
}

/* Tools We Use (home only) */
.alt2-homepage .tools-section-creative-v2 {
    padding: 44px 0;
}

.alt2-homepage .tools-header-creative-v2 {
    margin-bottom: 40px;
}

.alt2-homepage .tools-subtitle-creative-v2 {
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 860px;
}

.alt2-homepage .tools-showcase-creative-v2 {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 16px;
    max-width: 1200px;
}

.alt2-homepage .tool-content-v2 {
    border-radius: 18px;
    padding: 14px;
    gap: 10px;
}

.alt2-homepage .tool-logo-wrapper {
    width: 60px;
    height: 60px;
}

.alt2-homepage .tool-logo-container-v2 {
    border-radius: 14px;
    padding: 12px;
}

.alt2-homepage .tool-label-v2 {
    font-size: 10px;
    letter-spacing: 0.4px;
}

.alt2-homepage .tool-item-creative-v2:hover .tool-content-v2 {
    transform: translateY(-6px) rotateX(6deg) rotateY(-4deg) scale(1.03);
}

.alt2-homepage .tool-item-creative-v2:hover .tool-logo-container-v2 {
    transform: scale(1.12) rotateZ(6deg) rotateY(8deg);
}

/* Responsive overrides (home only) */
@media (max-width: 1024px) {
    .alt2-homepage .platforms-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .alt2-homepage .platform-card-creative {
        height: 168px;
    }
}

@media (max-width: 768px) {
    .alt2-homepage .platforms-section-creative {
        padding: 60px 0;
    }
    .alt2-homepage .platforms-showcase {
        gap: 14px;
    }
    .alt2-homepage .platform-card-creative {
        height: 164px;
    }
    .alt2-homepage .tools-section-creative-v2 {
        padding: 56px 0;
    }
    .alt2-homepage .tools-showcase-creative-v2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .alt2-homepage .tool-logo-wrapper {
        width: 54px;
        height: 54px;
    }
    .alt2-homepage .tool-logo-container-v2 {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .alt2-homepage .tools-showcase-creative-v2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Home-only: make CTA section smaller */
.alt2-homepage .cta-section {
    padding: 56px 0;
}

.alt2-homepage .cta-content h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.alt2-homepage .cta-content p {
    font-size: 16px;
    margin-bottom: 18px;
}

.alt2-homepage .btn-primary-large,
.alt2-homepage .btn-outline-large {
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 10px;
    gap: 8px;
}

@media (max-width: 768px) {
    .alt2-homepage .cta-section {
        padding: 44px 0;
    }
    .alt2-homepage .cta-content h2 {
        font-size: 26px;
    }
}

/* Latest From our Blog styles are now centralized in pages-styles.css
   (scoped to .latest-blog-section) so the section stays consistent
   across homepage, contact-us, and all service pages. */


