/* RESET CSS DAN VARIABEL WARNA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Warna berdasarkan logo ASLAN.NET */
    --color-brown: #3E2723;
    --color-blue: #1976D2;
    --color-green: #388E3C;
    --color-dark: #212121;
    --color-gray: #757575;
    --color-light-gray: #F5F5F5;
    --color-white: #FFFFFF;
    
    /* Gradient */
    --gradient-blue: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    --gradient-green: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    --gradient-brown: linear-gradient(135deg, #5D4037 0%, #3E2723 100%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BAGIAN NAVIGASI */
.navbar {
    background: var(--color-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo dengan segitiga warna */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

.triangle.brown {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 25px solid var(--color-brown);
}

.triangle.blue {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid var(--color-blue);
}

.triangle.green {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 20px solid var(--color-green);
}

/* Logo Image (jika menggunakan PNG) */
.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    align-items: baseline;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -1px;
}

.logo-dot {
    color: var(--color-blue);
    font-weight: 800;
    font-size: 1.8rem;
}

.logo-net {
    font-size: 0.9rem;
    color: var(--color-gray);
    font-weight: 400;
}

/* Menu Navigasi */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* BAGIAN HERO */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 600px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.hero-title span {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    display: inline-block;
    background: var(--color-light-gray);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-tagline span {
    color: var(--color-brown);
    font-weight: 600;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* WIFI ANIMATION - PERBAIKAN LENGKAP */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.wifi-animation {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Router Design */
.wifi-router {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.router-body {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Router Antennas */
.router-antenna {
    position: absolute;
    width: 4px;
    height: 40px;
    background: linear-gradient(to top, #2c3e50, #7f8c8d);
    top: -35px;
    border-radius: 2px 2px 0 0;
}

.router-antenna::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    top: -5px;
    left: -2px;
}

.antenna-left {
    left: 20px;
    transform: rotate(-10deg);
}

.antenna-right {
    right: 20px;
    transform: rotate(10deg);
}

/* Router LED Lights */
.router-lights {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    animation: blink 2s infinite;
}

.light:nth-child(1) {
    animation-delay: 0s;
}

.light:nth-child(2) {
    animation-delay: 0.5s;
    background: var(--color-blue);
}

.light:nth-child(3) {
    animation-delay: 1s;
    background: #f39c12;
}

@keyframes blink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 10px currentColor;
    }
}

/* WiFi Signals */
.wifi-signals {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -50px;
}

.wifi-signal {
    position: absolute;
    border: 3px solid var(--color-blue);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 150px 150px 0 0;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse-wave 3s infinite;
}

.signal-1 {
    width: 120px;
    height: 60px;
    bottom: 140px;
    animation-delay: 0s;
}

.signal-2 {
    width: 180px;
    height: 90px;
    bottom: 140px;
    animation-delay: 0.5s;
    opacity: 0.7;
}

.signal-3 {
    width: 240px;
    height: 120px;
    bottom: 140px;
    animation-delay: 1s;
    opacity: 0.5;
}

@keyframes pulse-wave {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1.2);
    }
}

/* BAGIAN FEATURES */
.features {
    padding: 80px 0;
    background: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.blue-bg {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

.green-bg {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.brown-bg {
    background: linear-gradient(135deg, #EFEBE9 0%, #D7CCC8 100%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* BAGIAN PRICING */
.pricing {
    padding: 80px 0;
    background: var(--color-light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-top: -30px;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--color-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.package-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.price-label {
    font-size: 1rem;
    color: var(--color-gray);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue);
}

.price-period {
    font-size: 1rem;
    color: var(--color-gray);
}

.package-speed {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-green);
}

.package-features {
    list-style: none;
    padding: 30px 0;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--color-dark);
}

.check {
    color: var(--color-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-order {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gradient-blue);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.3);
}

.btn-featured {
    background: var(--gradient-green);
}

.btn-featured:hover {
    box-shadow: 0 10px 20px rgba(56, 142, 60, 0.3);
}

/* BAGIAN COVERAGE */
.coverage {
    padding: 80px 0;
    background: var(--color-white);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.map-card {
    background: var(--gradient-blue);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.map-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.map-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.coverage-list h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.area-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--color-light-gray);
    border-radius: 15px;
    transition: all 0.3s;
}

.area-item:hover {
    background: #E3F2FD;
    transform: translateX(10px);
}

.area-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.area-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.area-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* BAGIAN CONTACT */
.contact {
    padding: 80px 0;
    background: var(--color-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    fill: white;
}

.contact-details h4 {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--color-blue);
}

.quick-contact {
    margin-top: 30px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s;
}

.btn-whatsapp-large:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Form Contact */
.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 118, 210, 0.3);
}

/* ================================
   BAGIAN FOOTER 
   ================================ */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Footer Brand Section */
.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.95rem;
    color: #bdc3c7;
    margin: 0.5rem 0 0;
}

/* Footer Social Media Section */
.footer-social {
    text-align: center;
    margin: 1rem 0;
    width: 100%;
}

.footer-social h4 {
    color: #ecf0f1;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

/* Social Icons Container */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Individual Social Icon */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Facebook Icon Styling */
.social-icon.facebook {
    background: #1877F2;
    color: white;
}

.social-icon.facebook:hover {
    background: #145dbf;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

/* Instagram Icon Styling */
.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

/* Google Play Badge Section */
.playstore-badge {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.playstore-badge a {
    display: inline-block;
    transition: transform 0.3s ease;
    max-width: 180px;
}

.playstore-badge a:hover {
    transform: scale(1.05);
}

.playstore-img {
    width: 100%;
    height: auto;
    max-height: 48px;
}

/* Footer Copyright Section */
.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: 0.3s;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* WiFi Animation Mobile */
    .wifi-animation {
        width: 280px;
        height: 280px;
    }
    
    .router-body {
        width: 100px;
        height: 60px;
    }
    
    .router-antenna {
        height: 30px;
        top: -25px;
    }
    
    .signal-1 {
        width: 100px;
        height: 50px;
    }
    
    .signal-2 {
        width: 150px;
        height: 75px;
    }
    
    .signal-3 {
        width: 200px;
        height: 100px;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Logo Mobile */
    .logo-image {
        height: 40px;
    }
    
    /* Grid Layouts Mobile */
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .coverage-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .footer-social h4 {
        font-size: 1rem;
    }
    
    .social-links {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .playstore-badge a {
        max-width: 150px;
    }
    
    .playstore-img {
        max-height: 42px;
    }
    
    .footer-copyright {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .features,
    .pricing,
    .coverage,
    .contact {
        padding: 60px 0;
    }
    
    /* Footer Extra Small */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-social h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 0.7rem;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
    }
    
    .playstore-badge a {
        max-width: 140px;
    }
    
    .playstore-img {
        max-height: 40px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

/* ================================
   ANIMASI TAMBAHAN
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid var(--color-blue);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--color-blue);
    color: white;
}

::-moz-selection {
    background: var(--color-blue);
    color: white;
}

/* Scrollbar Custom */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark);
}
