/* 
  Gaya untuk nudeifyMY.pw
  Laman web dioptimumkan untuk pengguna Malaysia dengan tema biru-merah-kuning
  Kemaskini terakhir: 2025-08-21
*/

:root {
  /* Warna bendera Malaysia */
  --primary-color: #000a8c; /* Biru gelap Malaysia */
  --secondary-color: #cc0000; /* Merah Malaysia */
  --accent-color: #ffcc00; /* Kuning Malaysia */
  --text-color: #333333;
  --light-color: #ffffff;
  --dark-color: #121212;
  --grey-color: #f5f5f5;
  --grey-dark: #666666;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #0033cc);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #ff3333);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.15);
  --radius-small: 5px;
  --radius-medium: 10px;
  --radius-large: 20px;
}

/* Reset dan gaya asas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  line-height: 1.3;
  font-weight: 700;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--grey-dark);
}

/* Butang */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-medium);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-color);
  border: none;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* Header dan navigasi */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  margin-right: 10px;
}

.logo span {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.logo:hover span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  position: relative;
  font-weight: 500;
  color: var(--text-color);
  padding: 5px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 5px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--light-color) 30%, #e6f0ff);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.warning {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: rgba(204, 0, 0, 0.1);
  border-radius: var(--radius-small);
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.warning svg {
  margin-right: 8px;
}

/* Features */
.features {
  background-color: var(--light-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  padding: 30px;
  background-color: var(--light-color);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(0, 10, 140, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-box .icon svg {
  color: var(--primary-color);
}

.feature-box h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* How it works */
.how-it-works {
  background-color: var(--grey-color);
}

.steps {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.step {
  flex: 1;
  text-align: center;
  padding: 30px;
  background-color: var(--light-color);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--light-color);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Benefits */
.benefits {
  background: linear-gradient(135deg, var(--primary-color), #003399);
  color: var(--light-color);
}

.benefits-content h2 {
  color: var(--light-color);
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.benefits-list svg {
  color: var(--accent-color);
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 5px;
}

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(to right, rgba(0, 10, 140, 0.05), rgba(204, 0, 0, 0.05));
  padding: 100px 0;
}

.cta h2 {
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer {
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--grey-dark);
}

/* FAQ */
.faq {
  background-color: var(--light-color);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: var(--light-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.accordion-header .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
  background-color: rgba(0, 10, 140, 0.05);
}

.accordion-item.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--grey-color);
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-logo {
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-logo p {
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h4 {
  color: var(--light-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--grey-color);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: var(--grey-dark);
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Media Queries */
@media screen and (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    margin-top: 30px;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    background-color: var(--light-color);
    padding: 40px 0;
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 0 0 20px;
    text-align: center;
  }
  
  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .buttons {
    justify-content: center;
  }
  
  .feature-grid {
    gap: 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .feature-box {
    padding: 20px;
  }
  
  .step {
    padding: 20px;
  }
}
