:root {
  /* LIGHT THEME */
  --bg-base: #f8fafc;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.1);
  
  /* SAAS GRADIENTS */
  --grad-start: #00c6ff;
  --grad-end: #ff3cac;
  --gradient-primary: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 198, 255, 0.08) 0%, rgba(255, 60, 172, 0.08) 100%);
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-base: #0f172a;
  --bg-alt: #1e293b;
  --surface: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(15, 23, 42, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-base); color: var(--text-main); transition: background 0.3s ease; line-height: 1.6; }
html { scroll-behavior: smooth; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 6rem 0; }
.bg-alt { background: var(--bg-alt); }

/* NAVBAR & LOGO */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: 0.3s; }
.navbar.scrolled { background: var(--bg-alt); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 2rem; }

.logo-brand { 
  font-size: 1.6rem; 
  font-weight: 800; 
  letter-spacing: -1px; 
  background: var(--gradient-primary); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  text-decoration: none !important; 
  transition: opacity 0.3s ease; 
}
.logo-brand:hover { opacity: 0.8; }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; text-decoration: none !important; transition: 0.2s; }
.nav-links a:hover { color: var(--grad-end); }
.nav-cta { background: var(--gradient-primary) !important; color: #fff !important; padding: 0.6rem 1.4rem; border-radius: 50px; border: none !important; box-shadow: 0 4px 15px rgba(255, 60, 172, 0.2); }
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(255, 60, 172, 0.3); }

/* THEME TOGGLE */
.nav-right { display: flex; align-items: center; gap: 1rem; }
#theme-toggle { background: none; border: 1px solid var(--border); padding: 8px; border-radius: 50%; cursor: pointer; color: var(--text-main); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
#theme-toggle:hover { background: var(--gradient-primary); color: white; border-color: transparent; }
#theme-toggle .sun, [data-theme="dark"] #theme-toggle .moon { display: none; }
[data-theme="dark"] #theme-toggle .sun { display: block; }
#theme-toggle svg { width: 18px; height: 18px; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; background: linear-gradient(135deg, rgba(0,198,255,0.05) 0%, rgba(255,60,172,0.05) 100%); overflow: hidden; }
.hero-bg-shape { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: var(--gradient-primary); filter: blur(120px); opacity: 0.1; }
.hero-content { text-align: center; position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -1.5px; line-height: 1.1; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }
.btn { padding: 0.8rem 2rem; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s; border: none; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 10px 20px rgba(255,60,172,0.2); }
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 15px 25px rgba(255,60,172,0.35); }
.btn-secondary { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-main); margin-left: 1rem; }
.btn-secondary:hover { border-color: var(--grad-end); transform: scale(1.03); }

/* SOLUTIONS CARDS */
.section-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-inline: auto; }
.section-header h2 { font-size: 2.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; font-weight: 800; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.card { background: var(--bg-alt); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: 0.3s; display: flex; flex-direction: column; align-items: flex-start; }
.card:hover { transform: translateY(-8px); border-color: rgba(0, 198, 255, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* ICON FIXES (Cards, Trust, Contact) */
.card-icon, .trust-icon, .detail-item svg { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.card-icon svg, .trust-icon svg, .detail-item svg { width: 24px !important; height: 24px !important; stroke-width: 2; }

.card-icon { width: 48px; height: 48px; background: var(--gradient-soft); color: var(--grad-end); border-radius: 12px; margin-bottom: 1.5rem; }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-main); }
.card p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn-text { color: var(--grad-end); font-weight: 600; margin-top: auto; text-decoration: none; }
.btn-text:hover { color: var(--grad-start); transform: translateX(4px); }

/* TRUST SECTION */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem 2rem; }
.trust-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.trust-icon { width: 48px; height: 48px; background: var(--bg-base); border: 1px solid rgba(0, 198, 255, 0.2); border-radius: 12px; color: var(--grad-start); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.trust-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); }
.trust-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.divider { width: 60px; height: 4px; background: var(--gradient-primary); border-radius: 2px; margin: 1rem 0 2rem; }
.about-visual { height: 400px; display: flex; justify-content: center; align-items: center; position: relative; }
.glass-illustration { width: 100%; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); backdrop-filter: blur(10px); }

/* CONTACT SECTION FIXES */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; background: var(--bg-base); border-radius: var(--radius-lg); padding: 4rem; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
[data-theme="dark"] .contact-wrapper { background: var(--bg-alt); }
.contact-info { padding-right: 2rem; }
.contact-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 3rem; }
.detail-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--text-main); font-weight: 500; }
.detail-item svg { color: var(--grad-end); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--text-main); font-family: 'Inter', sans-serif; outline: none; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--grad-start); box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.1); }
.btn-block { width: 100%; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* FOOTER */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg-base); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-links ul, .footer-contact ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { text-decoration: none; color: var(--text-muted); }
.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 2rem; color: var(--text-muted); font-size: 0.875rem; }

/* RESPONSIVE DESIGN */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

@media (max-width: 992px) {
  .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; margin-bottom: 2rem; }
  .contact-wrapper { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-alt); flex-direction: column; padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
  .hero-buttons { flex-direction: column; gap: 1rem; }
  .btn-secondary { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
/* --- ABOUT SECTION ANIMATIONS (The Floating Blobs) --- */
.about-visual { 
  height: 400px; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  position: relative; 
  /* Added to contain the glowing blobs */
  overflow: hidden; 
  border-radius: var(--radius-lg);
}

.glass-illustration { 
  width: 100%; 
  height: 100%; 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: var(--radius-lg); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 2; /* Keeps the glass in front */
}

/* The Glowing Orbs */
.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px); /* Creates the soft glow */
  z-index: -1; /* Puts them behind the glass layer */
  animation: floatOrb 8s infinite ease-in-out alternate;
}

.el-1 {
  width: 200px;
  height: 200px;
  background: var(--grad-start);
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.el-2 {
  width: 250px;
  height: 250px;
  background: var(--grad-end);
  bottom: -40px;
  right: -20px;
  animation-delay: -3s; /* Offset so they don't move together */
}

.el-3 {
  width: 150px;
  height: 150px;
  background: #8b5cf6; /* A deep purple to mix with the cyan/pink */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

/* The Hover Animation */
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
  100% { transform: translate(-20px, 20px) scale(0.9); }
}