/* ==========================================================================
   COPSE Landing Page (index.php) - Public-facing stylesheet
   Follows the same navy/steel-blue design system as styles.css / about.css
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body.landing-page {
    background-color: #eef1f5;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* --- Top Nav --- */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    background: rgba(20, 33, 61, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}
.lp-nav-brand-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a75b0, #2c4870);
    flex-shrink: 0;
}
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lp-nav-links a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.lp-nav-links a:hover {
    color: #fff;
    background: rgba(74, 117, 176, 0.25);
}
.lp-nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-btn-ghost {
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}
.lp-btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
}
.lp-btn-solid {
    background: linear-gradient(135deg, #4a75b0, #2c4870);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(44, 72, 112, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-block;
}
.lp-btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 72, 112, 0.45);
    color: #fff;
    text-decoration: none;
}
.lp-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px;
}

/* --- Hero --- */
.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(160deg, #0d1b38 0%, #14213d 45%, #1d2e52 80%, #2c4870 100%);
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74,117,176,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(74,117,176,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.lp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.lp-hero-eyebrow {
    display: inline-block;
    color: #7ab3e8;
    background: rgba(74, 117, 176, 0.18);
    border: 1px solid rgba(74, 117, 176, 0.4);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.lp-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.lp-hero h1 .accent {
    background: linear-gradient(135deg, #7ab3e8, #4a75b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.lp-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
}
.lp-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.lp-hero-btn-primary {
    background: linear-gradient(135deg, #4a75b0, #2c4870);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(44, 72, 112, 0.45);
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lp-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 72, 112, 0.55);
    color: #fff;
    text-decoration: none;
}
.lp-hero-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lp-hero-btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    text-decoration: none;
}
.lp-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.lp-hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.lp-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    margin-top: 4px;
}
.lp-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* --- Section Wrapper --- */
.lp-section { padding: 80px 24px; }
.lp-section-alt { background: #fff; }
.lp-container { max-width: 1100px; margin: 0 auto; }
.lp-section-eyebrow {
    display: inline-block;
    color: #4a75b0;
    background: rgba(74, 117, 176, 0.1);
    border: 1px solid rgba(74, 117, 176, 0.28);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}
.lp-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #14213d;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.lp-section-subtitle {
    color: #5a6472;
    font-size: 1rem;
    max-width: 580px;
    line-height: 1.65;
    margin-bottom: 44px;
}

/* --- Feature Cards --- */
.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.lp-feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.22s, box-shadow 0.22s;
}
.lp-section-alt .lp-feature-card { background: #f5f7fa; }
.lp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.lp-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(74, 117, 176, 0.12);
    color: #2c4870;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.lp-feature-icon svg { width: 24px; height: 24px; }
.lp-feature-card h3 { font-size: 1.05rem; font-weight: 700; color: #14213d; margin-bottom: 8px; }
.lp-feature-card p { font-size: 0.9rem; color: #5a6472; margin: 0; line-height: 1.6; }

/* --- Steps --- */
.lp-steps { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.lp-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}
.lp-step:hover { transform: translateX(4px); }
.lp-step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a75b0, #2c4870);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(44, 72, 112, 0.3);
}
.lp-step-body h4 { font-size: 0.98rem; font-weight: 700; color: #14213d; margin: 0 0 6px; }
.lp-step-body p { font-size: 0.88rem; color: #5a6472; margin: 0; line-height: 1.6; }

/* --- Team --- */
.lp-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.lp-team-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.22s, box-shadow 0.22s;
}
.lp-team-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,0.1); }
.lp-team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a75b0, #14213d);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 6px 18px rgba(44, 72, 112, 0.3);
    overflow: hidden;
}
.lp-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-team-name { font-size: 1.05rem; font-weight: 700; color: #14213d; margin-bottom: 4px; }
.lp-team-role { font-size: 0.8rem; font-weight: 600; color: #4a75b0; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.lp-team-bio { font-size: 0.88rem; color: #5a6472; line-height: 1.6; margin: 0; }

/* --- Video --- */
.lp-video-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.lp-video-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: transform 0.22s, box-shadow 0.22s;
}
.lp-video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.11); }
.lp-video-thumb {
    display: block;           /* works as both div and <a> */
    text-decoration: none;    /* remove underline when used as <a> */
    position: relative;
    background: linear-gradient(135deg, #0d1b38 0%, #14213d 60%, #1d2e52 100%);
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}
/* removed: .lp-video-thumb a overlay rule (caused full-page invisible link bug) */
.lp-video-thumb-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* pointer-events enabled so hover effects work on the play button */
}
.lp-video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}
.lp-video-card:hover .lp-video-play-btn {
    background: rgba(74, 117, 176, 0.6);
    transform: scale(1.1);
}
.lp-video-play-btn svg { width: 32px; height: 32px; margin-left: 4px; }
.lp-video-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.lp-video-body { padding: 20px 24px; }
.lp-video-title { font-size: 1rem; font-weight: 700; color: #14213d; margin-bottom: 6px; }
.lp-video-desc { font-size: 0.88rem; color: #5a6472; margin: 0 0 14px; line-height: 1.6; }
.lp-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2c4870;
    text-decoration: none;
    transition: color 0.2s;
}
.lp-video-link:hover { color: #4a75b0; }
.lp-video-link svg { width: 14px; height: 14px; }

/* --- Terms --- */
.lp-terms-box {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    max-width: 860px;
}
.lp-terms-box h3 { font-size: 1rem; font-weight: 700; color: #14213d; margin: 22px 0 8px; }
.lp-terms-box h3:first-child { margin-top: 0; }
.lp-terms-box p, .lp-terms-box ul { font-size: 0.9rem; color: #5a6472; line-height: 1.7; margin: 0 0 10px; }
.lp-terms-box ul { padding-left: 22px; }
.lp-terms-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4a75b0, #2c4870);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(44, 72, 112, 0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.lp-terms-doc-link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(44, 72, 112, 0.4); color: #fff; text-decoration: none; }

/* --- FAQ --- */
.lp-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.lp-faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.lp-faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 0.97rem;
    font-weight: 600;
    color: #14213d;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}
.lp-faq-question:hover { background: #f9fafb; }
.lp-faq-chevron { flex-shrink: 0; width: 22px; height: 22px; color: #4a75b0; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); }
.lp-faq-item.open .lp-faq-chevron { transform: rotate(180deg); }
.lp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.25s;
    padding: 0 24px;
    font-size: 0.9rem;
    color: #5a6472;
    line-height: 1.7;
}
.lp-faq-item.open .lp-faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* --- About Band --- */
.lp-about-band {
    background: linear-gradient(135deg, #14213d 0%, #1d2e52 100%);
    color: #fff;
    padding: 80px 24px;
}
.lp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lp-about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.lp-about-text p { color: rgba(255,255,255,0.72); font-size: 0.97rem; line-height: 1.75; margin-bottom: 14px; }
.lp-about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lp-about-pill { background: rgba(74,117,176,0.2); border: 1px solid rgba(74,117,176,0.4); color: #7ab3e8; border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; font-weight: 600; }
.lp-about-features { display: flex; flex-direction: column; gap: 16px; }
.lp-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 18px 20px;
}
.lp-about-feature-item-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(74, 117, 176, 0.25); color: #7ab3e8; display: flex; align-items: center; justify-content: center; }
.lp-about-feature-item-icon svg { width: 20px; height: 20px; }
.lp-about-feature-item h4 { font-size: 0.92rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
.lp-about-feature-item p { font-size: 0.84rem; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.55; }

/* --- Footer --- */
.lp-footer { background: #0d1b38; color: rgba(255,255,255,0.55); padding: 40px 24px 28px; text-align: center; }
.lp-footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.lp-footer-brand-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #4a75b0, #2c4870); }
.lp-footer p { font-size: 0.85rem; margin: 0; }
.lp-footer-nav { display: flex; justify-content: center; gap: 20px; list-style: none; margin: 16px 0; padding: 0; flex-wrap: wrap; }
.lp-footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.lp-footer-nav a:hover { color: rgba(255,255,255,0.85); }

/* --- Responsive --- */
@media (max-width: 900px) { .lp-about-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .lp-nav { padding: 0 20px; }
    .lp-nav-links, .lp-nav-cta { display: none; }
    .lp-nav-links.open, .lp-nav-cta.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: rgba(20, 33, 61, 0.98); padding: 16px 20px 24px; gap: 4px; z-index: 99; }
    .lp-nav-toggle { display: block; }
    .lp-hero { padding: 100px 20px 60px; }
    .lp-section { padding: 56px 16px; }
    .lp-terms-box { padding: 22px 20px; }
}
