/* =========================================
   1. GLOBAL & RESET
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVIGATION
========================================= */
header {
    padding: 25px 0;
    background: #fff;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 600;
    color: #000;
}

.main-nav {
    background: #474949;
    padding: 8px 35px;
    border-radius: 50px;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #AAAEAF;
    font-size: 15px;
    transition: 0.3s;
}

.main-nav a.active {
    color: #BCF31D; 
}

.btn-contact {
    background: #474949;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
}

/* =========================================
   3. HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    background: url('../asset/ralivide/military-officer-using-tablet-device-deploy-electronic-warfare-tools-disrupt-enemy\ 1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); 
}

.hero-content {
    position: relative;
    z-index: 2;
}

.yellow-bar, .small-bar-yellow {
    width: 65px;
    height: 8px;
    background: #FAD191;
    border-radius: 9px;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 30px;
}

.hero-title .highlight {
    color: #F7DA85;
}

.hero-description {
    font-size: 20px;
    color: #CEC9C9;
    max-width: 600px;
    margin-bottom: 40px;
}

.btn-get-started {
    background: #FAD191;
    color: #1C0770;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* Partner Logos */
.partner-bottom-right {
    position: absolute;
    bottom: 0; 
    right: 0; 
    z-index: 10;
    width: auto;
    max-width: 60%; 
}

.partner-glass-container {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-top-left-radius: 60px; 
    padding: 25px 50px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: -10px -10px 30px rgba(0, 0, 0, 0.1);
}

.partner-logos-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.partner-logos-row img {
    height: 45px; 
    width: auto;
    object-fit: contain;
    filter: brightness(1.1); 
}

/* =========================================
   4. URGENCY SECTION
========================================= */
.urgency-section {
    padding: 120px 0;
    background-color: #fff;
    overflow: hidden;
}

.urgency-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.urgency-visuals {
    flex: 1;
    position: relative;
    height: 600px; 
}

.urgency-visuals .box {
    position: absolute;
    border-radius: 20px;
}

.box-grey-1 { width: 334px; height: 270px; left: 0; top: 0; background: #D9D9D9; z-index: 1; }
.box-brown { width: 334px; height: 270px; left: 160px; top: 110px; background: #C5B6B6; z-index: 2; }
.box-grey-2 { width: 334px; height: 270px; left: 60px; top: 290px; background: #D9D9D9; z-index: 3; }

.img-front {
    position: absolute;
    width: 228px;
    height: 303px;
    left: 160px;
    top: 180px;
    z-index: 5;
}

.img-back {
    position: absolute;
    width: 165px;
    height: 293px;
    left: 80px;
    top: 0;
    z-index: 4;
}

.urgency-text { flex: 1.2; }

.urgency-text .tagline {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.urgency-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #222831;
    font-weight: 700;
    margin-bottom: 30px;
}

.urgency-title .highlight-italic {
    color: #FAD191;
    font-style: italic;
}

.urgency-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #676C6D;
    margin-bottom: 20px;
}

.text-dark-bold-italic {
    color: #585D60;
    font-weight: 700;
    font-style: italic;
}

/* =========================================
   5. INNOVATION SECTION
========================================= */
.innovation-section {
    background: linear-gradient(140deg, #948979 0%, #222831 50%, #948979 100%);
    padding: 100px 0;
    color: white;
}

.innovation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.innovation-main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
}

.label-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFDDF;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #DFD0B8;
    height: 320px;
    border-radius: 31px;
    padding: 30px;
    position: relative; 
    transition: transform 0.3s ease;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 120px; 
    height: 120px;
    bottom: 25px;
    right: 25px;
    border-radius: 20px; 
    transform: rotate(-15deg);
    z-index: 1;
}

.feature-card:hover { transform: translateY(-10px); }

.card-accent {
    width: 80%;
    height: 8px;
    background: #FAD191;
    border-radius: 9px;
    margin-bottom: 20px;
}

.card-title {
    color: #222831;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    z-index: 3;
    position: relative;
    max-width: 90%;
}

.card-img-icon {
    position: absolute;
    bottom: 45px;
    right: 45px;  
    width: 80px;  
    height: 80px;
    object-fit: contain;
    z-index: 2;
    transition: 0.3s ease;
}

.icon-rotate { transform: rotate(-15deg); }

/* =========================================
   6. SPECIFICATION SECTION
========================================= */
.ralivide-spec {
    padding: 100px 0;
    background: #fff;
}

.spec-title{ margin-bottom: 30px; }

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden; 
}

