/* Premium CSS for WattzPay Landing Page */

:root {
  /* WhatsApp Color Palette */
  --whatsapp-green: #25D366;
  --whatsapp-light-green: #DCF8C6;
  --whatsapp-teal: #128C7E;
  --whatsapp-blue: #34B7F1;
  --whatsapp-dark: #075E54;
  
  /* Additional Colors */
  --white: #FFFFFF;
  --light-gray: #F9F9F9;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --black: #212121;
  
  /* Font Families */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  color: #555;
  font-size: 1.05rem;
}

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

a:hover {
  color: var(--whatsapp-green);
}

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

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
}

nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  color: var(--dark-gray);
  font-weight: 500;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

nav ul li a:hover {
  color: var(--whatsapp-green);
}

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

nav ul li a:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  background-color: var(--white);
  text-align: center;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--black);
  line-height: 1.2;
  font-weight: 700;
}

.hero .subheadline {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #555;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(37, 211, 102, 0.2);
}

.btn-primary:hover {
  background-color: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--whatsapp-green);
  border: 1px solid var(--whatsapp-green);
}

.btn-secondary:hover {
  background-color: rgba(37, 211, 102, 0.05);
  transform: translateY(-2px);
  color: var(--whatsapp-green);
}

.hero-image {
  margin-top: 50px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.features h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.4rem;
  color: var(--black);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 350px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--whatsapp-green);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--black);
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: var(--white);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.4rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step {
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--whatsapp-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--black);
}

.step p {
  color: #666;
}

/* WhatsApp Preview Section */
.whatsapp-preview {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.whatsapp-preview h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.4rem;
}

.whatsapp-chat-preview {
  max-width: 400px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-header {
  background-color: var(--whatsapp-teal);
  color: var(--white);
  padding: 15px;
  display: flex;
  align-items: center;
}

.chat-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 15px;
}

.chat-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.chat-messages {
  padding: 20px;
  background-color: #E5DDD5;
  min-height: 300px;
}

.message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  clear: both;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message.received {
  background-color: var(--white);
  float: left;
  border-top-left-radius: 0;
}

.message.sent {
  background-color: var(--whatsapp-light-green);
  float: right;
  border-top-right-radius: 0;
}

.message p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* WhatsApp Section */
.whatsapp-section {
  padding: 100px 0;
  background-color: var(--white);
  text-align: center;
}

.whatsapp-section h2 {
  margin-bottom: 20px;
  font-size: 2.4rem;
}

.whatsapp-section > p {
  max-width: 600px;
  margin: 0 auto 40px;
}

.whatsapp-connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.qr-code {
  flex: 0 0 auto;
}

.qr-code img {
  width: 200px;
  height: 200px;
  border: 10px solid var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.whatsapp-info {
  flex: 0 0 auto;
  text-align: left;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.whatsapp-info p {
  margin-bottom: 20px;
  color: #666;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* Register Section */
.register {
  padding: 100px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.register h2 {
  margin-bottom: 20px;
  font-size: 2.4rem;
}

.register > p {
  max-width: 600px;
  margin: 0 auto 40px;
}

.registration-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--black);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-secondary);
}

.form-group input:focus {
  outline: none;
  border-color: var(--whatsapp-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-weight: 400;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-group.checkbox a {
  color: var(--whatsapp-teal);
  text-decoration: underline;
}

.form-message {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  font-weight: 500;
}

.form-message.success {
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp-green);
}

.form-message.error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #F44336;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 30px;
}

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

.footer-logo {
  flex: 0 0 100%;
  max-width: 300px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.slogan {
  color: #AAA;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

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

.link-group {
  flex: 0 0 auto;
}

.link-group h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.link-group ul {
  list-style: none;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #AAA;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.link-group ul li a:hover {
  color: var(--whatsapp-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
    gap: 15px;
  }
  
  .feature-card {
    flex: 1 1 calc(50% - 30px);
  }
  
  .whatsapp-connect {
    flex-direction: column;
  }
  
  .whatsapp-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subheadline {
    font-size: 1.1rem;
  }
  
  .features, .how-it-works, .whatsapp-preview, .whatsapp-section, .register {
    padding: 80px 0;
  }
  
  .feature-card {
    flex: 1 1 100%;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-logo {
    margin: 0 auto 40px;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  header {
    padding: 15px 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .registration-form {
    padding: 30px 20px;
  }
}

/* Animation Styles */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--medium-gray);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #BDBDBD;
}
