/* ================================
   HOME PAGE SPECIFIC STYLES
   home.css - hanya untuk Index.html
================================ */

/* ---- Hero Section (Dark Premium) ---- */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, #060d1a 0%, #0b1e35 40%, #0c2a3a 70%, #091520 100%);
    overflow: hidden;
}

/* Dot-grid texture overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(55,173,169,0.18) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* ---- Aurora / Blob Backgrounds ---- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    z-index: 0;
    pointer-events: none;
}
.blob-1 {
    width: 750px; height: 750px;
    background: radial-gradient(circle, rgba(55,173,169,0.35) 0%, rgba(26,59,94,0.15) 60%, transparent 100%);
    top: -200px; right: -200px;
    animation: blob-drift 14s ease-in-out infinite;
}
.blob-2 {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(26,59,94,0.55) 0%, rgba(55,173,169,0.1) 60%, transparent 100%);
    bottom: -150px; left: -150px;
    animation: blob-drift 18s ease-in-out infinite reverse;
}
.blob-3 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(55,173,169,0.22) 0%, transparent 70%);
    top: 35%; left: 35%;
    animation: blob-drift 22s ease-in-out infinite;
}
@keyframes blob-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-25px, 20px) scale(0.92); }
}

/* ---- Hero Container ---- */
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ---- Override btn-outline for dark hero ---- */
.hero-section .btn-outline {
    color: #e0f4f4;
    border-color: rgba(55,173,169,0.6);
    background: rgba(55,173,169,0.08);
    backdrop-filter: blur(6px);
}
.hero-section .btn-outline:hover {
    background: rgba(55,173,169,0.2);
    border-color: #37ada9;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---- Hero Tag ---- */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(55, 173, 169, 0.15);
    border: 1px solid rgba(55, 173, 169, 0.4);
    color: #7ee8e4;
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(55,173,169,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tag-dot {
    width: 8px; height: 8px;
    background: #37ada9;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px #37ada9;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
}

/* ---- Hero Text ---- */
.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -2px;
    color: #e8f4f8;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 40px rgba(55,173,169,0.15);
}
.text-highlight {
    background: linear-gradient(135deg, #37ada9, #5dd5d1, #2ba19d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(55,173,169,0.4));
}
.hero-content > p {
    font-size: 1.1rem;
    color: rgba(200,220,235,0.75);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.85;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ---- Hero Stats ---- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(55,173,169,0.2);
    padding-top: 2rem;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(55,173,169,0.25);
}
.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #5dd5d1;
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(55,173,169,0.5);
}
.stat-item p {
    font-size: 0.8rem;
    color: rgba(180,210,225,0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ---- Hero Image ---- */
.hero-image {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper utama — premium glowing stage */
.image-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔮 Lingkaran utama — aurora deep glow */
.image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at 35% 35%, #1d5c78 0%, #0f3352 40%, #091e33 80%, #060d1a 100%);
    box-shadow:
        0 0 0 2px rgba(55,173,169,0.35),
        0 0 40px rgba(55,173,169,0.45),
        0 0 100px rgba(55,173,169,0.25),
        0 0 200px rgba(26,59,94,0.5);
    z-index: 0;
    animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(55,173,169,0.3),
            0 0 40px rgba(55,173,169,0.35),
            0 0 100px rgba(55,173,169,0.2),
            0 0 200px rgba(26,59,94,0.4);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(55,173,169,0.5),
            0 0 70px rgba(55,173,169,0.55),
            0 0 140px rgba(55,173,169,0.35),
            0 0 280px rgba(26,59,94,0.55);
    }
}

/* ⭕ Ring 1 — berputar lambat, solid bright */
.image-wrapper .ring-1 {
    position: absolute;
    width: 555px; height: 555px;
    border-radius: 50%;
    border: 1.5px solid rgba(55,173,169,0.4);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-ring 28s linear infinite;
    z-index: -1;
}
/* ⭕ Ring 2 — lebih besar, dashed, berlawanan */
.image-wrapper .ring-2 {
    position: absolute;
    width: 625px; height: 625px;
    border-radius: 50%;
    border: 1px dashed rgba(55,173,169,0.22);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-ring 40s linear infinite reverse;
    z-index: -1;
}
/* 🔵 Dot bercahaya di ring-1 — top */
.image-wrapper .ring-1::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    width: 12px; height: 12px;
    background: #37ada9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(55,173,169,0.25), 0 0 20px #37ada9, 0 0 40px rgba(55,173,169,0.6);
}
/* 🔵 Dot ke-2 di ring-1 — bottom */
.image-wrapper .ring-1::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    width: 8px; height: 8px;
    background: rgba(55,173,169,0.6);
    border-radius: 50%;
    transform: translate(-50%, 50%);
    box-shadow: 0 0 14px #37ada9;
}

