:root {
    --bg: #030712;
    --text: #f3f4f6;
    --subtext: #aab4c8;
    --accent: #3b82f6;
    --card-bg: #111827;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    --dot-color: rgba(59, 131, 246, 0.418);
    --glow-color: rgba(59, 130, 246, 0.1);
    --radius: 8px;
    --padding: clamp(2rem, 5vw, 5rem);
    --grid-color: rgba(0, 112, 243, 0.05);
}

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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers children (nav and main) horizontally */
    min-height: 100vh;
    margin: 0;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Adjust this to change dot density */
    animation: backgroundMove 60s linear infinite;
    line-height: 1.6;
    overflow-x: hidden;

    background-color: var(--bg);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(59, 130, 246, 0.25) 2%,
            transparent 5%);
    pointer-events: none;
    z-index: -1;
}


/* Layout */
header {
    padding: 1.5rem var(--padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    padding: 0 var(--padding);
    margin-top: 5rem;
    max-width: 80%;
}

section {
    padding: var(--padding) 0;
}

section,
.glassmorphism {
    opacity: 0;
    will-change: opacity, transform;
}



/* ------------ HERO SECTION ------------ */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 4rem;
    transition: all 0.3s ease-in-out;
}


.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}



.hero-image img {
    width: 100%;
    /* Remove the fixed max-width for mobile so it fills the screen width */
    max-width: 100%;
    height: auto;

    /* Use a wider aspect ratio for mobile (Landscape) */
    aspect-ratio: 16 / 9;

    object-fit: cover;
    border-radius: 20px;
    display: block;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero-image img {
        /* Return to your preferred square look on larger screens */
        max-width: 1000px;
        aspect-ratio: 1 / 1;
    }
}



h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--text);
    max-width: 15ch;
}

/* Mobile settings (Default) */
.hero-text h1 {
    font-size: 1.8rem;
    /* Smaller for mobile */
    line-height: 1.2;
}

.hero-text p {
    font-size: 1rem;
}

/* Desktop settings */
@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
        /* Larger for desktop */
    }

    .hero-text p {
        font-size: 1.25rem;
    }
}



@media (max-width: 992px) {
    .hero {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 2rem;
    }

}

.hero-subtext {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--subtext);
    margin-bottom: 2.5rem;
    margin-inline: 0 auto;
    line-height: 1.6;
    max-width: 55ch;
    text-align: left;
}

.hero-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* ------------ USP SECTION ------------ */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    list-style: none;
}

@media (min-width: 1000px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.small-subtext {
    color: var(--subtext);
}

/* ------------ PRICING SECTION ------------ */
.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.pricing-card.featured {
    border: 1px solid var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--subtext);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--subtext);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
}

/* ------------ CALL TO ACTION SECTION ------------ */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 4rem 0;
}


.cta-section form {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
}

input {
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn {
    background: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
    background: #0056b3;
}

.btn-text {
    text-align: center;
}


@media (max-width: 600px) {
    .cta-section form {
        flex-direction: column;
        /* Stack input and button on phones */
    }

    .cta-section form .btn {
        width: 100%;
    }
}


form {
    flex-direction: column;
    align-items: center;
}


footer {
    text-align: center;
    padding: 3rem;
    font-size: 0.9rem;
    color: #888;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, background 0.3s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card {
    align-items: center;
    /* Centers children horizontally */
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 80px;
    height: 80px;
    stroke-width: 1.5px;
    color: #ffffff;
}

.feature-icon svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

[data-key] {
    white-space: pre-line;
}

.lang-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-container {
    display: flex;
    gap: 0.4rem;
    padding: 4px;
    background: rgba(255, 255, 255, 0.01);
    /* Glass effect to match your theme */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-language {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--subtext);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-language.active {
    background: white;
    color: #030712;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-language:hover:not(.active) {
    color: var(--text);
}

.thank-you-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    margin: 4rem 0;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes backgroundMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 1000px;
    }
}