﻿/* ============================================================
   APSKIL ADMIT - GERMANY PATHWAY (Premium Extension)
   Design Language: High-ticket advisory, editorial typography,
   physical travel metaphors (boarding pass, destination board).
   ============================================================ */

/* ── GERMANY THEME VARIABLES ── */
.apskil-admit-page {
    --de-black: #111111;
    --de-red:   #DD0000;
    --de-gold:  #FFCE00;
    
    --admit-bg: #F8FAFC;
    --admit-card: #FFFFFF;
    --admit-ink: #0B1220;
}

/* ════════════════════════════════════
   1. ADMIT HERO SECTION
   ════════════════════════════════════ */
.admit-hero {
    background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, var(--admit-bg) 100%);
    padding-top: 100px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.admit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.25;
    pointer-events: none;
}

.admit-hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.admit-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 6px 16px 6px 8px;
    border-radius: 100px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--admit-ink);
    box-shadow: 0 4px 12px rgba(11, 18, 32, 0.03);
    margin-bottom: 28px;
}
.de-flag-strip {
    display: flex;
    height: 14px;
    width: 20px;
    border-radius: 3px;
    overflow: hidden;
}
.de-black { flex: 1; background: var(--de-black); }
.de-red { flex: 1; background: var(--de-red); }
.de-gold { flex: 1; background: var(--de-gold); }

/* Hero Typography */
.admit-hero-title {
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 850;
    color: var(--admit-ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.highlight-de {
    position: relative;
    display: inline-block;
    color: var(--de-red);
    font-style: italic;
    padding-right: 8px;
}
.highlight-de::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--de-black) 33%, var(--de-red) 33% 66%, var(--de-gold) 66%);
    opacity: 0.2;
    z-index: -1;
}

.admit-hero-lead {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 580px;
    font-weight: 500;
}

/* Hero Metrics */
.admit-hero-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
    max-width: 580px;
}
.admit-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.a-metric-val {
    font-family: var(--f-mono);
    font-size: 24px;
    font-weight: 800;
    color: var(--admit-ink);
}
.a-metric-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Buttons */
.admit-hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-de-theme {
    background: var(--admit-ink) !important;
    box-shadow: 0 10px 24px rgba(11, 18, 32, 0.2) !important;
}
.btn-de-theme:hover {
    background: var(--de-red) !important;
    box-shadow: 0 12px 28px rgba(221, 0, 0, 0.25) !important;
}

/* The Boarding Pass Visual */
.admit-hero-visual {
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}
.admit-passport-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 
        0 40px 80px -20px rgba(11, 18, 32, 0.12),
        0 10px 20px -10px rgba(11, 18, 32, 0.05);
    transform: rotate(2.5deg) translateY(-10px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.admit-passport-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--de-black) 33%, var(--de-red) 33% 66%, var(--de-gold) 66%);
}
.admit-passport-card:hover {
    transform: rotate(0deg) translateY(-15px);
}
.pc-header {
    padding: 24px 32px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed var(--line);
    color: var(--text-mute);
}
.pc-label {
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.15em;
}
.pc-route {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pc-origin, .pc-dest { display: flex; flex-direction: column; gap: 4px; }
.pc-origin { text-align: left; }
.pc-dest { text-align: right; }
.pc-code {
    font-family: var(--f-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--admit-ink);
    line-height: 1;
}
.pc-city {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pc-plane {
    color: var(--line-strong);
    position: relative;
}
.pc-plane::before {
    content: '';
    position: absolute;
    top: 50%; left: -60px; right: -60px;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--line-strong) 0, var(--line-strong) 4px, transparent 4px, transparent 8px);
    z-index: -1;
    transform: translateY(-50%);
}
.pc-footer {
    background: var(--admit-bg);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
}
.pc-data { display: flex; flex-direction: column; gap: 4px; }
.pc-data small {
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}
.pc-data strong {
    font-size: 14px;
    color: var(--admit-ink);
    font-weight: 700;
}

/* ════════════════════════════════════
   2. INTRO / COMMITMENT
   ════════════════════════════════════ */
.admit-intro-section { background: #FFFFFF; padding: 100px 0; border-bottom: 1px solid var(--line); }
.admit-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.section-eyebrow {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--de-red);
    display: block;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(32px, 4vw, 42px);
    color: var(--admit-ink);
    margin-bottom: 24px;
}
.section-title em { color: var(--de-red); font-style: italic; }
.section-body {
    font-size: 16px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.ai-list-block {
    background: var(--admit-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--line);
}
.ai-list-title {
    font-family: var(--f-mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--admit-ink);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-strong);
}
.domain-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}
.domain-pills li {
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    transition: all 0.2s;
}
.domain-pills li:hover {
    border-color: var(--admit-ink);
    color: var(--admit-ink);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(11, 18, 32, 0.05);
}

