/* --- 1. MODERN VARIABLES (Theme Engine) --- */
:root {
  --bg-deep: #030712;       /* Deepest Navy/Black */
  --bg-card: rgba(255, 255, 255, 0.03);
  --primary: #6366f1;       /* Indigo Glow */
  --accent: #f59e0b;        /* Amber/Orange */
  --text-main: #f3f4f6;     /* White-ish */
  --text-muted: #9ca3af;    /* Grey */
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- 2. RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
}

a { text-decoration: none; }

/* --- 3. HEADER (Floating Pill) --- */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  padding: 12px 30px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.logo img { height: 40px; }

.nav-links { display: flex; gap: 25px; align-items: center; }

.nav-button {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-button:hover { color: var(--text-main); }

.contact-us-btn {
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.contact-us-btn:hover { background: #4f46e5; transform: scale(1.05); }

/* Mobile Menu Icon */


/* --- 4. HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 8%;
  gap: 50px;
}

.hero-content { flex: 1; max-width: 600px; }
.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 500px; animation: float 6s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(90deg, var(--primary), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }

.hero-button {
  display: inline-block;
  background: white;
  color: black;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
}

.hero-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255,255,255,0.2); }

/* --- 5. HEADERS & TITLES --- */
.text-header { text-align: center; margin: 100px 0 50px; }
.text-header h1 { font-size: 2.5rem; font-weight: 700; }
.underline {
  width: 60px; height: 4px; background: var(--accent); margin: 15px auto; border-radius: 10px;
}

/* --- 6. CARDS (Bento Grid) --- */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 8%;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-align: center;
}

.card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateY(-10px);
}

.card-img { height: 60px; margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
.card-title { font-size: 1.3rem; margin-bottom: 10px; }
.card-description { color: var(--text-muted); font-size: 0.9rem; }

/* --- 7. FEATURES & TECH --- */
.features-container, .choose-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 8%;
  margin-bottom: 50px;
}

.feature-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: 0.3s;
}

.feature-item:hover { border-color: var(--accent); }
.feature-img { height: 50px; margin-bottom: 15px; }
.feature-title { font-size: 1.2rem; margin-bottom: 10px; }
.feature-description { color: var(--text-muted); font-size: 0.9rem; }

/* --- FULL WIDTH FEATURE STRIP --- */

.full-feature-strip {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  padding: 80px 0;
  margin-bottom: 80px;
  color: white; /* All text white */
}

/* Inner Container to keep content centered */
.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* White Header Variations */
.white-header h1 {
  color: white !important;
}
.white-line {
  background: white !important;
  opacity: 0.5;
}

/* Horizontal Layout (No Cards) */
.feature-row {
  display: flex;
  justify-content: space-between; /* Spreads items horizontally */
  align-items: flex-start;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap; /* Wraps on mobile */
}

.feature-minimal {
  flex: 1;
  min-width: 200px;
  text-align: center;
  /* No border, no shadow, no background */
}

/* White Circle for Icons (Makes them pop on dark bg) */
.icon-circle {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.feature-minimal:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  /* Reset blend mode since we have a white circle now */
  mix-blend-mode: normal; 
}

/* Text Styling */
.feat-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.feat-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
  line-height: 1.6;
}

/* Mobile: Stack them vertically */
@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
    align-items: center;
  }
  .full-feature-strip {
    padding: 60px 0;
  }
}

/* --- UPDATED TECH SLIDER (Larger Icons) --- */
/* --- UPDATED TECH SLIDER (Transparent PNG Look) --- */
.tech-slider-container {
  padding: 50px 0;
  overflow: hidden;
  /* Fades edges for smooth look */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-slider { 
  display: flex; 
  gap: 70px; 
  animation: scroll 30s linear infinite; 
}

/* FIX FOR ICONS */
.tech-item img, .tech-img { 
  height: 120px; 
  width: auto; 
  
  /* 1. INVERT: Turns White Background to Black, and Black Logo to White */
  /* 2. SCREEN: Makes the Black Background Transparent */
  filter: grayscale(1) invert(1); 
  mix-blend-mode: screen;
  
  opacity: 0.7; 
  transition: 0.3s; 
}

.tech-item:hover img, .tech-item:hover .tech-img { 
  /* On hover, make it fully bright and slightly larger */
  opacity: 1; 
  transform: scale(1.15); 
}

@keyframes scroll { 
  from { transform: translateX(0); } 
  to { transform: translateX(-50%); } 
}

@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- 8. FOOTER --- */
.footer {
  background: #000;
  border-top: 1px solid var(--glass-border);
  padding: 80px 8% 30px;
  margin-top: 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-map iframe { width: 100%; height: 220px; border-radius: 16px; filter:  invert(1) contrast(0.8); }

.footer h3 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-link { display: block; color: var(--text-muted); margin-bottom: 12px; transition: 0.2s; }
.footer-link:hover { color: var(--primary); padding-left: 5px; }

.footer-logo { text-align: center; margin-bottom: 20px; }
.footer-logo-img { height: 50px; opacity: 0.8; }
.footer-bottom { text-align: center; color: #444; font-size: 0.9rem; border-top: 1px solid #111; padding-top: 30px; }

/* --- 9. RESPONSIVE FIXES --- */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 150px; }
  .header { width: 95%; padding: 15px 20px; }
  .nav-links { display: none; } 
  .menu-icon { display: flex; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-title { font-size: 2.8rem; }
  
  /* Adjust slider gap for mobile */
  .tech-slider { gap: 40px; }
  .tech-item img, .tech-img { height: 100px; } /* Keep them smaller on mobile to fit */
}

/* --- ABOUT US PAGE STYLES --- */

/* Wrapper to center content */
.about-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Specific Card Styling for Text */
.about-card {
  text-align: left; /* Left align for readability */
  padding: 50px;
  line-height: 1.8;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-main);
  text-align: center;
}

.sub-title {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary);
  font-weight: 700;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 15px;
}

