/*
  Bot Nulis - Modern UI
*/

/* ---------------------------------------------
  CSS Custom Properties
--------------------------------------------- */
:root {
  --primary: #6C63FF;
  --primary-dark: #5A52E0;
  --primary-light: #8B85FF;
  --accent: #FF6584;
  --accent-dark: #E8527A;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8B85FF 50%, #a78bfa 100%);
  --gradient-accent: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
  --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

/* ---------------------------------------------
  Reset & Base
--------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: var(--bg);
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
}

a {
  text-decoration: none !important;
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

::selection {
  background: var(--primary);
  color: #fff;
}

::-moz-selection {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
}

/* ---------------------------------------------
  Buttons
--------------------------------------------- */
a.main-button-slider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  border-radius: var(--radius-xl);
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

a.main-button-slider:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
  color: #fff;
}

button.main-button {
  outline: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  border-radius: var(--radius-xl);
  padding: 14px 32px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
  width: 100%;
  justify-content: center;
}

button.main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

/* ---------------------------------------------
  Header
--------------------------------------------- */
.background-header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  z-index: 100;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: var(--text-primary) !important;
}

.background-header .main-nav .nav li:hover a {
  color: var(--primary) !important;
}

.background-header .nav li a.active {
  color: var(--primary) !important;
}

.header-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 70px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-area .main-nav {
  min-height: 70px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-area .main-nav .logo {
  line-height: 70px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  float: left;
  transition: all 0.3s ease;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 15px;
  background-color: transparent;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-area .main-nav .nav li {
  padding-left: 4px;
  padding-right: 4px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 0.2px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
}

.header-area .main-nav .nav li:hover a {
  color: var(--primary);
  background-color: rgba(108, 99, 255, 0.06);
}

.header-area .main-nav .nav li a.active {
  color: var(--primary);
  background-color: rgba(108, 99, 255, 0.1);
  font-weight: 600;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 18px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  transition: all 0.4s;
  background-color: var(--text-primary);
  display: block;
  position: absolute;
  width: 24px;
  height: 2px;
  left: 0;
  border-radius: 2px;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
  width: 100%;
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  top: -8px;
}

.header-area .main-nav .menu-trigger span:after {
  top: 8px;
}

.header-area .main-nav .menu-trigger.active span {
  background-color: transparent;
}

.header-area .main-nav .menu-trigger.active span:before {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--text-primary);
}

.header-area .main-nav .menu-trigger.active span:after {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--text-primary);
}

.header-area.header-sticky {
  min-height: 70px;
}

.header-area.header-sticky .nav {
  margin-top: 15px !important;
}

.header-area.header-sticky .nav li a.active {
  color: var(--primary);
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 4px;
    padding-right: 4px;
  }
}

@media (max-width: 991px) {
  .logo {
    text-align: left;
    float: left !important;
  }
  .header-area {
    background-color: #fff;
    padding: 0 15px;
    height: 70px;
    box-shadow: var(--shadow-sm);
    text-align: center;
  }
  .header-area .container {
    padding: 0;
  }
  .header-area .logo {
    margin-left: 15px;
  }
  .header-area .menu-trigger {
    display: block !important;
    z-index: 1000;
  }
  .header-area .main-nav {
    overflow: visible;
    position: relative;
  }
  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    margin-top: 0 !important;
    display: none;
    transition: none;
    margin-left: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
  }
  .header-area .main-nav .nav li {
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding: 0 !important;
  }
  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 20px !important;
    border: none !important;
    background: #fff !important;
    color: var(--text-primary) !important;
    border-radius: 0 !important;
    text-align: left;
  }
  .header-area .main-nav .nav li a:hover,
  .header-area .main-nav .nav li a.active {
    background: rgba(108, 99, 255, 0.06) !important;
    color: var(--primary) !important;
  }
}

@media (min-width: 992px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}

/* ---------------------------------------------
  Welcome / Hero
--------------------------------------------- */
.welcome-area {
  width: 100%;
  min-height: 520px;
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.welcome-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.welcome-area::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 101, 132, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.welcome-area .header-text {
  position: relative;
  z-index: 2;
}

.welcome-area .header-text .left-text {
  position: relative;
}

.badge-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.welcome-area .header-text h1 {
  font-weight: 900;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #fff;
}

.welcome-area .header-text h1 em {
  font-style: normal;
  color: var(--primary-light);
}

.welcome-area .header-text p {
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 810px) {
  .welcome-area {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .welcome-area .header-text h1 {
    font-size: 36px;
  }
  .welcome-area .header-text p {
    font-size: 16px;
  }
}

/* ---------------------------------------------
  Section
--------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 50px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ---------------------------------------------
  Contact Form / App Form
--------------------------------------------- */
.contact-form {
  position: relative;
  z-index: 10;
  padding: 32px;
  border-radius: var(--radius-lg);
  background-color: var(--bg-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: left;
}

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: block;
}

.contact-form label i {
  color: var(--primary);
  margin-right: 4px;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  color: var(--text-primary);
  font-size: 14px;
  border: 1.5px solid var(--border);
  background-color: var(--bg);
  border-radius: var(--radius-sm);
  width: 100%;
  height: 46px;
  outline: none;
  padding: 0 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form textarea {
  height: auto;
  resize: none;
  padding: 12px 16px;
  min-height: 180px;
  line-height: 1.6;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
  background-color: #fff;
}

.contact-form ::-webkit-input-placeholder { color: var(--text-muted); }
.contact-form ::placeholder { color: var(--text-muted); }

/* Preview label */
.preview-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.preview-label i {
  margin-right: 4px;
}

/* Paper container styling */
.paper-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: #fff;
}

/* ---------------------------------------------
  Footer
--------------------------------------------- */
footer {
  margin-top: 0;
  padding: 0;
  background: var(--gradient-hero);
  width: 100%;
}

footer .footer-content {
  padding: 60px 0 40px;
}

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

footer .footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

footer .footer-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: #fff;
}

footer .copyright-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 992px) {
  footer .footer-content {
    padding: 40px 0 30px;
  }
}

/* ---------------------------------------------
  Animations
--------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-area .header-text .left-text {
  animation: fadeInUp 0.8s ease forwards;
}

.contact-form {
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

/* Decorative element - remove old one */
.left-image-decor {
  display: none;
}

/* ---------------------------------------------
  Features Section
--------------------------------------------- */
.features-section {
  padding: 80px 0;
  background: var(--bg);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(108, 99, 255, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------------------------------------------
  How To Section
--------------------------------------------- */
.howto-section {
  padding: 80px 0;
  background: #fff;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

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

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.step-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------------------------------------------
  Additional Mobile Improvements
--------------------------------------------- */
@media (max-width: 767px) {
  .welcome-area {
    padding: 110px 0 50px;
  }
  .welcome-area .header-text h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .welcome-area .header-text p {
    font-size: 15px;
    padding: 0 10px;
  }
  .badge-label {
    font-size: 12px;
    padding: 6px 14px;
  }
  a.main-button-slider {
    padding: 12px 24px;
    font-size: 14px;
  }
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .section-header h2 {
    font-size: 24px;
  }
  .section-header p {
    font-size: 14px;
  }
  .features-section,
  .howto-section {
    padding: 50px 0;
  }
  .feature-card {
    padding: 24px 20px;
    margin-bottom: 16px;
  }
  .contact-form {
    padding: 20px !important;
  }
  button.main-button {
    padding: 12px 24px;
    font-size: 14px;
  }
  .preview-label {
    margin-top: 24px;
  }
  footer .footer-content {
    padding: 32px 0 24px;
  }
}
