:root {
    --primary: #1a73e8;
    --primary-dark: #155bb5;
    --navy: #0f1e36;
    --text-dark: #222;
    --text-muted: #666; /* Unified muted color */
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #eaeaea;
    --transition: color 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
    --container-width: 1100px;
	--text-disabled: #aaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
	border-radius: 1px;
}

.cta a:focus-visible,
footer a:focus-visible {
    outline-color: var(--white);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px max(2%, calc((100% - var(--container-width)) / 2));
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none; /* important */
}

.logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a,
.nav-links button {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);

    text-decoration: none;
    cursor: pointer;
    line-height: 1.6;
}


.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links button:hover,
.nav-links button:focus-visible {
    color: var(--primary);
}
.dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* DROPDOWN */
.dropdown {
    position: static; 
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;/* 1 */
    width: 100%;/* 50% */
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    padding: 40px 0;
}

.dropdown-content-inner {
    max-width: var(--container-width);
    margin: 0;
    padding-left: 200px; /* 20px */
}

.dropdown-content a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    width: fit-content;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:hover {
    color: var(--primary);
    padding-left: 10px; /* Subtle slide effect on hover */
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown.active .dropdown-content,
.hero-dropdown.active .hero-dropdown-menu {
    display: block;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 10px;
}

.column-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
color: var(--primary);
}

/* HERO */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtext {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    opacity: 0.95;
}

/* CONTENT BLOCKS */
.details-grid { padding: 80px 0; background: var(--white); }

.content-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.content-block:last-child { border-bottom: none; margin-bottom: 0; }

.content-block h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* GRID LIST */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    list-style: none;
}

.feature-list li {
    padding: 25px;
    background: var(--bg-light);
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    transition: var(--transition);
}

.feature-list li:hover {
    will-change: transform;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-list li strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.instruction-list {
    display: grid;
    gap: 20px;
    list-style: none;
}

.instruction-list li {
    padding: 25px;
    background: var(--bg-light);
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    transition: var(--transition);
}

.instruction-list li:hover {
    will-change: transform;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.instruction-list li strong {
    display: block;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* CTA */

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta {
    padding: 80px 0;
    background: #111;
    color: var(--white);
    text-align: center;
}

.cta h2 { font-size: 2rem; margin-bottom: 15px; }
.cta p { margin-bottom: 30px; color: var(--text-disabled); }

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 32px;
    min-height: 64px;
    line-height: 1;
    
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;

    border: none;
    cursor: pointer;
    transition: var(--transition);
}


.honeypot-field {
  position: absolute;
  left: -5000px;
}

/* Mobile tweaks for CTA buttons inside content sections */
@media (max-width: 600px) {
    .details-grid .cta-button {
        width: 100%;           /* make all CTAs full-width on small screens */
    }

    .details-grid .cta-button + .cta-button {
        margin-top: 12px;      /* add vertical gap between stacked CTAs */
    }
}

.cta-button:hover { background: var(--primary-dark); transform: scale(1.05); }

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: rgba(26, 115, 232, 0.1);
}

/* FOOTER */
footer {
    background: #000;
    color: var(--text-disabled);
    text-align: center;
    padding: 50px 20px;
}

.footer-links { margin-bottom: 15px; }
.footer-links a {
    color: var(--text-disabled);
    margin: 0 12px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--white);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
}


/* SPLIT HERO (COMSOL STYLE) */

.split-hero {
    display: flex;
    min-height: 520px;
}

/* LEFT IMAGE (full width section) */
.hero-image {
    flex: 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT TEXT SIDE */
.hero-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--white);
}

.hero-content {
    max-width: 520px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* BUTTONS */
.hero-btns {
    display: flex;
    gap: 15px;
}

.cta-secondary {
    padding: 16px 32px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    min-height: 48px;
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--bg-light);
}

/* VIDEO SHOWCASE - PERFORMANCE ORIENTED */
.video-showcase {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.video-showcase h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: none;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
   	margin-bottom: 20px;
    color: var(--text-muted);
}

/* Hero Dropdown Logic */
.hero-dropdown {
    position: relative;
    display: inline-block;
}

.hero-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 10;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Center the menu for the bottom CTA */
.hero-dropdown.central .hero-dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
}

.hero-dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
}

.hero-dropdown-menu a:last-child {
    border-bottom: none;
}

.hero-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Show on Hover (Desktop) */
.hero-dropdown:hover .hero-dropdown-menu,
.hero-dropdown:focus-within .hero-dropdown-menu {
    display: block;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    transition: var(--transition);
}