/* Custom Checkmark List */
.about-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.about-list li {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.about-list li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Highlight Box at bottom */
.highlight-box {
  background: rgba(15, 47, 99, 0.05); /* Light Navy tint */
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  font-weight: 500;
}

/* --- FOUNDER IMAGE FIX --- */
/* Overrides generic card-img settings */
/* --- FOUNDER IMAGE FIX (Big Curved Square) --- */
.founder-img {
  width: 300px;  /* Made it BIG */
  height: 300px; /* Kept it SQUARE */
  object-fit: cover; /* Ensures face doesn't get stretched */
  
  border-radius: 30px; /* Curves the corners (Curved Square) */
  
  margin-bottom: 25px;
  border: 4px solid var(--primary); /* Keeps the brand border */
  padding: 5px; /* Adds space between photo and border */

  mix-blend-mode: normal !important; /* Forces photo to show normally */
  box-shadow: 0 15px 30px rgba(0,0,0,0.2); /* Adds a nice pop-out shadow */
}

/* Optional: Ensure the card expands to fit the big image */
.founder-card {
  min-width: 350px;
  padding-top: 40px; /* Adds breathing room at top */
  text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .about-card { padding: 30px 20px; }
  .about-title { font-size: 1.6rem; }
}

/* --- CONTACT PAGE STYLES --- */
/* --- CENTERED CONTACT PAGE (No Form) --- */

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  justify-content: center;
}

.contact-card-centered {
  padding: 60px 40px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px; /* Limits width for a nice card look */
  width: 100%;
}

.contact-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-desc {
  color: var(--text-body);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Row for Email and Phone */
.contact-details-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.detail-box {

  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.detail-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.detail-icon {
  font-size: 1.2rem;
}

.detail-box a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  width: 100%;
  margin: 30px 0;
}

/* WhatsApp Button */
.whatsapp-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #25D366;
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .contact-details-row {
    flex-direction: column;
    gap: 15px;
  }
  .whatsapp-btn-large {
    width: 100%;
  }
}
/* --- PRICING PAGE STYLES --- */

.pricing-hero {
  text-align: center;
  margin-top: 140px;
  margin-bottom: 40px;
}

.hero-subtext {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-top: -10px;
}

/* Toggle Switch Container */


/* Pricing Grid Layout */
/* --- PRICING PAGE STYLES (No Animation / Instant Load) --- */

.pricing-hero {
  text-align: center;
  margin-top: 140px;
  margin-bottom: 40px;
}

.hero-subtext {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-top: -10px;
}

/* Toggle Switch */
.pricing-toggle-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto 50px;
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 25px;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: 0.3s;
}

.toggle-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Pricing Layout Wrapper */
.pricing-cards-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 80px;
  min-height: 500px; /* Prevents layout jump */
}

/* The Groups (Website / Android / ERP) */
.pricing-group {
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: stretch; /* Makes cards equal height */
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

/* The Active Group (Show this one) */
.active-group {
  display: flex !important; /* Force Visible */
  animation: fadeIn 0.5s ease-out; /* Simple CSS Fade only */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CARD STYLING (Feature Theme) */
.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: 0.3s;
  position: relative;
  box-shadow: var(--shadow-sm);
  
  /* Ensure visibility */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.pricing-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}

/* Recommended Card */
.pricing-card.recommended {
  border: 2px solid var(--primary);
}

/* Badge */
.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Typography & Lists */
.plan-name { font-size: 1.4rem; color: var(--primary); margin-bottom: 10px; }
.plan-desc { color: var(--text-body); font-size: 0.9rem; margin-bottom: 20px; }
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 30px; }

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.plan-features li {
  margin-bottom: 12px;
  color: var(--text-body);
  font-size: 0.95rem;
  padding-left: 25px;
  position: relative;
}

.plan-features li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Buttons */
.plan-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  transition: 0.3s;
}

.plan-btn:hover, .btn-highlight {
  background: var(--primary);
  color: white;
}

/* Mobile Fix */
@media (max-width: 900px) {
  .pricing-group { flex-direction: column; align-items: center; }
  .pricing-card { width: 100%; max-width: 400px; }
}
/* --- RESPONSIVE MOBILE MENU (Matches Header Theme) --- */
@media (max-width: 900px) {
  
  .header { width: 95%; padding: 10px 20px; }

  /* 1. Hamburger Icon */
  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
  }

  .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
  }

  /* 2. Hide Links by Default */
  .nav-links {
    display: none; 
  }

  /* 3. Active State (Floating Glass Card) */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Pushes it right below the header */
    left: 0;
    width: 100%; /* Matches header width */
    margin-top: 15px; /* Adds a gap so it floats separately */
    
    /* THEME MATCHING */
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
 
    border: 1px solid white;
    border-radius: 24px; /* Rounded corners all around */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    
    padding: 40px;
    gap: 20px;
    text-align: center;
    animation: slideDown 0.3s ease-out forwards;
  }

  /* 4. Animation */
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* 5. Mobile Buttons */
  .contact-us-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* 6. Hamburger Animation */
  .menu-icon.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-icon.open .bar:nth-child(2) { opacity: 0; }
  .menu-icon.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  /* Other Mobile Adjustments */
  .hero { flex-direction: column; text-align: center; padding-top: 140px; }
  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .pricing-group { flex-direction: column; }
}