/* =================================================================
   APLICATII-WEB.CSS — ECOSOFT WordPress Theme
   ================================================================= */

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */

#aw-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2e3b 50%, #0d1e2b 100%);
    position: relative;
    overflow: hidden;
}

#aw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232193b0' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.aw-hero-overlay {
    padding: 160px 0 90px;
    position: relative;
    z-index: 1;
}

.aw-hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.aw-hero-left {
    flex: 0 0 54%;
}

.aw-hero-badge {
    display: inline-block;
    background: rgba(33,147,176,0.2);
    border: 1px solid rgba(33,147,176,0.4);
    color: #6dd5ed;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.aw-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.15;
}

.aw-hero-lead {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin: 0 0 32px;
    max-width: 580px;
}

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

.aw-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.aw-btn-white {
    background: #fff;
    color: #2193b0;
}

.aw-btn-white:hover {
    background: #2193b0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33,147,176,0.4);
}

.aw-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.aw-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Hero graphic */
.aw-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.aw-hero-graphic {
    position: relative;
    width: 340px;
    height: 300px;
}

.aw-hero-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.aw-hero-circle--1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #2193b0, transparent 70%);
    top: 10px;
    left: 30px;
    animation: aw-pulse 5s ease-in-out infinite;
}

.aw-hero-circle--2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #6dd5ed, transparent 70%);
    bottom: 0;
    right: 0;
    animation: aw-pulse 5s ease-in-out infinite 1.5s;
    opacity: 0.18;
}

.aw-hero-circle--3 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #fff, transparent 70%);
    top: 40px;
    right: 40px;
    animation: aw-pulse 5s ease-in-out infinite 3s;
    opacity: 0.08;
}

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

.aw-code-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(33,147,176,0.3);
    border-radius: 12px;
    padding: 24px 28px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.9;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.aw-code-line {
    display: block;
    color: rgba(255,255,255,0.6);
}

.aw-code-block .kw  { color: #6dd5ed; font-style: normal; }
.aw-code-block .fn  { color: #f9dd94; font-style: normal; }
.aw-code-block .str { color: #a8e6a3; font-style: normal; }
.aw-code-block .cm  { color: rgba(255,255,255,0.35); font-style: normal; }
.aw-indent { padding-left: 24px; }

/* ----------------------------------------------------------------
   REVEAL ANIMATION
   ---------------------------------------------------------------- */

.aw-reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--aw-delay, 0s);
}

.aw-reveal[data-direction="left"]  { transform: translateX(-60px); }
.aw-reveal[data-direction="right"] { transform: translateX(60px); }
.aw-reveal[data-direction="up"]    { transform: translateY(40px); }

.aw-reveal.aw-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ----------------------------------------------------------------
   SERVICII
   ---------------------------------------------------------------- */

#aw-servicii {
    background: #f8f9fb;
}

.aw-service-row {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 520px;
}

.aw-service-row--reverse {
    flex-direction: row-reverse;
}

/* alternare fundal */
.aw-service-row:nth-child(odd)  { background: #f8f9fb; }
.aw-service-row:nth-child(even) { background: #fff; }

.aw-service-img-wrap {
    flex: 0 0 48%;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}

.aw-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.aw-service-row:hover .aw-service-img {
    transform: scale(1.04);
}

.aw-service-img-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33,147,176,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.aw-service-content {
    flex: 1;
    padding: 64px 72px;
}

.aw-service-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    color: rgba(33,147,176,0.12);
    line-height: 1;
    margin-bottom: -8px;
}

.aw-service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    color: #2c3e50;
    margin: 0 0 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 18px;
}

.aw-service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
    border-radius: 2px;
}

.aw-service-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.97rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px;
}

.aw-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2193b0;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.aw-service-link:hover {
    gap: 14px;
    color: #1a7a96;
}

/* Feature list */
.aw-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 16px 0 20px;
}

.aw-feature-item {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aw-feature-item .fa {
    color: #2193b0;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Tech pills */
.aw-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.aw-tech-pill {
    background: rgba(33,147,176,0.08);
    border: 1px solid rgba(33,147,176,0.25);
    color: #1a7a96;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
}

/* ----------------------------------------------------------------
   PROCES — cum lucrăm
   ---------------------------------------------------------------- */

#aw-proces {
    background: #2c3e50;
    padding: 100px 0;
}

#aw-proces .tm-section-title {
    color: #fff;
}

#aw-proces .tm-section-subtitle {
    color: rgba(255,255,255,0.6);
}

#aw-proces .tm-section-title::after {
    background: linear-gradient(90deg, #2193b0, #6dd5ed);
    margin: 14px auto 0;
}

.aw-section-intro {
    text-align: center;
    margin-bottom: 64px;
}

.aw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.aw-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.aw-step-icon {
    width: 72px;
    height: 72px;
    background: rgba(33,147,176,0.15);
    border: 2px solid rgba(33,147,176,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #6dd5ed;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.aw-step:hover .aw-step-icon {
    background: rgba(33,147,176,0.3);
    border-color: #6dd5ed;
}

.aw-step-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #2193b0;
    margin-bottom: 8px;
}

.aw-step-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0 0 10px;
}

.aw-step-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0;
}

.aw-step-arrow {
    color: rgba(33,147,176,0.4);
    font-size: 1.2rem;
    padding: 0 4px;
    margin-top: 28px;
}

/* ----------------------------------------------------------------
   CTA
   ---------------------------------------------------------------- */

#aw-cta {
    background: linear-gradient(135deg, #2193b0 0%, #1a7a96 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

#aw-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50v-10h-4v10h-10v4h10v10h4v-10h10v-4H50zM10 10V0H6v10H-4v4h10v10h4V14h10v-4H10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.aw-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.aw-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin: 0 0 8px;
}

.aw-cta-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.aw-cta-btn {
    flex-shrink: 0;
    background: #fff;
    color: #2193b0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.aw-cta-btn:hover {
    background: #2c3e50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 1024px) {
    .aw-service-content {
        padding: 48px 48px;
    }
    .aw-steps {
        flex-wrap: wrap;
        gap: 32px;
    }
    .aw-step-arrow {
        display: none;
    }
    .aw-step {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .aw-hero-inner {
        flex-direction: column;
        gap: 40px;
    }
    .aw-hero-left {
        flex: none;
        width: 100%;
    }
    .aw-hero-graphic {
        width: 260px;
        height: 220px;
    }
    .aw-service-row,
    .aw-service-row--reverse {
        flex-direction: column;
    }
    .aw-service-img-wrap {
        flex: none;
        width: 100%;
        height: 260px;
    }
    .aw-service-content {
        padding: 40px 28px;
    }
    .aw-feature-list {
        grid-template-columns: 1fr;
    }
    .aw-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .aw-hero-btns {
        flex-direction: column;
    }
    .aw-btn {
        text-align: center;
    }
    .aw-steps {
        justify-content: flex-start;
    }
    .aw-step {
        max-width: 100%;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 0;
    }
    .aw-step-icon {
        margin: 0;
        flex-shrink: 0;
    }
}
