/* Custom theme overrides for I2Mate front-end */
:root {
    --brand-primary: #6c4dff;
    --brand-secondary: #11a3ff;
    --brand-accent: #ff6bbb;
    --brand-dark: #0b0b28;
    --brand-muted: #6c7393;
    --brand-surface: #101433;
    --brand-border-radius: 18px;
    --brand-shadow: 0 18px 48px rgba(11, 15, 55, 0.15);
    --brand-gradient: radial-gradient(circle at 20% 20%, rgba(108, 77, 255, 0.35), transparent 55%), linear-gradient(135deg, #6c4dff, #11a3ff 55%, #ff6bbb);
    --brand-card-glow: 0 16px 40px rgba(17, 163, 255, 0.18);
    --brand-transition: all 0.25s ease-in-out;
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background-color: #f5f7fb;
    color: var(--brand-dark);
    font-family: inherit;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: #070b1d;
    color: #fff;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
}

.hero-section::before {
    width: 420px;
    height: 420px;
    top: -160px;
    right: -120px;
    background: rgba(108, 77, 255, 0.55);
    animation: pulse 12s infinite alternate;
}

.hero-section.hero-static {
    padding-block: clamp(3.5rem, 6vw, 5rem);
}

.hero-section.hero-static .hero-subtitle {
    margin-bottom: 0;
}

.hero-section.hero-static .hero-media {
    max-width: 720px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 58px rgba(8, 14, 42, 0.35);
}

.hero-section.hero-static .hero-media img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.hero-section.hero-static .hero-media figcaption {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(235, 242, 255, 0.75);
    background: rgba(5, 9, 25, 0.72);
}


.hero-section::after {
    width: 380px;
    height: 380px;
    bottom: -160px;
    left: -120px;
    background: rgba(17, 163, 255, 0.45);
    animation: pulse 18s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.85;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 0.85rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(235, 242, 255, 0.78);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.download-surface {
    background: rgba(11, 15, 35, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 24px 64px rgba(8, 14, 42, 0.35);
}

.download-feedback {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.progress-track {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
}

.progress-bar {
    height: 12px;
    width: 0%;
    background-image: linear-gradient(135deg, #6c4dff, #11a3ff 60%, #ff6bbb);
    border-radius: inherit;
    transition: width 0.25s ease;
    text-align: right;
    padding-right: 0.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
}

.alert-soft {
    border-radius: 16px;
    border: 1px solid rgba(255, 97, 97, 0.35);
    background: rgba(255, 97, 97, 0.12);
    color: #ffb1b1;
    font-weight: 500;
    display: none;
}

.download-surface label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.35rem;
}

.download-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
}

@media (max-width: 768px) {
    .download-form {
        grid-template-columns: 1fr;
    }
}

.download-form .input-control {
    position: relative;
    display: flex;
    align-items: center;
}

.download-form .form-control {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    color: #0b1028;
    transition: var(--brand-transition);
}

.download-form .form-control:focus {
    border-color: rgba(108, 77, 255, 0.65);
    background: #ffffff;
    color: #0b1028;
    box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.25);
}

.download-form button[type="submit"] {
    border-radius: 16px;
    padding: 0.85rem 1.9rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    background-image: linear-gradient(135deg, #6c4dff, #11a3ff 60%, #ff6bbb);
    box-shadow: 0 18px 45px rgba(17, 163, 255, 0.35);
    transition: var(--brand-transition);
}

.download-form button[type="submit"]:hover,
.download-form button[type="submit"]:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(17, 163, 255, 0.45);
}

.download-form .btn-action {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--brand-transition);
}

.download-form .btn-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.download-form .form-control:focus ~ .btn-action {
    color: #fff;
}

.stats-bar {
    margin-top: 2.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.1rem 1.25rem;
    text-align: left;
    color: #fff;
}

.stats-card strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
}

.stats-card span {
    font-size: 0.85rem;
    color: rgba(235, 242, 255, 0.78);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.download-results {
    margin-top: 2.5rem;
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(12, 23, 64, 0.06);
    box-shadow: 0 30px 60px rgba(10, 20, 55, 0.12);
    padding: clamp(1.6rem, 4vw, 2.4rem);
    display: none;
}

.download-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(12, 23, 64, 0.08);
    padding-bottom: 1.4rem;
    margin-bottom: 1.6rem;
}

.download-meta .meta-thumb {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    background: rgba(108, 77, 255, 0.12);
    border: 1px solid rgba(108, 77, 255, 0.25);
}

.download-meta .meta-info {
    text-align: left;
}

.download-meta .meta-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.download-meta .meta-subtitle {
    font-size: 0.92rem;
    color: var(--brand-muted);
}

