/* styles.css - Single file for both desktop and mobile */
:root{
  --bg: #070A0D;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --stroke: rgba(255,255,255,.14);
  --accent: #1FAF9A;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* ================= NAVBAR ================= */

.nav{
  position:sticky;
  top:0;
  z-index: 10002;
  background:rgba(7,10,13,.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav-inner{
  display:flex;
  align-items:center;
  padding:14px 0;
}

.logo-img{
  height: 130px;        
  width:auto;
  display:block;
}

.nav-links{
  display:flex;
  gap:20px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  margin-left:auto;      
}

.nav-cta{
  margin-left:20px;      
}

.btn{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.05);
  font-weight:600;
  transition:all .2s ease;
}

.btn:hover{
  background:rgba(255,255,255,.1);
}

.btn-primary{
  background:linear-gradient(135deg, #1FAF9A, #18C2A9);
  border:none;
  color:white;
}

.btn-primary:hover{
  opacity:.9;
}

/* ================= HERO ================= */

.hero{
  padding:80px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}

h1{
  font-size:48px;
  line-height:1.1;
  margin:0 0 16px;
}

.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  margin-bottom:20px;
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top: 35px; 
}

.phone-wrap{
  padding:0;
  background:transparent;
  border:none;
}

.phone{
  width:100%;
  border-radius:20px;
  display:block;
}

/* ================= NAV LINK HOVER EFFECT ================= */
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #1f9c8b;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #1f9c8b;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= PRICING ================= */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
  margin-top:40px;
}

.pricing-card{
  padding:30px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  text-align:center;
  position:relative;
  transition:all .25s ease;
}

.pricing-card:hover{
  transform:translateY(-6px);
  border-color:#1f9c8b;
}

.pricing-card h3{
  margin-bottom:10px;
}

.price{
  font-size:36px;
  font-weight:800;
  margin:15px 0;
}

.price span{
  font-size:14px;
  font-weight:400;
  color:rgba(255,255,255,.6);
}

.pricing-sub{
  color:rgba(255,255,255,.7);
  margin-bottom:20px;
}

.pricing-card ul{
  list-style:none;
  padding:0;
  margin:0 0 25px;
}

.pricing-card ul li{
  margin-bottom:8px;
  color:rgba(255,255,255,.75);
}

.featured{
  border:1px solid #1f9c8b;
  background:rgba(31,156,139,.08);
}

.badge{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:#1f9c8b;
  color:white;
  padding:4px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

/* ================= FREE TRIAL ================= */

.trial-banner{
  margin-top:20px;
  padding:12px 18px;
  border-radius:999px;
  display:inline-block;
  background:rgba(31,156,139,.12);
  border:1px solid #1f9c8b;
  color:#1f9c8b;
  font-weight:600;
  font-size:14px;
}

.trial-badge{
  position:absolute;
  top:18px;
  right:18px;
  background:#1f9c8b;
  color:white;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}

/* ================= CONTACT PAGE ================= */

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:40px;
  margin-top:40px;
}

.contact-info ul{
  padding-left:18px;
  margin-top:15px;
  color:rgba(255,255,255,.75);
}

.contact-info li{
  margin-bottom:10px;
}

.contact-note{
  margin-top:20px;
  color:#1f9c8b;
  font-weight:600;
}

.contact-card{
  padding:30px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}

.contact-form label{
  font-size:13px;
  color:rgba(255,255,255,.7);
  display:block;
  margin-bottom:6px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(0,0,0,.25);
  color:white;
  margin-bottom:15px;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:#1f9c8b;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

/* ================= DEMO PAGE ================= */

.demo-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:40px;
  margin-top:40px;
}

.demo-info ul{
  padding-left:18px;
  margin-top:15px;
  color:rgba(255,255,255,.75);
}

.demo-info li{
  margin-bottom:10px;
}

/* Premium Card */
.demo-card{
  padding:60px 40px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(
    145deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02)
  );
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
  position:relative;
  overflow:hidden;
}

.demo-card::before{
  content:"";
  position:absolute;
  inset:-50px;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(31,156,139,.25),
    transparent 60%
  );
  z-index:-1;
}

.demo-cta{
  text-align:center;
}

.demo-cta h3{
  font-size:22px;
  margin-bottom:10px;
}

