/* Clickora Solutions — Premium UI (zero-dependency, fast, responsive) */

:root{
  /* Modern Tech Palette - Professional & Attractive */
  --bg: #0f172a;         /* Deep slate - modern, professional */
  --bg-2:#1e293b;        /* Lighter slate for gradients */
  --surface: #1e293b;     /* Card/section surface */
  --surface-2: #334155;  /* Hover surface */
  --stroke: #475569;     /* Borders - subtle but visible */
  --text: #f8fafc;       /* Clean white text */
  --muted: rgba(248,250,252,.75);
  --faint: rgba(248,250,252,.60);

  /* Primary Brand Colors - Tech & Innovation */
  --primary: #3b82f6;     /* Electric blue - trust, tech */
  --primary-2: #2563eb;   /* Deeper blue */
  --accent: #06b6d4;      /* Bright cyan - innovation */
  --accent-2: #0891b2;   /* Deeper cyan */
  --creative: #8b5cf6;    /* Vibrant purple - creativity */
  --creative-2: #7c3aed;  /* Deeper purple */
  
  /* Legacy support */
  --blue: #3b82f6;
  --blue-2: #2563eb;
  --red: #ef4444;         /* Softer red for accents */
  --red-2: #dc2626;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow-soft: 0 12px 40px rgba(0,0,0,.30);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --container: 1160px;
  --gutter: 20px;

  --h1: clamp(2.25rem, 4vw, 3.6rem);
  --h2: clamp(1.7rem, 2.7vw, 2.4rem);
  --h3: clamp(1.15rem, 1.8vw, 1.35rem);
  --body: 1rem;
  --small: .92rem;

  --font: ui-sans-serif, system-ui, -apple-system, "Inter", "Poppins", "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

@media (prefers-color-scheme: light){
  :root{
    --bg: #ffffff;
    --bg-2:#f4f6ff;
    --surface: rgba(28,54,120,.06);
    --surface-2: rgba(28,54,120,.10);
    --stroke: rgba(28,54,120,.18);
    --text: #1c3678;
    --muted: rgba(28,54,120,.78);
    --faint: rgba(28,54,120,.65);
    --shadow: 0 18px 60px rgba(12,21,48,.16);
    --shadow-soft: 0 12px 40px rgba(12,21,48,.12);
  }
}

*{box-sizing:border-box}
html{
  scroll-behavior: smooth;
}
html,body{height:100%}
body{
  margin:0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--text);
  background: 
    radial-gradient(ellipse at top, rgba(59,130,246,.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139,92,246,.06), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: fadeIn 0.6s ease-in;
}
@keyframes fadeIn{
  from{opacity: 0;}
  to{opacity: 1;}
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}
button, input, textarea{font:inherit}

::selection{background: rgba(59,130,246,.35)}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  z-index: 9999;
}

.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15,23,42,.85);
  border-bottom: 1px solid rgba(71,85,105,.20);
  animation: slideDown 0.5s ease-out;
}
@keyframes slideDown{
  from{
    transform: translateY(-100%);
    opacity: 0;
  }
  to{
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-color-scheme: light){
  .topbar{
    background: #ffffff;
    border-bottom: 1px solid rgba(15,28,68,.16);
  }
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 240px;
}
.brand-mark{
  width: 64px; height: 64px;
  border-radius: 12px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.20), transparent 60%),
    linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 34px rgba(59,130,246,.22), 0 14px 34px rgba(6,182,212,.16);
}

