/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333; /* Dark grey for text */
}

.navbar-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-container {
    width: 80%;
    margin: 0 auto;
}

.navbar {
    background: transparent; /* Make the navbar background transparent */
    padding: 10px 0;
    color: white;
    width: 100%;
    position: absolute; /* Position the navbar absolutely */
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5em;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar .nav-links li {
    margin: 0 15px;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
}

.navbar .nav-links .login-button {
    background: #2e1cff; /* Match the cta-button color */
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 25px; /* Rounder corners */
    display: inline-block;
}

.hero {
    position: relative; /* Ensure relative positioning for the overlay */
    background: url('images/Dalle3-generated.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 200px 20px; /* Increased padding */
    background-color: rgba(44, 62, 80, 0.7); /* Adding a dark blue-grey overlay */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1; /* Ensure the overlay is above the background image but below the text */
}

.hero-content {
    position: relative; /* Ensure the content is above the overlay */
    max-width: 600px;
    margin: 0 auto;
    color: white; /* White color for hero content text */
    z-index: 2; /* Ensure the content is above the overlay */
}

.cta-button {
    background: #2e1cff; /* Updated bright blue color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px; /* Increased border radius for rounder corners */
    display: inline-block;
    margin-top: 20px;
}

.intro-text {
    background: #ffffff; /* White background for the intro text section */
    text-align: center;
    padding: 50px 20px;
}

.intro-text h2 {
    font-size: 1.5em; /* H1-like font size */
    color: #333; /* Dark grey text color */
    margin: 0;
}

.intro-text p {
    font-size: 1.2em; /* Font size adjusted to 1.2em */
}

.intro-boxes {
    display: flex;
    justify-content: space-around; /* Ensures even space between the boxes */
    margin-top: 30px;
    gap: 20px; /* Add gap between the boxes */
}

.intro-box {
    flex: 0 1 45%;
    padding: 20px;
    border-radius: 15px; /* Rounded corners */
    background: #ecf0f1; /* Same grey background as Basic pricing box */
    text-align: left; /* Left-align the text inside the boxes */
}

.intro-box h3 {
    font-size: 1.5em; /* Eye-catching header font size */
    color: #333; /* Dark grey text color */
    margin-top: 0; /* Remove top margin */
}

.intro-box .demo-link,
.intro-box .more-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #2e1cff; /* Match the cta-button color */
    color: white;
    text-decoration: none;
    border-radius: 25px; /* Rounder corners */
}

.icon-container {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.icon-container img {
    width: 40px; /* Set the width of the icons */
    height: 40px; /* Set the height of the icons */
}

.features {
    padding: 50px 20px;
    text-align: center;
    background: #ecf0f1; /* Light grey background for features section */
}

.features .features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.features .feature-box {
    flex: 0 1 30%;
    margin: 20px;
    padding: 20px;
    border: 1px solid #95a5a6; /* Light grey border */
    border-radius: 15px; /* Increased border radius for rounder corners */
    background: white;
    box-sizing: border-box;
}

.risk {
    position: relative; /* Ensure relative positioning for the overlay */
    background: url('images/Dalle3-generated-v14.webp') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(44, 62, 80, 0.7); /* Adding a dark blue-grey overlay */
}

.risk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1; /* Ensure the overlay is above the background image but below the text */
}

.risk .section-container {
    position: relative; /* Ensure the content is above the overlay */
    z-index: 2; /* Ensure the content is above the overlay */
}

.risk h2 {
    font-size: 1.8em; /* Font-size adjusted to 1.8em */
    margin-bottom: 20px;
}

.risk p {
    font-size: 1.2em; /* Same font-size as text above the Get Started button */
}

.pricing {
    background: #ffffff; /* White background for pricing section */
    padding: 50px 20px;
    text-align: center;
}

.pricing h2 {
    margin-bottom: 20px;
}

.pricing p {
    font-size: 1em;
    margin-bottom: 40px;
}

.pricing .pricing-container {
    display: flex;
    justify-content: space-between; /* Adjust spacing to keep boxes on the same row */
    flex-wrap: wrap;
    gap: 20px; /* Add gap between boxes */
}

.pricing-box {
    flex: 0 1 22%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 15px; /* Increased border radius for rounder corners */
    border: 1px solid #95a5a6; /* Add border to the pricing boxes */
    box-sizing: border-box;
    text-align: left; /* Left-align the text inside the boxes */
    background: white; /* Ensure the background is set for visibility */
}

.pricing-box.basic {
    background: #ecf0f1; /* Light grey background for basic pricing box */
    border: 1px solid #ecf0f1; /* Border color same as background */
}

.pricing-box.standard {
    background: #2e1cff; /* Updated to match the cta-button color */
    color: white;
    border: 1px solid #2e1cff; /* Border color same as background */
}

.pricing-box.premium {
    background: #ecf0f1; /* Light grey background for premium pricing box */
    border: 1px solid #ecf0f1; /* Border color same as background */
}

.pricing-box h3 {
    font-size: 1.2em; /* Smaller header font size */
    margin-top: 0;
}

.pricing-box p.bold {
    font-size: 1.5em; /* Larger font size for pricing information */
    font-weight: bold; /* Make the text bold */
    margin-bottom: 10px; /* Reduce space after bold text */
}

.pricing-box p.small {
    font-size: 1em; /* Increased font size for additional information */
    margin-top: 5px; /* Reduce space before small text */
    margin-bottom: 10px; /* Reduce space after small text */
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin-top: 5px; /* Reduce space before list */
}

.pricing-box li {
    font-size: 1em; /* Set list item font size */
    margin: 5px 0; /* Reduce space between list items */
}

.pricing-box .cta-button {
    background: #2e1cff; /* Updated bright blue color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px; /* Increased border radius for rounder corners */
    display: inline-block;
    width: 80%; /* Set a specific width for the button */
    max-width: 200px; /* Limit the maximum width */
    margin: 20px auto 0 auto; /* Center the button */
    text-align: center; /* Center the text */
}

.pricing-box.standard .cta-button {
    background: white; /* Inverse color for the button */
    color: #2e1cff; /* Same color as the pricing box */
    border-radius: 25px;
    display: inline-block;
    margin-top: 20px;
}

/* --- Pricing layout: force 4 columns on desktop --- */
.pricing .pricing-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Tablet */
@media (max-width: 1200px) {
    .pricing .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .pricing .pricing-container {
        grid-template-columns: 1fr;
    }
}


.videos {
    padding: 50px 20px;
    text-align: center;
    background: #ecf0f1; /* Light grey background for videos section */
}

.videos .videos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.video-box {
    flex: 0 1 45%;
    margin: 20px;
    padding: 20px;
    border: 1px solid #95a5a6; /* Light grey border */
    border-radius: 15px; /* Increased border radius for rounder corners */
    background: #2f2c4f; /* Dark purple background for video boxes */
    color: white; /* White text color for video boxes */
    box-sizing: border-box;
}

.video-box h3 {
    color: white;
}

.testimonials {
    background: #ffffff; /* White background for testimonials section */
    padding: 50px 20px;
    text-align: center;
}

.testimonials .testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.testimonial-box {
    flex: 0 1 45%;
    margin: 20px;
    padding: 20px;
    border: 1px solid #95a5a6; /* Light grey border */
    border-radius: 15px; /* Increased border radius for rounder corners */
    background: white;
    box-sizing: border-box;
}

blockquote {
    font-style: italic;
    margin: 0 auto;
    max-width: 600px;
}

footer {
    background: #2c3e50; /* Dark blue-grey */
    color: white;
    text-align: center;
    padding: 20px 0;
}

.login-wrapper {
    position: relative;
}

/* Position the legal text under the Login button */
/* Adjust positioning as needed */
/* Adjusted to fit better under the login button IN TEST*/
.legal-under-login {
    position: absolute;
    top: 32px;
    right: -50px;
    width: 160px; /* control width */
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1.2;
    pointer-events: none;
    text-align: right;
}


/* Adjusted to fit better under the login button IN PROD*/
.legal-under-login {
    position: absolute;
    top: 45px;
    right: 150px;
    width: 160px; /* control width */
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1.2;
    pointer-events: none;
    text-align: right;
}

.legal-under-login a {
    pointer-events: auto; /* make link clickable */
}

/* --- Make "Why it matters" feel spacious and readable --- */
.importance {
    background: #ffffff;
    padding: 70px 20px;              /* mer luft upp/ner */
    text-align: center;
}

.importance .section-container {
    max-width: 980px;                /* minska radlängd */
}

.importance h2 {
    margin: 0 auto 18px;
    font-size: 2.0em;                /* lite större rubrik */
    line-height: 1.2;
}

.importance p {
    font-size: 1.15em;
    line-height: 1.7;                /* viktigast: mindre “ihoptryckt” */
    max-width: 850px;
    margin: 0 auto 16px;             /* mer luft mellan stycken */
}

/* Importance list: cleaner bullets + nicer card */
.importance ul {
  list-style: none;              /* ta bort default bullets */
  padding: 18px 22px;            /* mer “kort” än indrag */
  margin: 22px auto;
  background: #ecf0f1;
  border-radius: 15px;
  max-width: 720px;
  text-align: left;
}

.importance li {
  position: relative;
  padding-left: 26px;            /* plats för egen “bullet” */
  margin: 12px 0;
  line-height: 1.6;
}

.importance li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
}