.download-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.download-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(12, 23, 64, 0.06);
    background: #f9fbff;
    box-shadow: 0 24px 45px rgba(14, 25, 64, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card .media-wrapper {
    position: relative;
    background: #0f173a;
    height: clamp(180px, 45vw, 240px);
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.download-card .media-wrapper video,
.download-card .media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-card .media-wrapper .audio-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(108, 77, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.media-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.76rem;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.download-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-file-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-dark);
    word-break: break-word;
}

.download-meta-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.quality-tag,
.file-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quality-tag {
    background: rgba(108, 77, 255, 0.12);
    color: var(--brand-primary);
}

.file-tag {
    background: rgba(17, 163, 255, 0.12);
    color: var(--brand-secondary);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background-image: linear-gradient(135deg, #6c4dff, #11a3ff 60%, #ff6bbb);
    color: #fff !important;
    padding: 0.85rem 1.2rem;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 18px 32px rgba(17, 163, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(17, 163, 255, 0.42);
    color: #fff;
    text-decoration: none;
}
.features-section {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--brand-dark);
}

.section-heading p {
    color: var(--brand-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--brand-border-radius);
    background: #fff;
    border: 1px solid rgba(12, 23, 64, 0.06);
    box-shadow: var(--brand-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--brand-transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--brand-card-glow);
}

.feature-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

.feature-card p {
    color: #5d6480;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.list-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 255, 0.95));
    border-radius: 28px;
    padding: clamp(2.5rem, 4vw, 3.5rem);
    box-shadow: 0 24px 48px rgba(15, 41, 97, 0.12);
}

.list-section h2 {
    font-size: clamp(1.9rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--brand-dark);
}

.list-section p {
    color: #4b5170;
    font-size: 1.02rem;
    line-height: 1.75;
}

.list-section ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list-section li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #434a69;
}

.list-section li::before {
    content: "✔";
    color: var(--brand-primary);
    font-weight: 600;
    margin-top: 0.15rem;
}

.workflow-timeline {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.workflow-step {
    background: #fff;
    border-radius: 20px;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(12, 23, 64, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    box-shadow: 0 18px 40px rgba(11, 15, 55, 0.08);
    transition: var(--brand-transition);
}

.workflow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-card-glow);
}

.workflow-step span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(108, 77, 255, 0.12);
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.workflow-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #1c2144;
}

.workflow-step p {
    color: var(--brand-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-section .accordion-button {
    border-radius: 16px !important;
    font-weight: 600;
    font-size: 1.02rem;
    color: #1c2144;
    padding: 1rem 1.2rem;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
    box-shadow: 0 18px 40px rgba(14, 25, 64, 0.08);
    border-radius: 16px;
}

.faq-section .accordion-body {
    color: #4b5170;
    font-size: 0.98rem;
    line-height: 1.7;
    padding: 1rem 1.2rem 1.4rem;
}

.cta-banner {
    background: linear-gradient(135deg, #11a3ff, #6c4dff 60%, #ff6bbb);
    border-radius: 28px;
    padding: clamp(2.4rem, 4vw, 3.2rem);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.6rem;
}

.cta-banner .btn {
    border-radius: 999px;
    padding: 0.9rem 1.9rem;
    font-weight: 600;
    background-color: #fff;
    color: var(--brand-primary);
}

.cta-banner::before,
.cta-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.cta-banner::before {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -60px;
    background: rgba(255, 255, 255, 0.3);
}

.cta-banner::after {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -50px;
    background: rgba(255, 255, 255, 0.18);
}

.subtle-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(84, 96, 145, 0.15), transparent);
    margin: 2.5rem 0;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(108, 77, 255, 0.12);
    color: var(--brand-primary);
    font-weight: 500;
}

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(12, 23, 64, 0.06);
    box-shadow: 0 18px 42px rgba(14, 25, 64, 0.08);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #41496a;
}

.testimonial-card .name {
    font-weight: 600;
    color: var(--brand-dark);
}

.testimonial-card .role {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

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

.info-card {
    padding: 1.6rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(12, 23, 64, 0.06);
    box-shadow: 0 16px 38px rgba(15, 26, 64, 0.08);
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    margin-bottom: 0.25rem;
    color: #535b7a;
    font-size: 0.98rem;
}

.info-card .small {
    color: var(--brand-muted);
    font-size: 0.85rem;
}

.rich-text > * {
    margin-bottom: 1rem;
    color: #444b6e;
    line-height: 1.75;
}

.rich-text a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
}

.rich-text a:hover {
    text-decoration: underline;
}

.hero-nav-container {
    display: flex;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

.hero-nav {
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    width: fit-content;
}

.hero-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--brand-transition);
}

.hero-nav a svg {
    width: 18px;
    height: 18px;
}

.hero-nav a:hover,
.hero-nav a:focus,
.hero-nav a.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.9rem;
    }

    .hero-nav a {
        justify-content: center;
        padding: 0.5rem 0.75rem;
    }
}

.bg-gradient2,
.hero-section,
.hero-section::before,
.hero-section::after {
    background: var(--brand-gradient) !important;
}

.bg-gradient3 {
    background: linear-gradient(135deg, rgba(108, 77, 255, 0.95), rgba(17, 163, 255, 0.85)) !important;
}

.border-blue,
.border-gradient {
    border-color: rgba(108, 77, 255, 0.45) !important;
}

.gradient-text,
.gradient-text2 {
    background-image: linear-gradient(135deg, #6c4dff, #11a3ff 55%, #ff6bbb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.bg-blue {
    background: linear-gradient(135deg, rgba(108, 77, 255, 0.92), rgba(17, 163, 255, 0.88)) !important;
}

.text-dark {
    color: var(--brand-dark) !important;
}

.btn-link {
    color: var(--brand-primary);
    font-weight: 600;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--brand-secondary);
    text-decoration: none;
}

.accordion-button {
    background: #fff;
    border: 1px solid rgba(12, 23, 64, 0.08);
    box-shadow: var(--brand-shadow);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-primary);
    background: rgba(108, 77, 255, 0.08);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(108, 77, 255, 0.25);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.9);
    color: #4b5170;
}

footer {
    background: #0a0d24;
    color: rgba(235, 242, 255, 0.85);
}

footer a {
    color: rgba(255, 255, 255, 0.82);
}

footer a:hover {
    color: #fff;
}

@media (max-width: 575px) {
    .download-results {
        padding: 1.25rem;
    }

    .download-meta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .download-meta .meta-info {
        text-align: center;
    }

    .download-card-body {
        padding: 1.15rem;
        gap: 0.75rem;
    }

    .download-card .media-wrapper {
        height: 190px;
        aspect-ratio: 16 / 9;
    }
}
