/* Application Pages (BrawlTech, KPass, Console Insight) */

/* App Hero Section */
.app-hero-section {
    position: relative;
    min-height: 50vh;
    padding: 4rem 0 4rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: -80px;
    padding-top: calc(4rem + 80px);
    overflow: hidden;
}

.app-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.app-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(20, 20, 20, 0.6) 100%);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.app-hero-content {
    text-align: left;
    max-width: 800px;
    padding: 0 1rem 0 0;
    margin-left: 0rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.app-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.kpass-title-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
    margin-right: 0.3em;
    margin-bottom: 0.1em;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kpass-title-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.app-subtitle {
    display: block;
    width: 100%;
    font-size: 1.75rem;
    color: #cbd5e1;
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.app-description {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 700px;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    margin-top: 2rem;
}

.hero-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
}

.hero-info-card .info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hero-info-card .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-info-card .info-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info-card .info-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-info-card .info-value {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Hero Download CTA */
.hero-download-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-appstore-badge {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-appstore-badge:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.hero-android-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}

.hero-android-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-android-link svg:last-child {
    transition: transform 0.2s ease;
}

.hero-android-link:hover svg:last-child {
    transform: translateX(3px);
}

/* Stats Bar */
.kpass-stats-bar {
    background: #04304F;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.kpass-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
}

.kpass-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    position: relative;
}

.kpass-stat-item + .kpass-stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.kpass-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.kpass-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* App Overview Section */
.app-overview-section {
    padding: 4rem 0;
    background: #ffffff;
}

.overview-content {
    display: block;
    width: 100%;
}

.overview-main h2,
.kpass-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #04304F;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.overview-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Key Points (used in BrawlTech/Console Insight) */
.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.point-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

/* KPass Desktop Download Buttons */
.kpass-download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 260px;
}

.kpass-download-button.mac {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpass-download-button.mac:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.kpass-download-button.windows.disabled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
}

.kpass-download-button .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.kpass-download-button.windows.disabled .btn-icon {
    background: rgba(255, 255, 255, 0.05);
}

.kpass-download-button .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.kpass-download-button .btn-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.kpass-download-button .btn-version {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .hero-download-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .kpass-download-button {
        width: 100%;
        min-width: unset;
        justify-content: center;
    }
}

.point-icon {
    font-size: 1.5rem;
    background: #f1f5f9;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.point-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.point-content strong {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 600;
}

