/* ====================================================
   LangNetwork Homepage Theme
   Adapted from Integrity Theme (seTweaks.com) for Wrtin
   ==================================================== */

/* --- CSS Variables (Design Tokens) --- */
:root {
    --lnw-purple: #A48DC4;
    --lnw-purple-light: #b5a2cf;
    --lnw-purple-dark: #8b75aa;
    --lnw-purple-deep: #7a6796;
    --lnw-signup: #79cac3;
    --lnw-signup-hover: #afeae5;
    --lnw-login: #ef95a0;
    --lnw-login-hover: #efc0c6;
    --lnw-dark: #36393c;
    --lnw-bg: #f7f5f2;
    --lnw-text: #555;
    --lnw-text-light: #777;
    --lnw-heading: #444;
    --lnw-border: #ddd;
    --lnw-link: #0559b0;
    --lnw-link-hover: #2d6eb1;
}

/* --- Global Reset for Landing Page --- */
body#global_page_lnw-index-index {
    margin: 0 !important;
    padding: 0;
    width: 100%;
    max-width: none;
    overflow-x: hidden;
    background: #fff;
    color: var(--lnw-text);
    font-family: "Roboto", arial, tahoma, verdana, sans-serif;
}

#global_page_lnw-index-index a {
    text-decoration: none;
}

/* --- LNW Landing Wrapper --- */
.lnw-landing-wrap {
    width: 100%;
}

/* ==================================================== */
/*  SECTION 1 — HERO FULLSCREEN                           */
/* ==================================================== */

.lnw-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--lnw-bg) url('/assets/langnetwork/hero-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--lnw-border);
}

.lnw-hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.lnw-hero-title {
    font-family: "Yanone Kaffeesatz", "Roboto Condensed", "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--lnw-purple-dark);
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.lnw-hero-subtitle {
    font-size: 18px;
    color: #dea0c7;
    text-align: center;
    max-width: 600px;
    line-height: 26px;
    margin-bottom: 60px;
}

/* Signup/Login Split Buttons */
.lnw-hero-cta {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.lnw-hero-cta .lnw-btn-signup,
.lnw-hero-cta .lnw-btn-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-family: "Yanone Kaffeesatz", "Roboto Condensed", "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.3s ease-in;
    position: relative;
}

.lnw-btn-signup {
    color: var(--lnw-signup);
    border-radius: 40px 0 0 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.lnw-btn-signup:hover {
    color: var(--lnw-signup-hover);
}

.lnw-btn-login {
    color: var(--lnw-login);
    border-radius: 0 40px 40px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.lnw-btn-login:hover {
    color: var(--lnw-login-hover);
}

.lnw-btn-signup .btn-label,
.lnw-btn-login .btn-label {
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

/* ==================================================== */
/*  SECTION — FEATURES (4 Circles)                        */
/* ==================================================== */

.lnw-content-section {
    width: 100%;
    background: #fff;
}

.lnw-content-section.alt-bg {
    background: var(--lnw-bg);
}

.lnw-section-header {
    text-align: center;
    padding: 50px 20px 30px;
}

.lnw-section-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--lnw-heading);
    margin-bottom: 10px;
}

.lnw-section-header p {
    font-size: 16px;
    color: var(--lnw-text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 24px;
}

/* Feature Circles Grid */
.lnw-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.lnw-feature-card {
    width: 50%;
    min-width: 280px;
    text-align: center;
    padding: 30px 20px;
}

.lnw-feature-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #fff, #e3e3e3);
    box-shadow: inset 0 -1px 1px 1px rgba(0,0,0,0.1);
    border: 7px solid #fff;
    border-bottom-color: #f5f5f5;
    border-left-color: #f5f5f5;
    border-right-color: #f5f5f5;
    transition: all 0.2s ease-in-out;
}

.lnw-feature-circle img {
    width: 45px;
    height: 45px;
    opacity: 0.85;
}

.lnw-feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--lnw-text-light);
    margin-bottom: 12px;
}

.lnw-feature-card p {
    font-size: 14px;
    line-height: 24px;
    color: var(--lnw-text);
    max-width: 280px;
    margin: 0 auto;
}

/* ==================================================== */
/*  SECTION — CONNECTION DIVIDER                          */
/* ==================================================== */

