:root {
  --primary-color: #266bf9; /* Bright Blue */
  --secondary-color: #7b4dff; /* Purple */
  --dark-bg: #0b0e14;
  --light-bg: #f8f9fc;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-light: #6e7c91;
  --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --font-main: 'Outfit', sans-serif;
}

/* Reset using classes/elements to avoid * selector */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(38, 107, 249, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(38, 107, 249, 0.4);
}

/* Advertisement Top Bar */
.ad-top-bar {
  background-color: #f0f2f5;
  color: #65676b;
  font-size: 0.85rem;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #e4e6eb;
}

.ad-text {
  max-width: 90%;
  margin: 0 auto;
}

/* Loader */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-text {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.6; transform: scale(0.95); }
}

/* Header */
.main-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
}

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

.desktop-nav .nav-list {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

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

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  height: 100%;
  background: var(--white);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  z-index: 1001;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.close-icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
}

.close-icon::before, .close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
}

.close-icon::before { transform: rotate(45deg); }
.close-icon::after { transform: rotate(-45deg); }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* CSS Phone Mockup */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--dark-bg);
  border-radius: 40px;
  border: 12px solid #1a1a2e;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.screen-header {
  height: 180px;
  background: var(--gradient-main);
  padding: 40px 20px 20px;
  color: white;
}

.screen-header h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.screen-header p { font-size: 0.9rem; opacity: 0.9; }

.screen-body {
  padding: 20px;
}

.chart-placeholder {
  height: 150px;
  background: #f0f4ff;
  border-radius: 12px;
  margin-bottom: 15px;
  position: relative;
}
.bar-1 { position: absolute; bottom: 10px; left: 20px; width: 30px; height: 40%; background: var(--secondary-color); border-radius: 4px; }
.bar-2 { position: absolute; bottom: 10px; left: 60px; width: 30px; height: 70%; background: var(--primary-color); border-radius: 4px; }
.bar-3 { position: absolute; bottom: 10px; left: 100px; width: 30px; height: 50%; background: #a0c4ff; border-radius: 4px; }

.list-item-placeholder {
  height: 50px;
  background: #f8f9fc;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.circle-p { width: 30px; height: 30px; border-radius: 50%; background: #e0e6ed; margin-right: 10px; }
.line-p { height: 8px; width: 100px; background: #e0e6ed; border-radius: 4px; }

/* About Section */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Why Us cards */
.why-us-section { background: #f8f9fc; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  text-align: left;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: #f0f4ff;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
  background: var(--white);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #f8f9fc;
  padding: 30px;
  border-radius: 16px;
  position: relative;
}

.quote-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.user-name {
  font-weight: 700;
  color: var(--primary-color);
}

/* FAQ */
.faq-section { background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #e0e6ed;
  margin-bottom: 15px;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-main);
  color: var(--text-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-light);
}

.faq-answer p { padding-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 200px; }
.icon-plus { font-size: 1.5rem; transition: transform 0.3s; }
.faq-item.active .icon-plus { transform: rotate(45deg); }

/* Footer */
.main-footer {
  background: #11141d;
  color: #a0aec0;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid #2d3748;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--primary-color); }

.contact-info p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.ad-disclaimer-footer {
  background: #1a202c;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #cbd5e0;
  border-left: 4px solid var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2000;
  border: 1px solid #e2e8f0;
}

.cookie-content h4 { font-weight: 700; margin-bottom: 5px; }
.cookie-content p { font-size: 0.9rem; color: var(--text-light); }

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-accept {
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-reject {
  background: #e2e8f0;
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image { justify-content: center; }
  .hero-content h1 { font-size: 2.5rem; }
  
  .phone-mockup {
    width: 260px;
    height: 500px;
    margin: 0 auto;
  }
}