.demo-cta p{
  color:rgba(255,255,255,.7);
  margin-bottom:30px;
}

.demo-button{
  font-size:16px;
  padding:16px 32px;
  transition: all .25s ease;
}

.demo-button:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(31,156,139,.35);
}

/* Ensure Calendly popup is always above the site UI */
.calendly-overlay,
.calendly-popup {
  z-index: 999999 !important;
}

/* ================= LEGAL PAGES ================= */

.legal-wrap{
  margin-top: 40px;
  margin-bottom: 40px;
}

.legal-card{
  padding: 34px;
}

.legal-card h2{
  margin: 22px 0 10px;
  font-size: 20px;
}

.legal-card h3{
  margin: 18px 0 8px;
  font-size: 16px;
  color: rgba(255,255,255,.88);
}

.legal-card p{
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 10px 0;
}

.legal-card ul{
  margin: 10px 0 14px;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
}

.legal-muted{
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.65;
}

.legal-hr{
  border: none;
  border-top: 1px solid rgba(255,255,255,.10);
  margin: 18px 0;
}

/* ================= LANGUAGE SWITCHER ================= */
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: rgba(31, 175, 154, 0.2);
  color: #1FAF9A;
}

.lang-switch button:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ================= COOKIE CONSENT ================= */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000000;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(7,10,13,.92);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}

.cookie-banner h4{
  margin:0 0 8px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.2px;
}

.cookie-banner p{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.45;
  color: rgba(255,255,255,.72);
}

.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.cookie-actions button,
.cookie-actions a{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.05);
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition:all .2s ease;
  color: rgba(255,255,255,.9);
  text-decoration:none;
}

.cookie-actions button:hover,
.cookie-actions a:hover{
  background:rgba(255,255,255,.10);
}

.cookie-actions .primary{
  border:none;
  background:linear-gradient(135deg, #1FAF9A, #18C2A9);
  color:#fff;
}

.cookie-actions .primary:hover{
  opacity:.92;
}

/* Modal */
.cookie-modal{
  position:fixed;
  inset:0;
  z-index:1000001;
  background: rgba(0,0,0,.60);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.cookie-modal.open{ display:flex; }

.cookie-panel{
  width:100%;
  max-width:720px;
  border-radius:22px;
  padding:18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,10,13,.96);
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}

.cookie-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  border-top:1px solid rgba(255,255,255,.10);
}

.cookie-row:first-of-type{ border-top:none; }

.cookie-row small{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.62);
  line-height:1.35;
  font-size:12px;
}

.cookie-switch{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.cookie-switch input{
  width:18px;
  height:18px;
}

/* ================= FOOTER ================= */

.footer{
  margin-top:80px;
  padding:40px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.25);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
  flex-wrap:wrap;
}

.footer-brand{
  font-weight:800;
  font-size:16px;
  letter-spacing:.5px;
  margin-bottom:6px;
}

.footer-copy{
  font-size:13px;
  color:rgba(255,255,255,.65);
  margin-bottom:6px;
}

.footer-sub{
  font-size:12px;
  color:rgba(255,255,255,.45);
}

.footer-links {
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  border-radius: 0;
}

.footer-btn:hover {
  background: none;
  border: none;
  color: #1f9c8b;
}

/* ================= MOBILE NAV OVERLAY ================= */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 10003;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

/* MOBILE ONLY */
@media (max-width: 900px) {
  .logo-img {
    height: 80px;
  }

  .nav-inner {
    flex-direction: row;
    align-items: center;
  }

  /* Overlay panel (not full height container) */
  .nav-links {
    position: fixed;
    top: 70px; /* below header */
    right: 20px;
    width: 220px;
    padding: 20px;
    background: rgba(7,10,13,0.98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    flex-direction: column;
    gap: 18px;
    font-size: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 10004;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    margin-left: auto;
  }

  .lang-switch {
    margin-left: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Pull entire navbar content more to the left */
  .nav .container {
    padding-left: 0;
    padding-right: 8px;
  }

  /* Remove logo negative hack if you added it */
  .brand {
    margin-left: 0;
  }

  /* Slightly reduce right edge pressure */
  .nav-toggle {
    margin-right: 2px;
  }

  /* Mobile grid fixes */
  .hero-grid,
  .pricing-grid,
  .contact-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 32px;
  }
}