/**
 * Partners Landing Page Styles
 * Style: Clean, minimal, grayscale
 * 
 * @version 3.0.0
 */

/* Typography — inherits Axiforma from fonts.css */

.lucide {
    stroke-width: 1.5px;
}

html {
    scroll-behavior: smooth;
}

/* ===== SCROLL ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.partners-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.partners-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.partners-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #030712;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0 0 1.5rem;
}

.partners-hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 38rem;
    margin: 0 auto 2.5rem;
}

.partners-hero-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
}

.partners-hero-how-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #9ca3af;
    font-size: 1.0625rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #9ca3af;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.partners-hero-how-link:hover {
    color: #6b7280;
    border-color: #6b7280;
}

.partners-hero-how-link i {
    color: #d1d5db;
}

.partners-hero-how-link:hover i {
    color: #9ca3af;
}

.partners-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: #030712;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.partners-hero-cta:hover {
    background: #030712;
    color: #fff;
    text-decoration: none;
}

.partners-hero-cta:active {
    transform: scale(0.98);
}

.partners-trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partners-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #9ca3af;
    font-weight: 500;
}

.partners-trust-item i {
    color: #d1d5db;
}

/* ===== TRUST BAR ===== */
.partners-trustbar {
    padding: 2.5rem 0;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.partners-trustbar-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.partners-trustbar-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.partners-trustbar-item i {
    color: #9ca3af;
}

/* ===== SHARED SECTION STYLES ===== */
.partners-section {
    padding: 5rem 0;
}

.partners-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #030712;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    text-align: center;
}

.partners-section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* ===== VALUE PROPOSITION CARDS ===== */
.partners-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.partners-card {
    padding: 2rem 1.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.partners-card:hover {
    border-color: #030712;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.partners-card--centered {
    grid-column: 2;
}

.partners-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    margin-bottom: 1.25rem;
    color: #374151;
}

.partners-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #030712;
    margin: 0 0 0.5rem;
}

.partners-card-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* ===== AUTHORITY ENGINE ===== */
.partners-authority {
    padding: 5rem 0;
    background: #f9fafb;
}

.partners-authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partners-authority-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0.75rem 0 2rem;
}

.partners-authority-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partners-authority-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.5;
}

.partners-authority-list li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #030712;
}

/* ===== MOCK PROFILE CARD ===== */
.partners-mock-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.partners-mock-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.partners-mock-avatar {
    width: 3rem;
    height: 3rem;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    flex-shrink: 0;
}

.partners-mock-name {
    font-size: 1rem;
    font-weight: 600;
    color: #030712;
}

.partners-mock-role {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.partners-mock-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    position: absolute;
    top: 0;
    right: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.partners-mock-verified i {
    color: #059669;
}

.partners-mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.partners-mock-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    text-align: center;
}

.partners-mock-stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: #030712;
}

.partners-mock-stars {
    display: flex;
    gap: 0.125rem;
    color: #f59e0b;
}

.partners-mock-stat-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    font-weight: 500;
}

.partners-mock-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.partners-mock-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.partners-mock-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #030712;
    color: #fff;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== HOW IT WORKS SECTION ===== */
.partners-hiw-section {
    background: #f9fafb;
}

.partners-hiw-inner {
    width: 100%;
}

.partners-hiw-header {
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .partners-hiw-header {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 3.5rem;
    }
}

.partners-hiw-header .partners-section-title {
    text-align: center;
}

.partners-hiw-header .partners-section-subtitle {
    text-align: center;
}

.partners-hiw-layout {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .partners-hiw-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: stretch;
    }

    .partners-hiw-layout.partners-hiw-layout--no-video {
        grid-template-columns: 1fr;
    }
}

.partners-hiw-play-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
}

@media (min-width: 1024px) {
    .partners-hiw-play-wrap {
        grid-column: 1;
        min-height: 100%;
        position: relative;
    }
}

.partners-hiw-play-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .partners-hiw-play-cta {
        position: sticky;
        top: 50vh;
        transform: translateY(-50%);
    }
}

.partners-hiw-play-btn {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: #030712;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
    .partners-hiw-play-btn {
        width: 9rem;
        height: 9rem;
    }
}

@media (min-width: 1024px) {
    .partners-hiw-play-btn {
        width: 11rem;
        height: 11rem;
    }
}

.partners-hiw-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.partners-hiw-play-btn svg {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 0.25rem;
}

@media (min-width: 640px) {
    .partners-hiw-play-btn svg {
        width: 3.25rem;
        height: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .partners-hiw-play-btn svg {
        width: 4rem;
        height: 4rem;
    }
}

.partners-hiw-play-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
}

.partners-hiw-cards {
    width: 100%;
}

@media (min-width: 1024px) {
    .partners-hiw-cards {
        grid-column: 2;
    }
}