/* .importance .section-container {
    background: white;
    border: 1px solid #ecf0f1;
    border-radius: 15px;
    padding: 35px 25px;
    box-sizing: border-box;
} */


/* --- Why developers don’t need a license --- */
.devs-no-license {
    background: #ecf0f1; /* matchar features/videos bakgrund */
    padding: 50px 20px;
    text-align: center;
}

.devs-no-license p {
    font-size: 1.1em;
    max-width: 850px;
    margin: 0 auto 18px auto;
}

.devs-no-license-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 25px;
}

.devs-no-license-box {
    flex: 0 1 45%;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #95a5a6;
    background: white;
    text-align: left;
    box-sizing: border-box;
}

.devs-no-license-box h3 {
    margin-top: 0;
}

.devs-no-license-box ul {
    margin: 0;
    padding-left: 18px;
}

.devs-no-license-cta {
    margin-top: 25px;
    padding-top: 25px;
}
/* Extra spacing between headline text and boxes in devs-no-license */
.devs-no-license > .section-container > p:first-of-type {
    margin-bottom: 32px;
}

.nowrap { white-space: nowrap; }
/* --- Pricing section enhancements for early-adopter layout --- */
.pricing .section-container {
    max-width: 1200px;
}

.pricing > .section-container > p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pricing-explainer,
.pricing-audience,
.pricing-faq,
.pricing-cta-panel {
    margin-top: 48px;
}