/* ════════════════════════════════════
   3. THE 7 PILLARS (BENTO GRID)
   ════════════════════════════════════ */
.admit-pillars-section { background: var(--admit-bg); padding: 100px 0; border-bottom: 1px solid var(--line); }
.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.admit-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    gap: 24px;
}

/* Base Cell Architecture */
.bento-cell {
    background: #FFFFFF;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.bento-cell::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--de-black) 33%, var(--de-red) 33% 66%, var(--de-gold) 66%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.bento-cell:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(11, 18, 32, 0.08), 0 0 0 1px rgba(221, 0, 0, 0.15);
    border-color: rgba(221, 0, 0, 0.3);
}
.bento-cell:hover::after {
    opacity: 1;
}

.bento-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}
.bento-num {
    font-family: var(--f-mono);
    font-size: 36px;
    font-weight: 900;
    color: var(--de-red);
    line-height: 1;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}
.bento-cell:hover .bento-num {
    opacity: 0.8;
}
.bento-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--admit-ink);
    line-height: 1.3;
}
.bento-desc {
    font-size: 14.5px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Bento Utilities */
.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.bento-tags span {
    font-size: 11px;
    font-weight: 700;
    background: var(--admit-bg);
    color: var(--text-mute);
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bento-check-list { 
    margin-top: auto; 
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bento-check-list li {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--admit-ink);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

/* Pillar 4 (German Language) Premium Light Card */
.cell-4 {
    grid-column: span 2;
    background: #FFFFFF;
    border: 1.5px solid var(--line);
    color: var(--admit-ink);
}
.cell-4 .bento-num {
    color: var(--de-red);
    opacity: 0.15;
}
.cell-4:hover .bento-num {
    opacity: 0.8;
}
.cell-4 .bento-title {
    color: var(--admit-ink);
}
.cell-4 .bento-desc {
    color: var(--text-soft);
    max-width: 480px;
}

/* Language Timeline UI */
.language-steps {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 32px;
}
.lang-step {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--admit-bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-soft);
    position: relative;
    z-index: 2;
}
.lang-step-line {
    flex-grow: 1;
    height: 2px;
    background: var(--line);
}
.highlight-lang {
    background: var(--de-gold);
    color: var(--de-black);
    border-color: var(--de-gold);
    box-shadow: 0 0 20px rgba(255, 206, 0, 0.4);
    transform: scale(1.1);
}

/* ════════════════════════════════════
   4. FINANCIAL TRANSPARENCY (Split Layout)
   ════════════════════════════════════ */
.admit-financials-section { background: #FFFFFF; padding: 100px 0; border-bottom: 1px solid var(--line); }
.financial-split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: stretch;
}

/* Left: Pricing */
.fin-fee-block {
    background: var(--admit-bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    flex-direction: column;
}
.fin-eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.fin-price-wrap {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}
.fin-currency { font-size: 28px; font-weight: 700; color: var(--text-soft); margin-top: 8px; }
.fin-amount { font-family: var(--f-mono); font-size: 56px; font-weight: 800; color: var(--admit-ink); line-height: 1; letter-spacing: -0.03em; }
.fin-payment-terms { font-size: 14px; font-weight: 600; color: var(--de-red); margin-bottom: 40px; }

.fin-inclusions h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-mute); margin-bottom: 16px; }
.fin-inclusions ul { display: flex; flex-direction: column; gap: 12px; }
.fin-inclusions li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--admit-ink); }
.fin-inclusions svg { color: var(--de-red); margin-top: 2px; flex-shrink: 0; }