/* When using an actual logo image, keep the same sizing/spacing */
img.brand-mark{
  background: transparent;
  box-shadow: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-text strong{font-weight: 750; letter-spacing:.2px}
.brand-text span{font-size: .86rem; color: var(--muted)}

.navlinks{
  display:flex;
  align-items:center;
  gap: 8px;
}
.navlinks a{
  font-size: .95rem;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.navlinks a:hover{background: rgba(59,130,246,.15); color: var(--text)}
.navlinks a[aria-current="page"]{color: var(--text); background: rgba(59,130,246,.20)}
@media (prefers-color-scheme: light){
  .navlinks a:hover{background: rgba(2,6,23,.06)}
  .navlinks a[aria-current="page"]{background: rgba(2,6,23,.06)}
}

.nav-cta{
  display:flex;
  align-items:center;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
  cursor:pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select:none;
  position: relative;
  overflow: hidden;
}
.btn::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn:hover::before{
  width: 300px;
  height: 300px;
}
.btn:hover{
  transform: translateY(-2px) scale(1.02);
  background: var(--surface-2);
  border-color: rgba(59,130,246,.40);
  box-shadow: 0 8px 24px rgba(59,130,246,.2);
}
.btn:active{
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}
.btn-primary{
  border-color: rgba(59,130,246,.40);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59,130,246,.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::after{
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::after{
  left: 100%;
}
.btn-primary:hover{
  background: linear-gradient(135deg, var(--primary-2), var(--accent-2));
  border-color: rgba(59,130,246,.50);
  box-shadow: 0 12px 32px rgba(59,130,246,.35);
  transform: translateY(-2px) scale(1.02);
}
.btn-ghost{
  background: transparent;
}
.btn-whatsapp,
button[data-whatsapp]{
  border-color: rgba(6,182,212,.40);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(6,182,212,.25);
}
.btn-whatsapp:hover,
button[data-whatsapp]:hover{
  background: var(--accent-2);
  border-color: rgba(6,182,212,.50);
  box-shadow: 0 12px 32px rgba(6,182,212,.35);
}
.btn-small{padding:10px 12px; border-radius: 12px; font-size: .92rem}

.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
}
.burger span{
  width: 18px; height: 2px; display:block;
  background: var(--text);
  border-radius: 99px;
  margin: 4px auto;
}

@media (max-width: 980px){
  .brand{min-width: auto}
  .navlinks{display:none}
  .burger{display:inline-flex; align-items:center; justify-content:center}
}

.mobile-drawer{
  display:none;
  border-top: 1px solid rgba(71,85,105,.20);
  background: rgba(15,23,42,.95);
}
.mobile-drawer.open{display:block}
.mobile-drawer a{
  display:block;
  padding: 12px 2px;
  color: var(--muted);
}
.mobile-drawer a:hover{color: var(--text)}

main{padding: 34px 0 60px}

.hero{
  padding: 40px 0 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
}

/* Hero Image Section */
.hero-image{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.image-wrapper{
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.image-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-image:hover .image-wrapper img{
  transform: scale(1.05);
}
.image-overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,.4) 100%);
  pointer-events: none;
}

.pill{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 8px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .92rem;
}
.pill b{color: var(--text); font-weight: 650}

.headline{
  margin: 14px 0 10px;
  font-size: calc(var(--h1) * 1.02);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.headline .grad{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.subhead{
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-metrics{
  margin-top: 18px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: var(--small);
}
.metric{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--surface);
}
.dot{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}

.hero-card{
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  overflow:hidden;
}
.hero-card h3{
  margin: 2px 0 6px;
  font-size: var(--h3);
}
.hero-card p{margin:0; color: var(--muted)}

.hero-badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.badge{
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: .88rem;
  color: var(--muted);
  background: var(--surface);
}

.section{
  padding: 42px 0;
}

/* Subtle alternating section blocks for clearer separation */
.section:nth-of-type(even){
  padding: 42px 20px;
  margin-inline: -20px;
  background: rgba(5,10,29,.85);
  border-radius: 24px;
  border: 1px solid rgba(49,66,122,.7);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.section h2{
  margin: 0;
  font-size: var(--h2);
  letter-spacing: -0.01em;
}
.section p.lead{
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
}

.card{
  border: 1px solid rgba(0,0,0,.5);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.3s ease, 
              background 0.3s ease, 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-image{
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-image img{
  transform: scale(1.1);
}
.card > .icon,
.card > h3,
.card > p{
  padding: 0 18px;
}
.card > .icon{
  margin-top: 18px;
  margin-bottom: 4px;
}
.card > h3{
  margin-top: 10px;
  margin-bottom: 6px;
}
.card > p{
  margin-bottom: 18px;
  padding-bottom: 18px;
}
.card:hover{
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(59,130,246,.50);
  background: var(--surface-2);
  box-shadow: 0 24px 80px rgba(59,130,246,.15), 0 12px 40px rgba(0,0,0,.2);
}
.card h3{margin: 10px 0 6px; font-size: var(--h3)}
.card p{margin: 0; color: var(--muted)}

.icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(6,182,212,.24));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 16px 40px rgba(59,130,246,.26);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
}
.card:hover .icon{
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 50px rgba(59,130,246,.35);
}
.icon svg{width: 20px; height: 20px; color: rgba(255,255,255,.92)}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 980px){.split{grid-template-columns:1fr}}

.callout{
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.callout h3{margin: 0 0 6px}
.callout p{margin: 0; color: var(--muted)}
.callout .actions{margin-top: 14px; display:flex; flex-wrap:wrap; gap: 10px}

.pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){.pricing{grid-template-columns:1fr}}

.price-card{
  position:relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.55);
  background: var(--surface);
  padding: 20px 18px 18px;
  overflow:hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.price-card:hover{
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.55);
  background: var(--surface-2);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}
.price-card .tag{
  position:absolute;
  right: 14px; top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--muted);
  font-size: .85rem;
}
.price-card.popular{
  border-color: rgba(59,130,246,.55);
  background: var(--surface);
}
.price-card h3{margin: 0 0 6px; font-size: 1.28rem}
.price-card p{margin: 0; color: var(--muted)}
.features{
  margin: 14px 0 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.features li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: var(--muted);
}
.check{
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(59,130,246,.40), rgba(6,182,212,.30));
  border: 1px solid var(--stroke);
  flex: 0 0 auto;
  margin-top: 2px;
}
.price-card .actions{margin-top: 16px; display:flex; gap: 10px; flex-wrap:wrap}

.kicker{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.divider{
  height: 1px;
  background: rgba(28,54,120,.15);
  margin: 10px 0 0;
}

footer{
  padding: 32px 0;
  border-top: 1px solid rgba(71,85,105,.25);
  background: rgba(15,23,42,.95);
}
@media (prefers-color-scheme: light){
  footer{background: #f5f6fb; border-top: 1px solid rgba(15,28,68,.10)}
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 14px;
}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr}}
.footer-grid h4{margin: 0 0 8px; font-size: 1rem}
.footer-grid a{color: var(--muted)}
.footer-grid a:hover{color: var(--text)}
.fine{
  margin-top: 14px;
  color: var(--faint);
  font-size: .9rem;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
}

.form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 740px){.form{grid-template-columns:1fr}}
.field{display:flex; flex-direction:column; gap: 8px}
.field label{font-size: .92rem; color: var(--muted)}
.field input, .field textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease, 
              box-shadow 0.3s ease, 
              background 0.3s ease,
              transform 0.2s ease;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(59,130,246,.70);
  box-shadow: 0 0 0 4px rgba(59,130,246,.25), 0 4px 12px rgba(59,130,246,.15);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.field textarea{min-height: 130px; resize: vertical; grid-column: 1 / -1}
