/* ===================================
   HEIC2JPG - Page Styles
   @copyright 2026 Daniel Dubbeldam | Dan1el
   =================================== */

/* Back link override */
.back-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 3rem;
    color: rgba(0, 243, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.back-link:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
}

/* ---- APP HEADER ---- */
.app-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: slideDown 0.8s ease-out;
}

.app-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.app-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 1.2rem 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.icon-heic {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--magenta);
    letter-spacing: 2px;
}

.icon-arrow {
    font-size: 1.6rem;
    color: #fff;
    animation: pulse-arrow 2s ease-in-out infinite;
}

.icon-jpg {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--cyan);
    letter-spacing: 2px;
}

.icon-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse, rgba(0, 243, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.app-header h1 {
    font-size: 5rem;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
}

.accent {
    color: var(--magenta);
    -webkit-text-fill-color: var(--magenta);
    text-shadow: 0 0 20px var(--magenta);
}

.app-tagline {
    color: #aaa;
    font-size: 1.15rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    max-width: 500px;
    margin-inline: auto;
    line-height: 1.6;
}

.badge-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: var(--cyan);
    background: rgba(0, 243, 255, 0.07);
    text-transform: uppercase;
}

/* ---- DOWNLOAD SECTION ---- */
.download-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
    align-items: start;
}

.download-card {
    background: rgba(5, 5, 16, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.35);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.download-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}

.download-platform {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.platform-icon {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    flex-shrink: 0;
}

.platform-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--cyan);
    letter-spacing: 3px;
}

.platform-sub {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    letter-spacing: 1px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(255, 0, 255, 0.1));
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
}

.download-btn:hover::before {
    transform: scaleX(1);
}

.download-btn:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.btn-icon,
.btn-text {
    position: relative;
    z-index: 1;
}

.download-meta {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: #555;
    text-align: center;
    letter-spacing: 1px;
}

/* ---- INSTALL STEPS ---- */
.install-steps {
    background: rgba(5, 5, 16, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.15);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.steps-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 1.75rem;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #bbb;
    font-size: 1rem;
    line-height: 1.5;
}

.step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--magenta);
    letter-spacing: 1px;
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.steps-list code {
    font-family: 'Courier New', monospace;
    color: var(--cyan);
    font-size: 0.9rem;
    background: rgba(0, 243, 255, 0.08);
    padding: 0.1rem 0.4rem;
}

.steps-list strong {
    color: #fff;
    font-weight: 600;
}

/* ---- FEATURES ---- */
.features-section {
    margin-bottom: 5rem;
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: var(--cyan);
    margin-bottom: 2.5rem;
    -webkit-text-fill-color: var(--cyan);
    background: none;
    text-shadow: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(5, 5, 16, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.15);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 5px 25px rgba(0, 243, 255, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- MOCK APP PREVIEW ---- */
.screenshot-section {
    margin-bottom: 5rem;
    animation: fadeIn 0.8s ease-out 0.5s backwards;
}

.screenshot-placeholder {
    display: flex;
    justify-content: center;
}

.mock-app {
    width: 100%;
    max-width: 560px;
    background: rgba(8, 8, 20, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.15), 0 0 120px rgba(255, 0, 255, 0.08);
    overflow: hidden;
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red    { background: #ff5f57; box-shadow: 0 0 6px #ff5f57; }
.dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px #ffbd2e; }
.dot.green  { background: #28c840; box-shadow: 0 0 6px #28c840; }

.mock-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: rgba(0, 243, 255, 0.6);
    flex: 1;
    text-align: center;
}

.mock-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mock-drop-zone {
    border: 2px dashed rgba(0, 243, 255, 0.3);
    padding: 3.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s;
    cursor: pointer;
}

.mock-drop-zone:hover {
    border-color: var(--cyan);
    background: rgba(0, 243, 255, 0.03);
}

.mock-drop-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.mock-drop-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.mock-drop-sub {
    font-size: 0.85rem;
    color: #555;
}

.mock-quality {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mock-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #666;
    flex-shrink: 0;
}

.mock-slider {
    flex: 1;
}

.mock-track {
    height: 3px;
    background: rgba(0, 243, 255, 0.15);
    position: relative;
    border-radius: 3px;
}

.mock-fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 90%;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    border-radius: 3px;
}

.mock-thumb {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
}

.mock-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* ---- ANIMATIONS ---- */
@keyframes pulse-arrow {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50%       { transform: translateX(4px); opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .app-header h1 { font-size: 3rem; }

    .download-section {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .badge-row {
        gap: 0.5rem;
    }
}
