/* ============================================
   ASH SYSTEMS - INDEX PAGE STYLES
   ============================================ */

/* ========== INDEX PAGE VARIABLES ========== */
:root {
    /* Index-specific colors */
    --hero-gradient-start: #EEF2FF;
    --hero-gradient-end: #F9FAFB;
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    padding: 6rem 0 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    top: -250px;
    right: -150px;
}

.hero-shape.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}

.hero-shape.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid #C7D2FE;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -1.5px;
}

.hero .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 580px;
}

.actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat strong {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-display);
}

.stat .small {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual .illustration {
    width: 100%;
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: var(--shadow-xl);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 3;
}

.floating-card .card-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card .card-icon svg {
    width: 28px;
    height: 28px;
}

.floating-card .card-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.floating-card strong {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.floating-card p {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
}

.floating-card.card-1 {
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 25%;
    right: 5%;
    animation-delay: -2s;
}

.floating-card.card-3 {
    top: 45%;
    left: -8%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========== SERVICES PREVIEW SECTION ========== */
.services-preview {
    padding: 5rem 0;
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.kicker {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--primary-light);
}

/* ========== ARCHITECTURE SECTION ========== */
.architecture-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.bento {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.architecture-card,
.industries-quick {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.architecture-card .kicker,
.industries-quick .kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.architecture-card h3,
.industries-quick h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.architecture-card p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.tech-badge:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Industries Quick */
.industry-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.industry-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.industry-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.industry-icon svg {
    width: 28px;
    height: 28px;
}

.industry-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.industry-item p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-text:hover {
    gap: 0.75rem;
    color: var(--primary-light);
}

/* ========== WHY SECTION ========== */
.why-section {
    padding: 5rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
}

.benefit-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section .badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1.25rem;
}

.cta-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-section .cta {
    background: white;
    color: var(--primary-blue);
}

.cta-section .cta:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.cta-section .cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .cta.secondary:hover {
    background: white;
    color: var(--primary-blue);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
}

.trust-item strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-display);
}

.trust-item span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== ANIMATIONS ========== */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up:nth-child(2) {
    animation-delay: 0.1s;
}

.animate-fade-in-up:nth-child(3) {
    animation-delay: 0.2s;
}

.animate-fade-in-up:nth-child(4) {
    animation-delay: 0.3s;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .hero-visual .illustration {
        max-width: 400px;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .services-preview,
    .architecture-section,
    .why-section,
    .cta-section {
        padding: 3rem 0;
    }

    .section-header-center {
        margin-bottom: 2.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cta-trust {
        gap: 2rem;
    }

    .architecture-card,
    .industries-quick {
        padding: 2rem;
    }

    .service-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .actions {
        flex-direction: column;
        width: 100%;
    }

    .actions .cta {
        width: 100%;
        justify-content: center;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .cta {
        width: 100%;
        justify-content: center;
    }

    .cta-trust {
        flex-direction: column;
        gap: 1.5rem;
    }
}
/* ========== HERO FEATURE CARDS ========== */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-blue);
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-family: var(--font-display);
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

/* ========== HERO VISUAL ========== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual .illustration {
    max-width: 480px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .actions {
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual .illustration {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-features {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-text strong {
        font-size: 0.9rem;
    }

    .feature-text p {
        font-size: 0.8rem;
    }

    .hero-visual .illustration {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        margin-top: 2rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .hero-visual .illustration {
        max-width: 280px;
    }
}

/* ========== HERO FEATURE CARDS (IMPROVED) ========== */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: white;
    transform: scale(1.05);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.3;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ========== HERO VISUAL (IMPROVED) ========== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-visual .illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.12));
    animation: illustrationFloat 6s ease-in-out infinite;
}

@keyframes illustrationFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* ========== RESPONSIVE ADJUSTMENTS (IMPROVED) ========== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .actions {
        justify-content: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.25rem;
    }

    .feature-card {
        flex-direction: row;
        align-items: center;
        padding: 1.75rem;
    }

    .hero-visual {
        padding: 1rem;
    }

    .hero-visual .illustration {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .hero-features {
        gap: 1rem;
        max-width: 100%;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-text strong {
        font-size: 1rem;
    }

    .feature-text p {
        font-size: 0.875rem;
    }

    .hero-visual .illustration {
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        margin-top: 2rem;
    }

    .feature-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.25rem;
        gap: 1rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .hero-visual {
        padding: 0.5rem;
    }

    .hero-visual .illustration {
        max-width: 300px;
    }
}