/* 📊 Floating glass card — premium glassmorphism */
.float-card {
    position: absolute;
    background: rgba(13, 30, 55, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(55,173,169,0.35);
    border-radius: 18px;
    padding: 16px 22px;
    color: #e0f4f4;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 30px rgba(55,173,169,0.1);
    z-index: 5;
}
.float-card i {
    color: #5dd5d1;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(55,173,169,0.7));
}
.float-card .card-icon-wrap {
    width: 40px; height: 40px;
    background: rgba(55,173,169,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(55,173,169,0.3);
    flex-shrink: 0;
}
.float-card .card-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}
.float-card .card-lbl {
    font-size: 0.7rem;
    color: rgba(180,225,230,0.6);
    font-weight: 400;
    letter-spacing: 0.3px;
}

.fcard-tl {
    top: 10px; left: -70px;
    animation: float-card-1 5s ease-in-out infinite;
}
.fcard-br {
    bottom: 60px; right: -60px;
    animation: float-card-2 6.5s ease-in-out infinite;
}
.fcard-bl {
    bottom: 90px; left: -60px;
    animation: float-card-3 7.5s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}
@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
}
@keyframes float-card-3 {
    0%, 100% { transform: translateY(0) rotate(-0.5deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

/* 🖼️ Foto hero */
.hero-img {
    position: relative;
    z-index: 2;
    width: 450px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter:
        drop-shadow(0 30px 40px rgba(0,0,0,0.55))
        drop-shadow(0 0 60px rgba(55,173,169,0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
@keyframes rotate-ring {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 48px;
    border: 2px solid rgba(55,173,169,0.5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    box-shadow: 0 0 12px rgba(55,173,169,0.2);
}
.scroll-dot {
    width: 5px; height: 10px;
    background: #37ada9;
    border-radius: 10px;
    animation: scroll-bounce 2s ease-in-out infinite;
    box-shadow: 0 0 8px #37ada9;
}
@keyframes scroll-bounce {
    0% { transform: translateY(0); opacity: 1; }
    80% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ---- Clients ---- */
.clients-section {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}
.clients-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 2rem;
}
.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}
.client-logo {
    font-size: 1.15rem;
    color: #b0bec5;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    cursor: pointer;
}
.client-logo:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* ---- Why Us ---- */
.whyus-section {
    padding: 100px 0;
    background: var(--bg-light);
}
.whyus-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}
.whyus-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.whyus-header p { color: var(--text-muted); font-size: 1.05rem; }
.whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.whyus-card {
    background: var(--white);
    border: 1px solid #e8edf3;
    border-radius: 20px;
    padding: 36px 28px;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}
.whyus-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s;
}
.whyus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(26, 59, 94, 0.1);
    border-color: transparent;
}
.whyus-card:hover::before { transform: scaleX(1); }
.whyus-icon {
    width: 56px; height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.whyus-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.whyus-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ---- Section Tags ---- */
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.tag-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* ---- CTA ---- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-bg-art {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(55,173,169,0.25) 0%, transparent 70%);
    top: -250px; right: -200px;
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    color: #fff;
}
.cta-content h2 { font-size: 2.75rem; color: #fff; margin-bottom: 1rem; }
.cta-content p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-right {
    transform: translateX(30px);
}
.reveal-right.visible {
    transform: translateX(0);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .whyus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content > p { margin: 0 auto 2.5rem; }
    .hero-btns, .hero-stats { justify-content: center; }
    .hero-tag { margin: 0 auto 1.5rem; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .whyus-grid { grid-template-columns: 1fr; }
    .stat-divider { display: none; }
    .scroll-indicator { display: none; }
    
    .hero-image { height: 400px; }
    .image-wrapper { width: 320px; height: 320px; }
    .image-wrapper .ring-1 { width: 360px; height: 360px; }
    .image-wrapper .ring-2 { width: 400px; height: 400px; }
    .hero-img { width: 300px; }
    .fcard-tl, .fcard-br, .fcard-bl { transform: scale(0.75); }
    .fcard-tl { top: -20px; left: -40px; }
    .fcard-br { bottom: 20px; right: -40px; }
    .fcard-bl { bottom: 40px; left: -40px; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .image-wrapper { width: 250px; height: 250px; }
    .image-wrapper .ring-1 { width: 280px; height: 280px; }
    .image-wrapper .ring-2 { width: 310px; height: 310px; }
    .hero-img { width: 230px; }
    .fcard-tl, .fcard-br, .fcard-bl { display: none; }
    .hero-btns { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-btns .btn { width: 100%; justify-content: center; margin: 0; }
    .cta-content h2 { font-size: 2rem; }
    .blob-1, .blob-2, .blob-3 { transform: scale(0.5); }
}
