*,
*::before,
*::after {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
margin: 0;
padding: 0;
background:
  linear-gradient(
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  ),
  url('myfxlabsbg.webp');

background-size: cover;
background-position: center center;
background-repeat: no-repeat;
height: 100vh;
background-attachment: fixed;

color: #e0e0e0;
font-family: Tahoma, sans-serif;
-webkit-text-size-adjust: 100%;
}

.fa, .fa-solid, .fa-regular {
  font-family: "Font Awesome 7 Free" !important;
}

.fa-brands {
  font-family: "Font Awesome 7 Brands" !important;
}

a {
text-decoration: none;
color: inherit;
}

/* Hero */
header {
position: relative;
text-align: center;
padding: 0 120px 10px;
color: #fff;
}

header::after {
content: "";
position: absolute;
inset: 0;
}

header .content {
position: relative;
z-index: 2;
}

header h1 {
font-size: 3em;
margin-bottom: 15px;
}

header p {
font-size: 1.2em;
margin-bottom: 25px;
}

header .btn {
background: #28a745;
color: #fff;
padding: 14px 30px;
border-radius: 30px;
font-weight: bold;
transition: 0.3s;
}

header .btn:hover {
background: #218838;
}

/* Section */
section {
max-width: 1100px;
margin: auto;
padding: 70px 20px;
}

section h2 {
text-align: center;
margin-bottom: 40px;
font-size: 2.2em;
color: #00d4ff;
}

/* Features */
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}

.feature-box {
background: #1a1a1a;
padding: 25px;
border-radius: 12px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
transition: transform 0.3s;
}

.feature-box:hover {
transform: translateY(-5px);
}

.feature-box h3 {
margin-top: 0;
color: #00d4ff;
}

/* Pricing */
.pricing {
text-align: center;
}

.price-box {
background: #12121282;
border: 2px solid #00d4ff;
display: inline-block;
padding: 30px;
border-radius: 15px;
margin-top: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.price-box h3 {
margin: 0;
font-size: 2em;
color: #ffc107;
}

.price-box p {
margin: 10px 0 20px;
}

.price-box .btn {
background: #00d4ff;
color: #000;
}

.price-box .btn:hover {
background: #00a9cc;
}


/* Testimonials */
.testimonials {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}

.testimonial {
background: #1e1e1e;
padding: 20px;
border-radius: 10px;
font-style: italic;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
color: #888;
text-align: center;
padding: 30px 20px;
font-size: 0.9em;
}

/* Scroll Animation */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

.img-icon {
border: 0;
display: inline-block;
outline: none;
vertical-align: middle;
margin-bottom: 3px;
}

.img-icon-header {
border: 0;
display: inline-block;
outline: none;
vertical-align: middle;
margin-bottom: 3px;
height:48px;
width:48px;
}

.my-btn {
background: linear-gradient(120deg, #0d6efd, #6610f2);
color: #fff;
padding: 12px 25px;
border: none;
border-radius: 30px;
cursor: pointer;
font-size: 1em;
font-weight: bold;
transition: 0.3s;
}

.my-btn:hover {
background: linear-gradient(120deg, #6610f2, #0d6efd);
transform: scale(1.05);
}

.anime-right {
position: fixed;
right: 10px;
bottom: 0;
width: 120px;
height: 120px;
z-index: 1000;
}

.anime-right img {
width: 100%;
height: auto;
display: block;
cursor: pointer;
}

/* Tooltip */
.tooltip-text {
visibility: hidden;
background-color: black;
color: #fff;
text-align: center;
padding: 8px 12px;
border-radius: 6px;
position: absolute;
bottom: 100%;
right: 0;
left: auto;
transform: translateX(0);
opacity: 0;
transition: opacity 0.3s;
white-space: normal;
min-width: 180px;
font-size: 10px;
line-height: 1.4em;
}

.anime-right:hover .tooltip-text {
visibility: visible;
opacity: 1;
}

/* Overlay background */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
/* default hidden */
justify-content: center;
align-items: center;
z-index: 9999;
/* pastikan paling atas */
}

/* Popup box */
.popup {
background: #1e1e1e;
padding: 20px;
border-radius: 12px;
width: 70%;
text-align: left;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

button {
margin-top: 15px;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
background: #007bff;
color: white;
}

button:hover {
background: #0056b3;
}

.btn-row{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap; /* auto turun ke bawah di mobile */
}

.btn-row .my-btn{
  display:flex;
  align-items:center;
  gap:8px;
}