/* 
 * aiclothesremoverMY.pw - Gaya CSS
 * Reka bentuk yang unik untuk pasaran Malaysia
 * Serasi sepenuhnya dengan peranti mudah alih
 */

:root {
  --primary-color: #0063b2;    /* Biru - Warna dari bendera Malaysia */
  --secondary-color: #cc0000;  /* Merah - Warna dari bendera Malaysia */
  --accent-color: #fd7e14;     /* Oren - Warna untuk aksen */
  --yellow-color: #ffcc00;     /* Kuning - Warna dari bendera Malaysia */
  --light-color: #ffffff;      /* Putih */
  --dark-color: #222222;       /* Hitam untuk teks */
  --bg-color: #f8f9fa;         /* Warna latar belakang */
  --gradient-primary: linear-gradient(45deg, var(--primary-color), #0052a2);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #aa0000);
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--dark-color);
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

h2 {
  font-size: 2.3rem;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px 0;
}

.text-center h2:after {
  margin: 15px auto;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
  color: #555;
}

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

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

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover:before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-color);
  box-shadow: 0 4px 15px rgba(0, 99, 178, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 99, 178, 0.5);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--light-color);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.5);
  transform: translateY(-3px);
}

.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);
}

/* Header */
.header {
  background: var(--light-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

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

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

.logo-icon {
  margin-right: 8px;
}

.logo-my {
  color: var(--light-color);
  background: var(--secondary-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-left: 5px;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  list-style: none;
}

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

.nav a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

.nav a:hover {
  color: var(--primary-color);
}

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

.nav a:hover:after {
  width: 100%;
}

.nav-btn {
  background: var(--gradient-secondary);
  color: var(--light-color) !important;
  padding: 10px 20px;
  border-radius: 50px;
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.nav-btn:after {
  display: none;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M15 15h70v70H15V15z' stroke='%23cccccc' stroke-width='0.5' fill='none' /%3E%3C/svg%3E");
  background-size: cover;
  background-attachment: fixed;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 100px, var(--secondary-color) 100px, var(--secondary-color) 200px, var(--yellow-color) 200px, var(--yellow-color) 300px, var(--light-color) 300px, var(--light-color) 400px);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: var(--yellow-color);
  color: var(--dark-color);
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.05;
  z-index: 1;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--light-color);
  position: relative;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-box {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.feature-box:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
}

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

.feature-box:hover:before {
  height: 6px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.feature-title {
  margin-bottom: 15px;
  position: relative;
}

.feature-text {
  color: #666;
}

/* Process Section */
.process {
  padding: 100px 0;
  background: var(--bg-color);
  position: relative;
}

.process:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5L35 25H55L40 35L45 55L30 45L15 55L20 35L5 25H25L30 5Z' stroke='%23cccccc' stroke-width='0.5' fill='none' /%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 0;
}

.process-steps {
  position: relative;
  z-index: 1;
}

.step-row {
  display: flex;
  margin-bottom: 80px;
  position: relative;
}

.step-row:last-child {
  margin-bottom: 0;
}

.step-row:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
  z-index: 2;
}

.step-content {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  width: 45%;
  position: relative;
}

.step-content:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--light-color);
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.step-row:nth-child(odd) .step-content:before {
  right: -10px;
}

.step-row:nth-child(even) .step-content:before {
  left: -10px;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--light-color);
  overflow: hidden;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
  text-align: center;
}

.about-image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.about-content {
  flex: 1;
}

.about-tag {
  display: inline-block;
  background: rgba(0, 99, 178, 0.1);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 25px;
}

.about-list {
  margin: 30px 0;
  list-style: none;
}

.about-list li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.about-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
  font-weight: 700;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='30' stroke='%23ffffff' stroke-width='0.5' fill='none' /%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

.cta h2:after {
  background: var(--light-color);
  margin: 15px auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.cta-btn {
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 15px 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: #aa0000;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-about h3 {
  color: var(--light-color);
  margin-bottom: 25px;
  font-size: 1.6rem;
}

.footer-text {
  margin-bottom: 30px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

.footer-title {
  color: var(--light-color);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #999;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-color);
  padding-left: 5px;
}

.copyright {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .features-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .step-row {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .step-number {
    position: static;
    transform: none;
    margin-bottom: 20px;
  }
  
  .step-content {
    width: 100%;
  }
  
  .step-content:before {
    display: none;
  }
  
  .about-flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--light-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    transition: all 0.4s ease;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav li {
    margin: 15px 0;
    width: 100%;
  }
  
  .nav-btn {
    margin-top: 20px;
    display: inline-block;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-title:after,
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
}
