/* Tagna site styles — enhanced design with vibrant colors */
:root{
  --color-primary: #2563EB;
  --color-primary-dark: #1E40AF;
  --color-secondary: #7C3AED;
  --color-accent: #F59E0B;
  --color-success: #10B981;
  --color-gradient-start: #3B82F6;
  --color-gradient-end: #8B5CF6;
  --bg-surface: #F8FAFC;
  --bg-surface-dark: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --max-width: 1200px;
  --shadow-sm: 0 2px 8px rgba(59, 130, 246, 0.1);
  --shadow-md: 0 8px 24px rgba(59, 130, 246, 0.15);
  --shadow-lg: 0 20px 48px rgba(59, 130, 246, 0.2);
  --mobile-nav-width: 280px;
  --mobile-heading-size: 28px;
}

*{box-sizing:border-box}
body{
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color:var(--text-primary);
  background:#fff;
  margin:0;
  line-height:1.6;
}

body.nav-open{
  overflow:hidden;
}

.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}

.header-inner{display:flex;align-items:center;justify-content:space-between;height:80px}

.site-header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(59, 130, 246, 0.1);
  z-index:50;
  box-shadow:var(--shadow-sm);
}

.main-nav{
  display:flex;
  align-items:center;
}

.main-nav a{
  margin-left:24px;
  text-decoration:none;
  color:var(--text-secondary);
  font-weight:500;
  transition:color 0.3s ease;
}

.main-nav a:hover{color:var(--color-primary)}

.main-nav a.btn.secondary{
  background:linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  border:none;
  padding:0.7rem 1.2rem;
  border-radius:10px;
  color:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform 0.2s ease, box-shadow 0.3s ease;
}

.main-nav a.btn.secondary:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}

/* Mobile menu toggle button */
.menu-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  z-index:60;
}

.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--text-primary);
  margin:5px 0;
  transition:all 0.3s ease;
  border-radius:2px;
}

.menu-toggle.active span:nth-child(1){
  transform:rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero{
  padding:120px 0 80px;
  background:linear-gradient(135deg, #EEF2FF 0%, #F0F9FF 50%, #FEF3C7 100%);
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;
  top:-50%;
  right:-20%;
  width:600px;
  height:600px;
  background:radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius:50%;
  z-index:0;
}

.hero::after{
  content:'';
  position:absolute;
  bottom:-30%;
  left:-10%;
  width:500px;
  height:500px;
  background:radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  border-radius:50%;
  z-index:0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 560px;
  gap:60px;
  align-items:center;
  position:relative;
  z-index:1;
}

.hero-content h1{
  font-size:56px;
  margin:0;
  background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-0.02em;
}

.hero-content .lead{
  font-size:20px;
  color:var(--text-secondary);
  margin-top:24px;
  line-height:1.7;
}

.cta-row{margin-top:32px;display:flex;gap:16px;flex-wrap:wrap}

.btn{
  display:inline-block;
  padding:14px 28px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
  transition:all 0.3s ease;
  box-shadow:var(--shadow-sm);
}

.btn.primary{
  background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color:#fff;
}

.btn.primary:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-lg);
}

.btn.outline{
  border:2px solid var(--color-primary);
  background:#fff;
  color:var(--color-primary);
}

.btn.outline:hover{
  background:var(--color-primary);
  color:#fff;
  transform:translateY(-2px);
}

.hero-illustration img{
  width:100%;
  height:auto;
  border-radius:20px;
  box-shadow:var(--shadow-lg);
  transition:transform 0.3s ease;
}

.hero-illustration img:hover{transform:scale(1.02)}

.muted{color:var(--text-secondary);font-size:15px;margin-top:16px;font-weight:500}

/* Product section */
.features{padding:80px 0;background:#fff}

.features h2{
  font-size:42px;
  text-align:center;
  margin:0 0 12px 0;
  background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:700;
}

.subtitle{
  text-align:center;
  font-size:20px;
  color:var(--text-secondary);
  margin-bottom:48px;
  font-weight:500;
}

.product-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:32px;margin-top:48px}