.point-content span {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

/* App Features Section */
.app-features-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title-simple {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: left;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Features Grid Improved (used in BrawlTech/Console Insight) */
.features-grid-improved {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.feature-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 1.75rem;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #021a2b;
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: #475569;
    padding-left: 1.25rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    color: #0f172a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* App Tech Section */
.app-tech-section {
    padding: 4rem 0;
    background: #ffffff;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item-simple {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.tech-item-simple h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.tech-item-simple p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* App Download Section */
.app-download-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.store-badge:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .kpass-download-grid {
        grid-template-columns: 1fr !important;
    }
}

.store-badge img {
    height: 60px;
    width: auto;
}

.store-badge.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
    text-decoration: none;
}

.store-badge.disabled:hover {
    transform: none;
}

/* App Support Section */
.app-support-section {
    padding: 4rem 0;
    background: #ffffff;
}

.support-header {
    text-align: left;
    margin-bottom: 3rem;
}

.support-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.support-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* =========================================
   KPass Specific Styles & Shared Components
   ========================================= */

/* Feature Highlights (Style used in KPass) */
.kpass-feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 6rem;
}

.kpass-feature-highlight:nth-child(even) .feature-text {
    order: 2;
}

.kpass-feature-visual {
    display: flex;
    justify-content: center;
}

.kpass-feature-visual img {
    width: auto;
    max-width: 280px;
    height: auto;
}

.kpass-feature-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.kpass-badge-blue { background: #e0f2fe; color: #0284c7; }
.kpass-badge-amber { background: #fef3c7; color: #d97706; }
.kpass-badge-green { background: #dcfce7; color: #16a34a; }

.kpass-feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #04304F;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.kpass-feature-desc {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.kpass-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kpass-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}

.kpass-check-bullet {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.kpass-bullet-green { background: #dcfce7; color: #16a34a; }
.kpass-bullet-amber { background: #fef3c7; color: #d97706; }

.kpass-feature-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
}

/* KPass Section Header */
.kpass-section-header {
    margin-bottom: 3rem;
}

/* .kpass-section-title handled above with .overview-main h2 */

.kpass-section-description {
    color: #64748b;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.kpass-section-header.kpass-ui-header {
    text-align: center;
}

.kpass-section-header.kpass-ui-header .kpass-section-description {
    margin-left: auto;
    margin-right: auto;
}

/* Sub Features Grid */
.kpass-sub-header {
    text-align: center;
    margin: 4rem 0 3rem;
}

.kpass-sub-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #04304F;
}

/* Highlight Section (Shared) */
.app-highlight-section {
    position: relative;
    padding: 4rem 0;
}

.highlight-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.kpass-highlight-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.kpass-highlight-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(4,48,79,0.8), rgba(4,48,79,0.6));
    z-index: 2;
}

.highlight-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.highlight-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #e2e8f0;
}

.kpass-highlight-content-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.kpass-highlight-content-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Scenes / Compact Header */
.kpass-compact-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kpass-compact-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.kpass-compact-section-header p {
    color: #64748b;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.scene-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.scene-icon-outer {
    margin-bottom: 1rem;
}

.scene-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #04304F;
}

.scene-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* UI Showcase */
.ui-showcase-section {
    padding: 6rem 0;
    background: #ffffff;
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .ui-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.kpass-feature-visual img {
    border-radius: 1rem;
    width: auto;
    max-width: 360px;
    height: auto;
}

.ui-item {
    text-align: center;
}

.ui-screenshot {
    width: 100%;
    max-width: 360px;
    margin-bottom: 2rem;
}

.ui-caption {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.ui-desc {
    font-size: 0.9rem;
    color: #64748b;
}

.support-simple-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.support-item-minimal {
    display: block;
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    width: 300px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.support-item-minimal:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.support-icon-flat {
    margin-bottom: 1rem;
}

.support-item-minimal h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.support-item-minimal p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.legal-links-compact {
    display: inline-flex;
    gap: 1.5rem;
}

.legal-link-text {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
}

.legal-link-text:hover {
    color: #64748b;
    text-decoration: underline;
}

/* KPass Section Utilities (Backport from layout.css just in case) */
.kpass-section { padding: 4rem 0; }
.kpass-section-padding-small { padding: 2rem 0; }
.kpass-bg-white { background-color: #ffffff; }
.kpass-bg-light { background-color: #f8fafc; }
.kpass-border-y { border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
/* Responsive adjustments */
@media (max-width: 768px) {
    .app-hero-section {
        min-height: 50vh;
        padding: 6rem 0 3rem 0;
        margin-top: -80px;
        padding-top: calc(6rem + 80px);
    }
    
    .app-hero-section .container {
        padding: 0 1rem;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .app-hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .hero-info-card {
        max-width: 400px;
        margin: 2rem auto 0;
        align-self: center;
        padding: 1.25rem;
    }
    
    .app-title {
        justify-content: center;
    }
    
    .app-subtitle {
        font-size: 1.1rem;
    }

    .kpass-section-title {
        font-size: 1.8rem;
    }

    .section-title-simple,
    .kpass-compact-section-header h2,
    .kpass-highlight-content-text h2 {
        font-size: 1.6rem;
    }

    .kpass-feature-title {
        font-size: 1.5rem;
    }
    
    .kpass-feature-highlight,
    .kpass-feature-highlight:nth-child(even) {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .kpass-feature-highlight:nth-child(even) .feature-text,
    .kpass-feature-highlight:nth-child(even) .kpass-feature-visual {
        order: 0;
    }
    
    .features-grid-improved {
        grid-template-columns: 1fr;
    }

    .support-item-minimal {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "icon title"
            "icon desc";
        text-align: left;
        padding: 1.1rem 1.25rem;
        column-gap: 1.25rem;
        row-gap: 0.1rem;
        align-items: center;
    }

    .support-icon-flat {
        grid-area: icon;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .support-item-minimal h3 {
        grid-area: title;
        font-size: 1.05rem;
        margin-bottom: 0;
        align-self: end;
    }

    .support-item-minimal p {
        grid-area: desc;
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
        align-self: start;
    }
    
    .support-simple-list {
        gap: 1rem;
        padding: 0 1rem;
    }

}

@media (max-width: 480px) {
    .app-title {
        font-size: 3rem;
    }
    
    .overview-main h2,
    .kpass-section-title {
        font-size: 1.45rem;
    }

    .section-title-simple,
    .kpass-compact-section-header h2,
    .kpass-highlight-content-text h2 {
        font-size: 1.35rem;
    }

    .kpass-feature-title {
        font-size: 1.3rem;
    }

    .app-description,
    .kpass-section-description,
    .kpass-feature-desc {
        font-size: 0.9rem;
    }

    .hero-info-card {
        max-width: 100%;
        margin: 1.5rem auto 0;
    }

    .hero-info-card .info-list {
        gap: 0.5rem;
    }

    .hero-info-card .info-item {
        padding: 0.4rem;
    }
    
    .hero-info-card .info-label,
    .hero-info-card .info-value {
        font-size: 0.7rem;
    }

    .support-item-minimal {
        width: 100%;
    }

    .kpass-link-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .kpass-feature-visual img {
        max-width: 220px;
    }

    .info-box.notice {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    .info-box.notice h4 {
        font-size: 1rem;
    }

    .info-box.notice p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .faq-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .faq-item h4 {
        font-size: 0.95rem;
    }

    .faq-item h4::before {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        margin-right: 8px;
    }

    .faq-item p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .doc-cta-compact {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .doc-cta-compact h2 {
        font-size: 1.2rem !important;
    }

    .doc-cta-compact p {
        font-size: 0.85rem !important;
    }

    .btn-cta-appstore img {
        height: 40px;
    }
}

/* Simple and Stylish Link Button (KPass) */
.kpass-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    background: #f3f4f6;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.kpass-link-button:hover {
    background: #ffffff;
    color: #111827;
    border-color: #d1d5db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.kpass-link-button svg {
    transition: transform 0.2s ease;
}

.kpass-link-button:hover svg {
    transform: translateX(3px);
}

/* KPass Pro Section */
/* =============================================
   KPass — Premium Plans Section
   ============================================= */

.kpass-pro-section {
    position: relative;
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #080d1e 0%, #0d1630 60%, #0a1020 100%);
    overflow: hidden;
}

.kpass-plans-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

/* Header */
.kpass-plans-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.kpass-pro-free-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(134,239,172,0.12);
    color: #86efac;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(134,239,172,0.25);
}

.kpass-pro-free-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #86efac;
    margin-right: 0.45rem;
    animation: kpass-pro-pulse 1.8s ease-in-out infinite;
}

@keyframes kpass-pro-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.kpass-plans-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.2;
}

.kpass-plans-desc {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.6;
}

/* Grid */
.kpass-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 860px;
    margin: 0 auto;
}

/* Base card */
.kpass-plan-card {
    position: relative;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

/* Plus card */
.kpass-plan-plus {
    background: linear-gradient(150deg, #312e81 0%, #3730a3 35%, #4338ca 70%, #4f46e5 100%);
    border: 1px solid rgba(165, 180, 252, 0.25);
    box-shadow: 0 24px 64px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}

.kpass-plan-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, transparent 65%);
    pointer-events: none;
}

/* Pro card */
.kpass-plan-pro-card {
    background: linear-gradient(150deg, #1c0533 0%, #2d1462 55%, #3b0764 100%);
    border: 1px solid rgba(216, 180, 254, 0.2);
    box-shadow: 0 24px 64px rgba(147, 51, 234, 0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

.kpass-plan-pro-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(168,85,247,0.35) 0%, transparent 65%);
    pointer-events: none;
}

/* Card internals */
.kpass-plan-top {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.kpass-plan-name-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.kpass-plan-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kpass-plan-plus .kpass-plan-name {
    color: rgba(255, 255, 255, 0.9);
}

.kpass-plan-plus .kpass-plan-name svg {
    color: #fbbf24;
}

.kpass-plan-pro-card .kpass-plan-name {
    color: rgba(255, 255, 255, 0.9);
}

.kpass-plan-pro-card .kpass-plan-name svg {
    color: #c084fc;
}

/* Badges */
.kpass-plan-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.kpass-plan-badge--recommended {
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.kpass-plan-badge--dev {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpass-plan-badge--soon {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Tagline */
.kpass-plan-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
}

.kpass-plan-plus .kpass-plan-tagline {
    color: #ffffff;
}

.kpass-plan-pro-card .kpass-plan-tagline {
    color: #ffffff;
}

/* Feature list */
.kpass-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.kpass-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.kpass-plan-features li svg {
    flex-shrink: 0;
    margin-top: 0.18rem;
}

.kpass-plan-plus .kpass-plan-features li {
    color: rgba(255, 255, 255, 0.88);
}

.kpass-plan-plus .kpass-plan-features li svg {
    color: #a5f3c8;
}

.kpass-plan-pro-card .kpass-plan-features li {
    color: rgba(233, 213, 255, 0.88);
}

.kpass-plan-pro-card .kpass-plan-features li svg {
    color: #c084fc;
}

/* Social proof */
.kpass-plans-social-proof {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .kpass-plans-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .kpass-plans-title {
        font-size: 1.65rem;
    }

    .kpass-plan-tagline {
        font-size: 1.2rem;
    }

    .kpass-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 0;
    }

    .kpass-stat-item:nth-child(3)::before {
        display: none;
    }

    .hero-download-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kpass-pro-section {
        padding: 4rem 0;
    }

    .kpass-plan-card {
        padding: 1.75rem 1.5rem;
    }

    .kpass-plan-tagline {
        font-size: 1.1rem;
    }

    .kpass-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpass-stat-number {
        font-size: 1.4rem;
    }
}

/* =========================================
   VibeStep Specific Styles & Additional Elements
   ========================================= */

/* Hero Section */
.app-hero-background.vibestep-bg {
    background-color: #1e1b4b;
}

.vibestep-badge-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    margin-right: 4px;
    box-shadow: 0 0 8px #34d399;
}

/* Feature Preview Containers */
.vibestep-preview-container {
    width: 100%;
    min-height: 250px;
    height: auto;
    aspect-ratio: 4/3;
    background-color: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd5e1;
    color: #64748b;
}

.vibestep-preview-content {
    text-align: center;
    padding: 20px;
}

.vibestep-preview-icon {
    margin: 0 auto 12px;
    opacity: 0.5;
}

.vibestep-preview-text {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Tech List Modifications */
.tech-list.tech-list-dense {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tech-item-full {
    grid-column: 1 / -1;
}

/* Additional Badge Colors & Margins */
.kpass-badge-purple {
    background: rgba(107, 33, 168, 0.1);
    color: #6b21a8;
}

.kpass-badge-slate {
    background: rgba(71, 85, 105, 0.1);
    color: #475569;
}

.mb-sm {
    margin-bottom: 8px;
}

/* Support Items */
.support-item-minimal.support-item-wide {
    max-width: 400px;
    width: 100%;
}

/* =============================================
   KPass Mobile — Bento Grid
   ============================================= */

.kpass-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.kpass-bento-item {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.kpass-bento-item:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    border-color: #c7d2fe;
}

.kpass-bento-featured {
    grid-column: span 2;
    background: linear-gradient(150deg, #1e1b4b 0%, #312e81 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.kpass-bento-featured:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.2);
}

.kpass-bento-wide {
    grid-column: span 2;
    background: #eef2ff;
    border-color: #c7d2fe;
}

.kpass-bento-wide:hover {
    border-color: #a5b4fc;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.12);
}

.kpass-bento-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: #e0e7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.kpass-bento-item.kpass-bento-featured .kpass-bento-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.kpass-bento-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
}

.kpass-bento-item p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.kpass-bento-item.kpass-bento-featured h3 { color: #ffffff; }
.kpass-bento-item.kpass-bento-featured p  { color: rgba(255, 255, 255, 0.72); }

.kpass-bento-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kpass-bento-list li {
    font-size: 0.82rem;
    color: #475569;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.kpass-bento-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6366f1;
}

.kpass-bento-item.kpass-bento-featured .kpass-bento-list li {
    color: rgba(255, 255, 255, 0.6);
}

.kpass-bento-item.kpass-bento-featured .kpass-bento-list li::before {
    background: #a5b4fc;
}

@media (max-width: 1024px) {
    .kpass-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpass-bento-featured,
    .kpass-bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .kpass-bento-grid {
        grid-template-columns: 1fr;
    }

    .kpass-bento-featured,
    .kpass-bento-wide {
        grid-column: span 1;
    }
}
