/* Proxinium - Responsive SaaS CSS
   Drop into static/styles.css
*/

/* Logo styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4b3ff8;
}

.logo-highlight {
    color: #7b61ff;
}


:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --accent: #6c4ef6;       /* primary accent (violet) */
  --accent-2: #3b82f6;     /* secondary accent (blue) */
  --glass: rgba(255,255,255,0.6);
  --radius: 12px;
  --max-width: 1180px;
  --shadow-sm: 0 6px 18px rgba(16,24,40,0.06);
  --shadow-md: 0 14px 30px rgba(16,24,40,0.08);
  --success: #12b981;
}

/* Reset & base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  font-size:16px;
}

/* Container */
.container{
  width: calc(100% - 36px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 18px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15,23,42,0.04);
}
.header-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.logo a{
  font-weight:800;
  color:var(--accent);
  text-decoration:none;
  font-size:20px;
  letter-spacing:0.4px;
}
.nav{
  display:flex;
  gap:20px;
  align-items:center;
}
.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  padding:8px 10px;
  border-radius:8px;
}
.nav a:hover{ background: rgba(99,102,241,0.06); color:var(--accent) }
.nav a.active{ color:var(--accent); box-shadow: inset 0 -2px 0 var(--accent) }

/* Mobile nav button */
.mobile-nav-btn{
  display:none;
  border:none;
  background:transparent;
  cursor:pointer;
  padding:8px;
  border-radius:8px;
}

/* Hero */
.hero{
  display:flex;
  gap:28px;
  align-items:center;
  margin: 28px 0 26px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(108,78,246,0.06), rgba(59,130,246,0.02));
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
.hero-left{flex:1; min-width:0}
.hero-right{flex:1; display:flex; align-items:center; justify-content:center}
.brand-title{
  font-size:44px;
  line-height:1.02;
  margin:0 0 10px;
  color:var(--accent);
  font-weight:800;
}
.lead{
  font-size:18px;
  color:var(--muted);
  margin: 0 0 18px;
}
.hero-cta{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:6px;
}
.btn{
  display:inline-block;
  padding:12px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  border: none;
}
.btn-primary{
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color:white;
  box-shadow: 0 8px 24px rgba(108,78,246,0.18);
}
.btn-outline{
  background:transparent;
  color:var(--accent);
  border:1px solid rgba(108,78,246,0.12);
}

/* Feature list */
.features{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.feature{
  background: white;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(15,23,42,0.03);
  box-shadow: 0 6px 18px rgba(16,24,40,0.03);
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.feature h4{ margin:0; font-size:16px }
.feature p{ margin:2px 0 0; color:var(--muted); font-size:14px }

/* Pricing grid */
.pricing-wrapper{ margin-top:24px; }
.pricing-header{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.plan-card{
  background:var(--card);
  border-radius:14px;
  padding:22px;
  text-align:center;
  border:1px solid rgba(15,23,42,0.04);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plan-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.plan-title{ font-size:18px; font-weight:800; margin-bottom:6px; color: #0f172a }
.plan-price{ font-size:18px; font-weight:700; color:var(--accent); margin-bottom:8px }
.plan-quota{ color:var(--muted); font-size:14px; margin-bottom:8px }
.plan-features{ text-align:left; margin-top:12px; padding-left:0; list-style:none }
.plan-features li{ display:flex; gap:10px; align-items:center; margin-bottom:8px; color:var(--muted); font-size:14px }
.plan-features li::before{ content:""; width:8px; height:8px; background:var(--accent); border-radius:50%; display:inline-block; margin-right:8px }

/* Highlight recommended plan */
.plan-card.recommended{
  border:2px solid rgba(108,78,246,0.12);
  background: linear-gradient(180deg, rgba(108,78,246,0.03), rgba(255,255,255,0.0));
  transform: translateY(-2px);
}
.reco-badge{
  display:inline-block;
  background: linear-gradient(90deg,var(--accent),var(--accent-2));
  color:white;
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  box-shadow: 0 10px 30px rgba(108,78,246,0.12);
  margin-bottom:10px;
}

/* Custom calculator (pricing) */
.calc-form{
  margin-top:18px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.calc-form input[type=number]{ padding:10px 12px; border-radius:8px; border:1px solid rgba(15,23,42,0.06); width:170px }
.calc-actions{ display:flex; gap:8px; align-items:center }

/* About / card sections */
.about-section{
  margin-top:28px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:center;
}
.about-card{
  background:white;
  padding:18px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,0.03);
}

/* Footer */
.site-footer{
  margin-top:40px;
  padding:22px 0;
  color:var(--muted);
  border-top:1px solid rgba(15,23,42,0.04);
}
.footer-inner{ display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; align-items:center }

/* Utility */
.center{ text-align:center }
.small{ font-size:13px; color:var(--muted) }
.kv{ font-weight:700; color:var(--text) }

/* Responsive breakpoints */
@media (max-width: 1100px){
  .pricing-grid{ grid-template-columns: repeat(2, 1fr) }
  .features{ grid-template-columns: 1fr }
  .about-section{ grid-template-columns: 1fr }
}

@media (max-width: 760px){
  .hero{ flex-direction:column; padding:18px }
  .brand-title{ font-size:32px }
  .hero-right{ order:2; width:100% }
  .hero-left{ order:1; width:100% }
  .header-inner{ padding:10px 12px }
  .nav{ display:none } /* hide nav on mobile; show mobile button */
  .mobile-nav-btn{ display:inline-flex; }
  .container{ padding: 20px 14px }
  .pricing-grid{ grid-template-columns: 1fr }
  .plan-price{ font-size:20px }
  .plan-card{ padding:18px }
  .calc-form input[type=number]{ width:100% }
  .calc-form{ flex-direction:column; align-items:stretch }
}

/* Small micro-adjustments */
@media (max-width:420px){
  .brand-title{ font-size:26px }
  .lead{ font-size:15px }
  .btn{ padding:10px 12px; font-size:14px }
  .plan-title{ font-size:16px }
  .plan-price{ font-size:18px }
}
/* Contact Page */
.contact-section {
  background: #f6f8fb;
  padding: 60px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 40px;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: #2c3e50;
}

.contact-info p {
  margin: 15px 0;
  color: #555;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-details li {
  margin: 10px 0;
  color: #333;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Form styling */
.contact-form {
  flex: 1 1 400px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  font-weight: bold;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #fafafa;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 25px;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}

/* ---------------- PRICING PAGE ---------------- */

.pricing-section {
    text-align: center;
    padding: 80px 20px;
    background: #fafaff;
    font-family: 'Inter', sans-serif;
}

.pricing-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #4b3ff8;
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.plan-card h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #4b3ff8;
    margin-bottom: 4px;
}

.plan-price span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

.plan-requests {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
}

.plan-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.plan-card ul li {
    margin-bottom: 10px;
    color: #444;
    font-size: 0.95rem;
}

/* Popular Plan Highlight */
.plan-card.popular {
    border: 2px solid #7b61ff;
    background: #f9f8ff;
    position: relative;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #7b61ff;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(123, 97, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