.hint{color: var(--faint); font-size: .9rem; margin: 0}

/* Smooth scroll reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for grid items */
.grid-3 > .reveal:nth-child(1),
.grid-2 > .reveal:nth-child(1){
  transition-delay: 0.1s;
}
.grid-3 > .reveal:nth-child(2),
.grid-2 > .reveal:nth-child(2){
  transition-delay: 0.2s;
}
.grid-3 > .reveal:nth-child(3){
  transition-delay: 0.3s;
}
.grid-3 > .reveal:nth-child(4){
  transition-delay: 0.1s;
}
.grid-3 > .reveal:nth-child(5){
  transition-delay: 0.2s;
}
.grid-3 > .reveal:nth-child(6){
  transition-delay: 0.3s;
}

/* Fade in from sides */
.reveal-fade-left{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-fade-left.is-visible{
  opacity: 1;
  transform: translateX(0);
}

.reveal-fade-right{
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-fade-right.is-visible{
  opacity: 1;
  transform: translateX(0);
}

/* Scale in animation */
.reveal-scale{
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.is-visible{
  opacity: 1;
  transform: scale(1);
}

.pagehead{
  padding: 16px 0 6px;
}
.breadcrumbs{
  color: var(--faint);
  font-size: .92rem;
}
.breadcrumbs a{color: var(--muted)}
.breadcrumbs a:hover{color: var(--text)}

.notice{
  border: 1px dashed rgba(28,54,120,.30);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(28,54,120,.08);
  color: var(--muted);
}