/* ===== PARTNERS VIDEO LIGHTBOX ===== */
.partners-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    cursor: pointer;
}

/* Landscape (desktop) */
.partners-lightbox-wrap {
    width: 90vw;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    cursor: default;
}

/* Portrait (mobile) */
.partners-lightbox-wrap--portrait {
    width: auto;
    max-width: none;
    height: 85vh;
    max-height: 700px;
    aspect-ratio: 9 / 16;
    border-radius: 1rem;
}

.partners-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.partners-lightbox-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
    border-radius: 1.25rem;
    cursor: pointer;
}

/* ===== STACK CARDS ===== */
.partners-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.partners-stack-card {
    position: sticky;
    top: calc(5rem + var(--stack-index, 0) * 0.5rem);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    z-index: calc(10 + var(--stack-index, 0));
}

.partners-stack-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.partners-stack-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
}

.partners-stack-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.partners-stack-body {
    flex: 1;
    min-width: 0;
}

.partners-stack-heading {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}

.partners-stack-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: #030712;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
}

.partners-stack-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #030712;
    margin: 0;
}

.partners-stack-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 0 5.25rem;
}

/* ===== FORM SECTION ===== */
.partners-form-section {
    padding: 5rem 0 4rem;
    background: #fff;
}

.partners-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
}

.partners-form-wrapper {
    position: sticky;
    top: 5rem;
}

.partners-license-confirm-wrap {
    background: #fef2f2;
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

/* ===== FAQ ===== */
.partners-faq {
    padding-top: 0.5rem;
}

.partners-faq-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #030712;
    margin: 0 0 1.5rem;
}

.partners-faq-item {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.partners-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.partners-faq-question {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #030712;
    margin: 0 0 0.5rem;
}

.partners-faq-question i {
    flex-shrink: 0;
    color: #9ca3af;
}

.partners-faq-answer {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
    padding-left: 1.5rem;
}

/* ===== PARTNER TYPE RADIO SELECTION ===== */
.partner-type-option input[type="radio"]:checked + div {
    border-color: #030712;
    background-color: #f9fafb;
}

.partner-type-option input[type="radio"]:checked + div i {
    color: #030712;
}

.partner-type-option input[type="radio"]:checked + div .text-gray-950 {
    color: #030712;
}

.partner-type-option input[type="radio"]:checked + div .text-gray-500 {
    color: #6b7280;
}

/* ===== FORM FOCUS STATES ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ===== BUTTON STATES ===== */
button[type="submit"] {
    transition: background-color 0.15s ease, transform 0.1s ease;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== LOADING STATE ===== */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SELECT DROPDOWN STYLING ===== */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* ===== COUNTRY AUTOCOMPLETE ===== */
.country-autocomplete-wrapper {
    position: relative;
}

.country-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    margin-top: 4px;
    max-height: 280px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.country-autocomplete-dropdown.hidden {
    display: none;
}

.country-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.country-dropdown-item:hover {
    background-color: #f9fafb;
}

.country-dropdown-item.selected {
    background-color: #f3f4f6;
}

.country-dropdown-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.country-dropdown-item span {
    font-size: 0.875rem;
    color: #374151;
}

.country-dropdown-empty {
    padding: 12px 14px;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .partners-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-card--centered {
        grid-column: auto;
    }

    .partners-authority-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partners-section-title {
        text-align: center !important;
    }

    .partners-hiw-header .partners-section-title,
    .partners-hiw-header .partners-section-subtitle {
        text-align: center !important;
    }

    .partners-hiw-header {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .partners-hero {
        padding: 3rem 0 2rem;
    }

    .partners-hero-title {
        font-size: 2rem;
    }

    .partners-hero-subtitle {
        font-size: 1rem;
    }

    .partners-cards-grid {
        grid-template-columns: 1fr;
    }

    .partners-section {
        padding: 3.5rem 0;
    }

    .partners-authority {
        padding: 3.5rem 0;
    }

    .partners-form-section {
        padding: 3.5rem 0 3rem;
    }

    .partners-section-title {
        font-size: 1.625rem;
    }

    .partners-trustbar-grid {
        gap: 1.25rem;
    }

    .partners-trustbar-item {
        font-size: 0.875rem;
    }

    .partners-trust-indicators {
        gap: 1rem;
    }

    .partners-stack-card {
        position: relative;
        top: auto;
        padding: 1.25rem 1rem;
    }

    .partners-stack-heading {
        gap: 0.5rem;
    }

    .partners-stack-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }

    .partners-stack-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .partners-stack-icon svg {
        width: 1rem;
        height: 1rem;
    }

    .partners-stack-text {
        margin-left: 4rem;
    }

    .partners-form-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .partners-form-wrapper {
        position: relative;
        top: auto;
    }
}