.pricing-explainer h3,
.pricing-audience h3,
.pricing-faq h3 {
    font-size: 1.6em;
    margin-bottom: 18px;
}

.pricing-explainer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.pricing-explainer-box,
.pricing-faq-item,
.pricing-cta-panel {
    background: #ecf0f1;
    border: 1px solid #ecf0f1;
    border-radius: 15px;
    padding: 24px;
    box-sizing: border-box;
}

.pricing-explainer-box {
    text-align: left;
}

.pricing-explainer-box h4,
.pricing-faq-item h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.pricing-explainer-box p,
.pricing-audience p,
.pricing-faq-item p,
.pricing-cta-panel p {
    line-height: 1.7;
    margin-bottom: 14px;
}

.pricing-explainer-box ul,
.pricing-audience ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
    text-align: left;
}

.pricing-explainer-box li,
.pricing-audience li {
    position: relative;
    padding-left: 22px;
    margin: 10px 0;
    line-height: 1.6;
}

.pricing-explainer-box li::before,
.pricing-audience li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: #2e1cff;
}

.pricing-audience {
    text-align: center;
}

.pricing-audience p,
.pricing-faq > p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-audience ul {
    max-width: 760px;
    margin: 22px auto 0 auto;
    background: #ffffff;
    border: 1px solid #d9dfe3;
    border-radius: 15px;
    padding: 22px 24px;
}

.pricing-faq {
    text-align: left;
}

.pricing-faq h3 {
    text-align: center;
}

.pricing-faq-item + .pricing-faq-item {
    margin-top: 18px;
}

.pricing-faq-item p:last-child,
.pricing-cta-panel p:last-of-type {
    margin-bottom: 0;
}

.pricing-cta-panel {
    text-align: center;
    background: #2f2c4f;
    border-color: #2f2c4f;
    color: white;
}

.pricing-cta-panel h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.6em;
}

.pricing-cta-panel .cta-button {
    background: white;
    color: #2e1cff;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .pricing-explainer-grid {
        grid-template-columns: 1fr;
    }
}