.product-card{
  background:linear-gradient(135deg, #FFFFFF 0%, var(--bg-surface) 100%);
  padding:32px;
  border-radius:20px;
  border:2px solid transparent;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}

.product-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  border-radius:20px;
  padding:2px;
  background:linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:0;
  transition:opacity 0.3s ease;
}

.product-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-lg);
}

.product-card:hover::before{opacity:1}

.card-content{position:relative;z-index:1}

.product-card h3{
  margin:0 0 12px 0;
  font-size:24px;
  color:var(--text-primary);
  font-weight:700;
}

.product-card p{
  color:var(--text-secondary);
  margin:0 0 16px 0;
  line-height:1.6;
}

.product-card ul{
  padding-left:20px;
  margin:16px 0;
  color:var(--text-secondary);
}

.product-card ul li{margin-bottom:8px}

.product-card .btn{
  margin-top:16px;
  padding:10px 24px;
  font-size:14px;
  background:var(--color-primary);
  color:#fff;
}

.link{color:var(--color-primary);font-weight:600;text-decoration:none}

.badge{
  background:linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color:#92400E;
  padding:6px 12px;
  border-radius:8px;
  font-weight:700;
  font-size:12px;
  margin-left:8px;
  text-transform:uppercase;
  letter-spacing:0.05em;
}

/* Stats */
.stats{
  padding:80px 0;
  background:linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  position:relative;
  overflow:hidden;
}

.stats::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity:0.5;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:32px;
  position:relative;
  z-index:1;
}

.stat-card{
  background:rgba(255, 255, 255, 0.15);
  backdrop-filter:blur(10px);
  border-radius:16px;
  padding:32px;
  text-align:center;
  border:1px solid rgba(255, 255, 255, 0.3);
  transition:all 0.3s ease;
}

.stat-card:hover{
  background:rgba(255, 255, 255, 0.25);
  transform:translateY(-5px);
}

.stat-value{
  font-size:42px;
  font-weight:800;
  color:#fff;
  margin:0 0 8px 0;
  text-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.stat-label{
  font-size:16px;
  color:rgba(255, 255, 255, 0.9);
  font-weight:500;
}

/* CTA */
.final-cta{
  background:linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding:100px 0;
  position:relative;
}

.cta-frame{
  background:#fff;
  border-radius:24px;
  padding:64px;
  text-align:center;
  box-shadow:var(--shadow-lg);
  border:2px solid rgba(59, 130, 246, 0.1);
  max-width:800px;
  margin:0 auto;
}

.cta-frame h2{
  font-size:36px;
  margin:0 0 16px 0;
  color:var(--text-primary);
  font-weight:700;
}

.cta-row.center{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:32px}

/* Footer */
.site-footer{
  background:linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color:#fff;
  padding:48px 0 0;
  position:relative;
}

.site-footer::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
}

.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;margin-bottom:32px}

.footer-col h4{
  margin:0 0 16px 0;
  color:#fff;
  font-weight:600;
  font-size:16px;
}

.footer-col ul{list-style:none;padding:0;margin:0}

.footer-col ul li{margin-bottom:10px}

.footer-col a{
  color:rgba(255, 255, 255, 0.7);
  text-decoration:none;
  transition:color 0.3s ease;
  font-size:14px;
}

