/* ========== FEATURES GRID ========== */
.features-grid-docs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card-docs {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card-docs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(22, 163, 74, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.75rem;
}

.feature-card-docs:hover::before {
    opacity: 1;
}

.feature-card-docs:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
}

.feature-icon-docs {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 10px;
    color: #1a202c;
    transition: all 0.3s;
}

.feature-card-docs:hover .feature-icon-docs {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.feature-icon-docs svg {
    width: 18px;
    height: 18px;
}

.feature-card-docs h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 0.75rem;
    text-align: center;
    margin-top: 0;
    padding-left: 0;
    display: block;
    gap: 0;
}

.feature-card-docs h3::before {
    display: none;
}

.feature-card-docs p {
    color: #cbd5e0;
    line-height: 1.6;
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-card-docs.placeholder {
    background: linear-gradient(135deg, rgba(113, 128, 150, 0.08), rgba(74, 85, 104, 0.05));
    border: 1px solid rgba(113, 128, 150, 0.3);
    opacity: 0.7;
}

.feature-card-docs.placeholder .feature-icon-docs {
    background: linear-gradient(135deg, #718096, #4a5568);
}

.feature-card-docs.placeholder h3 {
    color: #a0aec0;
}

.feature-card-docs.placeholder p {
    color: #718096;
}

/* ========== PREMIUM FEATURES ========== */
.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.premium-feature {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(56, 161, 105, 0.05));
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
}

.premium-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.2);
    border-color: rgba(72, 187, 120, 0.5);
}

.premium-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #48bb78;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.premium-feature h3::before {
    content: '⭐';
    font-size: 1.2rem;
}

.premium-feature p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.premium-feature ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.premium-feature li {
    margin-bottom: 0.5rem;
    position: relative;
}

.premium-feature li::before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: #48bb78;
    font-weight: bold;
}

/* ========== TROUBLESHOOTING GRID ========== */
.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.troubleshooting-item {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.troubleshooting-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

.troubleshooting-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-left: 0;
    display: block;
    gap: 0;
}

.troubleshooting-item h3::before {
    display: none;
}

.troubleshooting-item p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #cbd5e0;
    margin-left: 0;
    background: none;
    border: none;
    padding: 0;
}

.troubleshooting-item ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: #cbd5e0;
    list-style-type: disc;
    background: none;
    border: none;
    border-radius: 0;
}

.troubleshooting-item ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* ========== FAQ ITEMS ========== */
.faq-item {
    margin-bottom: 2rem;
    padding-left: 0;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
}

.faq-item h3::before {
    display: none;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-left: 0;
    background: rgba(72, 187, 120, 0.02);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border-left: 3px solid rgba(72, 187, 120, 0.3);
    line-height: 1.8;
    text-align: justify;
}

/* ========== ACKNOWLEDGMENTS SECTION ========== */
.acknowledgment-card {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acknowledgment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.75rem;
}

.acknowledgment-card:hover::before {
    opacity: 1;
}

.acknowledgment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

.acknowledgment-content {
    position: relative;
    z-index: 2;
}

.acknowledgment-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-left: 0;
    display: block;
}

.acknowledgment-content h3::before {
    display: none;
}

.acknowledgment-content p {
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: justify;
    background: none;
    border: none;
    padding: 0;
}

.acknowledgment-content p:last-of-type {
    margin-bottom: 0;
}

.acknowledgment-link {
    margin-top: 2rem;
    text-align: center;
}

.betterfloat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
    min-width: 200px;
    height: 56px;
    padding: 0 1.5rem;
    text-transform: none;
    letter-spacing: 0.025em;
    background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    border: none !important;
    border-bottom: none !important;
}

.docs-section .betterfloat-link {
    background: linear-gradient(135deg, #60a5fa, #3b82f6) !important;
    color: white !important;
    border-bottom: none !important;
    padding: 0 1.5rem !important;
    border-radius: 0.75rem !important;
}

.docs-section .betterfloat-link:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    border-bottom: none !important;
    transform: translateY(-3px) !important;
}

.betterfloat-link:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white !important;
}

.betterfloat-link:focus {
    outline: none;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    color: white !important;
}

.betterfloat-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: contain;
    background: white;
    padding: 2px;
}

.betterfloat-link span {
    color: white !important;
}

.docs-section .betterfloat-link span {
    color: white !important;
}

.docs-section .betterfloat-link:hover span {
    color: white !important;
}

.external-link-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    fill: currentColor !important;
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.docs-section .external-link-icon {
    fill: currentColor !important;
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.betterfloat-link .external-link-icon {
    fill: white !important;
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.betterfloat-link:hover .external-link-icon {
    transform: scale(1.1) rotate(5deg);
    fill: white !important;
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.docs-section .betterfloat-link .external-link-icon {
    fill: white !important;
    color: white !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.docs-section .betterfloat-link:hover .external-link-icon {
    fill: white !important;
    color: white !important;
    transform: scale(1.1) rotate(5deg);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.betterfloat-link:hover span {
    color: white !important;
}

/* Section heading overrides */
#acknowledgments h2 {
    color: #60a5fa !important;
}

#acknowledgments h2::before {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

#faq h2 {
    color: #3b82f6 !important;
}

#faq h2::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* ========== PERMISSIONS GRID ========== */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.permission-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.permission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.permission-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 1rem;
    margin-top: 0;
    padding-left: 0;
    display: block;
    gap: 0;
}

.permission-card h3::before {
    display: none;
}

.permission-card p {
    color: #cbd5e0;
    line-height: 1.6;
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    background: none;
    border: none;
    padding: 0;
}

.permission-card p:last-child {
    margin-bottom: 0;
} 