.modal-content {
    background-color: var(--white);
    margin: 8% auto;
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 450px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.close-button {
    color: var(--text-disabled);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: var(--primary);
}

.modal h2 {
    margin-bottom: 10px;
    color: var(--navy);
}

.modal p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal label {
    font-weight: 600;
    color: var(--navy);
}

.modal input {
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid var(--text-disabled);
    font-size: 1rem;
}

.modal button.cta-button {
    padding: 14px 20px;
    font-size: 1rem;
}

/* CONTACT PAGE SPECIFIC */
.contact-page {
    padding: 100px 0;
    background: var(--bg-light);
    min-height: 80vh;
}

.contact-flex {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h1 {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.info-item {
    margin-top: 30px;
}

.info-item strong {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 5px;
}

.info-item a, .info-item p {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

.email-ref a, .email-ref p {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

/* FORM STYLING */
.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 16px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.faq-single-column {
    max-width: 800px;
    margin: 0 auto;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 15px 0;
}

.checkbox-label {
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: #007bff;
    text-decoration: underline;
}

#demoForm textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid var(--text-disabled);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    box-sizing: border-box;
}

#demoForm textarea:focus {
    border-color: #007bff;
    outline: none;
}

/* =========================
   MEDIA QUERIES (MERGED)
   ========================= */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 900px) {

  /* NAVIGATION */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
    gap: 10px; /* smaller gap for mobile */
    max-height: 70vh; /* limit height */
    overflow-y: auto; /* allow scroll */
    height: calc(100vh - 70px);
  }


  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links a,
  .nav-links button {
    padding: 10px 0;
    width: 100%;
    text-align: left;
  }

  .dropdown-content-inner {
    padding-left: 20px;
  }

  /* Dropdown on mobile */
  .dropdown-content {
    position: relative;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 12px 0;
    display: block;
  }

  /* HERO (SPLIT HERO) */
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-btns {
    justify-content: center;
  }

  /* CONTACT PAGE */
  .contact-flex {
    flex-direction: column;
    gap: 50px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
.hero {
    padding: 60px 0;
  }

  .hero-flex {
    flex-wrap: wrap;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .instruction-list {
    grid-template-columns: 1fr;
  }
  
  .split-hero {
    flex-direction: column;
}

.hero-image {
    height: 280px;
}

.hero-content-wrapper {
    padding: 40px 0;
    text-align: center;
}

}

.form-progress{
margin-bottom:30px;
}

.form-nav{
display:flex;
justify-content:space-between;
margin-top:25px;
}

.form-nav-right{
    display:flex;
    justify-content:flex-end;
    margin-top:25px;
}

.pricing-panel{
background:var(--bg-light);
padding:20px;
border-radius:8px;
margin-top:0px;
flex:1;
}

.price-row{
display:flex;
justify-content:space-between;
margin-bottom:8px;
}

.price-row.total{
font-weight:700;
font-size:1.1rem;
}

.field-help{
font-size:13px;
color:var(--text-muted);
margin-top:0px;
}

#licenseForm h3{
margin-top:40px;
margin-bottom:15px;
padding-bottom:8px;
border-bottom:1px solid var(--border-color);
}

.success-banner{
background:#e8f7ee;
border:1px solid #2ecc71;
color:#155724;
padding:14px 16px;
border-radius:6px;
margin-bottom:20px;
font-size:15px;
}

@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    padding: 20px;
    margin: 5% auto;
  }
}

@media (max-width: 450px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 14px;
  }
}

@media (hover: hover) {
    .feature-list li:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .instruction-list li:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .cta-button:hover {
        transform: translateY(-2px);
    }
}


/* Mobile Pricing Styles (Up to 768px) */
.mobile-pricing {
    background: var(--white);
    padding: 80px 0;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 24px;
    padding: 32px 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--navy);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.card-header .plan-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.card-header .price {
    margin: 16px 0;
    display: flex;
    align-items: baseline;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.price .currency, .price .period {
    color: var(--text-muted);
    font-weight: 500;
}

/* Feature Checklist */
.feature-checklist {
    list-style: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.feature-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* The Blue Checkmark */
.feature-checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Making the Button Full Width for Mobile Thumbs */
.pricing-card .cta-button {
    width: 100%;
    margin-bottom: 10px;
}
.form-step{
display:none;
}

.form-step.active-step{
display:block;
}

.form-step{
display:none;
opacity:0;
transition:opacity .25s ease;
}

.form-step.active-step{
display:block;
opacity:1;
}

/* FORM PROGRESS LINE */

.form-progress-bar{
width:100%;
height:6px;
background:var(--border-color);
border-radius:6px;
margin-bottom:30px;
overflow:hidden;
}

.form-progress-fill{
height:100%;
width:50%;
background:var(--primary);
transition:width .3s ease;
}
#activationSection {
    scroll-margin-top: 110px;
}
/* Desktop Styles (Large Screens) */
@media (min-width: 768px) {
    .mobile-pricing .pricing-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two equal columns */
        gap: 30px;
        align-items: stretch; /* Ensures cards are the same height */
        margin-top: 40px;
    }

    .pricing-card {
        margin-bottom: 0; /* Remove mobile margin */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 48px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Subtle hover lift effect */
    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-color: var(--primary);
    }

    .card-header .plan-name {
        font-size: 1.8rem;
    }

    .card-features {
        flex-grow: 1;
        margin-top: 8px;
    }
}
@media (max-width: 600px) {
  .cta-group {
    flex-direction: column;
  }

  .cta-group .cta-button {
    width: 100%;
  }
  
  #licenseForm .cta-group {
    flex-direction: column-reverse;
  }
}