.footer-col a:hover{color:#fff}

.footer-col img{
  filter:brightness(0) invert(1);
}

.footer-bottom{
  background:rgba(0,0,0,0.2);
  padding:20px 0;
  margin-top:32px;
  border-top:1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  color:rgba(255, 255, 255, 0.7);
}

.footer-bottom .copyright{
  text-align:left;
}

.footer-bottom .footer-links{
  display:flex;
  gap:16px;
}

.footer-bottom a{color:rgba(255, 255, 255, 0.7);text-decoration:none}
.footer-bottom a:hover{color:#fff}

/* Products Page */
.products-hero{
  padding:80px 0 60px;
  background:linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 50%, #DBEAFE 100%);
}

.products-hero h1{
  font-size:48px;
  margin:0 0 20px 0;
  background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:800;
}

.products-section{
  padding:60px 0;
}

.products-detailed{
  grid-template-columns:1fr;
  gap:40px;
  max-width:900px;
  margin:0 auto;
}

.products-detailed .product-card{
  padding:40px;
}

.products-detailed .product-card h3{
  font-size:28px;
  margin-bottom:16px;
}

.products-detailed .product-card p{
  font-size:17px;
  line-height:1.7;
  margin-bottom:20px;
}

.products-detailed .product-card ul{
  margin:20px 0;
}

.products-detailed .product-card ul li{
  font-size:16px;
  margin-bottom:12px;
  padding-left:8px;
}

/* Contact Page */
.contact-hero{
  padding:80px 0 60px;
  background:linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 100%);
}

.contact-hero h1{
  font-size:48px;
  margin:0 0 20px 0;
  background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:800;
}

input:focus, select:focus, textarea:focus{
  outline:none;
  border-color:var(--color-primary) !important;
  box-shadow:0 0 0 3px rgba(37, 99, 235, 0.1);
}

details summary:hover{
  color:var(--color-primary);
}

details[open] summary{
  color:var(--color-primary);
  margin-bottom:0;
}

/* Responsive */
@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr 420px}
}
@media (max-width:768px){
  /* Mobile Navigation */
  .menu-toggle{
    display:block;
  }
  
  .main-nav{
    position:fixed;
    top:0;
    right:0;
    width:var(--mobile-nav-width);
    height:100vh;
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(10px);
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    padding:100px 24px 24px;
    box-shadow:-5px 0 20px rgba(0,0,0,0.1);
    transition:transform 0.3s ease;
    z-index:55;
    transform:translateX(100%);
    visibility:hidden;
  }
  
  .main-nav.open{
    transform:translateX(0);
    visibility:visible;
  }
  
  .main-nav a{
    margin:0 0 20px 0;
    font-size:18px;
    width:100%;
    padding:12px 0;
    border-bottom:1px solid rgba(59, 130, 246, 0.1);
  }
  
  .main-nav a.btn.secondary{
    margin-top:16px;
    text-align:center;
    width:100%;
    padding:14px 24px;
  }
  
  /* Mobile overlay */
  .nav-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:54;
  }
  
  .nav-overlay.active{
    display:block;
  }

  .hero-grid{grid-template-columns:1fr;gap:20px}
  .hero{padding:80px 0 60px}
  .hero-content h1{font-size:32px}
  .hero-content .lead{font-size:16px}
  
  .product-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2, 1fr)}
  
  /* Footer responsive */
  .footer-grid{
    grid-template-columns:1fr;
    gap:24px;
    text-align:center;
  }
  
  .footer-col{
    padding:16px 0;
    border-bottom:1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-col:last-child{
    border-bottom:none;
  }
  
  .footer-col ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;
  }
  
  .footer-col ul li{
    margin-bottom:0;
  }
  
  .footer-bottom .container{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }
  
  .footer-bottom .copyright{
    text-align:center;
    order:1;
  }
  
  .footer-bottom .footer-links{
    order:2;
    justify-content:center;
  }
  
  /* Contact page responsive */
  section > .container > div[style*="grid-template-columns:1fr 1fr"]{
    grid-template-columns:1fr !important;
  }
  
  .cta-frame{
    padding:32px 24px;
  }
  
  .cta-frame h2{
    font-size:28px;
  }
}
@media (max-width:420px){
  .hero-content h1{font-size:var(--mobile-heading-size)}
  .contact-hero h1{font-size:var(--mobile-heading-size)}
  .products-hero h1{font-size:var(--mobile-heading-size)}
  .features h2{font-size:var(--mobile-heading-size)}
  .stats-grid{grid-template-columns:1fr}
  .stat-value{font-size:32px}
  .container{padding:0 16px}
}
