/*
==============================================================================
FILE: /sign/sign.css
PURPOSE: KestrelSign product page styles (sign.html)
VERSION: 1.1.0
DATE: 2026-02-25
==============================================================================
*/

/* ==========================================================================
   NAVIGATION - PRODUCT PAGE VARIANT
   ========================================================================== */

nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand .logo {
    font-size: 20px;
    color: var(--text-muted);
    gap: 10px;
    }

.nav-brand .logo:hover {
    color: var(--text);
}

.nav-brand .logo img {
    height: 32px;
    width: auto;
}

/* Theme-aware brand images */
img.brand-light {
    display: none !important;
}

[data-theme="light"] img.brand-dark {
    display: none !important;
}

[data-theme="light"] img.brand-light {
    display: inline !important;
}

/* Footer logo sizing */
.footer-logo img {
    height: 24px;
    width: auto;
}

.nav-separator {
    color: var(--text-muted);
    margin: 0 4px;
    font-size: 20px;
}

.product-name {
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

a.product-name {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s ease;
}

a.product-name:hover {
    color: var(--accent);
}

.product-name i {
    color: var(--accent);
    font-size: 24px;
}

/* ==========================================================================
   HERO SECTION - TWO COLUMN
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-badge i {
    font-size: 16px;
}

.hero h1 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-platforms span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.platform-icons {
    display: flex;
    gap: 20px;
}

.platform-icons i {
    font-size: 28px;
    color: var(--text-muted);
    }

.platform-icons i:hover {
    color: var(--accent);
}

/* ==========================================================================
   HERO MEDIA
   ========================================================================== */

.hero-media {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.media-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px var(--shadow);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    aspect-ratio: 16 / 10;
}

.media-container img,
.media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg) 100%);
    color: var(--text-muted);
    gap: 15px;
}

.media-placeholder i {
    font-size: 48px;
    opacity: 0.5;
}

.media-placeholder span {
    font-size: 14px;
    opacity: 0.7;
}

/* ==========================================================================
   SECTIONS - BASE
   ========================================================================== */

section {
    padding: 120px 60px;
}

.section-label {
    color: var(--accent);
}

/* ==========================================================================
   PROBLEM / SOLUTION SECTION
   ========================================================================== */

.problem {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-muted);
}

.problem-list i {
    color: #e74c3c;
    font-size: 18px;
    margin-top: 3px;
}

.solution-list li i {
    color: var(--accent);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================================
   FRAMEWORKS SECTION
   ========================================================================== */

.frameworks {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 60px;
}

.framework-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.framework-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.framework-card i {
    font-size: 32px;
    color: var(--text-muted);
    margin-bottom: 12px;
    }

.framework-card:hover i {
    color: var(--accent);
}

.framework-card h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================================
   HOW IT WORKS / STEPS
   ========================================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--border);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-family: 'Urbanist', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
}

.step-card h4 {
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing {
    text-align: center;
}

.pricing .section-description {
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    text-align: left;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-family: 'Urbanist', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .price-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent);
    font-size: 16px;
}

/* ==========================================================================
   SYSTEM REQUIREMENTS
   ========================================================================== */

.system-requirements {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.sys-req-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.sys-req-item i {
    font-size: 18px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta {
    text-align: center;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.cta h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-requirements {
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   DOWNLOAD MODAL
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 420px;
    width: 90%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
    color: var(--text);
    background: var(--border);
}

.download-modal-content {
    text-align: center;
    padding: 40px 30px;
}

.download-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.download-modal-icon i {
    font-size: 28px;
    color: white;
}

.download-modal-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.download-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

.form-group input.error {
    border-color: #e74c3c;
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 6px;
    min-height: 18px;
}

.download-form .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
}

.download-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-privacy {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.download-platform-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   RESPONSIVE - SIGN PAGE
   ========================================================================== */

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .framework-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-platforms {
        justify-content: center;
    }

    .hero-media {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
        animation-name: fadeUp;
        transform: translateY(30px);
    }
}

@media (max-width: 900px) {
    section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero {
        padding-left: 30px;
        padding-right: 30px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .framework-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card::after {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .system-requirements {
        flex-direction: column;
        gap: 15px;
    }

    .nav-brand {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}