/* Timeline */
.timeline-container {
    position: relative;
    padding-left: 0; 
}

.timeline-line {
    position: absolute;
    left: 37.5px; 
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: #D9D9D9;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 30px; 
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    background: #FAD191;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
}

.timeline-content {
    flex: 1; 
    padding-top: 10px; 
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 16px;
    color: #585D60;
    line-height: 1.5;
    margin: 0;
}

/* Visuals */
.spec-visual {
    display: flex;
    justify-content: flex-end; 
}

.device-container {
    position: relative;
    margin-right: -100px; 
    width: 110%; 
}

.device-img {
    width: 60%;
    height: auto;
    border-radius: 20px;
    box-shadow: 14px 28px 30px rgba(0, 0, 0, 0.25);
}

/* =========================================
   7. SOLUTION SUMMARY
========================================= */
.solution-summary { padding-bottom: 120px; background: #fff; }

.summary-header {
    background: linear-gradient(47deg, #948979 0%, #222831 62%);
    padding: 80px 0 250px;
    color: white;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.summary-visual {
    display: flex;
    justify-content: center;
    margin-top: -200px;
    margin-bottom: 60px;
}

.main-device-img {
    width: 100%;
    max-width: 1100px;
    border-radius: 42px;
}

.summary-intro {
    font-size: 1.5rem;
    color: #676C6D;
    line-height: 1.6;
    margin-bottom: 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Components */
.component-timeline {
    position: relative;
    padding-left: 80px;
    margin-bottom: 100px;
}

.timeline-v-line {
    position: absolute;
    height: 500px;
    left: 97px; top: 0; bottom: 0;
    width: 3px; background: #D9D9D9;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.comp-dot {
    width: 38px; height: 38px;
    background: #FAD191;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 2;
}

.comp-text h3 { font-size: 1.5rem; color: #000; margin-bottom: 5px; }
.comp-text p { color: #585D60; font-size: 1.1rem; }

/* Table Specs */
.section-title-dark { font-size: 2.5rem; color: #222831; margin-bottom: 40px; }
.section-title-dark.italic { font-style: italic; font-weight: 700; }

.spec-pub-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.spec-table-container {
    background: #222831;
    border-radius: 40px;
    overflow: hidden;
    color: #D9D9D9;
}

.table-header {
    background: #FAD191;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    color: #222831;
    font-size: 1.8rem;
    font-weight: 600;
}

.table-body { padding: 40px 50px; }

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(217, 217, 217, 0.1);
    font-size: 1.2rem;
}

/* Pub Lists */
.pub-container h3 { font-size: 1.8rem; margin-bottom: 40px; color: #000; }
.pub-timeline { position: relative; padding-left: 0px; }
.pub-line { position: absolute; left: 18px; top: 12px; bottom: 0; width: 3px; background: #D9D9D9; }
.pub-item { display: flex; align-items: center; gap: 25px; margin-bottom: 40px; position: relative; }
.pub-dot { width: 38px; height: 38px; background: #FAD191; border-radius: 50%; flex-shrink: 0; z-index: 2; }
.pub-item p { font-size: 1.2rem; color: #585D60; font-weight: 500; }

/* =========================================
   8. DETECTION RESULT
========================================= */
.result-header-bg {
    background: linear-gradient(47deg, #948979 0%, #222831 62%);
    padding: 80px 0 100px;
    color: white;
}

.result-main-title { font-size: 4rem; font-weight: 500; }
.detection-body { margin-top: -50px; padding-bottom: 100px; }

.detection-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    position: relative;
}

.detection-row.reverse { grid-template-columns: 1fr 1fr; }

.status-title {
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 700;
    color: #222831;
    margin-bottom: 20px;
}

.graph-img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.field-img { margin-top: 100px; width: 70%; border-radius: 50px; z-index: 2; position: relative; }

.arrow-container { position: absolute; z-index: 3; }
.arrow-top { top: 10%; right: 40%; }
.arrow-bottom { bottom: 20%; left: 40%; }

.yellow-arrow {
    width: 100px;
    height: 100px;
    background: #FCB215;
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.rotate-down { transform: rotate(-190deg); }
.rotate-up { transform: rotate(-29deg); }

.detection-footer {
    text-align: center;
    font-size: 1.5rem;
    color: #676C6D;
    max-width: 800px;
    margin: 80px auto 0;
    line-height: 1.4;
}

/* =========================================
   9. SHOWCASE
========================================= */
.showcase-section {
    background: linear-gradient(180deg, #393E46 0%, #948979 100%);
    padding: 100px 0;
    color: white;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.showcase-label { font-size: 25px; font-weight: 700; }
.showcase-title { font-size: 52px; line-height: 1.1; margin: 30px 0; }
.showcase-text { font-size: 20px; color: #D9D9D9; line-height: 1.5; margin-bottom: 50px; }

.btn-next-large {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 218px; 
    height: 57px;
    background: linear-gradient(90deg, #FCB215 0%, #F1FF5E 100%);
    border-radius: 10px;
    padding: 0 20px; 
    text-decoration: none;
    color: #1C0770;
    font-weight: 500;
    font-size: 32px;
    box-shadow: 3px 13px 4px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease; 
}

.video-wrapper { position: relative; border-radius: 69px; overflow: hidden; }

.play-button-overlay {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    background: linear-gradient(180deg, #FCB215 0%, #F1FF5E 100%);
    border-radius: 100px;
    display: flex; align-items: center; justify-content: center;
}

.play-icon {
    width: 0; height: 0; 
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid #ffffff;
}

/* =========================================
   10. FOOTER
========================================= */
.main-footer {
    background: linear-gradient(180deg, #918677 0%, #000000 100%);
    padding: 100px 0 50px;
    color: #FFFDDF;
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
}

.footer-logo { font-size: 80px; font-weight: 600; color: white; margin-bottom: 20px; }
.footer-addr { font-size: 24px; max-width: 497px; }
.footer-nav h3, .footer-map h3 { font-size: 32px; font-weight: 700; margin-bottom: 30px; }
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 15px; }
.footer-nav ul li a { color: #FFFDDF; text-decoration: none; font-size: 24px; }
.map-frame img { border-radius: 20px; width: 100%; }
.copyright-bar { text-align: center; font-size: 24px; margin-top: 100px; opacity: 0.8; }

/* =========================================
   11. CONSOLIDATED MEDIA QUERIES
========================================= */

/* --- Layar Tablet / Laptop Kecil (Max: 1024px) --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .main-nav { display: none; } 
    .showcase-grid, .footer-layout { grid-template-columns: 1fr; text-align: center; }
    .btn-next-large, .footer-addr { margin: 0 auto; }
}

/* --- Layar Mobile Landscape & Tablet Kecil (Max: 992px) --- */
@media (max-width: 992px) {
    .innovation-header, .urgency-container { flex-direction: column; text-align: center; gap: 30px; }
    .small-bar-yellow { margin: 0 auto 10px; }
    
    .urgency-visuals { width: 100%; max-width: 500px; height: 550px; margin: 0 auto; transform: scale(0.8); }
    
    .spec-grid { grid-template-columns: 1fr; }
    .device-container { margin-right: 0; width: 100%; margin-top: 50px; }
    
    .spec-pub-grid { grid-template-columns: 1fr; }
    .summary-header { padding-bottom: 150px; }
    .table-header { font-size: 1.4rem; padding: 20px; }
    
    .detection-row, .detection-row.reverse { grid-template-columns: 1fr; text-align: center; }
    .arrow-container { display: none; }
    .result-main-title { font-size: 2.5rem; }
}

/* --- Layar Mobile Lanjutan (Max: 768px) --- */
@media (max-width: 768px) {
    .partner-bottom-right { position: relative; width: 100%; max-width: 100%; }
    .partner-glass-container { border-radius: 0; padding: 20px; }
    .partner-logos-row { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .partner-logos-row img { height: 30px; }
}

/* --- Layar Mobile Portrait (Max: 600px) --- */
@media (max-width: 600px) {
    .hero { height: auto; padding: 100px 0; }
    .hero-title { font-size: 2rem; }
    .hero-tagline { font-size: 18px; }
    
    .urgency-visuals { display: none; }
    .urgency-title { font-size: 1.8rem; }
    
    .timeline-dot { width: 50px; height: 50px; font-size: 20px; left: -40px; }
    .timeline-line { left: 25px; }
    .device-marker { width: 30px; height: 30px; font-size: 14px; }
}