/* ===== SPA HOME — Redesigned Styles ===== */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 0;
}
.hero-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}
.hero-slider .swiper-wrapper { height: 100%; }
.hero-slide {
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-shape-1 {
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hero-shape-2 {
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251,191,36,0.06) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 15px 120px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.2);
    letter-spacing: -2px;
}
.hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 600px;
    font-weight: 400;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 100px;
    display: block;
}
@media (max-width: 768px) {
    .hero-section { min-height: 90vh; }
    .hero-slide { min-height: 90vh; align-items: center; }
    .hero-content { padding: 60px 15px 100px; max-width: 100%; }
    .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); letter-spacing: -1px; }
    .hero-desc { font-size: 1rem; margin-bottom: 24px; }
    .hero-buttons { flex-direction: column; gap: 12px; align-items: flex-start; }
    .hero-buttons .btn-primary-rounded,
    .hero-buttons .btn-outline-rounded { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 480px) {
    .hero-content { padding: 60px 15px 50px; }
    .hero-title { margin-bottom: 16px; }
    .hero-desc { margin-bottom: 20px; }
    .hero-buttons .btn-primary-rounded,
    .hero-buttons .btn-outline-rounded { max-width: 100%; }
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 100px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}
.welcome-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20,184,166,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.welcome-image-wrap {
    position: relative;
    padding-bottom: 30px;
}
.welcome-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--gradient-teal);
}
.welcome-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.welcome-badge {
    position: absolute;
    bottom: 0;
    right: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20,184,166,0.08);
}
.welcome-badge > i {
    font-size: 36px;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(249,115,98,0.05));
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.welcome-badge strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}
.welcome-badge span {
    font-size: 0.85rem;
    color: var(--dark-soft);
    font-weight: 600;
}
.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-soft);
    margin-bottom: 28px;
}
.welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}
.welcome-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}
.welcome-feature i {
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .welcome-features { grid-template-columns: 1fr; }
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 80px 0;
    background: var(--white);
}
.stat-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    transition: var(--transition-bounce);
    border: 1px solid transparent;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(20,184,166,0.1);
    background: var(--white);
}
.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin: 0 auto 20px;
    transition: var(--transition-bounce);
}
.stat-card:hover .stat-icon { transform: scale(1.1) rotate(-6deg); }
.stat-icon-1 { background: var(--gradient-primary); box-shadow: 0 8px 24px rgba(20,184,166,0.3); }
.stat-icon-2 { background: var(--gradient-warm); box-shadow: 0 8px 24px rgba(251,191,36,0.3); }
.stat-icon-3 { background: var(--gradient-coral); box-shadow: 0 8px 24px rgba(249,115,98,0.3); }
.stat-icon-4 { background: var(--gradient-cool); box-shadow: 0 8px 24px rgba(56,189,248,0.3); }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--dark-soft);
    font-weight: 600;
    margin: 0;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}
.services-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20,184,166,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 100px 0;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}
.products-section::before {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249,115,98,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}
.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    transition: var(--transition-bounce);
    border: 1px solid transparent;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(20,184,166,0.1);
    background: var(--white);
}
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 24px;
    transition: var(--transition-bounce);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-8deg);
}
.feature-icon-1 { background: var(--gradient-primary); box-shadow: 0 8px 28px rgba(20,184,166,0.3); }
.feature-icon-2 { background: var(--gradient-warm); box-shadow: 0 8px 28px rgba(251,191,36,0.3); }
.feature-icon-3 { background: var(--gradient-coral); box-shadow: 0 8px 28px rgba(249,115,98,0.3); }
.feature-icon-4 { background: var(--gradient-cool); box-shadow: 0 8px 28px rgba(56,189,248,0.3); }
.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--dark-soft);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-soft);
}
.cta-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(251,191,36,0.08);
    border-radius: 50%;
}
.cta-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.cta-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.cta-box .btn-white-rounded {
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .welcome-section, .stats-section, .services-section,
    .products-section, .features-section, .cta-section { padding: 60px 0; }
    .welcome-badge { right: 10px; padding: 14px 20px; }
    .welcome-badge strong { font-size: 1.4rem; }
}
@media (max-width: 576px) {
    .stat-card { padding: 28px 16px; }
    .stat-number { font-size: 2rem; }
    .stat-icon { width: 56px; height: 56px; font-size: 24px; }
    .cta-box { padding: 40px 24px; }
    .feature-card { padding: 28px 16px; }
    .feature-icon { width: 64px; height: 64px; font-size: 28px; }
}
