/* General Styles */
:root {
    --primary-color: #635bff;
    --secondary-color: #0a2540;
    --text-color: #425466;
    --background-color: #f6f9fc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Navigation Placeholder Styles */
#nav-placeholder {
    min-height: 60px;
    /* Adjust this value based on the height of your navigation bar */
}

/* Navigation Styles */
nav {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--secondary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Language Switcher Styles */
.language-switch {
    display: flex;
    align-items: center;
}

.language-switch a {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.language-switch img {
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.language-switch img:hover {
    transform: scale(1.1);
}

/* Hero Section Styles */
header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 100px 0 50px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content img {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 112px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    color: var(--white);
    background: var(--primary-color);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Long Text Section Styles */
#long-text, #article {
    padding: 50px 0 10px;
    background: var(--white);
}

#long-text h1, #article h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

#long-text h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

#article h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: left; /* Align left */
}

#long-text p {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: center;
}

#article p {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left; /* Align left */
}

#long-text .container, #article .container {
    text-align: center;
    padding-bottom: 25px;
}

#long-text .btn, #article .btn {
    display: inline-block;
    margin-top: 20px;
}

/* Features Section Styles */
#features, #tested, #support, #contact, #faq {
    padding: 50px 0;
    text-align: center;
}

#features {
    background: var(--white);
}

#features h2, #features h1, #tested h2, #support h2, #contact h2, #faq h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

#features h1 {
    font-size: 3.5em;
    margin-bottom: 60px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-box {
    background: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.feature-box i {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-box h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-box p {
    font-size: 0.9em;
    color: var(--text-color);
}

/* Tested Section Styles */
#tested {
    background: var(--background-color);
}

#tested > p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    flex: 1 1 30%;
    max-width: 300px;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-size: 1em;
    color: var(--text-color);
}

/* Support and Contact Section Styles */
#support {
    background: var(--white);
}

#contact {
    background: var(--background-color);
    padding-top: 0;
}

#support p, #contact p {
    font-size: 1.2em;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

#support a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

#contact form {
    max-width: 500px;
    margin: 0 auto;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
}

#contact button {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #524ddb;
}

/* Footer Styles */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .logo img {
        height: 30px; /* Adjust logo size for mobile */
    }

    header {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 3.5em;
        /* Desktop size */
    }

    /* When viewport <= 768px, shrink it */
    @media (max-width: 768px) {
        .hero-content h1 {
            font-size: 2.5em;
            /* or whatever smaller size you prefer */
        }
    }

    .hero-content p {
        font-size: 1em;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .stat {
        width: 100%;
    }

    section {
        padding: 40px 0;
    }

    .hero-content img {
        width: 80%;
        max-width: 400px;
        height: auto;
    }
    
    /* AI Beta Page Mobile Styles */
    .ai-features {
        flex-direction: column;
    }
    
    .ai-features .feature-box {
        width: 100%;
        margin: 10px 0;
    }
    
    .signup-form-container {
        width: 90%;
        padding: 20px;
    }
}

/* Animation Styles */
.feature-box, .stat {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-box.animate, .stat.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Section Styles */
#persondatapolitik, #blog-entry {
    padding: 50px 0;
}

#blog-entry {
    padding: 50px 50px;
}

/* Spacing between headings and paragraphs */
h2 {
    margin: 20px 0 10px;
}

p {
    margin: 10px 0 20px;
}

/* General list styling */
ul, ol {
    padding-left: 40px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* FAQ Section Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 1em;
    color: var(--text-color);
}

/* Quote Section Styles */
.quote-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

blockquote {
    font-size: 2em;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
    position: relative;
    padding: 40px 0 20px;
}

.quote-section blockquote::before {
    left: -20px;
    top: -20px;
}

.quote-section blockquote::after {
    right: -20px;
    bottom: -40px;
}

@media (max-width: 768px) {
    .quote-section blockquote {
        font-size: 1.4em;
        padding: 0 20px;
    }
}

.feature-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-link .feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-link .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* AI Beta Signup Page */
#ai-beta {
    padding: 100px 0;
}

#ai-beta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 40px 0;
}

.ai-features .feature-box {
    flex: 1;
    min-width: 250px;
    margin: 15px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-features .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.ai-features .feature-box i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.signup-form-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#betaSignupForm {
    margin-top: 20px;
}

#betaSignupForm input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
}

#formStatus {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #e8f5e9;
    color: #2e7d32;
    display: none;
}

#formStatus.error {
    background-color: #ffebee;
    color: #c62828;
}

#formStatus:not(:empty) {
    display: block;
}

.form-note {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}