/* Right: Sperrkonto Explanation */
.fin-sperrkonto-block {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sk-icon {
    width: 64px; height: 64px;
    background: #FFFBEB; /* Slight yellow/gold tint */
    color: var(--de-gold);
    border-radius: 16px;
    display: flex align-items center justify-content center;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.sk-title { font-size: 26px; line-height: 1.3; color: var(--admit-ink); margin-bottom: 16px; }
.sk-body { font-size: 16px; color: var(--text-soft); line-height: 1.7; margin-bottom: 24px; }
.sk-highlight-box {
    background: #FAFAFA;
    border-left: 4px solid var(--de-gold);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 24px;
}
.sk-highlight-box strong { display: block; font-size: 18px; color: var(--admit-ink); margin-bottom: 8px; }
.sk-highlight-box p { font-size: 15px; color: var(--text-soft); line-height: 1.6; margin: 0; }
.sk-footer-note { font-size: 14px; font-style: italic; }

/* ════════════════════════════════════
   5. UNIVERSITIES DIRECTORY
   ════════════════════════════════════ */
.admit-universities-section { background: var(--admit-bg); padding: 100px 0; border-bottom: 1px solid var(--line); }

/* Elegant Light-Mode Solari Flap Board */
.solari-board-container {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(11, 18, 32, 0.05);
    font-family: var(--f-mono), monospace;
}
.solari-header {
    display: grid;
    grid-template-columns: 120px 2.2fr 1.5fr 150px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line-strong);
    margin-bottom: 16px;
}
.solari-col {
    color: var(--text-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}
.solari-rows-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}
/* Scrollbar */
.solari-rows-list::-webkit-scrollbar { width: 6px; }
.solari-rows-list::-webkit-scrollbar-track { background: transparent; }
.solari-rows-list::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.solari-row {
    display: grid;
    grid-template-columns: 120px 2.2fr 1.5fr 150px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background 0.2s ease;
}
.solari-row:hover {
    background: var(--admit-bg);
}
.solari-row:last-child {
    border-bottom: none;
}
.solari-cell {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--admit-ink);
}
.cell-dept {
    color: var(--de-red);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.solari-flag {
    font-size: 16px;
}
.cell-dest {
    color: var(--admit-ink);
    letter-spacing: -0.01em;
}
.cell-track {
    color: var(--text-soft);
}
.status-pill {
    font-size: 10px;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    display: inline-block;
}

.uni-directory-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 14.5px;
    color: var(--text-mute);
    max-width: 800px;
    margin-inline: auto;
}

/* ════════════════════════════════════
   6. FINAL CTA & FORM
   ════════════════════════════════════ */
.admit-cta-section { background: #FFFFFF; padding: 100px 0 140px; }
.cta-mega-card {
    background: var(--admit-ink);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(11, 18, 32, 0.3);
}

/* Left Text */
.cta-left-content { padding: 64px; color: #FFFFFF; display: flex; flex-direction: column; justify-content: center; }
.cta-left-content h2 { color: #FFFFFF; font-size: clamp(32px, 4vw, 42px); line-height: 1.2; margin-bottom: 24px; }
.cta-left-content p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 40px; }
.cta-checklist { display: flex; flex-direction: column; gap: 16px; }
.cta-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; }
.cta-checklist svg { color: var(--de-gold); margin-top: -2px; }

/* Right Form */
.cta-right-form { background: #FFFFFF; padding: 64px 48px; }
.cta-form-header { margin-bottom: 32px; }
.cta-form-header h3 { font-size: 24px; color: var(--admit-ink); margin-bottom: 8px; }
.cta-form-header p { font-size: 14px; color: var(--text-soft); }

.form-privacy-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 16px;
    font-weight: 500;
}

/* ============================================================
   APSKIL ADMIT: MOBILE RESPONSIVE ENGINE
   ============================================================ */

/* TABLET (Max 1024px) */
@media (max-width: 1024px) {
    .admit-hero-container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .admit-hero-visual { justify-content: center; }
    .admit-passport-card { transform: rotate(0deg); }
    .admit-hero-metrics { justify-content: center; margin-inline: auto; }
    .admit-hero-actions { justify-content: center; }
    
    .admit-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .admit-bento-grid { grid-template-columns: repeat(2, 1fr); }
    .cell-4 { grid-column: span 2; }
    
    .financial-split-layout { grid-template-columns: 1fr; gap: 40px; }
    .fin-sperrkonto-block { padding: 0; }
    
    .cta-mega-card { grid-template-columns: 1fr; }
}

/* MOBILE (Max 768px) */
@media (max-width: 768px) {
    .admit-bento-grid { grid-template-columns: 1fr; }
    .cell-4 { grid-column: span 1; }
    
    .solari-header { display: none; }
    .solari-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
    .solari-cell { font-size: 14px; }
    
    .cta-left-content { padding: 48px 32px; }
    .cta-right-form { padding: 48px 32px; }
}

/* SMALL MOBILE (Max 480px) */
@media (max-width: 480px) {
    .admit-hero { padding-top: 40px; padding-bottom: 60px; }
    .admit-hero-title { font-size: 36px; }
    .admit-hero-metrics { flex-direction: column; gap: 24px; align-items: center; border-bottom: none; }
    
    .pc-header, .pc-route, .pc-footer { padding: 20px; }
    .pc-code { font-size: 32px; }
    .pc-plane::before { display: none; } /* clean up tight space */
    
    .bento-cell { padding: 24px; }
    
    .fin-fee-block { padding: 32px 24px; }
    .fin-amount { font-size: 42px; }
    
    .uni-directory-grid { padding: 24px 20px; }
    
    .cta-left-content { padding: 40px 24px; }
    .cta-right-form { padding: 40px 24px; }
}