.lnw-connection-divider {
    width: 100%;
    height: 245px;
    background: linear-gradient(to bottom, #fff 0%, var(--lnw-bg) 50%);
    border-bottom: 1px solid var(--lnw-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lnw-connection-divider img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    opacity: 0.7;
}

/* ==================================================== */
/*  SECTION — LANGUAGES                                   */
/* ==================================================== */

.lnw-languages {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(to bottom, var(--lnw-bg) 0%, #fff 70%);
}

.lnw-languages-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.lnw-languages-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.lnw-languages-text h3 {
    font-size: 28px;
    color: var(--lnw-heading);
    margin-bottom: 15px;
    font-weight: 600;
}

.lnw-languages-text p {
    font-size: 15px;
    line-height: 26px;
    color: var(--lnw-text-light);
}

.lnw-languages-img {
    flex: 0 0 auto;
}

.lnw-languages-img img {
    max-width: 350px;
    height: auto;
}

/* ==================================================== */
/*  SECTION — VIDEO / SCREENSHOT                          */
/* ==================================================== */

.lnw-video-section {
    padding: 50px 20px 40px;
    background: #fff;
}

.lnw-video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.lnw-video-wrapper video,
.lnw-video-wrapper .lnw-video-player {
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    background: #000;
    margin: 20px auto 30px;
}

.lnw-btn-cta-secondary {
    display: inline-block;
    padding: 15px 60px;
    background: linear-gradient(to bottom, var(--lnw-purple-light), var(--lnw-purple-dark));
    border: 1px solid var(--lnw-purple-dark);
    border-radius: 10px;
    color: #fff !important;
    font-family: "Yanone Kaffeesatz", "Roboto Condensed", "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 400;
    text-transform: capitalize;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lnw-btn-cta-secondary:hover {
    background: linear-gradient(to bottom, var(--lnw-purple), var(--lnw-purple-dark));
    color: #fff !important;
}

/* Screenshot desc */
.lnw-screenshot-desc {
    font-family: "Yanone Kaffeesatz", "Roboto Condensed", "Roboto", sans-serif;
    font-size: 22px;
    line-height: 30px;
    color: #f66a28;
    padding: 20px 0;
}

/* ==================================================== */
/*  SECTION — PRESS                                       */
/* ==================================================== */

.lnw-press {
    padding: 50px 20px;
    background: linear-gradient(to top, var(--lnw-bg) 0%, #fff 50%);
    text-align: center;
}

.lnw-press-container {
    max-width: 960px;
    margin: 0 auto;
}

.lnw-press h3 {
    font-size: 24px;
    color: var(--lnw-heading);
    margin-bottom: 30px;
}

.lnw-press-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
}

.lnw-press-logos a {
    display: inline-block;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.lnw-press-logos a:hover {
    opacity: 0.9;
}

.lnw-press-logos img {
    height: 50px;
    width: auto;
}

.lnw-press-desc {
    font-size: 15px;
    color: var(--lnw-text-light);
    line-height: 26px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ==================================================== */
/*  SECTION — FOOTER                                      */
/* ==================================================== */

.lnw-footer {
    background: var(--lnw-bg);
    padding: 40px 20px 20px;
}

.lnw-footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lnw-footer-col {
    flex: 1;
    min-width: 220px;
    padding: 10px 0;
    font-family: "Yanone Kaffeesatz", "Roboto Condensed", "Roboto", sans-serif;
    font-size: 22px;
    line-height: 30px;
}

.lnw-footer-col + .lnw-footer-col {
    border-left: 1px solid var(--lnw-border);
    padding-left: 40px;
}

.lnw-footer-logo img {
    width: 180px;
    height: auto;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.6s ease;
    margin-bottom: 15px;
}

.lnw-footer-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.lnw-footer-about {
    color: var(--lnw-purple-dark);
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;
}

.lnw-footer-col h4 {
    font-size: 16px;
    font-weight: 300;
    color: var(--lnw-purple-dark);
    margin-bottom: 15px;
}

.lnw-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnw-footer-menu li {
    margin: 10px 0;
}

.lnw-footer-menu a,
.lnw-footer a {
    color: var(--lnw-link) !important;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.lnw-footer-menu a:hover,
.lnw-footer a:hover {
    color: var(--lnw-link-hover) !important;
    font-size: 26px;
}

.lnw-footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lnw-footer-social li {
    margin: 8px 0;
}

.lnw-footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d80789;
    font-size: 24px;
}

.lnw-footer-social a:hover {
    color: var(--lnw-login);
}

.lnw-footer-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--lnw-border);
    opacity: 0.7;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lnw-footer-social-icon img {
    width: 16px;
    height: 16px;
}

.lnw-footer-bottom {
    max-width: 1000px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 10px solid #fff;
    color: #aaa;
    font-size: 14px;
    text-align: left;
}

/* ==================================================== */
/*  RESPONSIVE                                            */
/* ==================================================== */

@media screen and (max-width: 900px) {
    .lnw-hero-title {
        font-size: 32px;
    }

    .lnw-hero-cta .lnw-btn-signup,
    .lnw-hero-cta .lnw-btn-login {
        font-size: 22px;
        height: 60px;
    }

    .lnw-feature-card {
        width: 100%;
    }

    .lnw-connection-divider {
        height: 100px;
    }

    .lnw-footer-col + .lnw-footer-col {
        border-left: none;
        padding-left: 0;
    }

    .lnw-footer-col {
        flex: 0 0 100%;
    }

    .lnw-languages-content {
        flex-direction: column;
        text-align: center;
    }

    .lnw-languages-text {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .lnw-hero {
        background-size: contain;
        background-position: top center;
    }
}
